ocornut
b476184574
Backends: SDLRenderer3: Amend/finish SDL_Renderer3 patch + add example. ( #6286 )
1 year ago
ocornut
13fbd99491
Backends: SDL3: update to run with SDL3. Examples: Add SDL3+Gl example. Remove some version checks. ( #6146 )
More update upcoming in docking branch.
2 years ago
ocornut
1b27ac982f
Backends+Examples: SDL2: renamed imgui_impl_sdl.cpp/.h to imgui_impl_sdl2.cpp/.h. ( #6146 )
+ CI: Update Windows CI to update SDL 2.26.3 instead of 2.0.10
2 years ago
ocornut
8d3906365d
CI: Fixes for OSX + explicitely request C++11.
3 years ago
ocornut
e3988a84db
Backends: OpenGL3: Embed our own minimal GL loader (amends). ( #4445 )
3 years ago
Rokas Kupstys
459de65477
Backends: OpenGL3: Embed our own minimal GL loader based on gl3w and use it in SDL/GLFW examples. ( #4445 )
Loader repository at https://github.com/dearimgui/gl3w_stripped
Removed support for using custom loaders in examples/opengl3 backend
3 years ago
Nikolai Wuttke
c6c15a44fa
Examples: Add OpenGL ES 2.0 support to modern GL examples. ( #2837 , #3951 )
4 years ago
Rokas Kupstys
3f5bb5939a
Examples: Fix MinGW detection in makefiles. Fix example_null build due to missing IME input libs. ( #2590 )
4 years ago
omar
9c8671e7b0
Tables: Add empty file, skeleton.
4 years ago
ocornut
a7e21fb05f
Moving backends code from examples/ to backends/ (step 3: fixing project files)
4 years ago
Moritz Heinemann
06f7854b16
Backends: OpenGL3: Add glad 2 to OpenGL loaders. ( #3330 )
4 years ago
Rokas Kupstys
dc49b14e29
Misc: Fix examples of using other OpenGL3 bindings in Makefiles.
4 years ago
omar
75bbbda645
Examples: Update comments to get SDL2 package with msys2's pacman ( #3251 )
5 years ago
David Kalnischkies
ac4262ad01
Backends: OpenGL3: Support older 2.x series of glbinding as loader for OpenGL3 ( #3061 )
This removes the unversioned definition IMGUI_IMPL_OPENGL_LOADER_GLBINDING in favor of two versioned ones to choose explicitly.
References: #2870 , 5e2329b98e
5 years ago
Rokas Kupstys
00c515f51a
Add glbinding build sample to Makefiles of GL3 examples. ( #2870 )
5 years ago
omar
7ff13f4ee1
Examples: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking settings
(otherwise if another loader such as Glew is accessible, the opengl3 backend might automatically use it). [#2919 , #2798 ]
5 years ago
NeroBurner
e7e88ed413
Examples: SDL/GLFW + OpenGL3: Fixes for Makefile ( #2774 )
- append CXXFLAGS instead of overwriting them
- add glad.c build rule
5 years ago
omar
42423d5ea4
Examples: Makefile: Tweaks so they are more consistent with each others. Added -g./opt/local includes for MacPorts on Mac OS X. ( #297 )
6 years ago
omar
e312363007
Refactor: Added empty imgui_widgets.cpp + updated project files / makefiles etc. accordingly ( #2036 )
6 years ago
omar
01586d33f3
Refactor: Added empty imgui_widgets.cpp + updated project files / makefiles etc. accordingly ( #2036 )
6 years ago
omar
b127027cbd
Examples: OpenGL: Added support for glew and glad OpenGL loaders out of the box. ( #2001 , #2002 ). Changelog, tweaks, applied changes to SDL+OpenGL3 example.
6 years ago
omar
5a13e4dcde
Examples: Renamed imgui_impl_sdl2.cpp to imgui_impl_sdl.cpp ( #1870 ) + changelog bits
7 years ago
omar
8d58fbb5ed
Examples: Renamed example folders. ( #1870 )
7 years ago
omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
7 years ago
omar
06aa9d8d9a
Examples: Fixed Makefile, batch files.
7 years ago
omar
19b92751b9
Examples: Updated Makefile and batch files to work with new examples. Using lowercase "gl.h" as it seems this is what Linux wants.
7 years ago
omar
b37ef20c5c
Makefile: updated sdl_opengl3_example with all changes from #885 .
7 years ago
omar
91d77be36e
Examples: Makefile leave CXX alone, instead leave commented out options. (nb: codeship doesn't seem have clang++)
7 years ago
Omar Cornut
3cdd2096ec
Examples: Use Clang in old Makefile.
7 years ago
omar
ddff378daf
Examples: Synced Makefile comments. Added build/ folder into git ignore list/
7 years ago
omar
f3cf5e0322
Examples: SDL+GL3: Fixed old comments ( #1229 )
7 years ago
omar
52df0032a5
Travis: Blind fix for SDL+GL3 project on the Travis build setup.
Examples: SDL+GL3: Makefile blind fix for OSX (untested) (#1229 , #1209 )
7 years ago
omar
358e667b7a
Travis: Adding the SDL+GL3 project on the Travis build setup (for both Linux and OSX).
Examples: SDL+GL3: Makefile blind fix for OSX (untested) (#1229 , #1209 )
7 years ago
omar
0fe5728971
Examples: SDL+GL3: Makefile fix for Linux ( #1229 , #1209 )
7 years ago
radius
8b6896faf9
add SDL GL3 makefile
7 years ago
radius
e0aac34672
fix compilation on MINGW
7 years ago
ocornut
1396659b72
Examples: Speculative fix for OSX Makefile to make Travis happy (re #812 )
8 years ago
Felipe Oliveira Carvalho
6e6f04f513
Fix Mac OS X build and remove cruft from Makefile
8 years ago
ocornut
031d4e689d
Examples: OpenGL3: Revert Makefile change for OSX for now ( #812 )
8 years ago
Kun Lin
aa0cb13aa4
Correct name for linking opengl3_example
According to glfw offcial site, linking `libglfw.3.dylib` etc should
use `-lglfw`.
Changed this made the compilation on my Mac successfully.
8 years ago
ocornut
b8f86ec4bd
Examples: OpenGL2/3 Makefile; Added -lGL to Linux build
9 years ago
radius
a465b2b3d8
add msys2/mingw64 target
9 years ago
ocornut
da807e55ea
Examples: Ignore list a little more friendly to Unix systems.
9 years ago
Thomas Pöchtrager
947cf3434f
Added printf attribute to printf like text formatting functions
9 years ago
ocornut
52a74701f5
Updated projects to reference new files ( #219 )
Didn't update iOS example (#247 )
9 years ago
ocornut
06fbeed41a
Examples: Fixed Makefile
10 years ago
ocornut
55edd522c2
Examples: Fixed Makefile
10 years ago
ocornut
3f86554457
Examples: Makefile fixes.
10 years ago
ocornut
4da432bd7b
Examples: Makefile
10 years ago
ocornut
545a57d253
Examples: Refactored opengl_example into a glfw specific file that can be copied and pasted.
Other examples will follow.
10 years ago