Changeset 227702 in webkit
- Timestamp:
- Jan 26, 2018 4:45:43 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r227701 r227702 1 2018-01-26 Dean Jackson <dino@apple.com> 2 3 REGRESSION (r222961): Clear function not clearing whole screen when antialias is set to false 4 https://bugs.webkit.org/show_bug.cgi?id=179368 5 <rdar://problem/36111549> 6 7 Reviewed by Sam Weinig. 8 9 When we changed from using a CAOpenGLLayer to a regular CALayer, we should 10 have also swapped the "opaque" property to "contentsOpaque". 11 12 Covered by the existing test: fast/canvas/webgl/context-attributes-alpha.html 13 (when run on some hardware!) 14 15 * platform/graphics/cocoa/WebGLLayer.mm: 16 (-[WebGLLayer initWithGraphicsContext3D:]): 17 1 18 2018-01-26 Mark Lam <mark.lam@apple.com> 2 19 -
trunk/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm
r227588 r227702 55 55 _devicePixelRatio = context->getContextAttributes().devicePixelRatio; 56 56 #if PLATFORM(MAC) 57 if (!context->getContextAttributes().alpha) 58 self.opaque = YES; 57 self.contentsOpaque = !context->getContextAttributes().alpha; 59 58 self.transform = CATransform3DIdentity; 60 59 self.contentsScale = _devicePixelRatio;
Note: See TracChangeset
for help on using the changeset viewer.