We should support hardware acceleration of <video> presentation, when ACCELERATED_COMPOSITING is enabled.
Created attachment 31468 [details] Step 1 patch
<rdar://problem/6978729>
Comment on attachment 31468 [details] Step 1 patch > + virtual bool requiresLayer() const { return true; } > + virtual bool isVideo() const { return true; } These should be private. For example, if anyone calls isVideo() on a RenderVideo you want the compile to fail so they don't create unneeded dead code. Of course, most of the other virtual functions should be private too for the same reason. Are those extra virtual calls in isSelfPaintingLayer() getting out of hand? r=me
Created attachment 31481 [details] Step 2: hook up the MediaPlayer with the layer compositing system
Comment on attachment 31468 [details] Step 1 patch Committed in http://trac.webkit.org/changeset/44794
Comment on attachment 31481 [details] Step 2: hook up the MediaPlayer with the layer compositing system r=me, make sure the VIDEO ifdefs are properly around everything.
http://trac.webkit.org/changeset/44809