Alessandro Toia
03bd71d145
Add missing add_blacklist for OpenGl apps
4 years ago
jackun
ee2933bff5
Resize fonts
4 years ago
jackun
1e8487c991
Move color conversion to HudElements; move some overlay related functions back to overlay.cpp
4 years ago
jackun
891a3944f3
[OpenGL] Default and limit GLSL version to 1.20 if OpenGL < 3.0. Not using anything fancy for now anyway.
4 years ago
jackun
60940e5a02
[OpenGL] Just "refcount" by glXCreate/DestroyContext calls; recreate "lost" objects
4 years ago
jackun
ba6346110c
[OpenGL] Enable color mask
...
Maybe previous state needs to be restored afterwards?
4 years ago
FlightlessMango
500fba7f6c
Fix for memory leak in source 1 games
4 years ago
jackun
443271f0b5
Convert hud color params to linear for sRGB image formats
4 years ago
larskraemer
a28931ef6b
General cleanup ( #272 )
...
* Cleanup unused struct fields, use uniform include guards
4 years ago
jackun
8eba5e2ed2
[OpenGL] Use GL_R8 for font textures
...
Randomly getting squares with GL_ALPHA for some reason
4 years ago
jackun
c63037efb5
Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions
...
* To save some memory, use just 1-channel alpha-only textures
* Add some sort of wider glyph ranges support
* Chop single-ish vulkan font image uploading function into separate reusable helper functions
* Use descriptor set for ImTextureID but probably use texture array and push constants for "fast-path" if need arises
4 years ago
jackun
62efa4acc4
[OpenGL] Simplify if check
4 years ago
jackun
d0999ab01b
[OpenGL] Workaround: Merge version and shader strings for Feral games
...
FIXME: GLAD loads Feral's version of glShaderSource,
4 years ago
jackun
2db83f4e18
[OpenGL] Check if font texture is valid and regenerate if not
4 years ago
Lars Krämer
20221217d4
Frame-timing using chrono
4 years ago
FlightlessMango
e957358786
Force a hw values update on log start
4 years ago
jackun
44060c2b80
Force blacklist re-check at certain points
...
Wine preloader that executed a non-blacklisted app may execute a blacklisted app,
or vice versa, and previous check applies to new app too.
4 years ago
jackun
c04658456a
Wider glyph ranges for custom font; media player text scaling with `font_scale_media_player` param
4 years ago
jackun
5ad67fe446
Remove unused vars
4 years ago
FlightlessMango
0e396186a6
[OpenGL] Always use QueryDrawable
4 years ago
FlightlessMango
75f9128ce5
Redesigned logging, adding quick benchmark
4 years ago
jackun
bb9721fe87
[OpenGL] Check if SRGB is enabled and Render ImGui in linear colorspace
4 years ago
FlightlessMango
1ddcc531ff
Get device name from pci.ids and display it
4 years ago
jackun
beee2b08c7
[OpenGL] Add glXSwapBuffersMscOML and disable XGetGeometry
4 years ago
jackun
29e5c4e460
Show device's name and vulkan driver version
4 years ago
jackun
d8264c485f
[OpenGL] Fixed version check mistakenly testing for GL 4.0+ instead of 3.2+ to enable ImGuiBackendFlags_RendererHasVtxOffset, leaving 3.2 contexts without it. (ocornut#3119, ocornut#2866, ocornut#2852)
4 years ago
jackun
22ee56def5
[OpenGL] Use 32bit font texture until someone figures out why 8-bit looks worse
4 years ago
jackun
0271aa6368
[OpenGL] Track threads with context, but might as well ignore glXMakeCurrent(NULL, NULL) calls probably
4 years ago
jackun
934dc31e44
Add utility lib with dlsym hooking
4 years ago
Sporif
d1e90b5bec
[OpenGL] Add blacklist functionality
4 years ago
jackun
bb4b78ada0
[OpenGL] Spam terminal a little less with version strings
4 years ago
jackun
f35e49defa
[OpenGL] Merge "shared" files back to imgui_hud.cpp
4 years ago
jackun
b40fb95a04
[OpenGL] Better version parsing and fix gl version checks for vertex arrays
4 years ago
jackun
e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place
4 years ago
jackun
d81dc7936a
[OpenGL] Use glXQueryDrawable if XGetGeometry fails
4 years ago
jackun
ff3c58c9c5
[OpenGL] Change glXMakeCurrent return type to int just in case and convert missed #ifdefs
4 years ago
jackun
f3f04f3f78
Print dlerror() in lib loaders
4 years ago
jackun
780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL
4 years ago
jackun
772ab6aa5b
[OpenGL] Don't exit if function is not found, it probably isn't catastrophic
4 years ago
jackun
8024736253
Add DBus loader, combined ticker for Spotify metadata
4 years ago
FlightlessMango
d975278396
Dbus with spotify
4 years ago
jackun
8cd3172335
[OpenGL] Separate GLX out from shareable code so wayland sessions can just use EGL, hopefully
4 years ago
jackun
bd9d9650a0
Move `dlsym` hook out from inject_glx.cpp
4 years ago
jackun
0a36578adf
[OpenGL] Rename GLX loader functions
4 years ago
jackun
b2e6727b25
[OpenGL] Rename loader_gl.* to loader_glx.*
4 years ago
jackun
2e7d92e068
Move `real_dlsym` files out from `gl` subdir
4 years ago
jackun
59113b3ae2
[OpenGL] Move ImGui functions to separate file
4 years ago
jackun
c3e50db2f4
[OpenGL] Import glXQueryDrawable just in case
4 years ago
jackun
accac3a015
[OpenGL] Import XGetGeometry
4 years ago
jackun
ebe23d3431
[OpenGL] Rename inject.cpp to inject_glx.cpp in preparation for separating X11 related functions
4 years ago