Changeset 138891 in webkit


Ignore:
Timestamp:
Jan 5, 2013 5:52:43 AM (11 years ago)
Author:
zeno.albisser@digia.com
Message:

[Texmap] TextureMapperGL should reset ARRAY_BUFFER after painting.
https://bugs.webkit.org/show_bug.cgi?id=106098

This fixes the issue of the address bar disappearing in
Qt/MiniBrowser after r138555.

Reviewed by Jocelyn Turcotte.

  • platform/graphics/texmap/TextureMapperGL.cpp:

(WebCore::TextureMapperGL::drawEdgeTriangles):
(WebCore::TextureMapperGL::drawUnitRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r138879 r138891  
     12013-01-05  Zeno Albisser  <zeno@webkit.org>
     2
     3        [Texmap] TextureMapperGL should reset ARRAY_BUFFER after painting.
     4        https://bugs.webkit.org/show_bug.cgi?id=106098
     5
     6        This fixes the issue of the address bar disappearing in
     7        Qt/MiniBrowser after r138555.
     8
     9        Reviewed by Jocelyn Turcotte.
     10
     11        * platform/graphics/texmap/TextureMapperGL.cpp:
     12        (WebCore::TextureMapperGL::drawEdgeTriangles):
     13        (WebCore::TextureMapperGL::drawUnitRect):
     14
    1152013-01-04  Ryosuke Niwa  <rniwa@webkit.org>
    216
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp

    r138556 r138891  
    467467    m_context3D->vertexAttribPointer(program->vertexLocation(), 4, GraphicsContext3D::FLOAT, false, 0, 0);
    468468    m_context3D->drawArrays(GraphicsContext3D::TRIANGLES, 0, 12);
     469    m_context3D->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, 0);
    469470}
    470471
     
    476477    m_context3D->vertexAttribPointer(program->vertexLocation(), 2, GraphicsContext3D::FLOAT, false, 0, 0);
    477478    m_context3D->drawArrays(drawingMode, 0, 4);
     479    m_context3D->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, 0);
    478480}
    479481
Note: See TracChangeset for help on using the changeset viewer.