aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
AgeCommit message (Collapse)AuthorFilesLines
2019-07-29Clean up file documentationDavid Robillard1-1/+1
2019-07-29Completely separate backends from platform implementationDavid Robillard1-13/+7
This removes PuglContextType and allows the user to pass a backend directly. Normally this would come from one of the two accessors declared in the headers, but it would be possible to add backends without changing any of the existing code at all. Unfortunately, it is not possible to preserve backwards compatibility and achieve the ultimate goal of linking only to the required dependencies, so puglInitContextType() has just been removed.
2019-07-29Move trivial backend dispatch functions to common codeDavid Robillard1-0/+18
2019-07-28Make enterContext take a drawing parameter like leaveContextDavid Robillard1-2/+2
These need to be symmetric because sometimes different things need to happen in either situation when entering the context as well.
2019-07-28Fix unused parameter warnings and prevent rotDavid Robillard1-4/+1
2019-07-21Update stale copyright datesDavid Robillard1-1/+1
2019-07-21Fix some warningsDavid Robillard1-1/+1
2019-07-21Make time start from approximately zeroDavid Robillard1-5/+6
2019-07-20Remove redisplay flag and use system events insteadDavid Robillard1-2/+1
2019-06-29Fix various warningsDavid Robillard1-4/+7
2019-06-25Fix void function prototypesDavid Robillard1-1/+1
2019-02-17Add configuration APIDavid Robillard1-1/+55
2019-02-16Fix implicit double to int castsDavid Robillard1-2/+2
2019-02-16Clean up includesDavid Robillard1-3/+3
2019-02-15Separate internal types from functionsDavid Robillard1-27/+1
2016-09-20Move entire API to pugl.hDavid Robillard1-1/+0
2016-09-20Fix resizingDavid Robillard1-11/+16
2016-09-18Remove GLUT-like event callbacksDavid Robillard1-141/+2
2016-09-14Fix puglInitInternals prototypeDavid Robillard1-1/+1
2016-09-01Add PUGL_CLOSE eventDavid Robillard1-0/+6
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 Robillard1-6/+0
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 Robillard1-0/+7
2016-09-01Add puglGetVisible()David Robillard1-0/+7
2016-07-28Add support for Cairo on GLDavid Robillard1-4/+5
2015-11-13Fix minor style issuesDavid Robillard1-1/+1
2015-11-11Avoid use of strdupDavid Robillard1-1/+7
2015-11-11Add API to set window class nameDavid Robillard1-0/+8
2015-09-12Add support for aspect ratio constraints.David Robillard1-0/+17
Currently only implemented on X11.
2015-07-18Don't dispatch nothing events.David Robillard1-2/+4
2015-02-15UTF-8 support on OSX.David Robillard1-0/+34
2014-12-16Add support for transient child windows.Robin Gareus1-0/+7
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c
2014-12-16Support minimum window size.Robin Gareus1-0/+9
Conflicts: pugl/pugl_win.cpp
2014-08-27Event-based dispatch.David Robillard1-30/+85
2014-08-27Cairo support on X11.David Robillard1-1/+12
2014-08-27Fix puglInitResizable().David Robillard1-1/+1
2014-07-16Various minor fixes (#953).David Robillard1-1/+1
2014-05-13Fix non-extensible puglInit API.David Robillard1-2/+46
Fix memory leak.
2014-01-27Require PUGL_VERBOSE to be defined for logging.David Robillard1-0/+15
Add X focus grab hack from Robin Gareus.
2014-01-27Strict prototypes.David Robillard1-0/+2
2013-03-18Addition of visible parameter and other minor fixes from FalkTX.David Robillard1-0/+4
2013-02-03Apply portability fixes from Ben Loftis.David Robillard1-6/+14
2012-08-09Fix lax prototypes.David Robillard1-1/+1
2012-05-11Fix memory leaks.David Robillard1-2/+2
2012-05-02Remove GLU dependency.David Robillard1-0/+12
Fix compilation errors on X11. Make default resize function set up a 2D view. Set appropriate reshape callback in pugl_test.
2012-05-01Add AUTHORS and README file.David Robillard1-1/+0
Add doc comments for each file.
2012-04-30Add puglIgnoreKeyRepeat and implement on X11.David Robillard1-0/+7
Add proper command line options for pugl_test.
2012-04-30Implement special keys and keyboard modifiers on X11.David Robillard1-1/+15
2012-04-30PuglWindow => PuglView.David Robillard1-19/+19
2012-04-29Scroll API.David Robillard1-0/+7