Merge 145856 "Check to ensure MultisampleRenderbuffer creation s..."
> Check to ensure MultisampleRenderbuffer creation succeeds
> Patch by Brandon Jones <firstname.lastname@example.org>
; on 2013-03-14
> Reviewed by Kenneth Russell.
> On OSX systems using AMD graphics chips the allocation of large
> Multisample Renderbuffers in Chromium would fail without any indication
> of failure. Attempting to draw to the buffer resulted in garbage being
> rendered onscreen. This could be reproduced by opening a full-page
> WebGL app and pressing (Command + "-") several times. This patch adds an
> additional check during DrawingBuffer resize to verify that the resized
> buffer is valid.
> * platform/graphics/gpu/DrawingBuffer.cpp:
> * platform/graphics/gpu/DrawingBuffer.h: