Bug 226504 - Adopt createPbufferAndAttachIOSurface/destroyPbufferAndDetachIOSurface in GraphicsContextGLCVANGLE.cpp and GraphicsContextGLOpenGLCocoa.mm
Summary: Adopt createPbufferAndAttachIOSurface/destroyPbufferAndDetachIOSurface in Gra...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 231010
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-01 09:52 PDT by Sam Weinig
Modified: 2021-09-30 06:28 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2021-06-01 09:52:34 PDT
The code for creating an IOSurface based Pbuffer has been extracted into createPbufferAndAttachIOSurface/destroyPbufferAndDetachIOSurface. It should now be adopted by GraphicsContextGLOpenGL::allocateAndBindDisplayBufferBacking() and GraphicsContextGLCVANGLE::attachIOSurfaceToTexture() which have duplicated code now.
Comment 1 Radar WebKit Bug Importer 2021-06-01 10:39:44 PDT
<rdar://problem/78721561>