Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2289)

Unified Diff: content/common/gpu/null_transport_surface.h

Issue 649773002: gpu: Don't call SetSwapInterval() for NullTransportSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/gpu/null_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/null_transport_surface.h
diff --git a/content/common/gpu/null_transport_surface.h b/content/common/gpu/null_transport_surface.h
index 409d35b578d7273e018270028d3ef5f6b8df9fe3..c4937e39a828e5244208d6766549bbcfbc1b3f90 100644
--- a/content/common/gpu/null_transport_surface.h
+++ b/content/common/gpu/null_transport_surface.h
@@ -20,11 +20,12 @@ class NullTransportSurface : public PassThroughImageTransportSurface {
GpuCommandBufferStub* stub,
const gfx::GLSurfaceHandle& handle);
- // gfx::GLSurface implementation.
+ // gfx::GLSurfaceAdapter implementation.
virtual bool Initialize() override;
virtual void Destroy() override;
virtual bool SwapBuffers() override;
virtual bool PostSubBuffer(int x, int y, int width, int height) override;
+ virtual bool OnMakeCurrent(gfx::GLContext* context) override;
protected:
virtual ~NullTransportSurface();
« no previous file with comments | « no previous file | content/common/gpu/null_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698