Title: [153438] trunk/Source/WebCore
- Revision
- 153438
- Author
- [email protected]
- Date
- 2013-07-29 12:25:17 -0700 (Mon, 29 Jul 2013)
Log Message
Max IOSurfaceDimension should be an inclusive upper bound
https://bugs.webkit.org/show_bug.cgi?id=119206
<rdar://problem/14555311>
Reviewed by Simon Fraser.
The maxIOSurfaceDimension value should be an inclusive upper bound.
Change the greater than or equal to into a greater than. This will
allow canvas elements of this dimension to be accelerated.
* platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::ImageBuffer): Change >= to >
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (153437 => 153438)
--- trunk/Source/WebCore/ChangeLog 2013-07-29 19:20:24 UTC (rev 153437)
+++ trunk/Source/WebCore/ChangeLog 2013-07-29 19:25:17 UTC (rev 153438)
@@ -1,3 +1,18 @@
+2013-07-29 Dean Jackson <[email protected]>
+
+ Max IOSurfaceDimension should be an inclusive upper bound
+ https://bugs.webkit.org/show_bug.cgi?id=119206
+ <rdar://problem/14555311>
+
+ Reviewed by Simon Fraser.
+
+ The maxIOSurfaceDimension value should be an inclusive upper bound.
+ Change the greater than or equal to into a greater than. This will
+ allow canvas elements of this dimension to be accelerated.
+
+ * platform/graphics/cg/ImageBufferCG.cpp:
+ (WebCore::ImageBuffer::ImageBuffer): Change >= to >
+
2013-07-29 Renata Hodovan <[email protected]>
ASSERT_NOT_REACHED was touched in WebCore::SVGAnimatedType::valueAsString
Modified: trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp (153437 => 153438)
--- trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp 2013-07-29 19:20:24 UTC (rev 153437)
+++ trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp 2013-07-29 19:25:17 UTC (rev 153438)
@@ -134,7 +134,7 @@
return;
#if USE(IOSURFACE_CANVAS_BACKING_STORE)
- if (width.unsafeGet() >= maxIOSurfaceDimension || height.unsafeGet() >= maxIOSurfaceDimension)
+ if (width.unsafeGet() > maxIOSurfaceDimension || height.unsafeGet() > maxIOSurfaceDimension)
accelerateRendering = false;
#else
ASSERT(renderingMode == Unaccelerated);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes