/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11image_c.h | 30 extern int X11_AllocHWSurface(_THIS, SDL_Surface *surface); 31 extern void X11_FreeHWSurface(_THIS, SDL_Surface *surface); 32 extern int X11_LockHWSurface(_THIS, SDL_Surface *surface); 33 extern void X11_UnlockHWSurface(_THIS, SDL_Surface *surface); 34 extern int X11_FlipHWSurface(_THIS, SDL_Surface *surface);
|
/external/chromium_org/ui/gl/ |
gl_surface_mac.cc | 45 scoped_refptr<GLSurface> surface(new GLSurfaceNSView(window)); 46 if (!surface->Initialize()) 49 return surface; 67 scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(OSMESA_RGBA, 69 if (!surface->Initialize()) 72 return surface; 76 scoped_refptr<GLSurface> surface(new NoOpGLSurfaceCGL(size)); 77 if (!surface->Initialize()) 80 return surface;
|
gl_context_stub.h | 21 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE; 22 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE; 23 virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
|
gl_context_wgl.h | 27 virtual bool MakeCurrent(GLSurface* surface); 28 virtual void ReleaseCurrent(GLSurface* surface); 29 virtual bool IsCurrent(GLSurface* surface);
|
gl_context_nsview.h | 26 virtual bool Initialize(GLSurface* surface, 29 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE; 30 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE; 31 virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
|
gl_context_stub.cc | 18 bool GLContextStub::MakeCurrent(GLSurface* surface) { 19 SetCurrent(surface); 23 void GLContextStub::ReleaseCurrent(GLSurface* surface) { 27 bool GLContextStub::IsCurrent(GLSurface* surface) {
|
scoped_make_current.cc | 14 gfx::GLSurface* surface) 18 surface_(surface), 21 DCHECK(surface); 22 succeeded_ = context->MakeCurrent(surface);
|
gl_context_osmesa.cc | 50 bool GLContextOSMesa::MakeCurrent(GLSurface* surface) { 53 gfx::Size size = surface->GetSize(); 56 surface->GetHandle(), 71 SetCurrent(surface); 73 ReleaseCurrent(surface); 77 if (!surface->OnMakeCurrent(this)) { 85 void GLContextOSMesa::ReleaseCurrent(GLSurface* surface) { 86 if (!IsCurrent(surface)) 93 bool GLContextOSMesa::IsCurrent(GLSurface* surface) { 107 if (surface) { [all...] |
gl_context_wgl.cc | 72 bool GLContextWGL::MakeCurrent(GLSurface* surface) { 74 if (IsCurrent(surface)) 79 if (!wglMakeCurrent(static_cast<HDC>(surface->GetHandle()), context_)) { 87 SetCurrent(surface); 89 ReleaseCurrent(surface); 93 if (!surface->OnMakeCurrent(this)) { 101 void GLContextWGL::ReleaseCurrent(GLSurface* surface) { 102 if (!IsCurrent(surface)) 109 bool GLContextWGL::IsCurrent(GLSurface* surface) { 121 if (surface) { [all...] |
gl_context_egl.cc | 92 bool GLContextEGL::MakeCurrent(GLSurface* surface) { 94 if (IsCurrent(surface)) 99 "surface", surface); 107 surface->GetHandle(), 108 surface->GetHandle(), 118 SetCurrent(surface); 120 ReleaseCurrent(surface); 124 if (!surface->OnMakeCurrent(this)) { 136 void GLContextEGL::ReleaseCurrent(GLSurface* surface) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/ |
native_wayland.c | 148 struct wayland_surface *surface = data; local 153 if (!surface->pending_resource) 156 pipe_resource_reference(&surface->pending_resource, NULL); 164 wayland_window_surface_handle_resize(struct wayland_surface *surface) 166 struct wayland_display *display = surface->display; 171 front_resource = resource_surface_get_single_resource(surface->rsurf, 173 if (resource_surface_set_size(surface->rsurf, 174 surface->win->width, surface->win->height)) { 176 if (surface->pending_resource 207 struct wayland_surface *surface = wayland_surface(nsurf); local 230 struct wayland_surface *surface = data; local 254 struct wayland_surface *surface = wayland_surface(nsurf); local 302 struct wayland_surface *surface = wayland_surface(nsurf); local 353 struct wayland_surface *surface = wayland_surface(nsurf); local 376 struct wayland_surface *surface; local [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
native_wayland.c | 148 struct wayland_surface *surface = data; local 153 if (!surface->pending_resource) 156 pipe_resource_reference(&surface->pending_resource, NULL); 164 wayland_window_surface_handle_resize(struct wayland_surface *surface) 166 struct wayland_display *display = surface->display; 171 front_resource = resource_surface_get_single_resource(surface->rsurf, 173 if (resource_surface_set_size(surface->rsurf, 174 surface->win->width, surface->win->height)) { 176 if (surface->pending_resource 207 struct wayland_surface *surface = wayland_surface(nsurf); local 230 struct wayland_surface *surface = data; local 254 struct wayland_surface *surface = wayland_surface(nsurf); local 302 struct wayland_surface *surface = wayland_surface(nsurf); local 353 struct wayland_surface *surface = wayland_surface(nsurf); local 376 struct wayland_surface *surface; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrClipData.cpp | 21 void GrClipData::getConservativeBounds(const GrSurface* surface, 28 surface->width(), 29 surface->height(),
|
/external/harfbuzz_ng/util/ |
helper-cairo-ansi.cc | 34 helper_cairo_surface_write_to_ansi_stream (cairo_surface_t *surface, 38 unsigned int width = cairo_image_surface_get_width (surface); 39 unsigned int height = cairo_image_surface_get_height (surface); 40 if (cairo_image_surface_get_format (surface) != CAIRO_FORMAT_RGB24) { 43 if (cairo_image_surface_get_format (surface) == CAIRO_FORMAT_A8) { 47 cairo_mask_surface (cr, surface, 0, 0); 51 cairo_set_source_surface (cr, surface, 0, 0); 55 surface = new_surface; 57 cairo_surface_reference (surface); 59 unsigned int stride = cairo_image_surface_get_stride (surface); [all...] |
helper-cairo-ansi.hh | 34 helper_cairo_surface_write_to_ansi_stream (cairo_surface_t *surface,
|
/external/skia/src/gpu/ |
GrClipData.cpp | 21 void GrClipData::getConservativeBounds(const GrSurface* surface, 28 surface->width(), 29 surface->height(),
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_surface.c | 35 * Create an empty RGB surface of the appropriate depth 44 SDL_Surface *surface; local 53 /* Check to see if we desire the surface in video memory */ 77 /* Allocate the surface */ 78 surface = (SDL_Surface *)SDL_malloc(sizeof(*surface)); 79 if ( surface == NULL ) { 83 surface->flags = SDL_SWSURFACE; 102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask); 103 if ( surface->format == NULL ) 158 SDL_Surface *surface; local [all...] |
SDL_blit.c | 232 /* Figure out which of many blit routines to set up on a surface */ 233 int SDL_CalculateBlit(SDL_Surface *surface) 238 if ( (surface->flags & SDL_RLEACCEL) == SDL_RLEACCEL ) { 239 SDL_UnRLESurface(surface, 1); 241 surface->map->sw_blit = NULL; 244 surface->flags &= ~SDL_HWACCEL; 245 if ( surface->map->identity ) { 248 if ( (surface->flags & SDL_HWSURFACE) == SDL_HWSURFACE ) { 250 if ( surface->map->dst->flags & SDL_HWSURFACE ) { 255 if (hw_blit_ok && (surface->flags & SDL_SRCCOLORKEY)) [all...] |
SDL_RLEaccel_c.h | 26 extern int SDL_RLESurface(SDL_Surface *surface); 31 extern void SDL_UnRLESurface(SDL_Surface *surface, int recode);
|
SDL_bmp.c | 54 SDL_Surface *surface; local 85 surface = NULL; 223 /* Create a compatible surface, note that the colors are RGB ordered */ 224 surface = SDL_CreateRGBSurface(SDL_SWSURFACE, 226 if ( surface == NULL ) { 232 palette = (surface->format)->palette; 255 /* Read the surface pixels. Note that the bmp image is upside down */ 261 top = (Uint8 *)surface->pixels; 262 end = (Uint8 *)surface->pixels+(surface->h*surface->pitch) 364 SDL_Surface *surface; local [all...] |
/external/chromium_org/content/common/gpu/ |
image_transport_surface_linux.cc | 17 scoped_refptr<gfx::GLSurface> surface = local 19 if (!surface.get()) 20 return surface; 22 manager, stub, surface.get(), handle.is_transport()));
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
test_surface.c | 43 XvMCSurface surface = {0}; local 74 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext); 75 /* Test NULL surface */ 78 assert(XvMCCreateSurface(display, &context, &surface) == Success); 79 /* Test surface id assigned */ 80 assert(surface.surface_id != 0); 82 assert(surface.context_id == context.context_id); 83 /* Test surface type id assigned and correct */ 84 assert(surface.surface_type_id == surface_type_id); 86 assert(surface.width == width && surface.height == height) [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
test_surface.c | 43 XvMCSurface surface = {0}; local 74 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext); 75 /* Test NULL surface */ 78 assert(XvMCCreateSurface(display, &context, &surface) == Success); 79 /* Test surface id assigned */ 80 assert(surface.surface_id != 0); 82 assert(surface.context_id == context.context_id); 83 /* Test surface type id assigned and correct */ 84 assert(surface.surface_type_id == surface_type_id); 86 assert(surface.width == width && surface.height == height) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_image_c.h | 42 extern int ph_AllocHWSurface(_THIS, SDL_Surface* surface); 43 extern void ph_FreeHWSurface(_THIS, SDL_Surface* surface); 45 extern int ph_FillHWRect(_THIS, SDL_Surface* surface, SDL_Rect* rect, Uint32 color); 46 extern int ph_LockHWSurface(_THIS, SDL_Surface* surface); 47 extern void ph_UnlockHWSurface(_THIS, SDL_Surface* surface); 48 extern int ph_FlipHWSurface(_THIS, SDL_Surface* surface); 49 extern int ph_SetHWColorKey(_THIS, SDL_Surface* surface, Uint32 key); 50 extern int ph_SetHWAlpha(_THIS, SDL_Surface* surface, Uint8 alpha);
|
/external/chromium_org/gpu/command_buffer/service/ |
gl_context_virtual.cc | 34 // with the surface (the context already exists), but we do need to 56 bool GLContextVirtual::MakeCurrent(gfx::GLSurface* surface) { 58 return shared_context_->MakeVirtuallyCurrent(this, surface); 64 void GLContextVirtual::ReleaseCurrent(gfx::GLSurface* surface) { 65 if (IsCurrent(surface)) { 67 shared_context_->ReleaseCurrent(surface); 71 bool GLContextVirtual::IsCurrent(gfx::GLSurface* surface) { 72 // If it's a real surface it needs to be current. 73 if (surface && 74 !surface->IsOffscreen() & [all...] |