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

Unified Diff: cc/gl_renderer.h

Issue 12545018: Move context-related callbacks into OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works Created 7 years, 9 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
Index: cc/gl_renderer.h
diff --git a/cc/gl_renderer.h b/cc/gl_renderer.h
index 7b1f8f489e658237a1cce1751fe6691a56006081..13dcaa53b78cccf90d32f20b6de646200fd29c19 100644
--- a/cc/gl_renderer.h
+++ b/cc/gl_renderer.h
@@ -34,12 +34,7 @@ class CC_EXPORT GLRenderer :
public DirectRenderer,
public NON_EXPORTED_BASE(
WebKit::WebGraphicsContext3D::
- WebGraphicsSwapBuffersCompleteCallbackCHROMIUM),
- public NON_EXPORTED_BASE(
- WebKit::WebGraphicsContext3D::
- WebGraphicsMemoryAllocationChangedCallbackCHROMIUM),
- public NON_EXPORTED_BASE(
- WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback) {
+ WebGraphicsMemoryAllocationChangedCallbackCHROMIUM) {
public:
static scoped_ptr<GLRenderer> Create(RendererClient* client,
OutputSurface* output_surface,
@@ -53,9 +48,6 @@ class CC_EXPORT GLRenderer :
virtual void ViewportChanged() OVERRIDE;
- virtual void ReceiveCompositorFrameAck(const CompositorFrameAck& ack)
- OVERRIDE;
-
// Waits for rendering to finish.
virtual void Finish() OVERRIDE;
@@ -162,11 +154,6 @@ class CC_EXPORT GLRenderer :
void CleanupSharedObjects();
// WebKit::
- // WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM
- // implementation.
- virtual void onSwapBuffersComplete() OVERRIDE;
-
- // WebKit::
// WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM
// implementation.
virtual void onMemoryAllocationChanged(
@@ -175,9 +162,6 @@ class CC_EXPORT GLRenderer :
void EnsureBackbuffer();
void EnforceMemoryPolicy();
- // WebGraphicsContext3D::WebGraphicsContextLostCallback implementation.
- virtual void onContextLost() OVERRIDE;
-
RendererCapabilities capabilities_;
unsigned offscreen_framebuffer_id_;
« no previous file with comments | « cc/delegating_renderer.cc ('k') | cc/gl_renderer.cc » ('j') | cc/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698