/external/chromium_org/ui/gl/ |
gl_surface_android.cc | 37 scoped_refptr<GLSurface> surface(new GLSurfaceOSMesaHeadless()); 38 if (!surface->Initialize()) 40 return surface; 44 scoped_refptr<GLSurface> surface = new NativeViewGLSurfaceEGL(window); local 45 if (surface->Initialize()) 46 return surface; 48 scoped_refptr<GLSurface> surface = new GLSurfaceStub(); local 49 if (surface->Initialize()) 50 return surface; 61 scoped_refptr<GLSurface> surface( 69 scoped_refptr<GLSurface> surface; local [all...] |
gl_context_wgl.h | 27 virtual bool MakeCurrent(GLSurface* surface); 28 virtual void ReleaseCurrent(GLSurface* surface); 29 virtual bool IsCurrent(GLSurface* surface);
|
gl_context_stub.cc | 18 bool GLContextStub::MakeCurrent(GLSurface* surface) { 19 SetCurrent(surface); 24 void GLContextStub::ReleaseCurrent(GLSurface* surface) { 28 bool GLContextStub::IsCurrent(GLSurface* surface) {
|
scoped_make_current.cc | 14 gfx::GLSurface* surface) 18 surface_(surface), 21 DCHECK(surface); 22 succeeded_ = context->MakeCurrent(surface);
|
/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/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/content/common/gpu/ |
image_transport_surface_linux.cc | 16 scoped_refptr<gfx::GLSurface> surface = local 18 if (!surface.get()) 19 return surface; 21 manager, stub, surface.get()));
|
image_transport_surface_win.cc | 30 scoped_refptr<gfx::GLSurface> surface = local 32 if (!surface) 33 return surface; 35 manager, stub, surface.get()));
|
/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/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);
|
/external/chromium_org/cc/test/ |
fake_layer_tree_host_client.cc | 26 scoped_ptr<OutputSurface> surface; local 29 surface = FakeOutputSurface::CreateDelegatingSoftware( 33 surface = FakeOutputSurface::CreateSoftware( 38 surface = FakeOutputSurface::CreateDelegating3d().PassAs<OutputSurface>(); 40 surface = FakeOutputSurface::Create3d().PassAs<OutputSurface>(); 42 host_->SetOutputSurface(surface.Pass());
|
/external/chromium_org/mojo/services/surfaces/ |
surfaces_service_impl.cc | 22 SurfacePtr surface; local 23 BindToProxy(new SurfacesImpl(manager_, id_namespace, client_), &surface); 24 callback.Run(surface.Pass(), id_namespace);
|
/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/chromium_org/third_party/skia/gm/ |
discard.cpp | 49 SkSurface* surface = SkSurface::NewRenderTarget(context, info); variable 51 if (NULL == surface) { 60 surface->getCanvas()->discard(); 65 surface->getCanvas()->drawColor(color); 68 surface->getCanvas()->clear(color); 74 surface->getCanvas()->drawPaint(paint); 77 surface->draw(canvas, 10.f*x, 10.f*y, NULL); 81 surface->getCanvas()->discard(); 82 surface->unref();
|
/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/skia/gm/ |
discard.cpp | 49 SkSurface* surface = SkSurface::NewRenderTarget(context, info); variable 51 if (NULL == surface) { 60 surface->getCanvas()->discard(); 65 surface->getCanvas()->drawColor(color); 68 surface->getCanvas()->clear(color); 74 surface->getCanvas()->drawPaint(paint); 77 surface->draw(canvas, 10.f*x, 10.f*y, NULL); 81 surface->getCanvas()->discard(); 82 surface->unref();
|
/bootable/recovery/minui/ |
resources.c | 41 gr_surface surface = (gr_surface) temp; 42 surface->data = temp + sizeof(GRSurface) + 44 return surface; 141 gr_surface surface; local 143 surface = malloc_surface(width * height * 4); 144 if (surface == NULL) return NULL; 146 surface->width = width; 147 surface->height = height; 148 surface->row_bytes = width * 4; 149 surface->pixel_bytes = 4 200 gr_surface surface = NULL; local 235 gr_surface* surface = NULL; local 309 gr_surface surface = NULL; local 371 gr_surface surface = NULL; local [all...] |
/external/skia/tests/ |
DeferredCanvasTest.cpp | 35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); local 36 surface->getCanvas()->clear(color); 37 return surface; 40 static SkPMColor read_pixel(SkSurface* surface, int x, int y) { 48 surface->draw(&canvas, -SkIntToScalar(x), -SkIntToScalar(y), &paint); 55 SkAutoTUnref<SkSurface> surface(createSurface(0xFFFFFFFF)); 56 SkAutoTUnref<SkDeferredCanvas> canvas(SkDeferredCanvas::Create(surface.get())); 61 REPORTER_ASSERT(reporter, 0xFFFFFFFF == read_pixel(surface, 0, 0)); 66 REPORTER_ASSERT(reporter, 0 == read_pixel(surface, 0, 0)); 106 SkAutoTUnref<MockSurface> surface(SkNEW_ARGS(MockSurface, (10, 10))) 691 SkSurface* surface; local 757 SkSurface* surface; local [all...] |
/external/chromium_org/third_party/skia/tests/ |
DeferredCanvasTest.cpp | 35 SkSurface* surface = SkSurface::NewRasterPMColor(gWidth, gHeight); local 36 surface->getCanvas()->clear(color); 37 return surface; 40 static SkPMColor read_pixel(SkSurface* surface, int x, int y) { 48 surface->draw(&canvas, -SkIntToScalar(x), -SkIntToScalar(y), &paint); 89 SkAutoTUnref<MockSurface> surface(SkNEW_ARGS(MockSurface, (10, 10))); 90 SkAutoTUnref<SkDeferredCanvas> canvas(SkDeferredCanvas::Create(surface.get())); 98 surface->clearCounts(); 100 REPORTER_ASSERT(reporter, 0 == surface->fDiscardCount); 101 REPORTER_ASSERT(reporter, 0 == surface->fRetainCount) 697 SkSurface* surface; local 765 SkSurface* surface; local [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/cc/surfaces/ |
surface_manager.cc | 8 #include "cc/surfaces/surface.h" 20 void SurfaceManager::RegisterSurface(Surface* surface) { 22 DCHECK(surface); 23 DCHECK(!surface_map_.count(surface->surface_id())); 24 surface_map_[surface->surface_id()] = surface; 34 Surface* SurfaceManager::GetSurfaceForId(SurfaceId surface_id) {
|