Title: [135858] trunk/Source/WebKit2
- Revision
- 135858
- Author
- [email protected]
- Date
- 2012-11-27 06:42:46 -0800 (Tue, 27 Nov 2012)
Log Message
[EFL] Graphics layer edges are sometimes very pixelated
https://bugs.webkit.org/show_bug.cgi?id=103302
Patch by Yael Aharon <[email protected]> on 2012-11-27
Reviewed by Kenneth Rohde Christiansen.
The call setEnableEdgeDistanceAntialiasing(true) was lost in the refactoring of
http://trac.webkit.org/changeset/135401.
* UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
(WebKit::LayerTreeRenderer::paintToCurrentGLContext):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (135857 => 135858)
--- trunk/Source/WebKit2/ChangeLog 2012-11-27 14:11:16 UTC (rev 135857)
+++ trunk/Source/WebKit2/ChangeLog 2012-11-27 14:42:46 UTC (rev 135858)
@@ -1,3 +1,16 @@
+2012-11-27 Yael Aharon <[email protected]>
+
+ [EFL] Graphics layer edges are sometimes very pixelated
+ https://bugs.webkit.org/show_bug.cgi?id=103302
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ The call setEnableEdgeDistanceAntialiasing(true) was lost in the refactoring of
+ http://trac.webkit.org/changeset/135401.
+
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::paintToCurrentGLContext):
+
2012-11-27 KwangYong Choi <[email protected]>
[X11] Allow empty plugin name and description during scan plugin
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp (135857 => 135858)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp 2012-11-27 14:11:16 UTC (rev 135857)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp 2012-11-27 14:42:46 UTC (rev 135858)
@@ -93,8 +93,11 @@
void LayerTreeRenderer::paintToCurrentGLContext(const TransformationMatrix& matrix, float opacity, const FloatRect& clipRect, TextureMapper::PaintFlags PaintFlags)
{
- if (!m_textureMapper)
+ if (!m_textureMapper) {
m_textureMapper = TextureMapper::create(TextureMapper::OpenGLMode);
+ static_cast<TextureMapperGL*>(m_textureMapper.get())->setEnableEdgeDistanceAntialiasing(true);
+ }
+
ASSERT(m_textureMapper->accelerationMode() == TextureMapper::OpenGLMode);
syncRemoteContent();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes