aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
AgeCommit message (Collapse)AuthorFilesLines
2019-07-21Fix Cairo on MacOSDavid Robillard2-3/+104
2019-07-21Fix initial display on Windows againDavid Robillard1-0/+1
2019-07-21Implement focus on WindowsDavid Robillard1-0/+6
2019-07-21Implement enter and leave notifications on WindowsDavid Robillard1-1/+40
2019-07-21Implement enter and leave notifications on MacOSDavid Robillard1-2/+24
2019-07-21Remove redundant prototypesDavid Robillard1-21/+0
2019-07-21Draw during resizing on MacOSDavid Robillard1-2/+32
Unfortunately drawing still stalls if the user just grabs the resize handle until the first resize event happens, but it seems to be impossible to fix this without using another thread.
2019-07-21Clean up Objective C syntaxDavid Robillard1-7/+7
2019-07-21Draw during resizing on WindowsDavid Robillard1-10/+48
2019-07-21Fix initial window display on WindowsDavid Robillard1-5/+7
2019-07-21Clean up event loop on MacOSDavid Robillard1-20/+14
2019-07-21Fix tracking area implementation on MacOSDavid Robillard1-9/+5
I am not sure why updateTrackingAreas was being spammed before, but that caused the event loop to constantly tick when the mouse was hovered over the window despite nothing else happening. Everything seems to work fine without it, and this seems to match other code, so remove it. Also call super in updateTrackingAreas as suggested by the documentation.
2019-07-21Make time start from approximately zeroDavid Robillard5-13/+18
2019-07-20Remove redisplay flag and use system events insteadDavid Robillard6-23/+9
2019-07-20Use C for Windows implementationDavid Robillard1-51/+61
This avoids C++ binary compatibility and dependency hassles when cross-compiling.
2019-06-30Make translateKey take a PuglEventKeyDavid Robillard1-9/+9
2019-06-30Send a configure event on initial window mappingDavid Robillard1-0/+10
2019-06-30Tidy up whitespaceDavid Robillard5-3/+2
2019-06-30Clean up redundant wrappers around SetWindowLongPtrDavid Robillard1-16/+2
2019-06-30Implement attributes on WindowsDavid Robillard1-46/+190
2019-06-30Clean up window creation on WindowsDavid Robillard1-30/+24
2019-06-29Fix various warningsDavid Robillard2-15/+18
2019-06-29Implement attributes on MacOSDavid Robillard1-7/+18
2019-06-27Enable vsync on WindowsDavid Robillard1-0/+9
2019-06-27Draw while resizing on WindowsDavid Robillard1-0/+2
2019-06-27Add puglGetTime()David Robillard4-0/+42
2019-06-27Fix documentationDavid Robillard1-6/+0
2019-06-27Remove redundant glFlush on WindowsDavid Robillard1-1/+0
2019-06-27Fix some warnings on WindowsDavid Robillard1-5/+5
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