aboutsummaryrefslogtreecommitdiff
path: root/sokol_app.h
Commit message (Collapse)AuthorAgeFilesLines
* sokol_app.h macos: fix inverted y mouse pos computationsapp-multiwindowAndre Weissflog2021-06-031-1/+2
|
* sokol_app.h metal: fix MTKView internal texture resizeAndre Weissflog2021-06-031-19/+18
|
* sokol_app.h GL: fix initial wrongly reported framebuffer size for non-Retina ↵Andre Weissflog2021-06-031-81/+72
| | | | case
* sokol_app.h: intermediate code cleanupAndre Weissflog2021-06-011-14/+17
|
* sokol_app.h macos gl: fix NSOpenGLContext memory leakAndre Weissflog2021-05-311-5/+4
|
* sokol_app.h macos gl: make multiwindow basically work (minus a memory leak)Andre Weissflog2021-05-301-8/+19
|
* sokol_app.h macos gl: more multiwindow wipAndre Weissflog2021-05-291-15/+46
|
* sokol_app.h macos gl: multiwindow wipAndre Weissflog2021-05-291-29/+28
|
* sokol_app.h macos: applicationShouldHandleReopenAndre Weissflog2021-05-271-0/+12
| | | | | | This application delegate method is called when the dock icon is clicked and will unminimize the main window in case multiple windows are open.
* sokol_app.h macos: add remaining multi-window functionsAndre Weissflog2021-05-271-55/+183
|
* sokol_app.h: show/hide window wipAndre Weissflog2021-05-251-3/+58
|
* sokol_app.h: no_decoration flag and sapp_window_slow_index() functionAndre Weissflog2021-05-241-5/+20
|
* sokol_app.h macos: set/get window pos and sizeAndre Weissflog2021-05-231-19/+47
|
* sokol_app.h: start with window pos/size APIAndre Weissflog2021-05-171-33/+335
|
* more multiwindow wipAndre Weissflog2021-05-161-4/+70
|
* sokol_app.h: programmatic window closeAndre Weissflog2021-05-131-5/+36
|
* sokol_app.h: per-window user dataAndre Weissflog2021-05-131-15/+29
|
* add a temp fixme commentAndre Weissflog2021-05-111-1/+2
|
* sokol_app.h: window closed eventAndre Weissflog2021-05-051-20/+27
|
* sokol_app.h metal: fix window/framebuffer resizingAndre Weissflog2021-05-051-23/+28
|
* sokol_app.h metal: start to fix window close and shutdown behaviourAndre Weissflog2021-05-041-24/+43
|
* multiwindow intermediate code cleanupAndre Weissflog2021-05-041-104/+114
|
* more multiwindow wipAndre Weissflog2021-05-031-82/+110
|
* Revert "sokol_app.h: start ditching MTKView, use CAMetalLayer directly"Andre Weissflog2021-05-031-89/+21
| | | | This reverts commit 16cf91a1e4ecadf524341f157a30060a8bd95231.
* sokol_app.h: start ditching MTKView, use CAMetalLayer directlyAndre Weissflog2021-05-021-21/+89
|
* sokol_app.h: single-window vs multi-window APIsAndre Weissflog2021-04-281-189/+342
|
* sokol_app.h metal: add window rps and drawable callbacksAndre Weissflog2021-04-271-23/+49
|
* sokol_app.h: trigger rendering with CVDisplayLinkAndre Weissflog2021-04-261-5/+67
|
* sokol_app.h: go back to application callbacks instead of window callbacksAndre Weissflog2021-04-251-339/+354
|
* sokol_app.h: experiement with GLFW-style render loopAndre Weissflog2021-04-241-1/+44
|
* sokol_app.h metal: autoreleasepool in view's drawRect methodAndre Weissflog2021-04-231-5/+9
|
* destroy main window lastAndre Weissflog2021-04-211-1/+3
|
* merge latest changes from masterAndre Weissflog2021-04-211-0/+18
|\
| * MacOS main menu bar activation fix.Stephens Nunnally2021-04-201-2/+2
| | | | | | | | | | On MacOS 10.14.6, after implementing a quit menu item (seen in pull request #362, https://github.com/floooh/sokol/pull/362) and subsequently additional menu items, I found that upon initial App launch the Apple menu and the App's menus in the main menu bar do not respond to mouse clicks. Switching away from the App and then back again resolves the issue. I found others having the same issue (with Swift, not Sokol App) on stack overflow along with a fix: (https://stackoverflow.com/questions/62739862/why-doesnt-activateignoringotherapps-enable-the-menu-bar). Moving the App activation to applicationDidFinishLaunching() seems to work great, after this change, the menus are clickable from first launch.
| * sokol_app.h: add function to query IDXGISwapChain objectDaniel Ludwig2021-04-171-0/+11
| |
* | sokol_app.h macOS: more multiwindow wipAndre Weissflog2021-04-201-15/+20
| |
* | sokol_app.h macOS: multiwindow wipAndre Weissflog2021-04-201-183/+209
| |
* | continue with macOS window codeAndre Weissflog2021-04-191-127/+175
| |
* | continue with macOS window codeAndre Weissflog2021-04-181-240/+334
| |
* | some intermediate code cleanupAndre Weissflog2021-04-181-43/+61
| |
* | sokol_app.h: window pool code, and some better platform-specific code structureAndre Weissflog2021-04-171-18/+298
| |
* | sokol_app.h: start with multiwindowAndre Weissflog2021-04-161-278/+344
|/
* sokol_app.h x11: make modifier behaviour in key/button down/up events ↵Andre Weissflog2021-04-131-10/+40
| | | | consistent with other platforms
* sokol_app.h: add mouse button modifiers (#511)Andre Weissflog2021-04-121-80/+126
|
* sokol_app.h: fix a misplaced commentAndre Weissflog2021-04-111-2/+2
|
* update sokol_app.h feature matrix and CHANGELOGAndre Weissflog2021-04-101-1/+3
|
* sokol_app.h: macOS icon support (dock icon), and bugfix in icon image ↵Andre Weissflog2021-04-101-3/+41
| | | | candidate selection
* sokol_app.h: replace _sapp_fail() with SOKOL_LOG in _sapp_image_validate()Andre Weissflog2021-04-091-1/+1
|
* Window icon support for sokol_app.h (#509)Andre Weissflog2021-04-091-55/+623
|
* sokol_app.h iOS: low- vs high-dpi fixes for Metal and GL.Andre Weissflog2021-04-011-24/+37
| | | | | | | | | | | | MTKView.contentScaleFactor seems to be ignored now, which means that rendering on iOS was always in HighDPI. Instead of relying on MTKView contentScaleFactor, the drawableSize is now set explicitly. When high_dpi is enabled, the dpi_scale factor is now queried from iOS (via UIScreen.mainScreen.nativeScale). MSAA is now supported for the iOS GL backend.