Changeset 284007 in webkit
- Timestamp:
- Oct 12, 2021, 12:51:26 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r284003 r284007 1 2021-10-12 Kimmo Kinnunen <kkinnunen@apple.com> 2 3 Cocoa GraphicsContextGLOpenGL uses depth and stencil for pbuffers on ANGLE Metal 4 https://bugs.webkit.org/show_bug.cgi?id=231424 5 6 Reviewed by Dean Jackson. 7 8 ANGLE Metal allocates depth and stencil buffers when a pbuffer is bound to 9 a texture via eglBindTexImage. 10 To side-step this performance issue, allocate the gl context with EGLConfig 11 that disables depth and stencil. The config is used for the video texture 12 upload context, video texture upload pbuffers as well as other pbuffers. 13 14 * platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm: 15 (WebCore::GraphicsContextGLOpenGL::GraphicsContextGLOpenGL): 16 1 17 2021-10-12 Tim Horton <timothy_horton@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm
r283703 r284007 259 259 EGL_BLUE_SIZE, 8, 260 260 EGL_ALPHA_SIZE, 8, 261 EGL_DEPTH_SIZE, 0, 262 EGL_STENCIL_SIZE, 0, 261 263 EGL_NONE 262 264 };
Note:
See TracChangeset
for help on using the changeset viewer.