[Webkit-unassigned] [Bug 224948] Select proper IOSurface backing format for configuration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 22 16:00:26 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224948

--- Comment #5 from Kyle Piddington <kpiddington at apple.com> ---
Comment on attachment 426850
  --> https://bugs.webkit.org/attachment.cgi?id=426850
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=426850&action=review

>> Source/ThirdParty/ANGLE/ChangeLog:7
>> +        IOSurface texture targets for the main buffer. When running catalyst on 
> 
> Is it possible for the WebCore code that has this expectation, and the ANGLE code that is expected to behave this way, to both predicate their behavior on a single bit? (so that they don't have to be kept in sync?). I guess that might be tricky since ANGLE can't use our feature macros.

It's tricky to do here, since this bind point needs to be set at initialization, and our only hint is data that could be passed down at display initialization. For OpenGL, Webkit selects a CGL or EAGL display depending on the backend they need. For Metal, we alway select DisplayMTL.
We could do this with an additional context bit, or by creating multiple ConfigSets and letting Webkit select the one that matches the context we need to create. (Which would allow us to select Texture2D or TextureRect separate from the architecture)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210422/dd588f03/attachment-0001.htm>


More information about the webkit-unassigned mailing list