/frameworks/native/opengl/tests/gl_yuvtex/ |
gl_yuvtex.cpp | 236 EGLSurface surface; local 269 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 271 if (surface == EGL_NO_SURFACE) { 282 returnValue = eglMakeCurrent(dpy, surface, surface, context); 287 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 289 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 301 fprintf(stderr, "Could not set up texture surface.\n"); 314 eglSwapBuffers(dpy, surface);
|
/external/chromium_org/third_party/libva/va/ |
va_backend.h | 187 VASurfaceID surface, 218 VASurfaceID surface, 240 VASurfaceID surface, 250 VASurfaceID surface, 309 short dest_x, /* upper left offset in surface */ 354 /* lock/unlock surface for external access */ 357 VASurfaceID surface, 366 * surface buffer name 368 void **buffer /* if it is not NULL, map the surface buffer for 375 VASurfaceID surface [all...] |
/external/chromium_org/third_party/mesa/src/include/EGL/ |
eglmesaext.h | 61 EGLAPI EGLBoolean EGLAPIENTRY eglShowScreenSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); 64 EGLAPI EGLBoolean EGLAPIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); 74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSHOWSCREENSURFACEMESA) (EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); 77 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSCREENSURFACEMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); 139 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK(EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects); 142 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
|
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/ |
va_private.h | 94 VASurfaceID surface, 110 VAStatus vlVaDeriveImage(VADriverContextP ctx,VASurfaceID surface,VAImage *image); 113 VAStatus vlVaGetImage(VADriverContextP ctx,VASurfaceID surface,int x,int y,unsigned int width,unsigned int height,VAImageID image); 115 VASurfaceID surface, 150 VASurfaceID surface, 160 VAStatus vlVaUnlockSurface(VADriverContextP ctx,VASurfaceID surface);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
xvmc_bench.c | 186 XvMCSurface surface; local 230 assert(XvMCCreateSurface(display, &context, &surface) == Success); 265 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &block_array) == Success); 266 assert(XvMCFlushSurface(display, &surface) == Success); 269 assert(XvMCPutSurface(display, &surface, window, 0, 0, config.input_width, config.input_height, 0, 0, config.output_width, config.output_height, XVMC_FRAME_PICTURE) == Success); 292 assert(XvMCDestroySurface(display, &surface) == Success);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_fbo.c | 40 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 89 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 107 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 139 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 288 nouveau_surface_ref(&to_nouveau_teximage(ti)->surface, 289 &to_nouveau_renderbuffer(rb)->surface);
|
/external/mesa3d/include/EGL/ |
eglmesaext.h | 61 EGLAPI EGLBoolean EGLAPIENTRY eglShowScreenSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); 64 EGLAPI EGLBoolean EGLAPIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); 74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSHOWSCREENSURFACEMESA) (EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); 77 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSCREENSURFACEMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); 139 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK(EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects); 142 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
va_private.h | 94 VASurfaceID surface, 110 VAStatus vlVaDeriveImage(VADriverContextP ctx,VASurfaceID surface,VAImage *image); 113 VAStatus vlVaGetImage(VADriverContextP ctx,VASurfaceID surface,int x,int y,unsigned int width,unsigned int height,VAImageID image); 115 VASurfaceID surface, 150 VASurfaceID surface, 160 VAStatus vlVaUnlockSurface(VADriverContextP ctx,VASurfaceID surface);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
xvmc_bench.c | 186 XvMCSurface surface; local 230 assert(XvMCCreateSurface(display, &context, &surface) == Success); 265 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &block_array) == Success); 266 assert(XvMCFlushSurface(display, &surface) == Success); 269 assert(XvMCPutSurface(display, &surface, window, 0, 0, config.input_width, config.input_height, 0, 0, config.output_width, config.output_height, XVMC_FRAME_PICTURE) == Success); 292 assert(XvMCDestroySurface(display, &surface) == Success);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_fbo.c | 40 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 89 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 107 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 139 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 288 nouveau_surface_ref(&to_nouveau_teximage(ti)->surface, 289 &to_nouveau_renderbuffer(rb)->surface);
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11image.c | 206 int X11_AllocHWSurface(_THIS, SDL_Surface *surface) 210 void X11_FreeHWSurface(_THIS, SDL_Surface *surface) 215 int X11_LockHWSurface(_THIS, SDL_Surface *surface) 217 if ( (surface == SDL_VideoSurface) && blit_queued ) { 223 void X11_UnlockHWSurface(_THIS, SDL_Surface *surface) 228 int X11_FlipHWSurface(_THIS, SDL_Surface *surface)
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
DisplaySinkService.java | 29 import android.view.Surface; 43 // This is to ensure that the surface lifecycle is respected. Although decoding 44 // happens on the transport thread, we are not allowed to access the surface after 47 private Surface mSurface; 107 // Ignore. Wait for surface changed event that follows. 121 Surface surface = null; local 124 surface = holder.getSurface(); 125 if (surface.isValid()) { 130 surface = null [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen7_blorp.cpp | 132 /* SURFACE_STATE for renderbuffer or texture surface (see 138 const brw_blorp_surface_info *surface, 145 uint32_t width = surface->width; 146 uint32_t height = surface->height; 152 struct intel_region *region = surface->mt->region; 160 if (surface->mt->align_h == 4) 162 if (surface->mt->align_w == 8) 165 surf->ss0.surface_format = surface->brw_surfaceformat; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_blorp.cpp | 132 /* SURFACE_STATE for renderbuffer or texture surface (see 138 const brw_blorp_surface_info *surface, 145 uint32_t width = surface->width; 146 uint32_t height = surface->height; 152 struct intel_region *region = surface->mt->region; 160 if (surface->mt->align_h == 4) 162 if (surface->mt->align_w == 8) 165 surf->ss0.surface_format = surface->brw_surfaceformat; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf->ss1.base_addr = surface->compute_tile_offsets(&tile_x, &tile_y) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_blit.c | 365 /* Initialize the surface. */ 391 unsigned dst_tile_mode = dst->surface.level[info->dst.level].mode; 582 orig->npix0_x = rtex->surface.level[0].npix_x; 583 orig->npix0_y = rtex->surface.level[0].npix_y; 584 orig->npix_x = rtex->surface.level[level].npix_x; 585 orig->npix_y = rtex->surface.level[level].npix_y; 598 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); 599 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y); 600 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); 601 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y) [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_blit.c | 365 /* Initialize the surface. */ 391 unsigned dst_tile_mode = dst->surface.level[info->dst.level].mode; 582 orig->npix0_x = rtex->surface.level[0].npix_x; 583 orig->npix0_y = rtex->surface.level[0].npix_y; 584 orig->npix_x = rtex->surface.level[level].npix_x; 585 orig->npix_y = rtex->surface.level[level].npix_y; 598 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); 599 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y); 600 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); 601 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y) [all...] |
/external/chromium_org/media/base/android/ |
media_source_player_unittest.cc | 212 // Test video decoder job will be created when surface is valid. 215 gfx::ScopedJavaSurface surface(surface_texture.get()); 217 // Video decoder job will not be created until surface is available. 221 player_->SetVideoSurface(surface.Pass()); 233 // Test video decoder job will be created when surface is valid. 236 gfx::ScopedJavaSurface surface(surface_texture.get()); 238 // Video decoder job will not be created until surface is available. 242 // Release the surface texture. 244 player_->SetVideoSurface(surface.Pass()); 277 gfx::ScopedJavaSurface surface(surface_texture.get()) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
SDL_ps3video.c | 57 /* Hardware surface functions */ 58 static int PS3_AllocHWSurface(_THIS, SDL_Surface * surface); 59 static void PS3_FreeHWSurface(_THIS, SDL_Surface * surface); 60 static int PS3_LockHWSurface(_THIS, SDL_Surface * surface); 61 static void PS3_UnlockHWSurface(_THIS, SDL_Surface * surface); 62 static int PS3_FlipDoubleBuffer(_THIS, SDL_Surface * surface); 371 /* Set SPU parms for copying the surface to framebuffer */ 406 static int PS3_AllocHWSurface(_THIS, SDL_Surface * surface) 412 static void PS3_FreeHWSurface(_THIS, SDL_Surface * surface) 418 static int PS3_LockHWSurface(_THIS, SDL_Surface * surface) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
SDL_vglvideo.c | 55 /* Hardware surface functions */ 56 static int VGL_AllocHWSurface(_THIS, SDL_Surface *surface); 57 static int VGL_LockHWSurface(_THIS, SDL_Surface *surface); 58 static int VGL_FlipHWSurface(_THIS, SDL_Surface *surface); 59 static void VGL_UnlockHWSurface(_THIS, SDL_Surface *surface); 60 static void VGL_FreeHWSurface(_THIS, SDL_Surface *surface); 290 /* Create the hardware surface lock mutex */ 396 static int VGL_AllocHWSurface(_THIS, SDL_Surface *surface) 400 static void VGL_FreeHWSurface(_THIS, SDL_Surface *surface) 406 static int VGL_LockHWSurface(_THIS, SDL_Surface *surface) [all...] |
/development/ndk/platforms/android-9/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/external/chromium_org/ppapi/lib/gl/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/external/chromium_org/third_party/angle_dx11/include/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/external/chromium_org/third_party/khronos/EGL/ |
egl.h | 273 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); 274 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, 288 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, 290 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 291 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); 312 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); 313 EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,
|
/external/icu4c/samples/layout/ |
clayout.c | 124 static rs_surface *surface = NULL; local 135 surface = rs_gdiRenderingSurfaceOpen(hdc); 137 fontMap = fm_gdiFontMapOpen(surface, "FontMap.GDI", 24, guiSupport, &fontStatus); 247 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 254 pf_draw(context->paragraph, surface, firstLine, lastLine); 297 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 349 rs_gdiRenderingSurfaceClose(surface);
|