summaryrefslogtreecommitdiffstats
path: root/cc/output/gl_renderer.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 21:29:24 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-06 21:29:24 +0000
commit2eeea2b3af3a75fd682fca39fc21423887539373 (patch)
tree8c67d7dc754c817dc501b5dbde929a78d92a28b0 /cc/output/gl_renderer.h
parent48329446603c155f1b0c5394ac6c993e22e8af1c (diff)
downloadchromium_src-2eeea2b3af3a75fd682fca39fc21423887539373.zip
chromium_src-2eeea2b3af3a75fd682fca39fc21423887539373.tar.gz
chromium_src-2eeea2b3af3a75fd682fca39fc21423887539373.tar.bz2
Remove direct-to-backbuffer Ganesh path
The usage of the GrContext in GLRenderer is getting in the way of cleaning up the WebGraphicsContext3D usage in cc. This path was good for trying out the Ganesh path, but was never really used, available on all platforms, or compatible with ubercompositor. Ganesh-to-tile is almost landed and so it seems like this can be safely removed for the present. BUG=none TBR=sky Review URL: https://codereview.chromium.org/98463008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/gl_renderer.h')
-rw-r--r--cc/output/gl_renderer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 8d95262..85c0fa1 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -47,8 +47,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
OutputSurface* output_surface,
ResourceProvider* resource_provider,
TextureMailboxDeleter* texture_mailbox_deleter,
- int highp_threshold_min,
- bool use_skia_gpu_backend);
+ int highp_threshold_min);
virtual ~GLRenderer();
@@ -56,8 +55,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
blink::WebGraphicsContext3D* Context();
- virtual void ViewportChanged() OVERRIDE;
-
// Waits for rendering to finish.
virtual void Finish() OVERRIDE;
@@ -79,8 +76,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
const char* file,
int line);
- bool CanUseSkiaGPUBackend() const;
-
protected:
GLRenderer(RendererClient* client,
const LayerTreeSettings* settings,
@@ -220,7 +215,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
scoped_ptr<CopyOutputRequest> request,
bool success);
- void ReinitializeGrCanvas();
void ReinitializeGLState();
virtual void DiscardBackbuffer() OVERRIDE;