~thong-u/unoptimized/+git/libglvnd:0.1.1

Last commit made on 2016-08-05
Get this branch:
git clone -b 0.1.1 https://git.launchpad.net/~thong-u/unoptimized/+git/libglvnd

Branch merges

Branch information

Name:
0.1.1
Repository:
lp:~thong-u/unoptimized/+git/libglvnd

Recent commits

42f03c9... by Kyle Brenneman <email address hidden>

Increment package version to 0.1.1.

1b30d15... by Kyle Brenneman <email address hidden>

GLdispatch: Don't unpatch entrypoints in __glDispatchLoseCurrent.

In __glDispatchLoseCurrent, don't try to restore the default entrypoints.
Instead, __glDispatchMakeCurrent will check if it's using a different vendor
library, and if so, it will unpatch and repatch the entrypoints then. If it's
using the same vendor library (which will usually be the case), then it can
leave them patched and skip the patch overhead.

Some applications will call glXMakeCurrent to release and bind the same context
every frame, sometimes multiples times. Each patch and unpatch sequnce can chew
up 1-2 milliseconds. That's enough to significantly reduce the framerate of
some applications.

Reviewed-by: James Jones <email address hidden>

d0ced9a... by Kyle Brenneman <email address hidden>

GLX: Fix a couple of errors.

Moved the unlock in __glXLookupVendorByName to after the calls to update the
GLX entrypoints.

Fixed a typo in GLXEntrypointUpdateCallback.

bb67f11... by Kyle Brenneman <email address hidden>

tests: Merge the dummy and patchentry libraries.

Remove the libGLX_patchentry dummy vendor library. The libGLX_dummy.so library
will provide the entrypoint patching callbacks based on an environment
variable.

198b0b0... by Kyle Brenneman <email address hidden>

tests: Expand the MakeCurrent tests to the GLXFBConfig-based functions.

The testglxmakecurrent tests will now test both the GLXFBConfig and
XVisualInfo-based GLX functions.

The tests will also now cover using glXCreateContextAttribsARB to create a
rendering context.

5ba6f0a... by Kyle Brenneman <email address hidden>

tests: Implement glXCreateContextAttribsARB in GLX_dummy.

Added an implementation and dispatch function for glXCreateContextAttribsARB.

95447fb... by Kyle Brenneman <email address hidden>

tests: Clean up the function arrays in GLX_dummy.

Defined a second array in GLX_dummy.c for GLX extension functions. The new
array includes the name, function pointers, and the dispatch index for each
function.

Made the naming and formatting of the GL and GLX functions more consistent.

8f71ae2... by Kyle Brenneman <email address hidden>

tests: Add more GLX functions to GLX_dummy.

Implemented more GLX functions in the dummy vendor library.

glXGetFBConfigs and glXChooseFBConfig will now hand back arrays of GLXFBConfig
handles. There's nothing behind them, but the test app can then pass them to
other functions.

Implemented dummyCreateNewContext.

Implemented the various functions for creating GLXDrawables. All of them just
hand back a new XID.

Implemented glXGetVisualFromFBConfig as a wrapper around glXChooseVisual.

39d111f... by Kyle Brenneman <email address hidden>

Merge pull request #90 from kwizart/master

Remove uneeded xorg-server dependency

bc13ec0... by Nicolas Chauvet

Remove uneeded xorg-server dependency