Changeset 126236 in webkit


Ignore:
Timestamp:
Aug 21, 2012 5:25:52 PM (12 years ago)
Author:
anilsson@rim.com
Message:

[BlackBerry] WebGL Aquarium fails to render
https://bugs.webkit.org/show_bug.cgi?id=94634

The aquarium leaves with a glColorMask(false, false, false, true) which
caused us to fail to blit the color components of the aquarium to the
EGLImage.

Fixed by setting an appropriate color mask for a blit operation.

Reviewed by Yong Li.

No new tests, tested manually.

  • platform/graphics/blackberry/EGLImageLayerWebKitThread.cpp:

(WebCore::EGLImageLayerWebKitThread::blitToFrontBuffer):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r126233 r126236  
     12012-08-21  Arvid Nilsson  <anilsson@rim.com>
     2
     3        [BlackBerry] WebGL Aquarium fails to render
     4        https://bugs.webkit.org/show_bug.cgi?id=94634
     5
     6        The aquarium leaves with a glColorMask(false, false, false, true) which
     7        caused us to fail to blit the color components of the aquarium to the
     8        EGLImage.
     9
     10        Fixed by setting an appropriate color mask for a blit operation.
     11
     12        Reviewed by Yong Li.
     13
     14        No new tests, tested manually.
     15
     16        * platform/graphics/blackberry/EGLImageLayerWebKitThread.cpp:
     17        (WebCore::EGLImageLayerWebKitThread::blitToFrontBuffer):
     18
    1192012-08-21  Victor Carbune  <victor@rosedu.org>
    220
  • trunk/Source/WebCore/platform/graphics/blackberry/EGLImageLayerWebKitThread.cpp

    r125770 r126236  
    258258    glUseProgram(m_shader);
    259259    glBindTexture(GL_TEXTURE_2D, backBufferTexture);
     260    glColorMask(true, true, true, true);
    260261
    261262    {
Note: See TracChangeset for help on using the changeset viewer.