/external/chromium_org/gpu/gles2_conform_support/egl/ |
display.h | 36 class Surface; 59 // Surface routines. 61 bool IsValidSurface(EGLSurface surface); 65 void DestroySurface(EGLSurface surface); 66 void SwapBuffers(EGLSurface surface); 112 // TODO(alokp): Support more than one config, surface, and context. 114 scoped_ptr<Surface> surface_;
|
/external/chromium_org/mojo/services/native_viewport/ |
viewport_surface.cc | 56 void ViewportSurface::OnSurfaceConnectionCreated(SurfacePtr surface, 58 surface_ = surface.Pass(); 82 surface_quad_state->surface = SurfaceId::From(child_id_);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
r600_blit.c | 240 /* Copy a block of pixels from one surface to another using HW. */ 280 orig->npix0_x = rtex->surface.level[0].npix_x; 281 orig->npix0_y = rtex->surface.level[0].npix_y; 282 orig->npix_x = rtex->surface.level[level].npix_x; 283 orig->npix_y = rtex->surface.level[level].npix_y; 296 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); 297 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y); 298 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); 299 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y); 312 rtex->surface.level[0].npix_x = orig->npix0_x [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/rbug/ |
rbug_objects.h | 83 struct pipe_surface *surface; member in struct:rbug_surface 161 return rbug_surface(_surface)->surface; 194 struct pipe_surface *surface);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_winsys.h | 67 /** Opaque surface handle */ 84 * Emit a relocation for a host surface. 94 struct svga_winsys_surface *surface, 151 * Surfaces are not per-context. The same surface can be shared 152 * between multiple contexts, and surface operations can occur 160 * This creates a "surface" object in the SVGA3D device, 161 * and returns the surface ID (sid). Surfaces are generic 167 * - Surface may have multiple faces (for cube maps) 182 * which the surface may be used. For example, a depth surface [all...] |
/external/chromium_org/third_party/skia/gm/ |
surface.cpp | 94 SkAutoTUnref<SkSurface> surface(make_surface(ctx, info, rec[i].fGeo, 96 test_draw(surface->getCanvas(), rec[i].fLabel); 97 surface->draw(canvas, x, y, NULL);
|
/external/chromium_org/third_party/skia/tools/ |
skhello.cpp | 36 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(w, h)); 37 doDraw(surface->getCanvas(), paint, text); 39 SkAutoTUnref<SkImage> image(surface->newImageSnapshot());
|
/external/chromium_org/ui/gl/ |
gl_surface.h | 26 // Encapsulates a surface that can be rendered to with GL, hiding platform 32 // (Re)create the surface. TODO(apatrick): This is an ugly hack to allow the 33 // EGL surface associated to be recreated without destroying the associated 38 // Destroys the surface. 43 // Recreate the surface without changing the size. 47 // a GL draw call to this surface and defer it until the GpuScheduler is 51 // Returns true if this surface is offscreen. 58 // Get the size of the surface. 61 // Get the underlying platform specific surface "handle". 64 // Returns whether or not the surface supports PostSubBuffer 188 GLSurface* surface() const { return surface_.get(); } function in class:gfx::GLSurfaceAdapter [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
r600_blit.c | 240 /* Copy a block of pixels from one surface to another using HW. */ 280 orig->npix0_x = rtex->surface.level[0].npix_x; 281 orig->npix0_y = rtex->surface.level[0].npix_y; 282 orig->npix_x = rtex->surface.level[level].npix_x; 283 orig->npix_y = rtex->surface.level[level].npix_y; 296 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); 297 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y); 298 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); 299 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y); 312 rtex->surface.level[0].npix_x = orig->npix0_x [all...] |
/external/mesa3d/src/gallium/drivers/rbug/ |
rbug_objects.h | 83 struct pipe_surface *surface; member in struct:rbug_surface 161 return rbug_surface(_surface)->surface; 194 struct pipe_surface *surface);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_winsys.h | 67 /** Opaque surface handle */ 84 * Emit a relocation for a host surface. 94 struct svga_winsys_surface *surface, 151 * Surfaces are not per-context. The same surface can be shared 152 * between multiple contexts, and surface operations can occur 160 * This creates a "surface" object in the SVGA3D device, 161 * and returns the surface ID (sid). Surfaces are generic 167 * - Surface may have multiple faces (for cube maps) 182 * which the surface may be used. For example, a depth surface [all...] |
/external/skia/tools/ |
skhello.cpp | 36 SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(w, h)); 37 doDraw(surface->getCanvas(), paint, text); 39 SkAutoTUnref<SkImage> image(surface->newImageSnapshot());
|
/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...] |
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralView.java | 25 import android.view.Surface; 59 Surface surface = null; local 60 while (surface == null) { 61 surface = surfaceHolder.getSurface();
|
/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) ); \ 194 //Surface attributes 206 uint32_t rcSurface; //handle to surface created via remote control 631 egl_surface_t* surface = egl_window_surface_t::create( local 633 if (!surface) { 637 return surface; 685 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, local 687 if (!surface) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/android/org/webrtc/ |
VideoRendererGui.java | 60 private GLSurfaceView surface; field in class:VideoRendererGui 125 private VideoRendererGui(GLSurfaceView surface) { 126 this.surface = surface; 128 surface.setPreserveEGLContextOnPause(true); 129 surface.setEGLContextClientVersion(2); 130 surface.setRenderer(this); 131 surface.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY); 205 private GLSurfaceView surface; field in class:VideoRendererGui.YuvImageRenderer 261 GLSurfaceView surface, int id [all...] |
/frameworks/base/core/jni/ |
android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 30 #include <gui/Surface.h> 146 * Produce a frame in the given surface. 149 * anw - a surface to produce a frame in. 192 // TODO: Switch to using Surface::lock and Surface::unlockAndPost 210 ALOGE("%s: Error while querying surface pixel format %s (%d).", __FUNCTION__, 364 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { 366 if (surface) { 367 anw = android_view_Surface_getNativeWindow(env, surface); 372 jniThrowNullPointerException(env, "surface"); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
SDL_xbios.c | 80 /* Hardware surface functions */ 81 static int XBIOS_AllocHWSurface(_THIS, SDL_Surface *surface); 82 static int XBIOS_LockHWSurface(_THIS, SDL_Surface *surface); 83 static int XBIOS_FlipHWSurface(_THIS, SDL_Surface *surface); 84 static void XBIOS_UnlockHWSurface(_THIS, SDL_Surface *surface); 85 static void XBIOS_FreeHWSurface(_THIS, SDL_Surface *surface); 679 /* Allocate needed buffers: simple/double buffer and shadow surface */ 850 static int XBIOS_AllocHWSurface(_THIS, SDL_Surface *surface) 855 static void XBIOS_FreeHWSurface(_THIS, SDL_Surface *surface) 860 static int XBIOS_LockHWSurface(_THIS, SDL_Surface *surface) 872 SDL_Surface *surface; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
ProjectionService.java | 30 import android.view.Surface; 76 public void startRendering(final Surface surface, final int width, final int height, 83 Log.i(TAG, "Surface " + surface.toString() + ": " 84 + Boolean.toString(surface.isValid())); 86 surface, 0);
|
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/ |
GLPrimitiveActivity.java | 23 import android.view.Surface; 35 private volatile Surface mSurface = null; 106 Surface surface, boolean offscreen, int workload); 109 Surface surface, boolean offscreen, int workload); 112 Surface surface, boolean offscreen, int workload); 115 Surface surface, boolean offscreen, int workload) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaStubActivity.java | 36 SurfaceView surfaceV = (SurfaceView)findViewById(R.id.surface);
|
/cts/tests/tests/nativeopengl/src/com/android/opengl/cts/ |
GLTestActivity.java | 26 import android.view.Surface; 56 private static native void setSurface(Surface surface);
|
/external/chromium_org/gpu/command_buffer/client/ |
gl_in_process_context.h | 50 // If |surface| is not NULL, then it must match |is_offscreen| and |size|, 53 // not thread safe. If |surface| is NULL, then the other parameters are used 54 // to correctly create a surface. 59 scoped_refptr<gfx::GLSurface> surface,
|
/external/chromium_org/mojo/examples/surfaces_app/ |
child_gl_impl.h | 51 void SurfaceConnectionCreated(SurfacePtr surface, uint32_t id_namespace);
|
child_impl.h | 29 class Surface; 56 void SurfaceConnectionCreated(SurfacePtr surface, uint32_t id_namespace);
|