/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 73 mCamera.setPreviewTexture(surface); 81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 86 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 92 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewTestActivity.java | 90 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 91 mProducerThread = new GLProducerThread(surface, new GLRendererImpl(), 97 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 101 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 107 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug.c | 502 struct pipe_surface *surface) 508 if (!surface) 512 * temporary storage for the surface which hasn't been propagated 517 texture = surface->texture; 519 transfer = pipe_get_transfer(pipe, texture, surface->u.tex.level, 520 surface->u.tex.first_layer, 522 0, 0, surface->width, surface->height); 531 util_format_get_nblocksx(texture->format, surface->width), 532 util_format_get_nblocksy(texture->format, surface->height) 546 struct pipe_surface *surface, surf_tmpl; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_blit.c | 82 info->src.layer = srcRb->surface->u.tex.first_layer; 84 info->dst.level = dstRb->surface->u.tex.level; 85 info->dst.layer = dstRb->surface->u.tex.first_layer; 116 info->src.layer = srcRb->surface->u.tex.first_layer; 118 info->dst.level = dstRb->surface->u.tex.level; 119 info->dst.layer = dstRb->surface->u.tex.first_layer; 132 info->src.layer = srcRb->surface->u.tex.first_layer; 134 info->dst.level = dstRb->surface->u.tex.level; 135 info->dst.layer = dstRb->surface->u.tex.first_layer; 236 struct pipe_surface *dstSurf = dstRb->surface; [all...] |
/external/deqp/modules/egl/ |
teglRenderCase.hpp | 49 virtual void executeForSurface (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config) = DE_NULL; 62 virtual void executeForSurface (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config); 64 virtual void executeForContext (const tcu::egl::Display& display, tcu::egl::Context& context, tcu::egl::Surface& surface, EGLint api) = DE_NULL; 74 void executeForSurface (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config); 76 virtual void executeForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts) = DE_NULL [all...] |
teglRenderCase.cpp | 65 // \todo [2013-04-24 pyry] Should we instead store surface bit somewhere? 72 static void postSurface (tcu::egl::Surface& surface) 74 const bool isWindow = instanceOf<tcu::egl::WindowSurface>(surface); 75 const bool isPixmap = instanceOf<tcu::egl::PixmapSurface>(surface); 76 const bool isPbuffer = instanceOf<tcu::egl::PbufferSurface>(surface); 82 tcu::egl::WindowSurface& window = static_cast<tcu::egl::WindowSurface&>(surface); 145 (string("Config ID ") + de::toString(configId) + ", window surface").c_str()); 152 tcu::egl::WindowSurface surface (display, eglSurface); 154 executeForSurface(display, surface, config) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug.c | 502 struct pipe_surface *surface) 508 if (!surface) 512 * temporary storage for the surface which hasn't been propagated 517 texture = surface->texture; 519 transfer = pipe_get_transfer(pipe, texture, surface->u.tex.level, 520 surface->u.tex.first_layer, 522 0, 0, surface->width, surface->height); 531 util_format_get_nblocksx(texture->format, surface->width), 532 util_format_get_nblocksy(texture->format, surface->height) 546 struct pipe_surface *surface, surf_tmpl; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_blit.c | 82 info->src.layer = srcRb->surface->u.tex.first_layer; 84 info->dst.level = dstRb->surface->u.tex.level; 85 info->dst.layer = dstRb->surface->u.tex.first_layer; 116 info->src.layer = srcRb->surface->u.tex.first_layer; 118 info->dst.level = dstRb->surface->u.tex.level; 119 info->dst.layer = dstRb->surface->u.tex.first_layer; 132 info->src.layer = srcRb->surface->u.tex.first_layer; 134 info->dst.level = dstRb->surface->u.tex.level; 135 info->dst.layer = dstRb->surface->u.tex.first_layer; 236 struct pipe_surface *dstSurf = dstRb->surface; [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
TextureStorage9.cpp | 140 // Increments refcount on surface. 141 // caller must Release() the returned surface 144 IDirect3DSurface9 *surface = NULL; local 148 HRESULT result = mTexture->GetSurfaceLevel(level + mTopLevel, &surface); 159 return surface; 197 IDirect3DSurface9 *surface = getSurfaceLevel(0, false); local 199 mRenderTarget = new RenderTarget9(mRenderer, surface); 251 // Increments refcount on surface. 252 // caller must Release() the returned surface 255 IDirect3DSurface9 *surface = NULL local 310 IDirect3DSurface9 *surface = NULL; local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
EGL14.java | 22 import android.view.Surface; 250 Surface sur = null; 257 } else if (win instanceof Surface) { 258 sur = (Surface) win; 261 EGLSurface surface; local 263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 265 surface = _eglCreateWindowSurfaceTexture(dpy, config, 270 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " + 274 return surface; 295 // C function EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
ProjectionActivity.java | 32 import android.view.Surface; 49 protected volatile Surface mSurface; 120 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 122 mSurface = new Surface(surface); 133 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 150 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 151 Log.i(TAG, "onSurfaceTextureSizeChanged " + surface.toString() + "w: " + width + " h: " 158 public void onSurfaceTextureUpdated(SurfaceTexture surface) { 159 Log.i(TAG, "onSurfaceTextureUpdated " + surface.toString()) [all...] |
/frameworks/native/opengl/tests/textures/ |
textures.cpp | 41 EGLSurface surface; local 58 surface = eglCreateWindowSurface(dpy, config, window, NULL); 60 eglMakeCurrent(dpy, surface, surface, context); 61 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 62 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 117 eglSwapBuffers(dpy, surface);
|
/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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
output.c | 47 VdpOutputSurface *surface) 104 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); 105 if (!vlsurface->surface) { 112 *surface = vlAddDataHTAB(vlsurface); 113 if (*surface == 0) { 133 vlVdpOutputSurfaceDestroy(VdpOutputSurface surface) 138 vlsurface = vlGetDataHTAB(surface); 147 pipe_surface_reference(&vlsurface->surface, NULL); 153 vlRemoveDataHTAB(surface); 163 vlVdpOutputSurfaceGetParameters(VdpOutputSurface surface, [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
output.c | 47 VdpOutputSurface *surface) 104 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); 105 if (!vlsurface->surface) { 112 *surface = vlAddDataHTAB(vlsurface); 113 if (*surface == 0) { 133 vlVdpOutputSurfaceDestroy(VdpOutputSurface surface) 138 vlsurface = vlGetDataHTAB(surface); 147 pipe_surface_reference(&vlsurface->surface, NULL); 153 vlRemoveDataHTAB(surface); 163 vlVdpOutputSurfaceGetParameters(VdpOutputSurface surface, [all...] |
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_video.h | 41 * These define alpha as the opacity of a surface 89 /** Alpha value information (per-surface alpha) */ 94 * which, if not NULL, contains the raw pixel data for the surface. 104 /** Hardware-specific surface info */ 120 /** Reference count -- used when freeing surface */ 131 #define SDL_SWSURFACE 0x00000000 /**< Surface is in system memory */ 132 #define SDL_HWSURFACE 0x00000001 /**< Surface is in video memory */ 139 #define SDL_HWPALETTE 0x20000000 /**< Surface has exclusive palette */ 141 #define SDL_FULLSCREEN 0x80000000 /**< Surface is a full screen display */ 153 #define SDL_RLEACCEL 0x00004000 /**< Surface is RLE encoded * [all...] |
/external/qemu/include/ui/ |
console.h | 206 DisplaySurface* (*resize_displaysurface)(DisplaySurface *surface, int width, int height); 207 void (*free_displaysurface)(DisplaySurface *surface); 211 struct DisplaySurface *surface; member in struct:DisplayState 232 void qemu_alloc_display(DisplaySurface *surface, int width, int height, 246 return ds->allocator->resize_displaysurface(ds->surface, width, height); 251 ds->allocator->free_displaysurface(ds->surface); 254 static inline int is_surface_bgr(DisplaySurface *surface) 256 if (surface->pf.bits_per_pixel == 32 && surface->pf.rshift == 0) 262 static inline int is_buffer_shared(DisplaySurface *surface) [all...] |
/frameworks/native/cmds/flatland/ |
GLHelper.cpp | 135 bool GLHelper::makeCurrent(EGLSurface surface) { 138 result = eglMakeCurrent(mDisplay, surface, surface, mContext); 145 eglQuerySurface(mDisplay, surface, EGL_WIDTH, &w); 146 eglQuerySurface(mDisplay, surface, EGL_HEIGHT, &h); 153 sp<GLConsumer>* glConsumer, EGLSurface* surface, 166 return createNamedSurfaceTexture(*name, w, h, glConsumer, surface); 169 void GLHelper::destroySurface(EGLSurface* surface) { 170 if (eglGetCurrentSurface(EGL_READ) == *surface || 171 eglGetCurrentSurface(EGL_DRAW) == *surface) { [all...] |
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_video.h | 41 * These define alpha as the opacity of a surface 89 /** Alpha value information (per-surface alpha) */ 94 * which, if not NULL, contains the raw pixel data for the surface. 104 /** Hardware-specific surface info */ 120 /** Reference count -- used when freeing surface */ 131 #define SDL_SWSURFACE 0x00000000 /**< Surface is in system memory */ 132 #define SDL_HWSURFACE 0x00000001 /**< Surface is in video memory */ 139 #define SDL_HWPALETTE 0x20000000 /**< Surface has exclusive palette */ 141 #define SDL_FULLSCREEN 0x80000000 /**< Surface is a full screen display */ 153 #define SDL_RLEACCEL 0x00004000 /**< Surface is RLE encoded * [all...] |
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_video.h | 41 * These define alpha as the opacity of a surface 89 /** Alpha value information (per-surface alpha) */ 94 * which, if not NULL, contains the raw pixel data for the surface. 104 /** Hardware-specific surface info */ 120 /** Reference count -- used when freeing surface */ 131 #define SDL_SWSURFACE 0x00000000 /**< Surface is in system memory */ 132 #define SDL_HWSURFACE 0x00000001 /**< Surface is in video memory */ 139 #define SDL_HWPALETTE 0x20000000 /**< Surface has exclusive palette */ 141 #define SDL_FULLSCREEN 0x80000000 /**< Surface is a full screen display */ 153 #define SDL_RLEACCEL 0x00004000 /**< Surface is RLE encoded * [all...] |
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_video.h | 41 * These define alpha as the opacity of a surface 89 /** Alpha value information (per-surface alpha) */ 94 * which, if not NULL, contains the raw pixel data for the surface. 104 /** Hardware-specific surface info */ 120 /** Reference count -- used when freeing surface */ 131 #define SDL_SWSURFACE 0x00000000 /**< Surface is in system memory */ 132 #define SDL_HWSURFACE 0x00000001 /**< Surface is in video memory */ 139 #define SDL_HWPALETTE 0x20000000 /**< Surface has exclusive palette */ 141 #define SDL_FULLSCREEN 0x80000000 /**< Surface is a full screen display */ 153 #define SDL_RLEACCEL 0x00004000 /**< Surface is RLE encoded * [all...] |
/external/chromium_org/content/common/gpu/ |
image_transport_surface.cc | 36 scoped_refptr<gfx::GLSurface> surface; local 38 surface = new TextureImageTransportSurface(manager, stub, handle); 40 surface = CreateNativeSurface(manager, stub, handle); 42 if (!surface.get() || !surface->Initialize()) 44 return surface; 47 ImageTransportHelper::ImageTransportHelper(ImageTransportSurface* surface, 51 : surface_(surface), 220 gfx::GLSurface* surface) 221 : GLSurfaceAdapter(surface), [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
SDL_cacavideo.c | 60 /* Hardware surface functions */ 61 static int Caca_AllocHWSurface(_THIS, SDL_Surface *surface); 62 static int Caca_LockHWSurface(_THIS, SDL_Surface *surface); 63 static int Caca_FlipHWSurface(_THIS, SDL_Surface *surface); 64 static void Caca_UnlockHWSurface(_THIS, SDL_Surface *surface); 65 static void Caca_FreeHWSurface(_THIS, SDL_Surface *surface); 241 static int Caca_AllocHWSurface(_THIS, SDL_Surface *surface) 245 static void Caca_FreeHWSurface(_THIS, SDL_Surface *surface) 251 static int Caca_LockHWSurface(_THIS, SDL_Surface *surface) 256 static void Caca_UnlockHWSurface(_THIS, SDL_Surface *surface) [all...] |
/frameworks/native/opengl/tests/filter/ |
filter.cpp | 37 EGLSurface surface; local 54 surface = eglCreateWindowSurface(dpy, config, window, NULL); 59 surface = eglCreatePbufferSurface(dpy, config, attribs); 60 if (surface == EGL_NO_SURFACE) { 65 eglMakeCurrent(dpy, surface, surface, context); 66 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 67 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 158 eglSwapBuffers(dpy, surface); 184 eglSwapBuffers(dpy, surface); [all...] |
/hardware/libhardware/tests/hwc/ |
util.c | 175 EGLSurface surface; local 200 surface = eglCreateWindowSurface(display, config, window, NULL); 201 if (surface == EGL_NO_SURFACE) 208 if (!(res = eglMakeCurrent(display, surface, surface, context))) 211 eglQuerySurface(display, surface, EGL_WIDTH, &w); 212 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 217 *_surface = surface; 229 void egl_destroy(EGLDisplay display, EGLSurface surface) { 231 eglDestroySurface(display, surface); [all...] |