Title: [101067] trunk/Source/WebCore
Revision
101067
Author
[email protected]
Date
2011-11-23 04:48:12 -0800 (Wed, 23 Nov 2011)

Log Message

Build fix for GTK+.

* platform/graphics/gtk/DrawingBufferGtk.cpp:
(WebCore::DrawingBuffer::DrawingBuffer): Update signature and ASSERT
for the GTK+ port.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101066 => 101067)


--- trunk/Source/WebCore/ChangeLog	2011-11-23 12:19:33 UTC (rev 101066)
+++ trunk/Source/WebCore/ChangeLog	2011-11-23 12:48:12 UTC (rev 101067)
@@ -1,3 +1,11 @@
+2011-11-23  Martin Robinson  <[email protected]>
+
+        Build fix for GTK+.
+
+        * platform/graphics/gtk/DrawingBufferGtk.cpp:
+        (WebCore::DrawingBuffer::DrawingBuffer): Update signature and ASSERT
+        for the GTK+ port.
+
 2011-11-23  Rafael Weinstein  <[email protected]>
 
         Remove notifyChange from the public interface of CSSMutableStyleDeclaration

Modified: trunk/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp (101066 => 101067)


--- trunk/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp	2011-11-23 12:19:33 UTC (rev 101066)
+++ trunk/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp	2011-11-23 12:48:12 UTC (rev 101067)
@@ -36,17 +36,25 @@
 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context,
                              const IntSize& size,
                              bool multisampleExtensionSupported,
-                             bool packedDepthStencilExtensionSupported)
-    : m_context(context)
+                             bool packedDepthStencilExtensionSupported,
+                             bool separateBackingTexture)
+    : m_separateBackingTexture(separateBackingTexture)
+    , m_scissorEnabled(false)
+    , m_context(context)
     , m_size(-1, -1)
     , m_multisampleExtensionSupported(multisampleExtensionSupported)
     , m_packedDepthStencilExtensionSupported(packedDepthStencilExtensionSupported)
     , m_fbo(context->createFramebuffer())
     , m_colorBuffer(0)
     , m_depthStencilBuffer(0)
+    , m_depthBuffer(0)
+    , m_stencilBuffer(0)
     , m_multisampleFBO(0)
     , m_multisampleColorBuffer(0)
 {
+    // Support for a separate backing texture has only been enabled for
+    // the chromium port.
+    ASSERT(!m_separateBackingTexture);
     ASSERT(m_fbo);
     if (!m_fbo) {
         clear();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to