Re: Reducing GL context switches

Martin Robinson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 03/07/2012 09:47 PM, Martin Robinson wrote:
>> https://github.com/mrobinson/cairo/tree/reduce-context-switches

> I've updated this branch (needs to be re-pulled completely) with some
> bug fixes and collapsing cairo_glx_device_set_thread_aware and
> cairo_egl_device_set_thread_aware, into simply
> cairo_gl_device_set_thread_aware.

I've updated one of my patches in the branch with the following change: 
The commit "gl: Intelligently release the context" no longer makes the 
previous GL context current when releasing a GL device. Instead, if the 
previous GL context was the same as the one controlled by the GL device, 
releasing will not call glXMakeCurrent/eglMakeCurrent.

I haven't heard any objections to these patches for months, so I plan on 
committing them, if no one objects to the new branch.

--Martin
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.