Changeset 69144 in webkit
- Timestamp:
- Oct 5, 2010 1:59:11 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r69142 r69144 1 2010-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 1 15 2010-10-05 Nico Weber <thakis@chromium.org> 2 16 -
trunk/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
r68604 r69144 128 128 m_rootLayerCanvas = new skia::PlatformCanvas(size.width(), size.height(), false); 129 129 m_rootLayerSkiaContext = new PlatformContextSkia(m_rootLayerCanvas.get()); 130 m_rootLayerSkiaContext->setDrawingToImageBuffer(true);131 130 m_rootLayerGraphicsContext = new GraphicsContext(reinterpret_cast<PlatformGraphicsContext*>(m_rootLayerSkiaContext.get())); 132 131 #elif PLATFORM(CG) … … 205 204 GLC(m_context, m_context->depthFunc(GraphicsContext3D::LEQUAL)); 206 205 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)); 207 208 208 209 if (m_scrollPosition == IntPoint(-1, -1)) { … … 332 333 333 334 GLC(m_context, m_context->disable(GraphicsContext3D::SCISSOR_TEST)); 335 GLC(m_context, m_context->disable(GraphicsContext3D::BLEND)); 334 336 } 335 337
Note: See TracChangeset
for help on using the changeset viewer.