/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaFrameworkTest.java | 73 //Can do nothing in here. The test case will fail if the surface destroyed. 74 Log.v(TAG, "Test application surface destroyed"); 79 Log.v(TAG, "Test application surface changed"); 84 Log.v(TAG, "Test application surface created");
|
NativeMediaActivity.java | 26 import android.view.Surface; 115 //GLSurfaceView destroys surface on pause. so shutdown should be done. 141 // surface no longer available, so just shutdown 151 Surface s = new Surface(st); 178 * set surface to render. should be called before creating Media player 179 * @param surface 181 public static native boolean setSurface(Surface surface);
|
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
NativeMedia.java | 24 import android.view.Surface; 70 // set up the Surface 1 video sink 92 // set up the Surface 2 video sink 175 if ("Surface 1".equals(mSinkString)) { 180 } else if ("Surface 2".equals(mSinkString)) { 333 public static native void setSurface(Surface surface); 341 // VideoSink abstracts out the difference between Surface and SurfaceTexture 364 // Use the newer MediaPlayer.setSurface(Surface) since API level 14 366 // because setSurface also works with a Surface derived from a SurfaceTexture [all...] |
/device/generic/goldfish/opengl/system/egl/ |
egl.cpp | 125 #define VALIDATE_SURFACE_RETURN(surface, ret) \ 126 if (surface != EGL_NO_SURFACE) { \ 127 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \ 193 //Surface attributes 205 uint32_t rcSurface; //handle to surface created via remote control 628 egl_surface_t* surface = egl_window_surface_t::create( local 630 if (!surface) { 634 return surface; 682 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, local 684 if (!surface) { [all...] |
/external/icu4c/samples/layout/ |
GDIFontMap.h | 27 GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
|
gnomeglue.h | 29 void rs_gnomeRenderingSurfaceClose(rs_surface *surface);
|
pflow.h | 29 void pf_draw(pf_flow *flow, rs_surface *surface, le_int32 firstLine, le_int32 lastLine);
|
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
AmbientLight.java | 8 * Ambient lights are unaffected by the surface normal, and are constant
|
/external/qemu/distrib/sdl-1.2.15/docs/html/ |
guidevideo.html | 145 * requesting a software surface 216 /* Load the BMP file into a surface */ 233 /* Blit onto the screen surface */ 239 /* Free the allocated BMP surface */ 254 pixels of a surface. They are carefully written to work with any depth 255 currently supported by SDL. Remember to lock the surface before 274 * NOTE: The surface must be locked before calling this! 276 Uint32 getpixel(SDL_Surface *surface, int x, int y) 278 int bpp = surface->format->BytesPerPixel; 280 Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_DisplayYUVOverlay.3 | 11 Blit the \fBoverlay\fR to the surface specified when it was \fIcreated\fR\&. The \fI\fBSDL_Rect\fR\fR structure, \fBdstrect\fR, specifies the position and size of the destination\&. If the \fBdstrect\fR is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling\&.
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_sysvideo.h | 66 /* Set the requested video mode, returning a surface which will be 71 surface if necessary. If a new mode is returned, this function 86 /* Create a YUV video surface (possibly overlay) of the given 123 /* Allocates a surface in video memory */ 124 int (*AllocHWSurface)(_THIS, SDL_Surface *surface); 127 on the current flags of the surface (colorkey, alpha, etc.) 131 /* Fills a surface rectangle with the given color */ 135 int (*SetHWColorKey)(_THIS, SDL_Surface *surface, Uint32 key); 137 /* Sets per surface hardware alpha value */ 138 int (*SetHWAlpha)(_THIS, SDL_Surface *surface, Uint8 value) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/ |
SDL_nullvideo.c | 58 /* Hardware surface functions */ 59 static int DUMMY_AllocHWSurface(_THIS, SDL_Surface *surface); 60 static int DUMMY_LockHWSurface(_THIS, SDL_Surface *surface); 61 static void DUMMY_UnlockHWSurface(_THIS, SDL_Surface *surface); 62 static void DUMMY_FreeHWSurface(_THIS, SDL_Surface *surface); 198 static int DUMMY_AllocHWSurface(_THIS, SDL_Surface *surface) 202 static void DUMMY_FreeHWSurface(_THIS, SDL_Surface *surface) 208 static int DUMMY_LockHWSurface(_THIS, SDL_Surface *surface) 213 static void DUMMY_UnlockHWSurface(_THIS, SDL_Surface *surface)
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbmatrox.c | 52 static int SetHWColorKey(_THIS, SDL_Surface *surface, Uint32 key) 57 /* Sets per surface hardware alpha value */ 59 static int SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 value) 72 /* Don't blit to the display surface when switched away */ 132 /* FIXME: For now, only blit to display surface */ 137 /* Don't blit to the display surface when switched away */ 230 /* Set the surface attributes */ 242 /* Check to see if final surface blit is accelerated */ 252 /* We have hardware accelerated surface functions */
|
SDL_fbriva.c | 61 static int SetHWColorKey(_THIS, SDL_Surface *surface, Uint32 key) 66 /* Sets per surface hardware alpha value */ 67 static int SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 value) 79 /* Don't blit to the display surface when switched away */ 120 /* FIXME: For now, only blit to display surface */ 125 /* Don't blit to the display surface when switched away */ 166 /* Set the surface attributes */ 178 /* Check to see if final surface blit is accelerated */ 190 /* We have hardware accelerated surface functions */
|
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
main.cpp | 129 void setCurrentDrawSurface(EGLSurface surface) 133 current->drawSurface = surface; 143 void setCurrentReadSurface(EGLSurface surface) 147 current->readSurface = surface;
|
/external/webkit/Source/WebKit2/Shared/mac/ |
ShareableSurface.h | 63 // Create a shareable surface with the given size. Returns 0 on failure. 66 // Create a shareable surface from a handle. Returns 0 on failure. 84 // The size of the surface. 90 // The frame buffer object ID of the texture; used when the surface is used as a render destination.
|
/frameworks/base/graphics/java/android/renderscript/ |
RSTextureView.java | 75 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 77 mSurfaceTexture = surface; 88 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 90 mSurfaceTexture = surface; 101 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 103 mSurfaceTexture = surface; 116 public void onSurfaceTextureUpdated(SurfaceTexture surface) { 118 mSurfaceTexture = surface; 154 * @param sc The RS surface config to create.
|
/frameworks/base/opengl/java/android/opengl/ |
EGLLogWrapper.java | 64 public boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, 68 arg("surface", surface); 72 boolean result = mEgl10.eglCopyBuffers(display, surface, native_pixmap); 153 public boolean eglDestroySurface(EGLDisplay display, EGLSurface surface) { 156 arg("surface", surface); 159 boolean result = mEgl10.eglDestroySurface(display, surface); 303 public boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, 307 arg("surface", surface) [all...] |
EGL14.java | 23 import android.view.Surface; 244 Surface sur = null; 251 } else if (win instanceof Surface) { 252 sur = (Surface) win; 255 EGLSurface surface; local 257 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 259 surface = _eglCreateWindowSurfaceTexture(dpy, config, 264 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " + 268 return surface; 289 // C function EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 22 import android.view.Surface; 33 public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); 41 public native boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); 44 public native boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); 46 public native boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap); 79 Surface sur = null; 86 } else if (native_window instanceof Surface) { 87 sur = (Surface) native_window; 99 "Surface, SurfaceView, SurfaceHolder or SurfaceTexture at the moment.");
|
/frameworks/native/libs/gui/ |
LayerState.cpp | 27 output.writeStrongBinder(surface); 47 surface = input.readStrongBinder(); 78 output.writeStrongBinder(surface->asBinder()); 89 surface = interface_cast<IGraphicBufferProducer>(input.readStrongBinder());
|
/sdk/emulator/opengl/tests/ut_renderer/ |
Renderer.cpp | 63 fprintf(stderr, "trying to create surface for EGL_NO_SURFACE !!!\n"); 66 RendererSurface *surface = RendererSurface::create(m_dpy, RendererSurface::CONFIG_DEPTH, m_nw); local 67 if (surface == NULL) { 68 printf("failed to create surface !!\n"); 71 m_surfaces.insert(SurfaceMap::value_type(handle, surface)); 82 printf("removing surface that doesn't exists\n"); 173 const ClientHandle &surface) 177 SurfaceMap::iterator s = m_surfaces.find(surface); 179 fprintf(stderr, "swapping buffers for non existing surface\n");
|
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/ |
SDL_dspvideo.c | 97 I can't create a hardware surface the same size as the screen?! How to fix? 167 /* Hardware surface functions */ 168 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha); 169 static int DSp_SetHWColorKey(_THIS, SDL_Surface *surface, Uint32 key); 171 static int DSp_AllocHWSurface(_THIS, SDL_Surface *surface); 172 static int DSp_LockHWSurface(_THIS, SDL_Surface *surface); 173 static void DSp_UnlockHWSurface(_THIS, SDL_Surface *surface); 174 static void DSp_FreeHWSurface(_THIS, SDL_Surface *surface); 175 static int DSp_FlipHWSurface(_THIS, SDL_Surface *surface); 655 fmt = "Hardware surface possible but not enough %s available" [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
SDL_dcvideo.c | 45 /* Hardware surface functions */ 46 static int DC_AllocHWSurface(_THIS, SDL_Surface *surface); 47 static int DC_LockHWSurface(_THIS, SDL_Surface *surface); 48 static void DC_UnlockHWSurface(_THIS, SDL_Surface *surface); 49 static void DC_FreeHWSurface(_THIS, SDL_Surface *surface); 50 static int DC_FlipHWSurface(_THIS, SDL_Surface *surface); 275 static int DC_AllocHWSurface(_THIS, SDL_Surface *surface) 279 static void DC_FreeHWSurface(_THIS, SDL_Surface *surface) 285 static int DC_LockHWSurface(_THIS, SDL_Surface *surface) 290 static void DC_UnlockHWSurface(_THIS, SDL_Surface *surface) [all...] |
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
NativeMedia.java | 24 import android.view.Surface; 80 // set up the Surface 1 video sink 102 // set up the Surface 2 video sink 185 if ("Surface 1".equals(mSinkString)) { 190 } else if ("Surface 2".equals(mSinkString)) { 333 public static native void setSurface(Surface surface); 341 // VideoSink abstracts out the difference between Surface and SurfaceTexture 386 Surface s = new Surface(st) 392 Surface surface = new Surface(mMyGLSurfaceView.getSurfaceTexture()); local [all...] |