mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
986ba3aa79
The EGL winsys had a special case code path when trying to create a context where if it failed it would try again except without requesting a stencil buffer. Historically this code path was to allow Clutter to run on PowerVR MBX hardware which doesn't support a stencil buffer. It doesn't really make sense to keep this workaround in Cogl as it would leave Cogl in a state where the clip stack doesn't work without providing any feedback to the developer. If we need to support running on MBX like hardware - probably not very likely these days - then we should provide developer control over the stencil buffer so the equivalent workaround could be implemented on top of Cogl. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit a7c391a985e82707b17f2fb1105de5d37822a390)