aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_gl.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-28Make enterContext take a drawing parameter like leaveContextDavid Robillard1-4/+4
These need to be symmetric because sometimes different things need to happen in either situation when entering the context as well.
2019-07-28Give backends general namesDavid Robillard1-4/+4
Towards making them opaque and exposing them to the user to decouple the core library from backends. The general names mean that it won't be possible to build multiple backends for one platform into the same binary, but that seems reasonable for now, and it will make things simpler without needing to add a bunch of dispatch code. That will still be possible if it's ever needed, though.
2019-07-28Rename getHandle to getContext for consistent terminologyDavid Robillard1-2/+2
2019-07-28Rename PuglDrawContext to PuglBackendDavid Robillard1-3/+3
This name was pretty confusing since there is already the concept of a "context".
2019-07-28Fix unused parameter warnings and prevent rotDavid Robillard1-6/+4
2019-07-25X11: Fix unused parameter warningsDavid Robillard1-0/+4
2019-07-23X11: Fix memory leakDavid Robillard1-0/+2
2019-06-27Fix double-bufferingDavid Robillard1-7/+4
2019-06-25Fix unnecessary const castDavid Robillard1-1/+1
2019-02-17Add puglGetProcAddress for using OpenGL extensionsDavid Robillard1-0/+6
2019-02-17Add configuration APIDavid Robillard1-43/+100
2019-02-16Clean up includesDavid Robillard1-4/+4
2019-02-16Factor out drawing context from platform window implementationDavid Robillard1-0/+145