[OpenVG] Add a SurfaceOpenVG constructor for EGL client buffer surfaces
Created attachment 49742 [details]
Whoever provides our painter with the SurfaceOpenVG might want to draw into a VGImage instead of a pbuffer or window surface. EGL/OpenVG provides the means to do that directly (without cross-copying), and generalizes the VGImage into an "EGL client buffer" which can be made an EGL surface to draw on.
This patch hooks up the appropriate OpenVG functionality with our SurfaceOpenVG and EGLDisplayOpenVG classes, and provides a new constructor that takes an EGLClientBuffer (a casted VGImage) which will be used to create the encapsulated EGL surface.
Apparently webkit-patch now automatically uses "New Bugs" as component, which is wrong for this one as it belongs to the "Platform" component.
You can pass a component in the command line. See:
webkit-patch help upload
for more information.
Comment on attachment 49742 [details]
Committed r55919: <http://trac.webkit.org/changeset/55919>