/frameworks/native/opengl/tests/swapinterval/ |
swapinterval.cpp | 43 EGLSurface surface; local 70 surface = eglCreateWindowSurface(dpy, config, window, NULL); 71 if (surface == EGL_NO_SURFACE) { 83 eglMakeCurrent(dpy, surface, surface, context); 84 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 85 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 99 eglSwapBuffers(dpy, surface); 111 eglSwapBuffers(dpy, surface); 114 eglSwapBuffers(dpy, surface); [all...] |
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 126 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 127 android.util.Log.v("cpa", "onSurfaceTextureAvailable " + surface); 128 mSurface = surface; 133 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 134 android.util.Log.v("cpa", "onSurfaceTextureSizeChanged " + surface); 135 mSurface = surface; 140 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 141 android.util.Log.v("cpa", "onSurfaceTextureDestroyed " + surface); 142 mSurface = surface; 148 public void onSurfaceTextureUpdated(SurfaceTexture surface) { [all...] |
/hardware/qcom/display/libcopybit/ |
c2d2.h | 96 * If the C2D_FORMAT_MACROTILED bit is set, the surface is in the 218 C2D_SOURCE_TILE_BIT = (1 << 3), /* enables source surface tiling */ 224 C2D_MASK_SCALE_BIT = (1 << 9), /* enables mask surface scaling */ 225 C2D_MASK_TILE_BIT = (1 << 10), /* enables mask surface tiling */ 290 /* Surface caps enumeration */ 298 /* Surface type enumeration */ 300 C2D_SURFACE_RGB_HOST = 1, /* Host memory RGB surface */ 301 C2D_SURFACE_RGB_EXT = 2, /* External memory RGB surface */ 302 C2D_SURFACE_YUV_HOST = 3, /* Host memory YUV surface */ 303 C2D_SURFACE_YUV_EXT = 4, /* External memory YUV surface */ [all...] |
/external/chromium/chrome/browser/ui/window_snapshot/ |
window_snapshot_x.cc | 47 cairo_surface_t* surface = local 55 if (!surface) { 56 LOG(ERROR) << "Unable to create Cairo surface from XImage data"; 60 surface, SnapshotCallback, png_representation); 61 cairo_surface_destroy(surface);
|
/external/skia/src/image/ |
SkSurface_Base.h | 19 * Allocate a canvas that will draw into this surface. We will cache this 29 * Allocate an SkImage that represents the current contents of the surface. 30 * This needs to be able to outlive the surface itself (if need be), and 31 * must faithfully represent the current contents, even if the surface 48 * If the surface is about to change, we call this so that our subclass
|
SkImagePriv.h | 54 // may be called to see if the surface and the image share the same pixelref, 55 // in which case the surface may need to perform a copy-on-write. 59 // may be called to see if the surface and the image share the same GrTexture, 60 // in which case the surface may need to perform a copy-on-write. 64 // is called when a surface and image share the same GrTexture and the 65 // surface needs to perform a copy-on-write
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Blit.h | 7 // Blit.cpp: Surface copy utility class. 31 // Copy from source surface to dest surface. 50 IDirect3DTexture9 *copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect); 53 RECT getSurfaceRect(IDirect3DSurface9 *surface) const;
|
/external/qemu/distrib/sdl-1.2.15/docs/html/ |
sdlsurface.html | 83 >SDL_Surface -- Graphical Surface Structure</DIV 103 /* Reference count -- used when freeing surface */ 140 >Surface flags</TD 173 >Width and height of the surface</TD 188 >Length of a surface scanline in bytes</TD 218 >surface clip <A 272 width and height of the surface in pixels. 279 the surface should be <A 327 >Surface is stored in system memory</TD 340 >Surface is stored in video memory</T [all...] |
sdlblitsurface.html | 83 >SDL_BlitSurface -- This performs a fast blit from the source surface to the destination surface.</DIV 123 >This performs a fast blit from the source surface to the destination surface.</P 148 entire surface is copied. If <TT 174 >The blit function should not be called on a locked surface.</P 182 > for an explaination of how this affects your results. Colorkeying and alpha attributes also interact with surface blitting, as the following pseudo-code should hopefully explain. 185 >if (source surface has SDL_SRCALPHA set) { 186 if (source surface has alpha channel (that is, format->Amask != 0)) 189 if (source surface has SDL_SRCCOLORKEY set [all...] |
sdlpixelformat.html | 83 >SDL_PixelFormat -- Stores surface format information</DIV 161 >The number of bits used to represent each pixel in a surface. Usually 8, 16, 24 or 32.</TD 176 >The number of bytes used to represent each pixel in a surface. Usually one to four.</TD 253 >Overall surface alpha value</TD 283 >. Every surface stores a <SPAN 293 >If you wish to do pixel level modifications on a surface, then understanding how SDL stores its color information is essential.</P 320 >. So, to determine the color of a pixel in a 8-bit surface: we read the color index from <SPAN 322 >surface</SPAN 336 >surface</SPAN 355 >SDL_Surface *surface; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
SDL_DirectFB_yuv.c | 43 IDirectFBSurface *surface; member in struct:private_yuvhwdata 61 /* take the one with a surface for video */ 138 ret = layer->GetSurface (layer, &hwdata->surface); 169 /* Set up the YUV surface function structure */ 213 IDirectFBSurface *surface = overlay->hwdata->surface; local 215 ret = surface->Lock (surface, DSLF_READ | DSLF_WRITE, &data, &pitch); 246 IDirectFBSurface *surface = overlay->hwdata->surface; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 44 cairo_surface_t* surface = 0; local 50 surface = cairo_win32_surface_create(hdc); 54 surface = cairo_image_surface_create_for_data((unsigned char*)info.bmBits, 61 cairo_t* context = cairo_create(surface); 62 cairo_surface_destroy(surface); 100 cairo_surface_t* surface = cairo_image_surface_create_for_data(pixelData.buffer(), local 106 // Flip the target surface so that when we set the srcImage as 107 // the surface it will draw right-side-up. 111 cairo_set_source_surface(cr, surface, 0, 0); 119 cairo_surface_destroy(surface); 169 cairo_surface_t* surface = cairo_win32_surface_create(m_hdc); local [all...] |
/frameworks/base/core/java/android/view/ |
SurfaceView.java | 42 * Provides a dedicated drawing surface embedded inside of a view hierarchy. 43 * You can control the format of this surface and, if you like, its size; the 44 * SurfaceView takes care of placing the surface at the correct location on the 47 * <p>The surface is Z ordered so that it is behind the window holding its 49 * surface to be displayed. The view hierarchy will take care of correctly 50 * compositing with the Surface any siblings of the SurfaceView that would 52 * buttons on top of the Surface, though note however that it can have an 54 * each time the Surface changes. 56 * <p> The transparent region that makes the surface visible is based on the 59 * view may not be properly composited with the surface [all...] |
/frameworks/base/docs/html/sdk/api_diff/14/changes/ |
android.view.Surface.html | 10 android.view.Surface 74 Class android.view.<A HREF="../../../../reference/android/view/Surface.html" target="_top"><font size="+2"><code>Surface</code></font></A> 85 <A NAME="android.view.Surface.ctor_added(android.graphics.SurfaceTexture)"></A> 86 <nobr><A HREF="../../../../reference/android/view/Surface.html#Surface(android.graphics.SurfaceTexture)" target="_top"><code>Surface</code></A>(<code>SurfaceTexture</code>)</nobr> 101 <A NAME="android.view.Surface.freeze_removed()"></A> 108 <A NAME="android.view.Surface.hide_removed()"></A> 115 <A NAME="android.view.Surface.setAlpha_removed(float)"></A [all...] |
alldiffs_index_removals.html | 80 <nobr><A HREF="android.view.Surface.html#android.view.Surface.freeze_removed()" class="hiddenlink" target="rightframe"><strike>freeze</strike> 83 <nobr><A HREF="android.view.Surface.html#android.view.Surface.FX_SURFACE_BLUR" class="hiddenlink" target="rightframe"><strike>FX_SURFACE_BLUR</strike></A> 86 <nobr><A HREF="android.view.Surface.html#android.view.Surface.FX_SURFACE_DIM" class="hiddenlink" target="rightframe"><strike>FX_SURFACE_DIM</strike></A> 89 <nobr><A HREF="android.view.Surface.html#android.view.Surface.FX_SURFACE_MASK" class="hiddenlink" target="rightframe"><strike>FX_SURFACE_MASK</strike></A> 92 <nobr><A HREF="android.view.Surface.html#android.view.Surface.FX_SURFACE_NORMAL" class="hiddenlink" target="rightframe"><strike>FX_SURFACE_NORMAL</strike></A [all...] |
/frameworks/native/opengl/tests/fillrate/ |
fillrate.cpp | 44 EGLSurface surface; local 60 surface = eglCreateWindowSurface(dpy, config, window, NULL); 62 eglMakeCurrent(dpy, surface, surface, context); 63 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 64 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 124 eglSwapBuffers(dpy, surface); 134 eglSwapBuffers(dpy, surface); 146 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/gl_perf/ |
gl2_perf.cpp | 57 static EGLSurface surface; variable 98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 100 if (surface == EGL_NO_SURFACE) { 111 returnValue = eglMakeCurrent(dpy, surface, surface, context); 116 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 118 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 126 eglSwapBuffers(dpy, surface); 134 eglSwapBuffers(dpy, surface);
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
Colors.java | 76 public void onSurfaceTextureAvailable(final SurfaceTexture surface, 78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height); 86 mRenderer = new ColorsGLRenderer(surface, width, height); 93 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, 95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height); 108 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 109 LOG("onSurfaceTextureDestroyed(%s)", surface); 132 public void onSurfaceTextureUpdated(SurfaceTexture surface) { 133 LOG("onSurfaceTextureUpdated(%s)", surface);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_gl_environment.cpp | 27 #include <gui/Surface.h> 37 using android::Surface; 135 jobject surface) { 137 if (!surface) { 138 ALOGE("GLEnvironment: Null Surface passed!"); 142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); 151 // Configure surface 168 ALOGE("GLEnvironment: No suitable EGL configuration found for surface!"); 172 // Create the EGL surface 179 ALOGE("GLEnvironment: Error creating window surface!"); [all...] |
/frameworks/native/opengl/tests/finish/ |
finish.cpp | 45 EGLSurface surface; local 61 surface = eglCreateWindowSurface(dpy, config, window, NULL); 63 eglMakeCurrent(dpy, surface, surface, context); 64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 113 eglSwapBuffers(dpy, surface); 127 eglSwapBuffers(dpy, surface); 142 eglSwapBuffers(dpy, surface); 157 eglSwapBuffers(dpy, surface); [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
Surface.cpp | 26 #define LOG_TAG "Surface" 30 #include "Surface.h" 52 Surface::Surface() 58 ClassTracker::instance()->increment("Surface"); 62 Surface::~Surface() 69 ClassTracker::instance()->decrement("Surface"); 73 bool Surface::tryUpdateSurface(Surface* oldSurface [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
EGLDisplayOpenVG.h | 48 /** Creates a pbuffer surface using the given config. If no surface 51 * If no surface could be created and errorCode is zero, this method 60 /** Destroy the surface and its corresponding context (unless another 61 * surface is still using the same context, in which case the context 65 /** Return the context corresponding to the surface.
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPSurface_npapi.h | 33 /** Locks the surface from manipulation by other threads and provides a bitmap 36 surface will be considered dirty. If the lock was successful the function 40 bool (*lock)(JNIEnv* env, jobject surface, ANPBitmap* bitmap, ANPRectI* dirtyRect); 41 /** Given a locked surface handle (i.e. result of a successful call to lock) 42 the surface is unlocked and the contents of the bitmap, specifically 45 void (*unlock)(JNIEnv* env, jobject surface);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
CanvasTextureViewActivity.java | 50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { 75 public RenderingThread(TextureView surface) { 76 mSurface = surface;
|
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
ddraw.h | 138 LPDIRECTDRAWSURFACE lpDDSZBufferDest; // Surface to use as Z buffer for dest
144 LPDIRECTDRAWSURFACE lpDDSZBufferSrc; // Surface to use as Z buffer for src
153 LPDIRECTDRAWSURFACE lpDDSAlphaDest; // Surface to use as Alpha Channel
159 LPDIRECTDRAWSURFACE lpDDSAlphaSrc; // Surface to use as Alpha Channel
165 LPDIRECTDRAWSURFACE lpDDSPattern; // Surface to use as pattern
179 DWORD dwCaps; // capabilities of surface wanted
194 DWORD dwCKeyCaps; // color key capabilities of the surface
300 LPDIRECTDRAWSURFACE lpDDSAlphaDest; // Surface to use as alpha channel for dest
306 LPDIRECTDRAWSURFACE lpDDSAlphaSrc; // Surface to use as alpha channel for src
[all...] |