Title: [126964] trunk/Source
- Revision
- 126964
- Author
- [email protected]
- Date
- 2012-08-28 23:50:34 -0700 (Tue, 28 Aug 2012)
Log Message
[GTK] Enable the edge distance anti-aliasing for accelerated compositing layers
https://bugs.webkit.org/show_bug.cgi?id=95272
Reviewed by No'am Rosenthal.
Source/WebKit/gtk:
Turn on edge-distance anti-aliasing for GTK+ WebKit1. This
improves the quality of layer rendering.
* WebCoreSupport/AcceleratedCompositingContextGL.cpp:
(WebKit::AcceleratedCompositingContext::initialize):
Source/WebKit2:
Turn on edge-distance anti-aliasing for GTK+ WebKit2. This
improves the quality of layer rendering.
* WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
(WebKit::LayerTreeHostGtk::initialize):
Modified Paths
Diff
Modified: trunk/Source/WebKit/gtk/ChangeLog (126963 => 126964)
--- trunk/Source/WebKit/gtk/ChangeLog 2012-08-29 06:45:06 UTC (rev 126963)
+++ trunk/Source/WebKit/gtk/ChangeLog 2012-08-29 06:50:34 UTC (rev 126964)
@@ -1,3 +1,16 @@
+2012-08-28 Martin Robinson <[email protected]>
+
+ [GTK] Enable the edge distance anti-aliasing for accelerated compositing layers
+ https://bugs.webkit.org/show_bug.cgi?id=95272
+
+ Reviewed by No'am Rosenthal.
+
+ Turn on edge-distance anti-aliasing for GTK+ WebKit1. This
+ improves the quality of layer rendering.
+
+ * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
+ (WebKit::AcceleratedCompositingContext::initialize):
+
2012-08-28 Sheriff Bot <[email protected]>
Unreviewed, rolling out r126914.
Modified: trunk/Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp (126963 => 126964)
--- trunk/Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp 2012-08-29 06:45:06 UTC (rev 126963)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp 2012-08-29 06:50:34 UTC (rev 126964)
@@ -97,8 +97,9 @@
// The creation of the TextureMapper needs an active OpenGL context.
GLContext* context = m_redirectedWindow->context();
context->makeContextCurrent();
+
m_textureMapper = TextureMapperGL::create();
-
+ static_cast<TextureMapperGL*>(m_textureMapper.get())->setEnableEdgeDistanceAntialiasing(true);
toTextureMapperLayer(m_rootLayer.get())->setTextureMapper(m_textureMapper.get());
scheduleLayerFlush();
Modified: trunk/Source/WebKit2/ChangeLog (126963 => 126964)
--- trunk/Source/WebKit2/ChangeLog 2012-08-29 06:45:06 UTC (rev 126963)
+++ trunk/Source/WebKit2/ChangeLog 2012-08-29 06:50:34 UTC (rev 126964)
@@ -1,3 +1,16 @@
+2012-08-28 Martin Robinson <[email protected]>
+
+ [GTK] Enable the edge distance anti-aliasing for accelerated compositing layers
+ https://bugs.webkit.org/show_bug.cgi?id=95272
+
+ Reviewed by No'am Rosenthal.
+
+ Turn on edge-distance anti-aliasing for GTK+ WebKit2. This
+ improves the quality of layer rendering.
+
+ * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
+ (WebKit::LayerTreeHostGtk::initialize):
+
2012-08-28 Kangil Han <[email protected]>
[WK2] Use explicit constructor in PageClientImpl.
Modified: trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp (126963 => 126964)
--- trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp 2012-08-29 06:45:06 UTC (rev 126963)
+++ trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp 2012-08-29 06:50:34 UTC (rev 126964)
@@ -114,7 +114,9 @@
// The creation of the TextureMapper needs an active OpenGL context.
context->makeContextCurrent();
+
m_textureMapper = TextureMapperGL::create();
+ static_cast<TextureMapperGL*>(m_textureMapper.get())->setEnableEdgeDistanceAntialiasing(true);
toTextureMapperLayer(m_rootLayer.get())->setTextureMapper(m_textureMapper.get());
if (m_webPage->hasPageOverlay())
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes