aboutsummaryrefslogtreecommitdiff
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Release pipeline pool on shutdownStuart Adams2021-07-281-1/+2
|
* Added shaders for different platforms + misc fixesStuart Adams2021-07-271-114/+1156
|
* sbatch_pipeline APIStuart Adams2021-07-251-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 constStuart Adams2021-07-241-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.hStuart Adams2021-07-231-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.hStuart2021-06-301-0/+852
| | | | | | 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.
* sg_color utilities (#527)Stuart Adams2021-06-212-0/+1648
|
* sokol_gfx_imgui.h: add missing ETC2 pixel format namesAndre Weissflog2021-05-111-0/+3
|
* sokol_gfx.h: add a gl_max_vertex_uniform_vectors item to sg_limitsAndre Weissflog2021-05-111-0/+1
|
* Typo fix in sokol_fontstash.h documentationStuart Adams2021-05-111-1/+1
| | | `sg_v2f_t2f_c1i` -> `sgl_v2f_t2f_c1i`
* Window icon support for sokol_app.h (#509)Andre Weissflog2021-04-091-0/+1
|
* sokol_nuklear.h, sokol_imgui.h: cleanup no-sokol-app vs dummy-backend confusionAndre Weissflog2021-04-062-12/+16
|
* sokol_nuklear.h: fix an unused warning with SOKOL_NUKLEAR_NO_SOKOL_APPAndre Weissflog2021-04-061-1/+1
|
* fix compilation with dummy backend in various util headersAndre Weissflog2021-04-063-6/+6
|
* sokol_imgui.h: fix compile if built with SOKOL_DUMMY_BACKENDDaniel Ludwig2021-04-061-2/+2
|
* sokol_shape.h: fix some doc typosAndre Weissflog2021-02-191-3/+3
|
* sokol_imgui.h: fix MSVC warnings and do some code cleanupAndre Weissflog2021-02-141-9/+7
|
* sokol_imgui.h: rewrite rendering code to only do one buffer update per frame ↵Andre Weissflog2021-02-141-34/+88
| | | | (fixes #399)
* sokol_nuklear.h: coding styleAndre Weissflog2021-02-131-4/+4
|
* sokol_nuklear.h: use C99 designated init for sg_shader_desc initAndre Weissflog2021-02-131-56/+70
|
* sokol_nuklear.h: fix a clang analyzer warning (non-critical)Andre Weissflog2021-02-131-1/+2
|
* sokol_nuklear.h: add a note about the implementation not supporting to be ↵Andre Weissflog2021-02-131-0/+4
| | | | compiled in C++
* sokol_nuklear.h: oops, don't memleak on vertex/index-buffer-overflowAndre Weissflog2021-02-131-35/+34
|
* sokol_nuklear.h: add an overflow check for vertex- and index-bufferAndre Weissflog2021-02-131-3/+21
|
* fix gcc warningsAndre Weissflog2021-02-121-1/+1
|
* sokol_nuklear.h: fix D3D11 shader init and MSVC warningsAndre Weissflog2021-02-121-25/+21
|
* sokol_nuklear.h fixesAndre Weissflog2021-02-121-8/+5
|
* sokol_nuklear.h: update for sokol-gfx API changes, fix sign-conversion warningsAndre Weissflog2021-02-111-29/+30
|
* Merge branch 'sokol_nuklear' of https://github.com/wmerrifield/sokol into ↵Andre Weissflog2021-02-111-0/+2136
|\ | | | | | | wmerrifield-sokol_nuklear
| * sokol_nuklear.h: initial commitWarren Merrifield2021-02-011-0/+2136
| |
* | suppress some VS2015 warningsAndre Weissflog2021-02-101-0/+1
| |
* | Language-binding-friendly API changes. (#458)Andre Weissflog2021-02-107-307/+366
|/ | | See: https://floooh.github.io/2021/02/07/sokol-api-overhaul.html
* bindgen preparations (#443)Andre Weissflog2020-12-201-2/+2
| | | | | | | * sokol_gfx.h: get rid of unions and expressions in enums * sokol_app.h: sapp_run() returns void, remove expressions from enums * sokol_gfx.h d3d11: union removal fixes
* sokol_gfx_imgui.h: add the new uninit/dealloc functions (untested)Andre Weissflog2020-12-021-0/+295
|
* move SOKOL_IMPL vs SOKOL_xxx_IMPL outside the include guardAndre Weissflog2020-11-287-21/+21
|
* make SOKOL_IMPL vs SOKOL_xxx_IMPL consistent across all headers (both are ↵Andre Weissflog2020-11-287-26/+43
| | | | supported)
* document SOKOL_API_DECL (these macros are still valid)Andre Weissflog2020-11-287-4/+11
|
* Merge branch 'distinct_export_macros' of https://github.com/iboB/sokol into ↵Andre Weissflog2020-11-287-208/+236
|\ | | | | | | iboB-distinct_export_macros
| * Auto-generated distinct macros per lib. Resolves #428Borislav Stanimirov2020-11-197-208/+236
| |
* | sokol_gfx_imgui.h: ImGui 1.79 API fix (SliderFloat)Andre Weissflog2020-11-221-3/+3
|/
* update main readme, and remove redundant util/README.mdAndre Weissflog2020-11-171-19/+0
|
* New header: sokol_shape.h (#427)Andre Weissflog2020-11-171-0/+1406
|
* sokol_imgui.h: fix a bug in vertex offset dirty check (fixes #418)Andre Weissflog2020-11-021-2/+2
|
* sokol_imgui.h: add some docs notes about simgui_desc.ini_filenameAndre Weissflog2020-09-281-4/+10
|
* merge latest changes from masterAndre Weissflog2020-09-171-1/+1
|\
| * fixing sdtx_putrrbxnk2020-09-121-1/+1
| |
* | sokol_memtrack.h: pointer casts when compiled as C++Andre Weissflog2020-09-081-2/+2
|/
* sokol_fontstash.h: silence a false positive clang analyzer warningAndre Weissflog2020-08-251-1/+13
|
* sokol_gfx_imgui.h: fix an (uncritical) clang analyzer warningAndre Weissflog2020-08-251-66/+125
|
* fixes for cimgui 1.77Andre Weissflog2020-06-301-17/+17
|