[chromium] Fall back to texSubImage2D when mapTexSubImage2D fails in VideoLayerChromium
Created attachment 83887 [details] Patch
This fix will enable <videos> to be painted in DRT with GPU-acceleration turned on.
Comment on attachment 83887 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=83887&action=review > Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp:224 > + GLC(context, context->texSubImage2D(GraphicsContext3D::TEXTURE_2D, 0, 0, 0, dimensions.width(), dimensions.height(), GraphicsContext3D::LUMINANCE, GraphicsContext3D::UNSIGNED_BYTE, data)); Should this use the incoming argument "format" instead of GraphicsContext3D::LUMINANCE directly?
Created attachment 84108 [details] Patch
(In reply to comment #3) > Should this use the incoming argument "format" instead of GraphicsContext3D::LUMINANCE directly? Yes! Thanks for the catch. Fixed in my uploaded patch.
Comment on attachment 84108 [details] Patch Looks good.
Comment on attachment 84108 [details] Patch Clearing flags on attachment: 84108 Committed r79935: <http://trac.webkit.org/changeset/79935>
All reviewed patches have been landed. Closing bug.