| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'spritebatch' of https://github.com/nyalloc/sokol into ↵nyalloc-spritebatch | Andre Weissflog | 2021-07-29 | 1 | -1/+2 |
| |\ | | | | | | | nyalloc-spritebatch | ||||
| | * | Release pipeline pool on shutdown | Stuart Adams | 2021-07-28 | 1 | -1/+2 |
| | | | |||||
| * | | Merge branch 'spritebatch' of https://github.com/nyalloc/sokol into ↵ | Andre Weissflog | 2021-07-28 | 1 | -114/+1156 |
| |\| | | | | | | | nyalloc-spritebatch | ||||
| | * | Added shaders for different platforms + misc fixes | Stuart Adams | 2021-07-27 | 1 | -114/+1156 |
| | | | |||||
| * | | Merge branch 'spritebatch' of https://github.com/nyalloc/sokol into ↵ | Andre Weissflog | 2021-07-26 | 2 | -0/+1264 |
| |\| | | | | | | | nyalloc-spritebatch | ||||
| | * | sbatch_pipeline API | Stuart Adams | 2021-07-25 | 1 | -42/+171 |
| | | | | | | | the sbatch_pipeline helps users make a pipeline object that is correct and usable for the sbatch rendering API. | ||||
| | * | Take sprite color as an optional pointer to const | Stuart Adams | 2021-07-24 | 1 | -21/+19 |
| | | | | | | | Unfrotunately sokol's 0 initialise to default idiom does not play nicely with color data, as 0'd out sg_color would ideally be set to a sensible default, white. However, 0'd out sg_color is also a valid color, transparent, which can result in undesirable effects if you are lerping color to transparent. | ||||
| | * | Update sokol_spritebatch.h | Stuart Adams | 2021-07-23 | 1 | -545/+829 |
| | | | | | | | Reworked the API to use contexts. Removed internal sorting of sprites (for now, at least). Adjusted naming. Introduced push_sprite_rect which lets you create a sprite to be rendered at a specific destination rectangle. | ||||
| | * | sokol_spritebatch.h | Stuart | 2021-06-30 | 2 | -0/+853 |
| | | | | | | | | | | | | | An XNA-style spritebatch library on top of sokol_gfx. Relies on premultiplied alpha for blending. Takes care of orthographic projection internally. Sorts the sprites that have been submitted to ensure the fewest draw calls are made. | ||||
| * | | Merge branch 'leecannon-patch-1' | Andre Weissflog | 2021-07-21 | 1 | -1/+3 |
| |\ \ | |||||
| | * | | Update gen_zig to support 0.8.0 and master | Lee Cannon | 2021-07-20 | 1 | -1/+3 |
| |/ / | | | | | These changes are required for zig master and are also valid for the latest stable version 0.8.0 | ||||
| * | | sokol_app.h: fix size-changed check in _sapp_win32_update_dimensions() | Andre Weissflog | 2021-07-17 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | The size-changed check was misfiring each frame when the window was minimized and the client rectangle is size 0x0, which caused a redundant reallocation of the DXGI render targets. Thanks to @nyalloc for discovering the issue. | ||||
| * | | Merge pull request #537 from geekynils/sokol-fetch_docs_fix | Andre Weissflog | 2021-07-16 | 1 | -2/+8 |
| |\ \ | | | | | | | sokol_fetch docs fix | ||||
| | * | | sokol_fetch docs fix | Nils Bruenggel | 2021-07-15 | 1 | -2/+8 |
| |/ / | | | | | | | The TL;DR instructions should also mention that you need to call sfetch_dowork(). | ||||
| * / | fix the changelog entry from the future | Andre Weissflog | 2021-07-07 | 1 | -1/+1 |
| |/ | |||||
| * | sokol_gfx.h d3d11: remove no longer required zero-array items from backend state | Andre Weissflog | 2021-06-24 | 1 | -8/+0 |
| | | |||||
| * | sokol_gfx.h d3d11: use ID3D11DeviceContext::ClearState() to clear device state | Andre Weissflog | 2021-06-22 | 1 | -15/+9 |
| | | |||||
| * | mention sokol_gl.h in changelog | Andre Weissflog | 2021-06-21 | 2 | -1/+6 |
| | | |||||
| * | Merge pull request #533 from nyalloc/patch-2 | Andre Weissflog | 2021-06-21 | 1 | -0/+1 |
| |\ | | | | | Updated README.md to add link to sokol_color.h | ||||
| | * | Updated README.md to add link to sokol_color.h | Stuart Adams | 2021-06-21 | 1 | -0/+1 |
| |/ | |||||
| * | sg_color utilities (#527) | Stuart Adams | 2021-06-21 | 2 | -0/+1648 |
| | | |||||
| * | sokol_app.h x11: fix UB in _sapp_x11_set_icon | Andre Weissflog | 2021-06-07 | 1 | -4/+4 |
| | | |||||
| * | d3d11 backends: remove dxguid dependency | Andre Weissflog | 2021-06-06 | 2 | -5/+5 |
| | | |||||
| * | bindgen/README: add a note about clang and python3, fixes #253 | Andre Weissflog | 2021-05-26 | 1 | -0/+14 |
| | | |||||
| * | sokol_app.h win32: always link with gdi32, not just in the GL backend | Andre Weissflog | 2021-05-26 | 1 | -3/+1 |
| | | |||||
| * | sokol_gfx_imgui.h: add missing ETC2 pixel format names | Andre Weissflog | 2021-05-11 | 1 | -0/+3 |
| | | |||||
| * | sokol_gfx win32: add GL_MAX_VERTEX_UNIFORM_VECTORS to GL loader | Andre Weissflog | 2021-05-11 | 1 | -0/+1 |
| | | |||||
| * | sokol_gfx.h: add a gl_max_vertex_uniform_vectors item to sg_limits | Andre Weissflog | 2021-05-11 | 2 | -1/+6 |
| | | |||||
| * | sokol_gfx.h gl: expand _sg_gl_uniform_t.count from uint8_t to uint16_t, ↵ | Andre Weissflog | 2021-05-11 | 1 | -2/+2 |
| | | | | | fixes #522 | ||||
| * | Merge pull request #521 from nyalloc/patch-1 | Andre Weissflog | 2021-05-11 | 1 | -1/+1 |
| |\ | | | | | Typo fix in sokol_fontstash.h documentation | ||||
| | * | Typo fix in sokol_fontstash.h documentation | Stuart Adams | 2021-05-11 | 1 | -1/+1 |
| |/ | | | `sg_v2f_t2f_c1i` -> `sgl_v2f_t2f_c1i` | ||||
| * | sokol_app.h fix: fullscreen function had SOKOL_APP_API_DECL attributes | Andre Weissflog | 2021-04-28 | 1 | -2/+2 |
| | | |||||
| * | sokol_app.h macos: wrap the view's draw method in an autoreleasepool, as ↵ | Andre Weissflog | 2021-04-23 | 1 | -2/+6 |
| | | | | | recommended by the Metal docs | ||||
| * | Merge branch 'stevinz-stevinz-menu-activate' | Andre Weissflog | 2021-04-21 | 1 | -2/+2 |
| |\ | |||||
| | * | MacOS main menu bar activation fix. | Stephens Nunnally | 2021-04-20 | 1 | -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. | ||||
| * | Merge pull request #513 from code-disaster/minor-qol-changes | Andre Weissflog | 2021-04-19 | 2 | -0/+12 |
| |\ | | | | | Minor QoL changes | ||||
| | * | sokol_time.h: add 100 Hz to common refresh rates | Daniel Ludwig | 2021-04-17 | 1 | -0/+1 |
| | | | |||||
| | * | sokol_app.h: add function to query IDXGISwapChain object | Daniel Ludwig | 2021-04-17 | 1 | -0/+11 |
| |/ | |||||
| * | sokol_gfx.h Metal: handle currentDrawable == nil (fixes #504) | Andre Weissflog | 2021-04-14 | 1 | -5/+8 |
| | | | | | | | | | | - presentDrawable is skipped if the drawable_cb returns nil - moved the completion handler block up into the first begin-pass of a frame, this should make a difference, but it's similar now to the Xcode Metal example project. - tested by returning nil from sapp_metal_get_renderpass_descriptor() and/or sapp_metal_get_drawable() | ||||
| * | sokol_app.h x11: make modifier behaviour in key/button down/up events ↵ | Andre Weissflog | 2021-04-13 | 1 | -10/+40 |
| | | | | | consistent with other platforms | ||||
| * | mention mouse button modifiers in changelog and readme | Andre Weissflog | 2021-04-12 | 2 | -1/+9 |
| | | |||||
| * | sokol_app.h: add mouse button modifiers (#511) | Andre Weissflog | 2021-04-12 | 1 | -80/+126 |
| | | |||||
| * | sokol_app.h: fix a misplaced comment | Andre Weissflog | 2021-04-11 | 1 | -2/+2 |
| | | |||||
| * | update sokol_app.h feature matrix and CHANGELOG | Andre Weissflog | 2021-04-10 | 2 | -1/+9 |
| | | |||||
| * | sokol_app.h: macOS icon support (dock icon), and bugfix in icon image ↵ | Andre Weissflog | 2021-04-10 | 1 | -3/+41 |
| | | | | | candidate selection | ||||
| * | update README and CHANGELOG (window icon support) | Andre Weissflog | 2021-04-09 | 2 | -1/+6 |
| | | |||||
| * | sokol_app.h: replace _sapp_fail() with SOKOL_LOG in _sapp_image_validate() | Andre Weissflog | 2021-04-09 | 1 | -1/+1 |
| | | |||||
| * | Window icon support for sokol_app.h (#509) | Andre Weissflog | 2021-04-09 | 2 | -55/+624 |
| | | |||||
| * | Merge pull request #510 from garettbass/garett/update-sokol-nim | Andre Weissflog | 2021-04-09 | 1 | -8/+5 |
| |\ | | | | | Update sokol-nim and minor changes to gen_nim.py | ||||
| | * | a few minor updates: | Garett Bass | 2021-04-08 | 1 | -8/+5 |
| |/ | | | | | | * regenerated from sokol/master * src/ext renamed to src/nim * `Num` enum constants discarded | ||||