aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal_types.h
AgeCommit message (Collapse)AuthorFilesLines
2019-07-29Reorganize source to separate private implementation detailsDavid Robillard1-106/+0
Taking a page from C++ convention, where "detail" is for things that should not be included in user code.
2019-07-29Completely separate backends from platform implementationDavid Robillard1-1/+0
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-29Expose PuglBackend typeDavid Robillard1-3/+0
2019-07-29Move backend to PuglViewDavid Robillard1-21/+25
2019-07-28Make enterContext take a drawing parameter like leaveContextDavid Robillard1-3/+3
These need to be symmetric because sometimes different things need to happen in either situation when entering the context as well.
2019-07-28Rename getHandle to getContext for consistent terminologyDavid Robillard1-1/+1
2019-07-28Rename PuglDrawContext to PuglBackendDavid Robillard1-2/+2
This name was pretty confusing since there is already the concept of a "context".
2019-07-28Fix unused parameter warnings and prevent rotDavid Robillard1-1/+10
2019-07-25Improve packing of PuglViewImplDavid Robillard1-16/+13
2019-07-21Make time start from approximately zeroDavid Robillard1-0/+1
2019-07-20Remove redisplay flag and use system events insteadDavid Robillard1-1/+0
2019-06-27Fix double-bufferingDavid Robillard1-1/+1
2019-02-17Add configuration APIDavid Robillard1-12/+27
2019-02-16Clean up includesDavid Robillard1-3/+3
2019-02-16Factor out drawing context from platform window implementationDavid Robillard1-0/+26
2019-02-15Separate internal types from functionsDavid Robillard1-0/+59