[chromium] Separate IOSurface layer type from texture layers
Created attachment 139133 [details]
Please wait for approval from email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org or email@example.com before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Attachment 139133 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/Platform/ChangeLog', u'Source/Platf..." exit_code: 1
Source/WebKit/chromium/src/WebIOSurfaceLayer.cpp:28: Alphabetical sorting problem. [build/include_order] 
Total errors found: 1 in 20 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 139133 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=139133&action=review
> + // FIXME: it seems there is no layer renderer / GraphicsContext3D available here. Ideally we
> + // would like to delete m_ioSurfaceTextureId.
This feels kind of like a job for TextureManager/ManagedTexture, but those classes aren't quite smart enough to handle IO surface textures.
It's a "normal" texture, just needs a deleteTexture() call.