Bug 226504

Summary: Adopt createPbufferAndAttachIOSurface/destroyPbufferAndDetachIOSurface in GraphicsContextGLCVANGLE.cpp and GraphicsContextGLOpenGLCocoa.mm
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 231010    
Bug Blocks:    

Sam Weinig
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-01 10:39:44 PDT
Note You need to log in before you can comment on or make changes to this bug.