Changeset 84323 in webkit


Ignore:
Timestamp:
Apr 19, 2011 5:51:39 PM (13 years ago)
Author:
enne@google.com
Message:

2011-04-19 Adrienne Walker <enne@google.com>

Reviewed by Kenneth Russell.

[chromium] Initialize depth mask to known value before getBooleanv call
https://bugs.webkit.org/show_bug.cgi?id=58948

This trips an assert in the GPU command buffer client code if the
pointed-to value is not initialized to 0 or -1.

  • platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::clearFramebuffer):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84321 r84323  
     12011-04-19  Adrienne Walker  <enne@google.com>
     2
     3        Reviewed by Kenneth Russell.
     4
     5        [chromium] Initialize depth mask to known value before getBooleanv call
     6        https://bugs.webkit.org/show_bug.cgi?id=58948
     7
     8        This trips an assert in the GPU command buffer client code if the
     9        pointed-to value is not initialized to 0 or -1.
     10
     11        * platform/graphics/gpu/DrawingBuffer.cpp:
     12        (WebCore::DrawingBuffer::clearFramebuffer):
     13
    1142011-04-19  Pratik Solanki  <psolanki@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp

    r84259 r84323  
    151151    float clearDepth = 0;
    152152    int clearStencil = 0;
    153     unsigned char depthMask = true;
     153    unsigned char depthMask = false;
    154154    unsigned int stencilMask = 0xffffffff;
    155155    unsigned char isScissorEnabled = false;
Note: See TracChangeset for help on using the changeset viewer.