ocornut
|
713e034d95
|
Backends: OpenGL3: Fix for zealous warning. (#5947)
Consider moving to imgui_impl_opengl3_loader.h ?
|
2 years ago |
ocornut
|
b8b0f9d02e
|
Backends: OpenGL3: Reverted use of glBufferSubData(). (#4468, #4504, #3381, #2981, #4825, #4832, #5127)
|
2 years ago |
ocornut
|
c54230d14e
|
Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings.
|
2 years ago |
ocornut
|
325299f942
|
Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. (#4468, #4825, #4832, #5127, #5655, #5709)
|
2 years ago |
xiaozhuai, Weihang Ding
|
e5b2286ca8
|
Backends: OpenGL3: Fix apple TARGET_OS_* not defined warning. (#5321)
|
3 years ago |
ocornut
|
ca222d30c8
|
Backends: OpenGL: Partially revert 1.86 change of using glBufferSubData(): now only done on Intel GPUs. (#4468, #3381, #2981, #4825, #4832, #5127)
Essentially reverts 389982eb for non-Intel GPUs + update imgui_impl_opengl3_loader.h
Amended once (force-pushed).
|
2 years ago |
ocornut
|
60bea052a9
|
Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states. (amends)
|
3 years ago |
Rokas Kupstys
|
b7686a88e9
|
Backends: OpenGL3: Fix state corruption on OpenGL ES 2.0 due to not preserving GL_ELEMENT_ARRAY_BUFFER_BINDING and vertex attribute states.
This change partially reverts 9770c8b21d .
|
3 years ago |
ocornut
|
f7f30476d5
|
Added comments about requirement for bilinear filtering. (#5156, #3245) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). (#4927)
|
3 years ago |
ocornut
|
fd06ed833b
|
Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104)
|
3 years ago |
Rokas Kupstys
|
40fd163a3b
|
Backends: OpenGL3: Fix OpenGL ES2 includes on Apple systems.
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# docs/CHANGELOG.txt
|
3 years ago |
ocornut
|
dbeea7220f
|
Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835)
|
3 years ago |
ocornut
|
389982eb5a
|
Backends: OpenGL3: Using buffer orphaning + glBufferSubData(), seems to fix leaks with multi-viewports with some Intel HD drivers.. (#4468, #4504, #2981, #3381)
|
3 years ago |
ocornut
|
440824d431
|
Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464)
Amend/fix 2b0bd40b
|
3 years ago |
ocornut
|
c6ca327fb2
|
Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562)
|
3 years ago |
Rokas Kupstys
|
2b0bd40b99
|
Backends: Metal: Fixed a crash when clipping rect larger than framebuffer is submitted. (#4464)
Backends: Normalize clipping rect handling across backends.
+ Squashed amends.
|
3 years ago |
Siarhei Fiedartsou
|
f8bad7e1e3
|
Backends: OpenGL3: Add TargetConditionals.h (#4473) + standardize include
|
3 years ago |
Nicolas Noble
|
e3e1fbcf02
|
Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision floats. (#4463)
|
3 years ago |
ocornut
|
d2ffbd9b86
|
Version 1.84
Fix PVS Studio false positive //-V1020
Fix missing #ifndef for IMGUI_IMPL_OPENGL_LOADER_CUSTOM path
|
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 |
ocornut
|
f24abbc47d
|
Fix various warnings (#4442)
|
3 years ago |
ocornut
|
b380d3abe3
|
Backends: OpenGL3: Clarify use of GL_POLYGON_MODE.
|
3 years ago |
ocornut
|
cf2daf353e
|
Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend.
+ Update gallery links (#4280)
|
3 years ago |
ocornut
|
23a15834fa
|
Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). (#3487) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend.
|
3 years ago |
ocornut
|
4cec3a0467
|
Backends: support for multiple imgui context with little testing (#586, #1851, #2004, #3012, #3934, #4141)
I believe more renderer backends should work. GLFW/Win32/SDL/Vulkan probably have many issues.
|
3 years ago |
ocornut
|
b5a2bd1a5b
|
Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys().
No need to clear fields before deletion. DX12: renamed to match docking branch.
|
3 years ago |
ocornut
|
70c603854e
|
Backends: moved global to a data structure to facilitate support for multi-contexts. (#586, #1851, #2004, #3012, #3934, #4141)
This is NOT enable multi-contexts for any backends
- in order to make this commit as harmless as possible, while containing all the cruft/renaming
-
|
3 years ago |
Chaoya Li
|
2ab7f96f21
|
Backends: OpenGL3: Enable OES_vertex_array_object extension for emscripten/wasm build (#4266, #4267)
|
3 years ago |
Ivan Sokolov
|
0905439c31
|
Backends: OpenGL3: Destroy shader objects right away (#4244)
In OpenGL, after a shader program has been linked, shader objects don't need to be kept neither attached to the program nor in existence
|
3 years ago |
Tatsuya Yatagawa
|
fe24591411
|
Backends: OpenGL3: Fix access violation due to NULL from glGetStringi. (#4201)
|
3 years ago |
ocornut
|
838c16533d
|
Backends: Comments.
|
3 years ago |
ocornut
|
556689591c
|
Backends: OpenGL3: Handle GL_CLIP_ORIGIN on <4.5 contexts if "GL_ARB_clip_control" extension is detected. (#4170, #3998)
Expecting this to somehow cause another issue but we will fix it when it comes.
|
4 years ago |
thedmd
|
3c72e5142b
|
Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. (#3761)
|
4 years ago |
Sam Jones
|
71dda216ef
|
Backends: OpenGL3: Don't try to read GL_CLIP_ORIGIN unless we're OpenGL 4.5. (#3998, #2366, #2186)
|
4 years ago |
ocornut
|
bda12e5fdd
|
Backends: Rework blending equation to preserve alpha in output buffer accross all backends. (#2693, #2764, #2766, #2873, #3447, #3813, #3816)
Some of the viewport ideas from #2766 are not in there yet (e.g. Vulkan: setting compositeAlpha based on cap.supportedCompositeAlpha)
|
4 years ago |
ocornut
|
58a0a7058c
|
Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually.
|
4 years ago |
ocornut
|
9bcf77eb81
|
Fixed using IsItemEdited() after Combo() not matching the return value from Combo(). (#2034) + fix some PVS warnings, fix typo, blanks.
Amend e28b1078
|
4 years ago |
ocornut
|
7d5d5711c2
|
Backends: OpenGL2, OpenGL3: Backup and restore GL_SHADE_MODAL, GL_STENCIL_TEST, clear GL_NORMAL_ARRAY. Comments., (#3671, #3668)
|
4 years ago |
ocornut
|
5292320110
|
Amend ffe8f0177f (#3544) + readme fixes
|
4 years ago |
Louis Schnellbach
|
ffe8f0177f
|
Backends: OpenGL3: Backup/restore GL_PRIMITIVE_RESTART state (#3544)
|
4 years ago |
xndcn
|
127f132447
|
Backends: OpenGL3: Add compatibility of GL_VERSION for GL 2.x (#3530)
GL_MAJOR_VERSION and GL_MINOR_VERSION are available on GL 3.0 and above.
So we have to parse GL_VERSION under GL 2.x
|
4 years ago |
ocornut
|
b1a18d82e3
|
Moving backends code from examples/ to backends/ (step 6: update markdown documentation)
|
4 years ago |
ocornut
|
d9b2fb7338
|
Moving backends code from examples/ to backends/ (step 1: moving source files)
|
4 years ago |
ocornut
|
124c2608f1
|
Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency.
|
4 years ago |
ocornut
|
0f13fdd177
|
Removed redirecting functions/enums names that were marked obsolete in 1.60: io.RenderDrawListsFn, IsAnyWindowFocused(), IsAnyWindowHovered(), etc.
|
4 years ago |
ocornut
|
825f699bde
|
Backends: OpenGL3: Amends (#3467, #1985)
|
4 years ago |
Julian Webb
|
2460f2abe3
|
Backends: OpenGL3: Fix to avoid calling glBindSampler() with version <= 3.2 (#3467, #1985)
(nb: GLEW sets the define we previously used)
|
4 years ago |
omar
|
963839373c
|
Demo tweaks + general removal of the word dummy were possible with no issues (kept the API call).
|
4 years ago |
omar
|
fb7f6cab8c
|
Backends: Amend, docs + extra comments. (#3330, #3245)
|
4 years ago |