Title: [124892] trunk/Source/WebCore
Revision
124892
Author
[email protected]
Date
2012-08-07 08:28:57 -0700 (Tue, 07 Aug 2012)

Log Message

[BlackBerry] GL scissor test is accidentally turned off
https://bugs.webkit.org/show_bug.cgi?id=93360
PR #161020

Patch by Robin Cao <[email protected]> on 2012-08-07
Reviewed by Antonio Gomes.

The GL scissor test is accidentally turned off inside drawTextures().
This is wrong and should be removed.

* platform/graphics/blackberry/LayerCompositingThread.cpp:
(WebCore::LayerCompositingThread::drawTextures):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (124891 => 124892)


--- trunk/Source/WebCore/ChangeLog	2012-08-07 15:28:47 UTC (rev 124891)
+++ trunk/Source/WebCore/ChangeLog	2012-08-07 15:28:57 UTC (rev 124892)
@@ -1,3 +1,17 @@
+2012-08-07  Robin Cao  <[email protected]>
+
+        [BlackBerry] GL scissor test is accidentally turned off
+        https://bugs.webkit.org/show_bug.cgi?id=93360
+        PR #161020
+
+        Reviewed by Antonio Gomes.
+
+        The GL scissor test is accidentally turned off inside drawTextures().
+        This is wrong and should be removed.
+
+        * platform/graphics/blackberry/LayerCompositingThread.cpp:
+        (WebCore::LayerCompositingThread::drawTextures):
+
 2012-08-07  Abhishek Arya  <[email protected]>
 
         Crash in InlineFlowBox::deleteLine.

Modified: trunk/Source/WebCore/platform/graphics/blackberry/LayerCompositingThread.cpp (124891 => 124892)


--- trunk/Source/WebCore/platform/graphics/blackberry/LayerCompositingThread.cpp	2012-08-07 15:28:47 UTC (rev 124891)
+++ trunk/Source/WebCore/platform/graphics/blackberry/LayerCompositingThread.cpp	2012-08-07 15:28:57 UTC (rev 124892)
@@ -269,7 +269,6 @@
         m_layerRenderer->addLayerToReleaseTextureResourcesList(this);
         pthread_mutex_lock(m_frontBufferLock);
 
-        glDisable(GL_SCISSOR_TEST);
         glBindTexture(GL_TEXTURE_2D, m_texID);
         glVertexAttribPointer(positionLocation, 2, GL_FLOAT, GL_FALSE, 0, &m_transformedBounds);
         float upsideDown[4 * 2] = { 0, 1,  0, 0,  1, 0,  1, 1 };
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to