aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.c
AgeCommit message (Collapse)AuthorFilesLines
2023-01-11Remove cached frame from viewDavid Robillard1-1/+27
This was just a source of ambiguity and bugs, since it represented different things at different times and could become stale. Redundant data is always trouble, so eliminate it, leaving just two positions/sizes: the defaults (used when the view is not yet realized), and the last configuration.
2023-01-08Prepare OpenGL context flags for OpenGL ES supportDavid Robillard1-4/+6
2023-01-08Add PUGL_SAMPLE_BUFFERS hintDavid Robillard1-0/+1
Towards a more direct and explicit mapping to platform hints, and more consistent behaviour across platforms. OpenGL applications are generally expected to be explicit about hints like this.
2023-01-08Add missing default hintDavid Robillard1-0/+1
2023-01-08Gracefully handle out of range hintsDavid Robillard1-3/+11
2023-01-07Replace map/unmap events with more expressive configure eventsDavid Robillard1-1/+1
2023-01-07Add support for special view types and stylesDavid Robillard1-2/+10
2023-01-07Replace visible flag with a more descriptive view "stage"David Robillard1-1/+1
2023-01-04Add puglUnrealize()David Robillard1-5/+1
2022-06-08Consolidate common deprecated API implementationDavid Robillard1-28/+0
2022-06-08Separate platform.h from internal.hDavid Robillard1-0/+3
This makes the internal header structure match the "kinds" of definition inside Pugl: common implementations of public API, things available internally to platform implementations, and things the platform must define.
2022-06-08Separate private and public function implementationsDavid Robillard1-0/+294