2011-05-26 Alok Priyadarshi <alokp@chromium.org>
authoralokp@chromium.org <alokp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 May 2011 07:01:06 +0000 (07:01 +0000)
committeralokp@chromium.org <alokp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 May 2011 07:01:06 +0000 (07:01 +0000)
commitea6d5317250cd575b0eddca617285920c3845a1e
tree310bb4d6e4953ef86f1f0761ace980d2f3f9b027
parent1434b9b229a2647ec9ae0f6e6e756dfd650da500
2011-05-26  Alok Priyadarshi  <alokp@chromium.org>

        Reviewed by James Robinson.

        [chromium] Cannot create stencil render-buffer for accelerated drawing on desktop GL
        https://bugs.webkit.org/show_bug.cgi?id=61444

        Used DEPTH24_STENCIL8 format for stencil buffer instead of STENCIL_INDEX8.
        Packed depth-stencil buffer is the most common format supported by graphics cards.
        It is not very robust to rely on just one format being supported,
        so long term the task of creating FBO should be delegated to SKIA,
        which has necessary code to iterate through all possible formats.

        * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
        (WebCore::LayerTextureUpdaterSkPicture::deleteFrameBuffer):
        (WebCore::LayerTextureUpdaterSkPicture::createFrameBuffer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp
Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.h