picom/src
Bernd Busse a7bd48f5ab
gl_common: set `glViewport()` to maximum supported size
- Query maximum supported dimensions of `glViewport()` when initializing
so we don't have to worry about differently sized textures when
rendering (usually the same as the maximum supported texture size, but
dependend on the driver).
- Set projection matrix in all shaders at startup to queried viewport
dimensions. Allows using screen coordinates for all vertex positions
without having to keep track of framebuffer dimensions.
- Follow recommendations and set `glViewport()` to queried maximum dimensions
for each draw call (`glDraw*()`, `glClear()`).

Related: #349
2020-04-23 20:30:41 +01:00
..
backend gl_common: set `glViewport()` to maximum supported size 2020-04-23 20:30:41 +01:00
atom.c Untangle headers 2019-08-10 00:56:26 +01:00
atom.h Partially handle _NET_WM_BYPASS_COMPOSITOR 2020-01-18 18:02:41 +00:00
c2.c win: always track property changes 2020-03-29 19:15:07 +01:00
c2.h win: split struct win 2019-05-21 20:15:29 +01:00
cache.c Untangle headers 2019-08-10 00:56:26 +01:00
cache.h cache: cache_get can now return error 2019-05-21 20:15:33 +01:00
common.h render: move argb_fbconfig to struct session 2020-04-20 19:10:53 +01:00
compiler.h compiler.h: also check threads.h exists 2019-12-24 12:04:04 +00:00
config.c win: always track property changes 2020-03-29 19:15:07 +01:00
config.h win: always track property changes 2020-03-29 19:15:07 +01:00
config_libconfig.c config: remove xrender-sync 2020-04-11 16:17:30 +01:00
dbus.c dbus: expose use_damage always 2020-03-29 19:17:52 +01:00
dbus.h win: split struct win 2019-05-21 20:15:29 +01:00
diagnostic.c picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +00:00
diagnostic.h picom: make sure --diagnostics works when another picom is running 2020-03-11 19:15:26 +00:00
err.h Failure of config file parsing is a hard failure 2019-02-13 02:05:01 +00:00
event.c event: destroy: set pending_updates after mark window CLIENT_STALE 2020-04-11 02:53:37 +01:00
event.h core: split out event code 2019-03-23 14:35:22 +00:00
file_watch.c file_watch: don't watch special files 2020-02-26 21:11:55 +00:00
file_watch.h core: watch for configuration file changes 2019-11-10 18:58:01 +00:00
kernel.c kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
kernel.h kernel: tweak gaussian deviation 2019-05-21 20:15:30 +01:00
list.h event: handle reparent to the same parent 2019-05-21 20:15:32 +01:00
log.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
log.h log: add log_error_errno 2020-02-26 20:16:55 +00:00
meson.build x: fix glx error codes 2020-03-31 05:59:44 +01:00
meta.h Add missing header file 2019-05-21 20:15:34 +01:00
opengl.c render: move argb_fbconfig to struct session 2020-04-20 19:10:53 +01:00
opengl.h opengl: clear fbcfg in free_paint_glx 2020-04-20 19:05:58 +01:00
options.c config: remove xrender-sync 2020-04-11 16:17:30 +01:00
options.h options: reject invalid backend earlier 2019-11-10 05:03:17 +00:00
picom.c Revert "Revert previous fix for #299" 2020-04-11 01:52:47 +01:00
picom.h Move find_client_win to win.c 2020-04-06 20:24:16 +01:00
picom.modulemap rename: fix the name of the modulemap file 2019-10-24 19:41:35 +01:00
region.h Move resize_region to region.h 2019-07-06 13:26:25 +01:00
render.c render: move argb_fbconfig to struct session 2020-04-20 19:10:53 +01:00
render.h win: split struct win 2019-05-21 20:15:29 +01:00
string_utils.c Add some unittests 2019-05-21 20:15:22 +01:00
string_utils.h Eliminate implicit conversions 2019-05-21 20:15:25 +01:00
types.h new backend: glx: implement IMAGE_OP_APPLY_ALPHA 2019-05-21 20:15:35 +01:00
uthash_extra.h win: track windows with a hash table 2019-05-21 20:15:27 +01:00
utils.c implement bright window dimming 2019-11-09 17:54:57 +02:00
utils.h x: use xcb constants in _x_strerror as mush as possible 2020-03-31 05:46:28 +01:00
vsync.c Fix compiler warning about unused parameters 2019-07-25 02:27:02 +01:00
vsync.h vsync: choose vsync method automatically 2019-03-10 15:00:56 +00:00
win.c win: mark_client: print slightly more info in error logs 2020-04-11 16:01:00 +01:00
win.h Revert "Revert previous fix for #299" 2020-04-11 01:52:47 +01:00
win_defs.h win, event: delayed handling of reparent notify 2020-04-11 01:52:47 +01:00
x.c x: handle NULL pointer in x_strerror 2020-04-05 21:45:51 +01:00
x.h Make some of the error logs more informative 2020-03-28 00:15:45 +00:00
xrescheck.c Run clang-format 2019-03-10 12:35:38 +00:00
xrescheck.h Run clang-format 2019-03-10 12:35:38 +00:00