9 Commits
Author SHA1 Message Date
moonpower e7ca13b714 Fix SDL surface backend texture refresh 2026-04-02 14:03:42 +02:00
moonpower 5ae4be2b5f Refactor SDL surface backend for improved quad rendering and performance
- Introduced a new structure ImGui_ImplSDLSurface3_Quad to represent quads.
- Added functions to detect quads and check for constant colors and linear UVs.
- Enhanced rendering functions to utilize quad detection for faster rendering paths.
- Updated the rendering logic in ImGui_ImplSDLSurface3_RenderDrawData to leverage the new quad rendering capabilities.
- Optimized Makefiles and build scripts to include optimization flags for better performance.
2026-03-13 14:19:04 +01:00
moonpower 2f2b8a1226 Add SDL3 surface backend for ImGui example
- Created imgui_impl_sdlsurface3.h and corresponding implementation file.
- Added Makefile for building the SDL3 surface example on Linux and macOS.
- Included README.md with build instructions for Windows, Linux, and macOS.
- Added build script for Windows (build_win32.bat) and Visual Studio project files.
- Implemented main application logic in main.cpp to demonstrate ImGui with SDL3 and surface rendering.
2026-03-13 13:23:18 +01:00
moonpower a941c96d1f Backends: Replace std::clamp with ImClamp to satisfy C++11 2025-12-26 03:37:07 +01:00
moonpower 189330241b Backends: Remove redundant BackendFlags setting in SDL_Surface initialization 2025-12-26 02:51:18 +01:00
moonpower b3c5626b1f Backends: Initialize and shutdown renderer backend for SDL_Surface 2025-12-26 02:48:40 +01:00
moonpower eeb20d048b Backends: Improve pixel blending and surface format conversion in SDL_Surface 2025-12-25 00:25:31 +03:00
moonpower b3008c0543 Backends: Enhance pixel manipulation functions for SDL_Surface 2025-12-25 00:03:50 +03:00
moonpower f2703c1015 Backends: Start adding sdl2 surface 2025-12-24 23:17:37 +03:00