WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
210 stars 135 forks source link

Broadcom Nexus API support for ANGLE WebGL #1343

Open q66 opened 1 month ago

q66 commented 1 month ago

This is the broadcom nexus angle/webgl support code originally written by @zdobersek and cleaned up by me. It seems to be working as I'm testing it on the device without apparent problems. It comes with some additional semi-backports (the ENABLE(VIDEO) fixes are upstream so they will disappear on next rebase, I will upstream some of the other minor fixes). The suspend/resume backport is fairly minimal as the original commit assumes presence of noncomposite webgl, which we don't have in the branch yet.

Otherwise it is a draft for now as other people need to look at it. Particularly the changes to ANGLE itself are not ideal.

I have other code elsewhere to support the new WPE platform API but not including that here for now (I cut it out for the time being).