Cyphall
66b762577c
Backends: OpenGL3: Fixed restoration of a potentially deleted OpenGL program. ( #6220 , #6224 )
ago%!(EXTRA string=2 years)
ocornut
e816bc6723
Merge misc changes from docking branch to reduce small drift.
...
In particular:
- imgui.cpp : move UpdateInputEvents() higher in NewFrame() to match docking + update RenderMouseCursor() to match.
- imgui_draw.cpp: ImDrawList::_ResetForNewFrame() change from c807192ab
- Backends: SDL2. Add MouseWindowID + change SDL_CaptureMouse() test to match docking branch. Not strictly necessary but aimed at reducing drift because we go on and fork this file.
+ moved responsability of checking valid names to TabBarGetTabName() to simplify both branches.
ago%!(EXTRA string=2 years)
ocornut
265b88273e
Backends: Fixed pragma warning with old GCC.
ago%!(EXTRA string=2 years)
ocornut
f822e07d76
Backends: SDL: Removed SDL_MOUSEWHEEL value clamping. ( #4019 , #6096 , #6081 )
...
+ Fix warnings.
ago%!(EXTRA string=2 years)
ocornut
713e034d95
Backends: OpenGL3: Fix for zealous warning. ( #5947 )
...
Consider moving to imgui_impl_opengl3_loader.h ?
ago%!(EXTRA string=2 years)
ocornut
b8b0f9d02e
Backends: OpenGL3: Reverted use of glBufferSubData(). ( #4468 , #4504 , #3381 , #2981 , #4825 , #4832 , #5127 )
ago%!(EXTRA string=3 years)
ocornut
c54230d14e
Backends: Using nullptr instead of NULL. ( #5760 , #4537 ) + fix additional warnings.
ago%!(EXTRA string=3 years)
ocornut
11f5be0caf
Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. ( #4468 , #4825 , #4832 , #5127 , #5655 , #5709 )
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
ago%!(EXTRA string=3 years)
ocornut
325299f942
Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. ( #4468 , #4825 , #4832 , #5127 , #5655 , #5709 )
ago%!(EXTRA string=3 years)
xiaozhuai, Weihang Ding
e5b2286ca8
Backends: OpenGL3: Fix apple TARGET_OS_* not defined warning. ( #5321 )
ago%!(EXTRA string=3 years)
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).
ago%!(EXTRA string=3 years)
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)
ago%!(EXTRA string=3 years)
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
.
ago%!(EXTRA string=3 years)
ocornut
d666a1d473
Backends: OSX, Metal: Amend d111133, tidying up, remove unused, misc tweaks. . ( #4821 , #2778 )
ago%!(EXTRA string=3 years)
ocornut
f7f30476d5
Added comments about requirement for bilinear filtering. ( #5156 , #3245 ) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). ( #4927 )
ago%!(EXTRA string=3 years)
ocornut
fd06ed833b
Misc: tweaks + fix warnings on backends withtout -wno-memaccess ( #4995 , #5104 )
ago%!(EXTRA string=3 years)
Rokas Kupstys
40fd163a3b
Backends: OpenGL3: Fix OpenGL ES2 includes on Apple systems.
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# docs/CHANGELOG.txt
ago%!(EXTRA string=3 years)
ocornut
dbeea7220f
Backends: Silence overzealous warnings. ( #4834 ) Add comments about SetDragDropPayload() return value. ( #4835 )
ago%!(EXTRA string=3 years)
ocornut
389982eb5a
Backends: OpenGL3: Using buffer orphaning + glBufferSubData(), seems to fix leaks with multi-viewports with some Intel HD drivers.. ( #4468 , #4504 , #2981 , #3381 )
ago%!(EXTRA string=3 years)
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
ago%!(EXTRA string=3 years)
ocornut
c6ca327fb2
Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. ( #4562 )
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
Siarhei Fiedartsou
f8bad7e1e3
Backends: OpenGL3: Add TargetConditionals.h ( #4473 ) + standardize include
ago%!(EXTRA string=4 years)
Nicolas Noble
e3e1fbcf02
Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision floats. ( #4463 )
ago%!(EXTRA string=4 years)
ocornut
d2ffbd9b86
Version 1.84
...
Fix PVS Studio false positive //-V1020
Fix missing #ifndef for IMGUI_IMPL_OPENGL_LOADER_CUSTOM path
ago%!(EXTRA string=4 years)
ocornut
e3988a84db
Backends: OpenGL3: Embed our own minimal GL loader (amends). ( #4445 )
ago%!(EXTRA string=4 years)
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
ago%!(EXTRA string=4 years)
ocornut
f24abbc47d
Fix various warnings ( #4442 )
ago%!(EXTRA string=4 years)
ocornut
b380d3abe3
Backends: OpenGL3: Clarify use of GL_POLYGON_MODE.
ago%!(EXTRA string=4 years)
ocornut
cf2daf353e
Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend.
...
+ Update gallery links (#4280 )
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
ocornut
0f7eb00f67
Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys().
...
No need to clear fields before deletion. DX12: renamed to match docking branch.
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
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
-
ago%!(EXTRA string=4 years)
Chaoya Li
2ab7f96f21
Backends: OpenGL3: Enable OES_vertex_array_object extension for emscripten/wasm build ( #4266 , #4267 )
ago%!(EXTRA string=4 years)
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
ago%!(EXTRA string=4 years)
Tatsuya Yatagawa
fe24591411
Backends: OpenGL3: Fix access violation due to NULL from glGetStringi. ( #4201 )
ago%!(EXTRA string=4 years)
ocornut
838c16533d
Backends: Comments.
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
thedmd
3c72e5142b
Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. ( #3761 )
ago%!(EXTRA string=4 years)
Sam Jones
71dda216ef
Backends: OpenGL3: Don't try to read GL_CLIP_ORIGIN unless we're OpenGL 4.5. ( #3998 , #2366 , #2186 )
ago%!(EXTRA string=4 years)
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)
ago%!(EXTRA string=4 years)
ocornut
58a0a7058c
Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually.
ago%!(EXTRA string=4 years)
ocornut
9bcf77eb81
Fixed using IsItemEdited() after Combo() not matching the return value from Combo(). ( #2034 ) + fix some PVS warnings, fix typo, blanks.
...
Amend e28b1078
ago%!(EXTRA string=4 years)
ocornut
7d5d5711c2
Backends: OpenGL2, OpenGL3: Backup and restore GL_SHADE_MODAL, GL_STENCIL_TEST, clear GL_NORMAL_ARRAY. Comments., ( #3671 , #3668 )
ago%!(EXTRA string=4 years)
ocornut
5292320110
Amend ffe8f0177f
( #3544 ) + readme fixes
ago%!(EXTRA string=5 years)
Louis Schnellbach
ffe8f0177f
Backends: OpenGL3: Backup/restore GL_PRIMITIVE_RESTART state ( #3544 )
ago%!(EXTRA string=5 years)
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
ago%!(EXTRA string=5 years)
ocornut
b1a18d82e3
Moving backends code from examples/ to backends/ (step 6: update markdown documentation)
ago%!(EXTRA string=5 years)