aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-03-05 18:29:28 +0100
committerAndre Weissflog <floooh@gmail.com>2019-03-05 18:29:28 +0100
commit01c2bf9446b77e6b2c260ba1e8f907b05b0e0e15 (patch)
treef419bd1123777daaeb64ad371e36682f328e405d /README.md
parent04bbb7ac588db2a65064575dbedca9042d2c039e (diff)
add some sokol_gfx.h updates I forgot to README
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index e97b1624..081e3c96 100644
--- a/README.md
+++ b/README.md
@@ -409,10 +409,17 @@ Mainly some "missing features" for desktop apps:
- **05-Mar-2019**: sokol_gfx.h now has a 'trace hook' API, and I have started
implementing optional debug-inspection-UI headers on top of Dear ImGui:
- - sokol_gfx.h has a new function sg_install_trace_hook(), this allows
+ - sokol_gfx.h has a new function *sg_install_trace_hooks()_, this allows
you to install a callback function for each public sokol_gfx.h function
(and a couple or error callbacks). For more details, search for "TRACE HOOKS"
in sokol_gfx.h
+ - when creating sokol_gfx.h resources, you can now set a 'debug label'
+ in the desc structure, this is ignored by sokol_gfx.h itself, but is
+ useful for debuggers or profilers hooking in via the new trace hooks
+ - likewise, two new functions *sg_push_debug_group()* and *sg_pop_debug_group()*
+ can be used to group related drawing functions under a name, this
+ is also ignored by sokol_gfx.h itself and only useful when hooking
+ into the API calls
- I have started a new 'subproject' in the 'imgui' directory, this will
contain a slowly growing set of optional debug-inspection-UI headers
which allow to peek under the hood of the Sokol headers. The UIs are