aboutsummaryrefslogtreecommitdiff
path: root/sokol_gfx.h
Commit message (Collapse)AuthorAgeFilesLines
* sokol_gfx.h gl: fix unused variable errorAndre Weissflog2023-06-191-0/+1
|
* sokol_gfx.h gles3: fix framebuffer invalidation bug after msaa resolve ↵Andre Weissflog2023-06-191-4/+10
| | | | (fixes #841)
* sokol_gfx.h: fix doc typoAndre Weissflog2023-05-201-1/+1
|
* sokol_gfx.h: tweak documentationAndre Weissflog2023-05-191-3/+3
|
* Merge pull request #834 from floooh/sgfx-pass-overhaulAndre Weissflog2023-05-191-801/+1119
|\ | | | | Separate load/store actions for render passes.
| * sokol_gfx.h: add a 'RENDER PASSES' doc section, and update related commend ↵Andre Weissflog2023-05-181-31/+240
| | | | | | | | headers
| * sokol_gfx.h: sg_make_pass validation fixesAndre Weissflog2023-05-161-19/+22
| |
| * sokol_gfx.h: rename sg_image_desc.render_attachment back to .render_targetAndre Weissflog2023-05-151-25/+25
| |
| * sokol_gfx.h: fix validation message for VALIDATE_BUFFERDESC_SIZEAndre Weissflog2023-05-151-1/+1
| |
| * sokol_gfx.h: fix dummy backend, fix release mode unused warningsAndre Weissflog2023-05-151-16/+30
| |
| * sokol_gfx.h metal: fix depth/stencil pass bindingsAndre Weissflog2023-05-141-1/+21
| |
| * sokol_gfx.h d3d11: fix msaa resolveAndre Weissflog2023-05-141-42/+43
| |
| * sokol_gfx.h d3d11: more render pass overhaul wipAndre Weissflog2023-05-141-5/+18
| |
| * sokol_gfx.h d3d11: render pass overhaul wipAndre Weissflog2023-05-141-43/+63
| |
| * sokol_gfx.h d3d11: image/pass overhaul wipAndre Weissflog2023-05-111-293/+247
| |
| * sokol_gfx.h gl: fix gl backend for new load/store render pass handlingAndre Weissflog2023-05-081-118/+125
| |
| * sokol_gfx.h: call begin-pass tracehooks with default-resolved pass actionsAndre Weissflog2023-05-081-2/+2
| |
| * sokol_gfx.h metal: fix MSAA offscreen renderingAndre Weissflog2023-05-081-13/+44
| |
| * sokol_gfx.h add validation error for binding msaa textureAndre Weissflog2023-05-081-19/+18
| |
| * sokol_gfx.h metal: render pass load/store wipAndre Weissflog2023-05-081-200/+203
| |
| * sokol_gfx.h metal: load/store action fixesAndre Weissflog2023-05-081-57/+81
| |
| * sokol_gfx.h: load+store actions, sg_pass_desc.resolve_attachments, ↵Andre Weissflog2023-05-081-59/+79
| | | | | | | | sg_image_desc.render_target => render_attachment
* | sokol_gfx.h gl: add a log error when glGetUniformLocation fails for a ↵Andre Weissflog2023-05-101-0/+3
|/ | | | texture, fixes #828
* Remove GLES2/WebGL1 support. (#821)Andre Weissflog2023-04-301-1008/+484
| | | | | | | | | | | | | notable changes: - depth/stencil images are now regular gl textures - SG_PIXELFORMAT_DEPTH now resolves to GL_DEPTH_COMPONENT32F - sg_gl_context_desc and sg_desc.gl removed - in sg_begin_pass() only use glClearBuffer functions - in sg_end_pass() MSAA resolve now does glInvalidateFramebuffer() on the MSAA buffer - sg_features: instancing, multiple_render_targets, msaa_render_targets, imagetype_3d, imagetype_array removed - sapp_desc.gl_force_gles2 removed - sapp_gles2() function removed - any GLES3-to-GLES2 fallbacks removed
* sokol_gfx.h metal: store content of offscreen depth/stencil surface.Andre Weissflog2023-04-031-0/+2
| | | | | | | | | Excplicitly sets MTLStoreActionStore on offscreen depth/stencil surfaces, not great from perspective point of view, but addresses https://github.com/floooh/sokol/pull/815. Also see https://github.com/floooh/sokol/issues/816 for a proper cleanup proposal.
* fix some typosDirk Stolle2023-04-021-6/+6
|
* fix warning C4113: 'PFN_glTexParameterfv' differs in parameter lists from ↵Tom Hulton-Harrop2023-03-121-1/+1
| | | | 'PFNGLTEXPARAMETERFVPROC'
* sokol_gfx.h: doc tweaksAndre Weissflog2023-02-201-26/+26
|
* sokol_gfx.h: implement sg_query_pass_desc()Andre Weissflog2023-02-191-0/+18
|
* sokol_gfx.h d3d11: fix buildAndre Weissflog2023-02-191-3/+3
|
* sokol_gfx.h: implement sg_query_pipeline_desc()Andre Weissflog2023-02-191-29/+60
|
* sokol_gfx.h: implement sg_query_shader_desc()Andre Weissflog2023-02-191-6/+37
|
* sokol_gfx.h: implement sg_query_image_desc()Andre Weissflog2023-02-191-0/+32
|
* sokol_gfx.h: implement sg_query_buffer_desc()Andre Weissflog2023-02-191-15/+44
|
* sokol_gfx.h: expose GL specific GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS in sg_limitsAndre Weissflog2023-02-151-4/+4
|
* sokol_gfx.h: change _SG_GL_IMAGE_CACHE_SIZE from enum to define, improve ↵Andre Weissflog2023-02-151-6/+4
| | | | some bounds check asserts
* Merge branch 'gl_texture_cache_fix' of https://github.com/allcreater/sokol ↵Andre Weissflog2023-02-151-6/+10
|\ | | | | | | into allcreater-gl_texture_cache_fix
| * _sg_gl_state_cache_t.textures array extended to support ↵Anton Semenov2023-02-101-6/+10
| | | | | | | | SG_MAX_SHADERSTAGE_IMAGES both on vertex and fragment shader
* | sokol_gfx.h: tweak log message formatting, improve validation layer outputAndre Weissflog2023-02-091-2/+4
| |
* | sokol_gfx.h: tweak figlet font for minimap readabilityAndre Weissflog2023-02-091-96/+80
| |
* | sokol_gfx.h d3d11: fix compile errorAndre Weissflog2023-02-061-1/+1
| |
* | sokol_gfx.h: fix unreachable code error in msvcAndre Weissflog2023-02-061-1/+2
| |
* | sokol_gfx.h: reroute validation layer messages as regular logging errorsAndre Weissflog2023-02-061-445/+269
| |
* | sokol_gfx.h: more new-style logging (all but validation)Andre Weissflog2023-02-051-97/+128
| |
* | sokol_gfx.h: new-style logging wip (gl and d3d11 backendsAndre Weissflog2023-02-041-68/+150
| |
* | sokol_gfx.h: logging documentation and figlet comment headersAndre Weissflog2023-02-041-141/+275
|/
* sokol_gfx.h gl windows: add GL_FRAMEBUFFER_SRGB define to GL loaderAndre Weissflog2023-01-261-0/+1
|
* sokol_gfx.h gl: disable SRGB for default framebuffer, enable for offscreen ↵Andre Weissflog2023-01-261-3/+17
| | | | | | | | render targets ...this is a temporary workaround to make SRGB offscreen rendering consistent between GL and D3D11/Metal. Needs a proper fix in the swapchain setup (basically: adding proper SRGB support to sokol_app.h)
* sokol_gfx.h: formattingAndre Weissflog2023-01-251-3/+3
|
* Merge branch 'pixelformat_srgba8_nowgpu' of ↵Andre Weissflog2023-01-251-0/+11
|\ | | | | | | https://github.com/allcreater/sokol into allcreater-pixelformat_srgba8_nowgpu