Changeset 88692 in webkit


Ignore:
Timestamp:
Jun 13, 2011 2:10:35 PM (13 years ago)
Author:
senorblanco@chromium.org
Message:

2011-06-13 Stephen White <senorblanco@chromium.org>

Reviewed by James Robinson.

Improve GPU canvas startup time on the SkiaGPU path.
https://bugs.webkit.org/show_bug.cgi?id=62594


Fixed by skipping creation of shaders used only by the legacy path.

Covered by existing canvas tests.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88691 r88692  
     12011-06-13  Stephen White  <senorblanco@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        Improve GPU canvas startup time on the SkiaGPU path.
     6        https://bugs.webkit.org/show_bug.cgi?id=62594
     7       
     8        Fixed by skipping creation of shaders used only by the legacy path.
     9
     10        Covered by existing canvas tests.
     11
     12        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
     13        (WebCore::SharedGraphicsContext3D::create):
     14
    1152011-06-13  Michael Saboff  <msaboff@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp

    r88429 r88692  
    7272    if (!context)
    7373        return 0;
     74    if (flags & UseSkiaGPU)
     75        return adoptRef(new SharedGraphicsContext3D(context.release(), PassOwnPtr<SolidFillShader>(), PassOwnPtr<TexShader>(), PassOwnPtr<BicubicShader>(), PassOwnArrayPtr<OwnPtr<ConvolutionShader> >(), flags));
    7476    OwnPtr<SolidFillShader> solidFillShader = SolidFillShader::create(context.get());
    7577    if (!solidFillShader)
Note: See TracChangeset for help on using the changeset viewer.