Title: [125378] trunk/Source/WebCore
- Revision
- 125378
- Author
- [email protected]
- Date
- 2012-08-12 10:40:25 -0700 (Sun, 12 Aug 2012)
Log Message
Stop Y-flipping CROS/ARM video textures
https://bugs.webkit.org/show_bug.cgi?id=93769
Reviewed by Eric Seidel.
No new tests; there's no cros/arm bot yet, sadly.
* platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::appendQuads): drop the single-platform Y-flipping in prep for the platform doing the flip natively.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (125377 => 125378)
--- trunk/Source/WebCore/ChangeLog 2012-08-12 16:52:54 UTC (rev 125377)
+++ trunk/Source/WebCore/ChangeLog 2012-08-12 17:40:25 UTC (rev 125378)
@@ -1,3 +1,15 @@
+2012-08-12 Ami Fischman <[email protected]>
+
+ Stop Y-flipping CROS/ARM video textures
+ https://bugs.webkit.org/show_bug.cgi?id=93769
+
+ Reviewed by Eric Seidel.
+
+ No new tests; there's no cros/arm bot yet, sadly.
+
+ * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
+ (WebCore::CCVideoLayerImpl::appendQuads): drop the single-platform Y-flipping in prep for the platform doing the flip natively.
+
2012-08-12 Mihnea Ovidenie <[email protected]>
CSSRegions: Crash when using style in region for removed element.
Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCVideoLayerImpl.cpp (125377 => 125378)
--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCVideoLayerImpl.cpp 2012-08-12 16:52:54 UTC (rev 125377)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCVideoLayerImpl.cpp 2012-08-12 17:40:25 UTC (rev 125378)
@@ -215,13 +215,7 @@
// NativeTexture hardware decoder.
bool premultipliedAlpha = true;
FloatRect uvRect(0, 0, 1, 1);
-#if defined(OS_CHROMEOS) && defined(__ARMEL__)
- bool flipped = true; // Under the covers, implemented by OpenMAX IL.
-#elif OS(WINDOWS)
- bool flipped = false; // Under the covers, implemented by DXVA.
-#else
- bool flipped = false; // LibVA (cros/intel), MacOS.
-#endif
+ bool flipped = false;
OwnPtr<CCTextureDrawQuad> textureQuad = CCTextureDrawQuad::create(sharedQuadState, quadRect, m_externalTextureResource, premultipliedAlpha, uvRect, flipped);
quadList.append(textureQuad.release());
break;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes