summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmediaplayer_impl.h
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 15:21:29 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 15:21:29 +0000
commit776775e2a12012b8747c3f2653140d0cf3036b6c (patch)
tree03cac9870617a3a28eb16975e3d21c0f2a9cefd0 /webkit/glue/webmediaplayer_impl.h
parent46b44f5d2b5720480d27b9cae607b7b0a078430e (diff)
downloadchromium_src-776775e2a12012b8747c3f2653140d0cf3036b6c.zip
chromium_src-776775e2a12012b8747c3f2653140d0cf3036b6c.tar.gz
chromium_src-776775e2a12012b8747c3f2653140d0cf3036b6c.tar.bz2
Reimplement video painting for mac using CGContext.
This is still a bit hacky. We need to avoid doing the double copy of the bits by making the skia::PlatformCanvas take in a CGContext and use that as its backing store. BUG=19536 TEST=watched at video with it :) Review URL: http://codereview.chromium.org/208039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.h')
-rw-r--r--webkit/glue/webmediaplayer_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h
index 6223484..9348983 100644
--- a/webkit/glue/webmediaplayer_impl.h
+++ b/webkit/glue/webmediaplayer_impl.h
@@ -272,6 +272,10 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
scoped_refptr<Proxy> proxy_;
+#if WEBKIT_USING_CG
+ scoped_ptr<skia::PlatformCanvas> skia_canvas_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
};