]> git.cworth.org Git - fips/commitdiff
Add a new context.c file with context_enter and context_leave functions
authorCarl Worth <cworth@cworth.org>
Mon, 28 Oct 2013 21:34:26 +0000 (14:34 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 28 Oct 2013 21:34:26 +0000 (14:34 -0700)
So far, this just factors out some duplicated code from glxwrap.c and
eglwrap.c into the new context_enter/leave functions.

Eventually, some of the code currently living in metrics.c should
migrate up into context.c, (such as the global current_context
variable in metrics.c).

Additionally, the context.c layer will give us a natural place to
query things such as "is the AMD_performance_monitor extension
available?".


No differences found