Title: [97165] trunk/Source/WebCore
Revision
97165
Author
noam.rosent...@nokia.com
Date
2011-10-11 11:35:37 -0700 (Tue, 11 Oct 2011)

Log Message

[Texmap] TextureMapperGL leaves GL in a modified state.
https://bugs.webkit.org/show_bug.cgi?id=68983

Reviewed by Andreas Kling.

Disable the vertexAttribArray after clipping.

No new functionality so no new tests.

* platform/graphics/opengl/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::beginClip):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (97164 => 97165)


--- trunk/Source/WebCore/ChangeLog	2011-10-11 18:07:56 UTC (rev 97164)
+++ trunk/Source/WebCore/ChangeLog	2011-10-11 18:35:37 UTC (rev 97165)
@@ -1,5 +1,19 @@
 2011-10-11  No'am Rosenthal  <noam.rosent...@nokia.com>
 
+        [Texmap] TextureMapperGL leaves GL in a modified state.
+        https://bugs.webkit.org/show_bug.cgi?id=68983
+
+        Reviewed by Andreas Kling.
+
+        Disable the vertexAttribArray after clipping.
+
+        No new functionality so no new tests.
+
+        * platform/graphics/opengl/TextureMapperGL.cpp:
+        (WebCore::TextureMapperGL::beginClip):
+
+2011-10-11  No'am Rosenthal  <noam.rosent...@nokia.com>
+
         [Qt][WK2] Synchronize tiling with accelerated compositing
         https://bugs.webkit.org/show_bug.cgi?id=69151
 

Modified: trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp (97164 => 97165)


--- trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp	2011-10-11 18:07:56 UTC (rev 97164)
+++ trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp	2011-10-11 18:35:37 UTC (rev 97165)
@@ -752,6 +752,7 @@
     GL_CMD(glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP))
     stencilIndex <<= 1;
     glStencilFunc(stencilIndex > 1 ? GL_EQUAL : GL_ALWAYS, stencilIndex - 1, stencilIndex - 1);
+    GL_CMD(glDisableVertexAttribArray(programInfo.vertexAttrib))
 }
 
 void TextureMapperGL::endClip()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to