summaryrefslogtreecommitdiff
path: root/include/sway/desktop/fx_renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/desktop/fx_renderer.h')
-rw-r--r--include/sway/desktop/fx_renderer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sway/desktop/fx_renderer.h b/include/sway/desktop/fx_renderer.h
index b461ba02..d1fd9a3f 100644
--- a/include/sway/desktop/fx_renderer.h
+++ b/include/sway/desktop/fx_renderer.h
@@ -2,6 +2,7 @@
#define _SWAY_OPENGL_H
#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
#include <stdbool.h>
enum corner_location { ALL, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT };
@@ -35,6 +36,15 @@ struct fx_renderer {
float projection[9];
+ struct {
+ bool OES_egl_image_external;
+ } exts;
+
+ struct {
+ PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES;
+ } procs;
+
+
// Shaders
struct {
struct {