HomeSort by relevance Sort by last modified time
    Searched refs:surface (Results 201 - 225 of 917) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/opengl/java/android/opengl/
EGL14.java 22 import android.view.Surface;
243 Surface sur = null;
250 } else if (win instanceof Surface) {
251 sur = (Surface) win;
254 EGLSurface surface; local
256 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
258 surface = _eglCreateWindowSurfaceTexture(dpy, config,
263 "Surface, SurfaceView, SurfaceTexture or SurfaceHolder at the moment, " +
267 return surface;
288 // C function EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface )
    [all...]
  /external/chromium_org/ui/surface/
d3d9_utils_win.cc 5 #include "ui/surface/d3d9_utils_win.h"
109 base::win::ScopedComPtr<IDirect3DSurface9>* surface) {
110 if (!*surface || GetSize(*surface) != size) {
112 surface->Release();
120 surface->Receive(),
152 gfx::Size GetSize(IDirect3DSurface9* surface) {
154 HRESULT hr = surface->GetDesc(&surface_description);
  /frameworks/native/opengl/tests/textures/
textures.cpp 41 EGLSurface surface; local
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
59 eglMakeCurrent(dpy, surface, surface, context);
60 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
61 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
116 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...]
  /frameworks/base/core/jni/
android_view_Surface.cpp 17 #define LOG_TAG "Surface"
33 #include <gui/Surface.h>
54 "android/view/Surface$OutOfResourcesException";
93 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) {
94 sp<Surface> sur;
98 sur = reinterpret_cast<Surface *>(
111 sp<Surface> surface(new Surface(bufferProducer, true));
112 if (surface == NULL)
    [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/
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...]
  /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...]
  /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/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
52 surface = eglCreateWindowSurface(dpy, config, window, NULL);
57 surface = eglCreatePbufferSurface(dpy, config, attribs);
58 if (surface == EGL_NO_SURFACE) {
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
156 eglSwapBuffers(dpy, surface);
182 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...]
  /frameworks/base/media/mca/filterfw/native/core/
gl_env.cpp 94 surface() != eglGetCurrentSurface(EGL_DRAW)) {
96 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE)
101 eglMakeCurrent(display(), surface(), surface(), context());
109 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE;
123 (surface() != EGL_NO_SURFACE);
141 // Configure context/surface
164 // Create dummy surface using a GLConsumer
167 window_ = new Surface(static_cast<sp<IGraphicBufferProducer> >(bq));
189 && surface() == eglGetCurrentSurface(EGL_DRAW)
213 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); local
    [all...]
  /frameworks/native/opengl/libs/EGL/
eglApi.cpp 507 EGLSurface surface = cnx->egl.eglCreateWindowSurface( local
509 if (surface != EGL_NO_SURFACE) {
511 surface, cnx);
531 EGLSurface surface = cnx->egl.eglCreatePixmapSurface( local
533 if (surface != EGL_NO_SURFACE) {
535 surface, cnx);
550 EGLSurface surface = cnx->egl.eglCreatePbufferSurface( local
552 if (surface != EGL_NO_SURFACE) {
554 surface, cnx);
561 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
    [all...]
  /external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/
esUtil.c 66 EGLSurface surface; local
111 // Create a surface
112 surface = eglCreateWindowSurface(display, config, (EGLNativeWindowType)hWnd, surfaceAttribList);
113 if ( surface == EGL_NO_SURFACE )
126 if ( !eglMakeCurrent(display, surface, surface, context) )
132 *eglSurface = surface;
  /external/chromium_org/third_party/angle_dx11/src/libEGL/
libEGL.cpp 20 #include "libEGL/Surface.h"
67 bool validateSurface(egl::Display *display, egl::Surface *surface)
74 if (!display->isValidSurface(surface))
372 EGLBoolean __stdcall eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
374 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p)", dpy, surface);
379 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
r300_texture.c 1079 struct r300_surface* surface = CALLOC_STRUCT(r300_surface); local
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/
r300_texture.c 1079 struct r300_surface* surface = CALLOC_STRUCT(r300_surface); local
    [all...]
  /external/chromium_org/content/common/gpu/
image_transport_surface.cc 31 scoped_refptr<gfx::GLSurface> surface; local
33 surface = new TextureImageTransportSurface(manager, stub, handle);
35 surface = CreateNativeSurface(manager, stub, handle);
37 if (!surface.get() || !surface->Initialize())
39 return surface;
42 ImageTransportHelper::ImageTransportHelper(ImageTransportSurface* surface,
46 : surface_(surface),
211 gfx::GLSurface* surface,
213 : GLSurfaceAdapter(surface),
    [all...]
  /external/chromium_org/gpu/gles2_conform_support/egl/
display.h 34 class Surface;
57 // Surface routines.
59 bool IsValidSurface(EGLSurface surface);
63 void DestroySurface(EGLSurface surface);
64 void SwapBuffers(EGLSurface surface);
91 // TODO(alokp): Support more than one config, surface, and context.
93 scoped_ptr<Surface> surface_;
  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/
main.cpp 74 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface)
81 if (context && display && surface)
83 context->makeCurrent(surface);

Completed in 444 milliseconds

1 2 3 4 5 6 7 891011>>