summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsProgram.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsProgram.h')
-rw-r--r--libs/rs/rsProgram.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/rs/rsProgram.h b/libs/rs/rsProgram.h
index 913fdd2..251072f 100644
--- a/libs/rs/rsProgram.h
+++ b/libs/rs/rsProgram.h
@@ -33,10 +33,12 @@ public:
virtual ~Program();
- void setAllocation(Allocation *);
+ void bindAllocation(Allocation *);
virtual void setupGL();
+ void checkUpdatedAllocation(const Allocation *);
+
protected:
// Components not listed in "in" will be passed though
// unless overwritten by components in out.
@@ -45,8 +47,7 @@ protected:
ObjectBaseRef<Allocation> mConstants;
- bool mDirty;
-
+ mutable bool mDirty;
};