Changeset 97165 in webkit


Ignore:
Timestamp:
Oct 11, 2011 11:35:37 AM (13 years ago)
Author:
noam.rosenthal@nokia.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r97163 r97165  
     12011-10-11  No'am Rosenthal  <noam.rosenthal@nokia.com>
     2
     3        [Texmap] TextureMapperGL leaves GL in a modified state.
     4        https://bugs.webkit.org/show_bug.cgi?id=68983
     5
     6        Reviewed by Andreas Kling.
     7
     8        Disable the vertexAttribArray after clipping.
     9
     10        No new functionality so no new tests.
     11
     12        * platform/graphics/opengl/TextureMapperGL.cpp:
     13        (WebCore::TextureMapperGL::beginClip):
     14
    1152011-10-11  No'am Rosenthal  <noam.rosenthal@nokia.com>
    216
  • trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp

    r96211 r97165  
    753753    stencilIndex <<= 1;
    754754    glStencilFunc(stencilIndex > 1 ? GL_EQUAL : GL_ALWAYS, stencilIndex - 1, stencilIndex - 1);
     755    GL_CMD(glDisableVertexAttribArray(programInfo.vertexAttrib))
    755756}
    756757
Note: See TracChangeset for help on using the changeset viewer.