Changeset 57664 in webkit


Ignore:
Timestamp:
Apr 15, 2010 1:07:50 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-15 Zhenyao Mo <zmo@google.com>

Reviewed by Adam Barth.

Several tests in fast/canvas/webgl/ failed randomly on Leopard Commit Bot
This fixes an uninitialized variable bug and restores a glFinish call that used to be present.
https://bugs.webkit.org/show_bug.cgi?id=36908

  • platform/graphics/mac/GraphicsContext3DMac.cpp: (WebCore::GraphicsContext3D::GraphicsContext3D): Initialize width/height to 0/0. (WebCore::GraphicsContext3D::prepareTexture): Restore glFinish() in every path.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r57663 r57664  
     12010-04-15  Zhenyao Mo  <zmo@google.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        Several tests in fast/canvas/webgl/ failed randomly on Leopard Commit Bot
     6        This fixes an uninitialized variable bug and restores a glFinish call that used to be present.
     7        https://bugs.webkit.org/show_bug.cgi?id=36908
     8
     9        * platform/graphics/mac/GraphicsContext3DMac.cpp:
     10        (WebCore::GraphicsContext3D::GraphicsContext3D): Initialize width/height to 0/0.
     11        (WebCore::GraphicsContext3D::prepareTexture): Restore glFinish() in every path.
     12
    1132010-04-14  Antonio Gomes  <tonikitoo@webkit.org>
    214
  • trunk/WebCore/platform/graphics/mac/GraphicsContext3DMac.cpp

    r57574 r57664  
    8383
    8484GraphicsContext3D::GraphicsContext3D(GraphicsContext3D::Attributes attrs)
    85     : m_attrs(attrs)
     85    : m_currentWidth(0)
     86    , m_currentHeight(0)
     87    , m_attrs(attrs)
    8688    , m_contextObj(0)
    8789    , m_texture(0)
     
    341343        ::glBlitFramebufferEXT(0, 0, m_currentWidth, m_currentHeight, 0, 0, m_currentWidth, m_currentHeight, GL_COLOR_BUFFER_BIT, GL_LINEAR);
    342344        ::glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, m_boundFBO);
    343         ::glFinish();
    344     }
     345    }
     346    ::glFinish();
    345347}
    346348
Note: See TracChangeset for help on using the changeset viewer.