From bb1e282c1c62409dcc92e277545c2048685f1ea6 Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Wed, 17 Apr 2013 22:06:01 +0000 Subject: Move swapcomplete callback into OutputSurface Things like swap are concepts of an OutputSurface, not a context. Moving the callbacks to OutputSurface will also reduce cc's knowledge of the context guts and let us swap out the GL interface. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194394 Review URL: https://codereview.chromium.org/12545018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194700 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/output/delegating_renderer.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'cc/output/delegating_renderer.h') diff --git a/cc/output/delegating_renderer.h b/cc/output/delegating_renderer.h index a1bac0e..59d3c37 100644 --- a/cc/output/delegating_renderer.h +++ b/cc/output/delegating_renderer.h @@ -15,10 +15,8 @@ namespace cc { class OutputSurface; class ResourceProvider; -class CC_EXPORT DelegatingRenderer - : public Renderer, - public NON_EXPORTED_BASE( - WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback) { +class CC_EXPORT DelegatingRenderer : + public Renderer { public: static scoped_ptr Create( RendererClient* client, @@ -46,9 +44,6 @@ class CC_EXPORT DelegatingRenderer size_t bytes_visible_and_nearby, size_t bytes_allocated) OVERRIDE {} - // WebGraphicsContext3D::WebGraphicsContextLostCallback implementation. - virtual void onContextLost() OVERRIDE; - private: DelegatingRenderer(RendererClient* client, OutputSurface* output_surface, -- cgit v1.1