Bug 226504
| Summary: | Adopt createPbufferAndAttachIOSurface/destroyPbufferAndDetachIOSurface in GraphicsContextGLCVANGLE.cpp and GraphicsContextGLOpenGLCocoa.mm | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | WebGL | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/78721561>