/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);
|
gl_context_osmesa.cc | 50 bool GLContextOSMesa::MakeCurrent(GLSurface* surface) { 53 gfx::Size size = surface->GetSize(); 57 surface->GetHandle(), 72 SetCurrent(surface); 77 if (!surface->OnMakeCurrent(this)) { 86 void GLContextOSMesa::ReleaseCurrent(GLSurface* surface) { 87 if (!IsCurrent(surface)) 95 bool GLContextOSMesa::IsCurrent(GLSurface* surface) { 109 if (surface) { 115 if (buffer != surface->GetHandle() [all...] |
gl_context_wgl.cc | 72 bool GLContextWGL::MakeCurrent(GLSurface* surface) { 74 if (IsCurrent(surface)) 80 if (!wglMakeCurrent(static_cast<HDC>(surface->GetHandle()), context_)) { 88 SetCurrent(surface); 93 if (!surface->OnMakeCurrent(this)) { 102 void GLContextWGL::ReleaseCurrent(GLSurface* surface) { 103 if (!IsCurrent(surface)) 110 bool GLContextWGL::IsCurrent(GLSurface* surface) { 122 if (surface) { 123 if (wglGetCurrentDC() != surface->GetHandle() [all...] |
gl_surface_mac.cc | 24 // A "no-op" surface. It is not required that a CGLContextObj have an 26 // made current. Everywhere this surface type is used, we allocate an 120 scoped_refptr<GLSurface> surface(new GLSurfaceOSMesaHeadless()); 121 if (!surface->Initialize()) 123 return surface; 138 scoped_refptr<GLSurface> surface( 140 if (!surface->Initialize()) 143 return surface; 147 scoped_refptr<GLSurface> surface(new NoOpGLSurface(size)); 148 if (!surface->Initialize() [all...] |
gl_context_egl.cc | 91 bool GLContextEGL::MakeCurrent(GLSurface* surface) { 93 if (IsCurrent(surface)) 99 "surface", surface); 107 surface->GetHandle(), 108 surface->GetHandle(), 118 SetCurrent(surface); 123 if (!surface->OnMakeCurrent(this)) { 136 void GLContextEGL::ReleaseCurrent(GLSurface* surface) { 137 if (!IsCurrent(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/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/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...] |
/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/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/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) {
|
/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...] |
/external/chromium_org/third_party/icu/source/samples/layout/ |
gdiglue.h | 27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc); 28 void rs_gdiRenderingSurfaceClose(rs_surface *surface); 30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrClipData.h | 49 void getConservativeBounds(const GrSurface* surface, 52 this->getConservativeBounds(surface->width(), surface->height(),
|