aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
AgeCommit message (Collapse)AuthorFilesLines
2019-06-27Remove dead code on WindowsDavid Robillard1-17/+0
2019-06-27Fix double-bufferingDavid Robillard2-8/+5
2019-06-27Fix window embedding on WindowsStefan Westerfeld1-1/+1
2019-06-27Fix window embedding on MacOSStefan Westerfeld1-2/+2
2019-06-27Make event processing non-blocking on MacOSStefan Westerfeld1-4/+8
2019-06-27Defer to NSOpenGLView reshape methodDavid Robillard1-0/+1
This apparently does nothing, but the compiler warns about the missing super call.
2019-06-27Fix const castsDavid Robillard1-10/+10
2019-06-27Consistently use uint32_t everywhereDavid Robillard4-21/+21
2019-06-25Fix void function prototypesDavid Robillard2-2/+2
2019-06-25Fix unnecessary const castDavid Robillard1-1/+1
2019-04-14Fix MacOS buildDavid Robillard1-1/+4
2019-02-17Add puglGetProcAddress for using OpenGL extensionsDavid Robillard4-0/+39
2019-02-17Squash blank lineDavid Robillard1-1/+0
2019-02-17Add configuration APIDavid Robillard7-62/+221
2019-02-16Add missing default caseDavid Robillard1-0/+1
2019-02-16Fix implicit double to int castsDavid Robillard2-4/+4
2019-02-16Clean up includesDavid Robillard9-39/+37
2019-02-16Factor out drawing context from platform window implementationDavid Robillard7-188/+424
2019-02-15Remove PUGL_CAIRO_GLDavid Robillard3-144/+2
The old cairo_gl.h header or something similar is easy enough to use in application code if someone wants to do this, and maintaining a separate context type for it is a hassle and arguably out of scope.
2019-02-15Separate internal types from functionsDavid Robillard2-27/+60
2018-09-15Fix minor clang-tidy warningsDavid Robillard1-1/+1
2018-09-11Fix GCC8 fall-through warningsDavid Robillard1-1/+2
2017-10-03Don't clear entire cairo surface on each exposeDavid Robillard2-12/+0
2017-10-03Fix size constraints on OSXDavid Robillard1-15/+39
2017-10-03Send zero instead of replacement char for invalid key stringsDavid Robillard1-1/+2
2017-10-03Fix implicit integer conversion warningDavid Robillard1-2/+2
2017-07-23Fix duplicate method declarationDavid Robillard1-1/+0
2017-07-23Implement special key handling on MacOSHanspeter Portner1-17/+78
2017-07-23Fix merging of expose eventsDavid Robillard1-7/+13
Thanks JP Cimalando
2016-11-06Fix cairo inclusionHanspeter Portner1-1/+1
2016-10-29Properly reset view->redisplay on windowsHanspeter Portner1-0/+1
2016-10-27Support many mouse buttons on OSXDavid Robillard1-0/+18
2016-10-27Fix mouse button numbers on OSXDavid Robillard1-2/+2
2016-10-26Fix OSX buildDavid Robillard1-20/+29
2016-09-20Move entire API to pugl.hDavid Robillard5-414/+339
2016-09-20Fix resizingDavid Robillard1-11/+16
2016-09-20Fix C++ bindingsDavid Robillard1-16/+1
2016-09-19Fix compilation on WindowsDavid Robillard2-13/+2
2016-09-18Remove GLUT-like event callbacksDavid Robillard4-279/+7
2016-09-18Clean up documentationDavid Robillard2-26/+24
2016-09-15Make PUGL_NOTHING type 0David Robillard1-1/+1
This makes life easy in several ways, and pugl currently provides no ABI stability guarantee anyway.
2016-09-14Fix compose keyDavid Robillard1-3/+5
Turns out the app needs to call setlocale(LC_ALL, "") for this to work. I am not sure if it is possible to make things work correctly purely in Pugl (since plugin UIs can't call setlocale).
2016-09-14Fix focus eventsDavid Robillard1-1/+1
2016-09-14Fix puglInitInternals prototypeDavid Robillard4-4/+4
2016-09-14Add glew.h wrapper headerDavid Robillard1-0/+32
2016-09-01Make it possible to multiplex PuglKey and charsDavid Robillard1-1/+6
This is useful when working with existing code that assumes any key can be expressed in a single integer. Raises the question of whether Pugl's design of representing special keys separately at all is sensible, but c'est la vie.
2016-09-01Add PUGL_CLOSE eventDavid Robillard5-17/+33
This allows purely event-driven applications to handle window close. Something more extensible for WM message seems like it might be a good idea here, but I can't think of specific uses, so this will do.
2016-09-01Enter context before dispatching expose/configureDavid Robillard1-0/+8
2016-09-01Expose puglEnterContext() and puglLeaveContext()David Robillard2-7/+20
This allows code in the main thread to set up the GL context outside the scope of a draw callback, which is useful for porting existing code that assumes the GL context can be entered anywhere.
2016-09-01Add puglGetSize()David Robillard2-0/+13