Changeset 268753 in webkit
- Timestamp:
- Oct 20, 2020, 1:10:13 PM (6 years ago)
- Location:
- branches/safari-611.1.4-branch/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm (modified) (1 diff)
-
platform/graphics/cocoa/WebGLLayer.h (modified) (1 diff)
-
platform/graphics/cocoa/WebGLLayer.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-611.1.4-branch/Source/WebCore/ChangeLog
r268651 r268753 1 2020-10-20 Alan Coon <alancoon@apple.com> 2 3 Revert r268446. rdar://problem/70497386 4 1 5 2020-10-17 Darin Adler <darin@apple.com> 2 6 -
branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm
r268446 r268753 335 335 // Create the WebGLLayer 336 336 BEGIN_BLOCK_OBJC_EXCEPTIONS 337 m_webGLLayer = adoptNS([[WebGLLayer alloc] initWithClient:this devicePixelRatio:attrs.devicePixelRatio contentsOpaque:!attrs.alpha]);337 m_webGLLayer = adoptNS([[WebGLLayer alloc] initWithClient:this devicePixelRatio:attrs.devicePixelRatio]); 338 338 #ifndef NDEBUG 339 339 [m_webGLLayer setName:@"WebGL Layer"]; -
branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.h
r268446 r268753 49 49 @interface WebGLLayer : CALayer 50 50 51 - (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio contentsOpaque:(bool)contentsOpaque;51 - (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio; 52 52 53 53 - (CGImageRef)copyImageSnapshotWithColorSpace:(CGColorSpaceRef)colorSpace; -
branches/safari-611.1.4-branch/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm
r268446 r268753 44 44 } 45 45 46 - (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio contentsOpaque:(bool)contentsOpaque46 - (id)initWithClient:(NakedPtr<WebCore::WebGLLayerClient>)client devicePixelRatio:(float)devicePixelRatio 47 47 { 48 48 _client = client; 49 49 self = [super init]; 50 50 self.transform = CATransform3DIdentity; 51 self.contentsOpaque = contentsOpaque;52 51 self.contentsScale = devicePixelRatio; 53 52 return self;
Note:
See TracChangeset
for help on using the changeset viewer.