Title: [199001] trunk/Source/WebCore
Revision
199001
Author
[email protected]
Date
2016-04-04 03:26:23 -0700 (Mon, 04 Apr 2016)

Log Message

[TexMap] Trim redundant guards
https://bugs.webkit.org/show_bug.cgi?id=155927

Patch by Emanuele Aina <[email protected]> on 2016-04-04
Reviewed by Žan Doberšek.

* platform/graphics/GraphicsContext3DPrivate.cpp: Drop some redundant
checks in preprocessor guards.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (199000 => 199001)


--- trunk/Source/WebCore/ChangeLog	2016-04-04 10:21:35 UTC (rev 199000)
+++ trunk/Source/WebCore/ChangeLog	2016-04-04 10:26:23 UTC (rev 199001)
@@ -1,5 +1,15 @@
 2016-04-04  Emanuele Aina  <[email protected]>
 
+        [TexMap] Trim redundant guards
+        https://bugs.webkit.org/show_bug.cgi?id=155927
+
+        Reviewed by Žan Doberšek.
+
+        * platform/graphics/GraphicsContext3DPrivate.cpp: Drop some redundant
+        checks in preprocessor guards.
+
+2016-04-04  Emanuele Aina  <[email protected]>
+
         Rely on PlatformLayer to choose the TextureMapperPlatformLayer impl
         https://bugs.webkit.org/show_bug.cgi?id=155926
 

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp (199000 => 199001)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp	2016-04-04 10:21:35 UTC (rev 199000)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp	2016-04-04 10:26:23 UTC (rev 199001)
@@ -37,7 +37,7 @@
 #include "OpenGLShims.h"
 #endif
 
-#if USE(TEXTURE_MAPPER) && USE(TEXTURE_MAPPER_GL)
+#if USE(TEXTURE_MAPPER_GL)
 #include <texmap/TextureMapperGL.h>
 #endif
 
@@ -111,7 +111,7 @@
 
     m_context->markLayerComposited();
 }
-#elif USE(TEXTURE_MAPPER) && !USE(COORDINATED_GRAPHICS_THREADED)
+#elif USE(TEXTURE_MAPPER)
 void GraphicsContext3DPrivate::paintToTextureMapper(TextureMapper& textureMapper, const FloatRect& targetRect, const TransformationMatrix& matrix, float opacity)
 {
     if (!m_glContext)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to