Changeset 259764 in webkit
- Timestamp:
- Apr 8, 2020, 3:57:51 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm (modified) (2 diffs)
-
platform/graphics/cocoa/WebGLLayer.h (modified) (1 diff)
-
platform/graphics/cocoa/WebGLLayer.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r259762 r259764 1 2020-04-08 Kenneth Russell <kbr@chromium.org> 2 3 Release WebGLLayer earlier in ~GraphicsContextGLOpenGL 4 https://bugs.webkit.org/show_bug.cgi?id=210213 5 6 Reviewed by Dean Jackson. 7 8 Release WebGLLayer earlier and remove public context property, 9 which is no longer called. 10 11 * platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm: 12 (WebCore::GraphicsContextGLOpenGL::~GraphicsContextGLOpenGL): 13 * platform/graphics/cocoa/WebGLLayer.h: 14 * platform/graphics/cocoa/WebGLLayer.mm: 15 1 16 2020-04-08 Daniel Bates <dabates@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm
r259482 r259764 583 583 #endif 584 584 585 // Release the WebGLLayer before destroying the underlying 586 // context to enable it to do any necessary cleanups. 587 m_webGLLayer = nullptr; 588 585 589 #if USE(OPENGL_ES) 586 590 [EAGLContext setCurrentContext:0]; … … 593 597 EGL_DestroyContext(m_displayObj, m_contextObj); 594 598 #endif 595 [m_webGLLayer setContext:nullptr];596 599 } 597 600 -
trunk/Source/WebCore/platform/graphics/cocoa/WebGLLayer.h
r254241 r259764 67 67 } 68 68 69 @property (nonatomic) NakedPtr<WebCore::GraphicsContextGLOpenGL> context;70 71 69 - (id)initWithGraphicsContextGL:(NakedPtr<WebCore::GraphicsContextGLOpenGL>)context; 72 70 -
trunk/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm
r259737 r259764 60 60 @implementation WebGLLayer 61 61 62 @synthesize context=_context;63 64 62 -(id)initWithGraphicsContextGL:(NakedPtr<WebCore::GraphicsContextGLOpenGL>)context 65 63 {
Note:
See TracChangeset
for help on using the changeset viewer.