/external/chromium_org/content/plugin/ |
webplugin_accelerated_surface_proxy_mac.cc | 41 surface_(surface) { 45 if (surface_) { 46 surface_->Destroy(); 47 delete surface_; 48 surface_ = NULL; 53 if (!surface_) 56 uint32 io_surface_id = surface_->SetSurfaceSize(size); 63 return surface_ ? surface_->context() : NULL; 67 if (!surface_) [all...] |
webplugin_accelerated_surface_proxy_mac.h | 41 AcceleratedSurface* surface_; member in class:content::WebPluginAcceleratedSurfaceProxy
|
/external/chromium_org/ui/ozone/platform/dri/ |
dri_surface_unittest.cc | 33 scoped_ptr<ui::MockDriSurface> surface_; member in class:DriSurfaceTest 43 surface_.reset(new ui::MockDriSurface( 48 surface_.reset(); 54 surface_->set_initialize_expectation(false); 55 EXPECT_FALSE(surface_->Initialize()); 59 EXPECT_TRUE(surface_->Initialize()); 63 EXPECT_TRUE(surface_->Initialize()); 64 controller_->BindSurfaceToController(surface_.PassAs<ui::ScanoutSurface>(), 76 EXPECT_TRUE(surface_->Initialize()); 78 void* bitmap_pixels1 = surface_->GetDrawableForWidget()->getDevice( [all...] |
dri_buffer.h | 30 SkCanvas* canvas() { return surface_->getCanvas(); } 32 // Allocates the backing pixels and wraps them in |surface_|. |info| is used 40 skia::RefPtr<SkSurface> surface_; member in class:ui::DriBuffer
|
hardware_display_controller.cc | 56 surface_(), 83 surface_.reset(surface.release()); 91 surface_.reset(); 97 CHECK(surface_); 99 scoped_ptr<ScanoutSurface> surface(surface_.release()); 112 CHECK(surface_); 114 surface_->GetFramebufferId(), 145 surface_->SwapBuffers();
|
hardware_display_controller.h | 105 // Schedules the |surface_|'s framebuffer to be displayed on the next vsync 149 return surface_.get(); 169 scoped_ptr<ScanoutSurface> surface_; member in class:ui::HardwareDisplayController
|
dri_buffer.cc | 98 if (!surface_) 105 void* pixels = const_cast<void*>(surface_->peekPixels(&info, NULL)); 131 surface_ = skia::AdoptRef(SkSurface::NewRasterDirect(info, pixels, stride_)); 132 if (!surface_) {
|
/development/ndk/sources/android/ndk_helper/ |
GLContext.cpp | 39 surface_( EGL_NO_SURFACE ), 133 surface_ = eglCreateWindowSurface( display_, config_, window_, NULL ); 134 eglQuerySurface( display_, surface_, EGL_WIDTH, &screen_width_ ); 135 eglQuerySurface( display_, surface_, EGL_HEIGHT, &screen_height_ ); 154 if( eglMakeCurrent( display_, surface_, surface_, context_ ) == EGL_FALSE ) 166 bool b = eglSwapBuffers( display_, surface_ ); 198 if( surface_ != EGL_NO_SURFACE ) 200 eglDestroySurface( display_, surface_ ); 207 surface_ = EGL_NO_SURFACE [all...] |
GLContext.h | 57 EGLSurface surface_; member in class:ndk_helper::GLContext
|
/external/chromium_org/cc/output/ |
overlay_processor.cc | 18 : surface_(surface), resource_provider_(resource_provider) {} 21 DCHECK(surface_); 26 surface_->overlay_candidate_validator();
|
overlay_processor.h | 42 OutputSurface* surface_; member in class:cc::OverlayProcessor
|
/external/chromium_org/ui/gl/ |
gl_surface.cc | 255 GLSurfaceAdapter::GLSurfaceAdapter(GLSurface* surface) : surface_(surface) {} 258 return surface_->Initialize(); 262 surface_->Destroy(); 266 return surface_->Resize(size); 270 return surface_->Recreate(); 274 return surface_->DeferDraws(); 278 return surface_->IsOffscreen(); 282 return surface_->SwapBuffers(); 286 return surface_->PostSubBuffer(x, y, width, height); 290 return surface_->SupportsPostSubBuffer() [all...] |
scoped_make_current.cc | 18 surface_(surface), 30 context_->ReleaseCurrent(surface_.get());
|
gl_surface_egl.cc | 65 surface_(surface) { 76 g_display, surface_, &u_system_time, 91 EGLSurface surface_; member in class:gfx::__anon20790::EGLSyncControlVSyncProvider 238 surface_(NULL), 260 DCHECK(!surface_); 285 surface_ = eglCreateWindowSurface( 288 if (!surface_) { 297 surface_, 305 vsync_provider_.reset(new EGLSyncControlVSyncProvider(surface_)); 310 if (surface_) { [all...] |
scoped_make_current.h | 30 scoped_refptr<gfx::GLSurface> surface_; member in class:ui::ScopedMakeCurrent
|
gl_surface.h | 160 GLSurface* surface() const { return surface_.get(); } 166 scoped_refptr<GLSurface> surface_; member in class:gfx::GLSurfaceAdapter
|
/external/chromium_org/ui/ozone/platform/dri/test/ |
mock_dri_surface.cc | 19 virtual ~MockDriBuffer() { surface_.clear(); } 27 surface_ = skia::AdoptRef(SkSurface::NewRaster(info)); 28 surface_->getCanvas()->clear(SK_ColorBLACK);
|
/external/chromium_org/ui/ozone/platform/test/ |
file_surface_factory.cc | 38 surface_ = skia::AdoptRef(SkSurface::NewRaster(SkImageInfo::MakeN32Premul( 42 return skia::SharePtr(surface_->getCanvas()); 46 bitmap.setInfo(surface_->getCanvas()->imageInfo()); 50 if (surface_->getCanvas()->readPixels(&bitmap, 0, 0)) { 61 skia::RefPtr<SkSurface> surface_; member in class:ui::__anon20843::FileSurface
|
/external/chromium_org/ui/ozone/platform/caca/ |
caca_surface_factory.cc | 39 skia::RefPtr<SkSurface> surface_; member in class:ui::__anon20825::CacaSurface 57 surface_ = skia::AdoptRef(SkSurface::NewRaster(info)); 58 if (!surface_) { 77 return skia::SharePtr<SkCanvas>(surface_->getCanvas()); 87 const void* pixels = surface_->peekPixels(&info, &row_bytes);
|
/external/chromium_org/content/common/gpu/ |
texture_image_transport_surface.cc | 67 surface_ = manager->GetDefaultOffscreenSurface(); 68 if (!surface_.get()) 85 if (surface_.get()) 86 surface_ = NULL; 159 return surface_.get() ? surface_->GetDisplay() : NULL; 163 return surface_.get() ? surface_->GetConfig() : NULL; 286 return surface_.get() ? surface_->GetHandle() : NULL [all...] |
image_transport_surface.cc | 51 : surface_(surface), 196 surface_->OnBufferPresented(params); 200 surface_->WakeUpGpu(); 204 surface_->OnResize(size, scale_factor); 214 surface_->SetLatencyInfo(latency_info);
|
/external/chromium_org/media/base/android/ |
video_decoder_job.cc | 55 surface_ = surface.Pass(); 71 surface_ = gfx::ScopedJavaSurface(); 124 if (surface_.IsEmpty()) { 139 surface_.j_surface().obj(), GetMediaCrypto().obj()));
|
/external/chromium_org/skia/ext/ |
bitmap_platform_device_win.cc | 295 if (surface_) { 297 SelectObject(surface_, reinterpret_cast<HGDIOBJ>(platform_extra_)); 298 DeleteDC(surface_); 308 surface_ = CreateCompatibleDC(NULL); 309 InitializeDC(surface_); 313 HGDIOBJ stock_bitmap = SelectObject(surface_, hbitmap);
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_manager.cc | 143 surface_ = gfx::GLSurface::CreateOffscreenGLSurface(options.size); 144 ASSERT_TRUE(surface_.get() != NULL) << "could not create offscreen surface"; 150 surface_.get(), gfx::PreferIntegratedGpu)); 156 surface_.get(), gfx::PreferIntegratedGpu)); 159 surface_.get(), 165 ASSERT_TRUE(context_->MakeCurrent(surface_.get())); 168 surface_.get(),
|
/external/chromium_org/content/browser/android/in_process/ |
synchronous_compositor_output_surface.cc | 41 : surface_(surface) { 48 if (!surface_->current_sw_canvas_) { 52 LOG_IF(WARNING, surface_->frame_holder_.get()) 54 return surface_->current_sw_canvas_; 63 SynchronousCompositorOutputSurface* surface_; member in class:content::SynchronousCompositorOutputSurface::SoftwareDevice
|