• commit-queue@webkit.org's avatar
    [BlackBerry] WebGL and 2D canvas output not available to WebPageCompositor · 7da03741
    commit-queue@webkit.org authored
    Patch by Arvid Nilsson <anilsson@rim.com> on 2012-05-31
    Reviewed by George Staikos.
    Properly set up resource sharing between WebKit thread EGL contexts and
    the compositing thread EGL context, so the texture ID produced by WebGL
    and 2D canvas makes sense to the compositing context.
    There's no public API to supply an EGLContext yet, so we're lucky that
    the embedder never makes its context un-current. Just grab the current
    context on the compositing thread and use that as the compositing
    * Api/WebPage.cpp:
    * Api/WebPageCompositor.cpp:
    * Api/WebPage_p.h:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 203 KB