summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/RenderEngine/Description.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/RenderEngine/Description.h')
-rw-r--r--services/surfaceflinger/RenderEngine/Description.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/surfaceflinger/RenderEngine/Description.h b/services/surfaceflinger/RenderEngine/Description.h
index 8a3447c..2bfb632 100644
--- a/services/surfaceflinger/RenderEngine/Description.h
+++ b/services/surfaceflinger/RenderEngine/Description.h
@@ -53,6 +53,9 @@ class Description {
bool mColorMatrixEnabled;
mat4 mColorMatrix;
+ Texture mMaskTexture;
+ bool mMaskTextureEnabled;
+ GLclampf mMaskAlphaThreshold;
public:
Description();
@@ -67,6 +70,8 @@ public:
void setProjectionMatrix(const mat4& mtx);
void setColorMatrix(const mat4& mtx);
const mat4& getColorMatrix() const;
+ void setMasking(const Texture& maskTexture, float alphaThreshold);
+ void disableMasking();
private:
bool mUniformsDirty;