Title: [268753] branches/safari-611.1.4-branch/Source/WebCore
- Revision
- 268753
- Author
- alanc...@apple.com
- Date
- 2020-10-20 13:10:13 -0700 (Tue, 20 Oct 2020)
Log Message
Revert r268446. rdar://problem/70497386
Modified Paths
Diff
Modified: branches/safari-611.1.4-branch/Source/WebCore/ChangeLog (268752 => 268753)
--- branches/safari-611.1.4-branch/Source/WebCore/ChangeLog 2020-10-20 19:13:22 UTC (rev 268752)
+++ branches/safari-611.1.4-branch/Source/WebCore/ChangeLog 2020-10-20 20:10:13 UTC (rev 268753)
@@ -1,3 +1,7 @@
+2020-10-20 Alan Coon <alanc...@apple.com>
+
+ Revert r268446. rdar://problem/70497386
+
2020-10-17 Darin Adler <da...@apple.com>
Remove "lazy offset" optmization from Range to prepare to derive it from SimpleRange
Modified: branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm (268752 => 268753)
--- branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm 2020-10-20 19:13:22 UTC (rev 268752)
+++ branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm 2020-10-20 20:10:13 UTC (rev 268753)
@@ -334,7 +334,7 @@
// Create the WebGLLayer
BEGIN_BLOCK_OBJC_EXCEPTIONS
- m_webGLLayer = adoptNS([[WebGLLayer alloc] initWithClient:this devicePixelRatio:attrs.devicePixelRatio contentsOpaque:!attrs.alpha]);
+ m_webGLLayer = adoptNS([[WebGLLayer alloc] initWithClient:this devicePixelRatio:attrs.devicePixelRatio]);
#ifndef NDEBUG
[m_webGLLayer setName:@"WebGL Layer"];
#endif
Modified: branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.h (268752 => 268753)
--- branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.h 2020-10-20 19:13:22 UTC (rev 268752)
+++ branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.h 2020-10-20 20:10:13 UTC (rev 268753)
@@ -48,7 +48,7 @@
// the existing binding obtained through the buffer recycle logic.
@interface WebGLLayer : CALayer
-- (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio contentsOpaque:(bool)contentsOpaque;
+- (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio;
- (CGImageRef)copyImageSnapshotWithColorSpace:(CGColorSpaceRef)colorSpace;
Modified: branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm (268752 => 268753)
--- branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm 2020-10-20 19:13:22 UTC (rev 268752)
+++ branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm 2020-10-20 20:10:13 UTC (rev 268753)
@@ -43,12 +43,11 @@
BOOL _preparedForDisplay;
}
-- (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio contentsOpaque:(bool)contentsOpaque
+- (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio
{
_client = client;
self = [super init];
self.transform = CATransform3DIdentity;
- self.contentsOpaque = contentsOpaque;
self.contentsScale = devicePixelRatio;
return self;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes