Title: [132980] trunk/Source/WebCore
Revision
132980
Author
[email protected]
Date
2012-10-30 20:41:57 -0700 (Tue, 30 Oct 2012)

Log Message

Set the initial scissor box for WebGL
https://bugs.webkit.org/show_bug.cgi?id=100804

Patch by Gregg Tavares <[email protected]> on 2012-10-30
Reviewed by Kenneth Russell.

The initial scissor box needs to be set for WebGL

No new tests as no new functionality.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::initializeNewContext):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132979 => 132980)


--- trunk/Source/WebCore/ChangeLog	2012-10-31 03:04:29 UTC (rev 132979)
+++ trunk/Source/WebCore/ChangeLog	2012-10-31 03:41:57 UTC (rev 132980)
@@ -1,3 +1,18 @@
+2012-10-30  Gregg Tavares  <[email protected]>
+
+        Set the initial scissor box for WebGL
+        https://bugs.webkit.org/show_bug.cgi?id=100804
+
+        Reviewed by Kenneth Russell.
+
+        The initial scissor box needs to be set for WebGL
+
+        No new tests as no new functionality.
+
+        * html/canvas/WebGLRenderingContext.cpp:
+        (WebCore):
+        (WebCore::WebGLRenderingContext::initializeNewContext):
+
 2012-10-30  Charles Wei  <[email protected]>
 
         [BlackBerry] PurgeCredential should also purge the persisted credential store

Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp (132979 => 132980)


--- trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp	2012-10-31 03:04:29 UTC (rev 132979)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp	2012-10-31 03:41:57 UTC (rev 132980)
@@ -532,6 +532,7 @@
 
     m_context->reshape(canvasSize.width(), canvasSize.height());
     m_context->viewport(0, 0, canvasSize.width(), canvasSize.height());
+    m_context->scissor(0, 0, canvasSize.width(), canvasSize.height());
 
     m_context->setContextLostCallback(adoptPtr(new WebGLRenderingContextLostCallback(this)));
     m_context->setErrorMessageCallback(adoptPtr(new WebGLRenderingContextErrorMessageCallback(this)));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to