summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/media/rendering_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/media/rendering_helper.h')
-rw-r--r--content/common/gpu/media/rendering_helper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h
index e66c8d5..e013fa7 100644
--- a/content/common/gpu/media/rendering_helper.h
+++ b/content/common/gpu/media/rendering_helper.h
@@ -114,8 +114,11 @@ class RenderingHelper {
// Get the platform specific handle to the OpenGL display.
void* GetGLDisplay();
+ // Get the GL context.
+ scoped_refptr<gfx::GLContext> GetGLContext();
+
// Get the platform specific handle to the OpenGL context.
- void* GetGLContext();
+ void* GetGLContextHandle();
// Get rendered thumbnails as RGB.
// Sets alpha_solid to true if the alpha channel is entirely 0xff.