Lines Matching refs:GLSurface

25 base::LazyInstance<base::ThreadLocalPointer<GLSurface>>::Leaky
29 GLSurface::GLSurface() = default;
31 bool GLSurface::Initialize() { in Initialize()
35 bool GLSurface::Initialize(GLSurfaceFormat format) { in Initialize()
39 void GLSurface::PrepareToDestroy(bool have_context) {} in PrepareToDestroy()
41 bool GLSurface::Resize(const gfx::Size& size, in Resize()
49 bool GLSurface::Recreate() { in Recreate()
54 bool GLSurface::DeferDraws() { in DeferDraws()
58 bool GLSurface::SupportsSwapBuffersWithBounds() { in SupportsSwapBuffersWithBounds()
62 bool GLSurface::SupportsPostSubBuffer() { in SupportsPostSubBuffer()
66 bool GLSurface::SupportsCommitOverlayPlanes() { in SupportsCommitOverlayPlanes()
70 bool GLSurface::SupportsAsyncSwap() { in SupportsAsyncSwap()
74 unsigned int GLSurface::GetBackingFramebufferObject() { in GetBackingFramebufferObject()
78 void GLSurface::SwapBuffersAsync(SwapCompletionCallback completion_callback, in SwapBuffersAsync()
83 gfx::SwapResult GLSurface::SwapBuffersWithBounds( in SwapBuffersWithBounds()
89 gfx::SwapResult GLSurface::PostSubBuffer(int x, in PostSubBuffer()
97 void GLSurface::PostSubBufferAsync(int x, in PostSubBufferAsync()
106 gfx::SwapResult GLSurface::CommitOverlayPlanes(PresentationCallback callback) { in CommitOverlayPlanes()
111 void GLSurface::CommitOverlayPlanesAsync( in CommitOverlayPlanesAsync()
117 bool GLSurface::OnMakeCurrent(GLContext* context) { in OnMakeCurrent()
121 bool GLSurface::SetBackbufferAllocation(bool allocated) { in SetBackbufferAllocation()
125 void GLSurface::SetFrontbufferAllocation(bool allocated) { in SetFrontbufferAllocation()
128 void* GLSurface::GetShareHandle() { in GetShareHandle()
133 void* GLSurface::GetDisplay() { in GetDisplay()
138 void* GLSurface::GetConfig() { in GetConfig()
143 gfx::VSyncProvider* GLSurface::GetVSyncProvider() { in GetVSyncProvider()
147 void GLSurface::SetVSyncEnabled(bool enabled) {} in SetVSyncEnabled()
149 bool GLSurface::ScheduleOverlayPlane(int z_order, in ScheduleOverlayPlane()
160 bool GLSurface::ScheduleCALayer(const ui::CARendererLayerParams& params) { in ScheduleCALayer()
165 void GLSurface::ScheduleCALayerInUseQuery( in ScheduleCALayerInUseQuery()
170 bool GLSurface::ScheduleDCLayer(const ui::DCRendererLayerParams& params) { in ScheduleDCLayer()
175 bool GLSurface::SetEnableDCLayers(bool enable) { in SetEnableDCLayers()
180 bool GLSurface::IsSurfaceless() const { in IsSurfaceless()
184 gfx::SurfaceOrigin GLSurface::GetOrigin() const { in GetOrigin()
188 bool GLSurface::BuffersFlipped() const { in BuffersFlipped()
192 bool GLSurface::SupportsDCLayers() const { in SupportsDCLayers()
196 bool GLSurface::SupportsProtectedVideo() const { in SupportsProtectedVideo()
200 bool GLSurface::SetDrawRectangle(const gfx::Rect& rect) { in SetDrawRectangle()
204 gfx::Vector2d GLSurface::GetDrawOffset() const { in GetDrawOffset()
208 void GLSurface::SetRelyOnImplicitSync() { in SetRelyOnImplicitSync()
214 void GLSurface::SetForceGlFlushOnSwapBuffers() { in SetForceGlFlushOnSwapBuffers()
220 bool GLSurface::SupportsSwapTimestamps() const { in SupportsSwapTimestamps()
224 void GLSurface::SetEnableSwapTimestamps() { in SetEnableSwapTimestamps()
228 int GLSurface::GetBufferCount() const { in GetBufferCount()
232 bool GLSurface::SupportsPlaneGpuFences() const { in SupportsPlaneGpuFences()
236 EGLTimestampClient* GLSurface::GetEGLTimestampClient() { in GetEGLTimestampClient()
240 bool GLSurface::SupportsGpuVSync() const { in SupportsGpuVSync()
244 void GLSurface::SetGpuVSyncEnabled(bool enabled) {} in SetGpuVSyncEnabled()
246 GLSurface* GLSurface::GetCurrent() { in GetCurrent()
250 bool GLSurface::IsCurrent() { in IsCurrent()
254 GLSurface::~GLSurface() { in ~GLSurface()
259 void GLSurface::ClearCurrent() { in ClearCurrent()
263 void GLSurface::SetCurrent() { in SetCurrent()
267 bool GLSurface::ExtensionsContain(const char* c_extensions, const char* name) { in ExtensionsContain()
280 GLSurfaceAdapter::GLSurfaceAdapter(GLSurface* surface) : surface_(surface) {} in GLSurfaceAdapter()
526 scoped_refptr<GLSurface> InitializeGLSurfaceWithFormat( in InitializeGLSurfaceWithFormat()
527 scoped_refptr<GLSurface> surface, GLSurfaceFormat format) { in InitializeGLSurfaceWithFormat()
533 scoped_refptr<GLSurface> InitializeGLSurface(scoped_refptr<GLSurface> surface) { in InitializeGLSurface()
537 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default;
538 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) =
540 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default;