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
Peter Kristensen
5f45047fb6
Update example makefiles to check the new homebrew paths ( #4003 )
Homebrew on Apple Silicon (i.e. Macbook Air/Pro M1) use `/opt/homebrew` instead of /usr/local.
4 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
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
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
Jérémie Dumas
e476b7e727
WIP on configurable OpenGL loader. ( #2001 , #2002 )
6 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
Sam Hocevar
124d8522b1
Do not store compiled objects outside the project tree.
8 years ago
Sam Hocevar
b6f251103b
Define SOURCES instead of OBJS in Makefiles.
OBJS is still deduced from SOURCES, but this change gives better control
over where the object files get actually written.
8 years ago
Sam Hocevar
d4f63c3844
Use make variables $@ and $^ where appropriate.
8 years ago
Sam Hocevar
551932697d
Ensure `make clean` is idempotent.
Prior to this, `make clean` would fail if the project was not already
fully built, and a second invokation would always fail.
8 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
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
ocornut
b911f96a56
Examples: Speculative Makefile fix. I should get a Linux box instead on relying on Jenkins, this is pretty embarrassing.
10 years ago
ocornut
dc7cdb3025
Examples: Fix Makefile
10 years ago
ocornut
5aaf0cd2dc
Examples: Fix OpenGL3 example Makefile
10 years ago
ocornut
3ed38f3313
Replaced dependency on glew (inc. prebuilt one for Windows) by gl3w in source form
Expecting something to break now.
10 years ago
ocornut
987188d437
Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
10 years ago
Olivier Chatry
a8d2bc69ed
added opengl3 sample, mix from @ocornut and @thelinked
10 years ago
Tomoki SHISHIKURA (RTX-M7)
9bb95db68a
opengl_example makefile cross platform supported.
10 years ago
ocornut
f4ee74b312
Renamed Makefile
10 years ago