Results 126 issues of Andre Weissflog

- bindgen now `zig fmt` compatible - fixes for new type cast builtins

The texture handles in Dear ImGui and Nuklear might be only 32-bits wide (Dear ImGui allows to define this via imconfig.h, but that's a bit awkward to offload this task...

sokol-imgui
sokol-nuklear

- D3D11 doesn't allow D3D11_BIND_SHADER_RESOURCE for depth-stencil pixel formats (need to use TYPELESS pixel formats) - D3D11 needs a different pixel format in the shader resource view than the texture...

enhancement
sokol-gfx

...this is causing all sorts of problems when there are other page elements outside the wasm app which need to receive keyboard input. Instead offload the responsibility to the application...

sokol-app

The way sokol_app.h currently aquires character input (via keyboard events) doesn't work on all mobile browsers (most importantly: in Android Chrome). Instead an input event handler needs to be attached...

sokol-app
html5

Android/iOS differences: - imgui-sapp on Android works completely as expected when tapping the multi-line text input field - imgui-sapp on iOS requires a double click to show and hide the...

E.g. the maximum data size that can be updated with an sg_apply_uniforms() call - this can be down to 16 KByte on mobile GPUs (or even less on very old...

enhancement
sokol-gfx

...when pressing 'm', no mouse movement is reported. In other code, the mouse lock feature works as expected though (e.g. cgltf-sapp.c and doom-sokol). (to reproduce in the updated events-sapp: toggle...

sokol-app
linux

From @hb3p8 via Twitter: We have noticed a while back that colors on screen (on macos using sokol_app) are different from the colors from the same framebuffer saved to file...

sokol-app
macos

Resizing with MTKView results in a 'wobbly' window content because the backing store doesn't exactly the current window size, and MTKView scaling the content. See: https://thume.ca/2019/06/19/glitchless-metal-window-resizing/ What appears to work...

enhancement
sokol-app