mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
refactor: merged tex shaders
This commit is contained in:
parent
f1e3fe92ce
commit
1a10c61165
7 changed files with 113 additions and 99 deletions
|
|
@ -7,6 +7,13 @@
|
|||
|
||||
enum corner_location { ALL, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, NONE };
|
||||
|
||||
enum fx_gles2_shader_source {
|
||||
WLR_GLES2_SHADER_SOURCE_TEXTURE_RGBA = 1,
|
||||
WLR_GLES2_SHADER_SOURCE_TEXTURE_RGBX = 2,
|
||||
WLR_GLES2_SHADER_SOURCE_TEXTURE_EXTERNAL = 3,
|
||||
WLR_GLES2_SHADER_SOURCE_NOT_TEXTURE = 4,
|
||||
};
|
||||
|
||||
struct decoration_data {
|
||||
float alpha;
|
||||
float saturation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue