Commit Graph

19 Commits (fed80b95375f716536ceaa3c5e8b21c96e150bff)

Author SHA1 Message Date
omar ca63349eb4 Renamed XX-bits -> XX-bit in comments to match what the world appears to be using.
omar 3bbc27ebd9 Fixed more FAQ links. ()
Max Thrun ed79b4d22e Examples/Backends: Metal: Added support for large meshes (64k+ vertices) with 16-bits indices, enable 'ImGuiBackendFlags_HasVtxOffset' config flag in back-end. (, )
omar ae405b83a4 Examples: Added missing per-renderer local changelogs. (, , )
Max Thrun 7c6ba3a1da ImDrawCallback_ResetRenderState: Added Metal.
omar 1f25cdd6b4 Clarified asserts comments + todo entries. ()
omar fc52364652 Tabs to Spaces, comments.
Bruce Mitchener b5d57a6615 Fix typos. ()
omar cc80d8e118 Examples: Metal: Compilation fix.
omar a79785c0b9 ImDrawData: Added FramebufferScale field (currently a copy of the value from io.DisplayFramebufferScale).
This is to allow render functions being written without pulling any data from ImGuiIO, allowing incoming multi-viewport feature to behave on Retina display and with multiple displays. If you are not using a custom binding, please update your render function code ahead of time, and use draw_data->FramebufferScale instead of io.DisplayFramebufferScale. (, )
Examples: Metal, OpenGL2, OpenGL3: Fixed offsetting of clipping rectangle with ImDrawData::DisplayPos != (0,0) when the display frame-buffer scale scale is not (1,1). While this doesn't make a difference when using master branch, this is effectively fixing support for multi-viewport with Mac Retina Displays on those examples. () Also using ImDrawData::FramebufferScale instead of io.DisplayFramebufferScale.
Examples: Clarified the use the ImDrawData::DisplayPos to offset clipping rectangles.
Omar Cornut ef7940699e Examples: Metal: Removed unnecessary loop. Fixed OSX Clang warning in imstb_truetype. (, )
omar 2c38b32db1 Removed trailing spaces (, )
Alzathar 25ac85f15d Examples: Downgrading projects to xcode 9.2 (maybe 8.0) ()
* example_apple_opengl2: The deployment target was set to 10.12 from XCode 9.2.
* imgui_impl_metal: header not found by XCode 9.2.
* example_apple_metal: The deployment target was set to 10.12 from XCode 9.2.
omar 7658035e5a About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose.
omar 1afd29d382 Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo.
omar 421dc19798 Examples: Cast to ImTextureID instead of void* when assigning to TexId. Applied to all examples. ()
omar 89e2ddf07f Examples: Comments + shallow coding convention tweak to be consistent across examples and with imgui_impl_osx
Omar Cornut c3f9220c15 Apple: Fixed example_osx_opengl2, renamed to example_apple_opengl2 + misc comments
Warren Moore d64157e803 Introduced a new Metal renderer implementation and a new example illustrating usage of Metal on macOS and iOS (partially addresses )