Changeset 69144 in webkit


Ignore:
Timestamp:
Oct 5, 2010 1:59:11 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-05 Vincent Scheib <scheib@chromium.org>

Reviewed by Kenneth Russell.

[chromium] 51304 GPU compositor resorts to "slow" text rendering for base page layer
https://bugs.webkit.org/show_bug.cgi?id=47193

Test: Accelerated compositor test infrastructure still coming online. Tested manually.

  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::setRootLayerCanvasSize): (WebCore::LayerRendererChromium::prepareToDrawLayers): (WebCore::LayerRendererChromium::drawLayers):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r69142 r69144  
     12010-10-05  Vincent Scheib  <scheib@chromium.org>
     2
     3        Reviewed by Kenneth Russell.
     4
     5        [chromium] 51304 GPU compositor resorts to "slow" text rendering for base page layer
     6        https://bugs.webkit.org/show_bug.cgi?id=47193
     7
     8        Test: Accelerated compositor test infrastructure still coming online. Tested manually.
     9
     10        * platform/graphics/chromium/LayerRendererChromium.cpp:
     11        (WebCore::LayerRendererChromium::setRootLayerCanvasSize):
     12        (WebCore::LayerRendererChromium::prepareToDrawLayers):
     13        (WebCore::LayerRendererChromium::drawLayers):
     14
    1152010-10-05  Nico Weber  <thakis@chromium.org>
    216
  • trunk/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp

    r68604 r69144  
    128128    m_rootLayerCanvas = new skia::PlatformCanvas(size.width(), size.height(), false);
    129129    m_rootLayerSkiaContext = new PlatformContextSkia(m_rootLayerCanvas.get());
    130     m_rootLayerSkiaContext->setDrawingToImageBuffer(true);
    131130    m_rootLayerGraphicsContext = new GraphicsContext(reinterpret_cast<PlatformGraphicsContext*>(m_rootLayerSkiaContext.get()));
    132131#elif PLATFORM(CG)
     
    205204    GLC(m_context, m_context->depthFunc(GraphicsContext3D::LEQUAL));
    206205    GLC(m_context, m_context->clearStencil(0));
     206    // Blending disabled by default. Root layer alpha channel on Windows is incorrect when Skia uses ClearType.
     207    GLC(m_context, m_context->disable(GraphicsContext3D::BLEND));
    207208
    208209    if (m_scrollPosition == IntPoint(-1, -1)) {
     
    332333
    333334    GLC(m_context, m_context->disable(GraphicsContext3D::SCISSOR_TEST));
     335    GLC(m_context, m_context->disable(GraphicsContext3D::BLEND));
    334336}
    335337
Note: See TracChangeset for help on using the changeset viewer.