Title: [227821] branches/safari-605-branch/Source/WebCore
- Revision
- 227821
- Author
- [email protected]
- Date
- 2018-01-30 10:51:07 -0800 (Tue, 30 Jan 2018)
Log Message
Cherry-pick r227702. rdar://problem/37019515
Modified Paths
Diff
Modified: branches/safari-605-branch/Source/WebCore/ChangeLog (227820 => 227821)
--- branches/safari-605-branch/Source/WebCore/ChangeLog 2018-01-30 18:51:05 UTC (rev 227820)
+++ branches/safari-605-branch/Source/WebCore/ChangeLog 2018-01-30 18:51:07 UTC (rev 227821)
@@ -1,5 +1,26 @@
2018-01-30 Jason Marcell <[email protected]>
+ Cherry-pick r227702. rdar://problem/37019515
+
+ 2018-01-26 Dean Jackson <[email protected]>
+
+ REGRESSION (r222961): Clear function not clearing whole screen when antialias is set to false
+ https://bugs.webkit.org/show_bug.cgi?id=179368
+ <rdar://problem/36111549>
+
+ Reviewed by Sam Weinig.
+
+ When we changed from using a CAOpenGLLayer to a regular CALayer, we should
+ have also swapped the "opaque" property to "contentsOpaque".
+
+ Covered by the existing test: fast/canvas/webgl/context-attributes-alpha.html
+ (when run on some hardware!)
+
+ * platform/graphics/cocoa/WebGLLayer.mm:
+ (-[WebGLLayer initWithGraphicsContext3D:]):
+
+2018-01-30 Jason Marcell <[email protected]>
+
Cherry-pick r227697. rdar://problem/37019483
2018-01-26 Simon Fraser <[email protected]>
Modified: branches/safari-605-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm (227820 => 227821)
--- branches/safari-605-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm 2018-01-30 18:51:05 UTC (rev 227820)
+++ branches/safari-605-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm 2018-01-30 18:51:07 UTC (rev 227821)
@@ -54,8 +54,7 @@
self = [super init];
_devicePixelRatio = context->getContextAttributes().devicePixelRatio;
#if PLATFORM(MAC)
- if (!context->getContextAttributes().alpha)
- self.opaque = YES;
+ self.contentsOpaque = !context->getContextAttributes().alpha;
self.transform = CATransform3DIdentity;
self.contentsScale = _devicePixelRatio;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes