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

Unified Diff: content/common/gpu/media/rendering_helper.h

Issue 940903002: video_decode_accelerator_unittest: enable test on ozone surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after split Created 5 years, 10 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: content/common/gpu/media/rendering_helper.h
diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h
index 4292c7476fa35ddee5f75940447bcd8ab9ea94d1..0ff378e4802ccf9c29b68b3c3cb0fb9e1bb94214 100644
--- a/content/common/gpu/media/rendering_helper.h
+++ b/content/common/gpu/media/rendering_helper.h
@@ -29,6 +29,8 @@ class DisplayConfigurator;
namespace content {
+class GlRenderer;
+
class VideoFrameTexture : public base::RefCounted<VideoFrameTexture> {
public:
uint32 texture_id() const { return texture_id_; }
@@ -185,8 +187,7 @@ class RenderingHelper {
base::MessageLoop* message_loop_;
- scoped_refptr<gfx::GLContext> gl_context_;
- scoped_refptr<gfx::GLSurface> gl_surface_;
+ scoped_ptr<GlRenderer> gl_renderer_;
#if defined(USE_OZONE)
class StubOzoneDelegate;

Powered by Google App Engine
This is Rietveld 408576698