diff options
Diffstat (limited to 'libs/rs/rsProgram.h')
| -rw-r--r-- | libs/rs/rsProgram.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsProgram.h b/libs/rs/rsProgram.h index 86f85fb70e48..ddc5e8a4d0fb 100644 --- a/libs/rs/rsProgram.h +++ b/libs/rs/rsProgram.h @@ -72,6 +72,11 @@ protected:      uint32_t mConstantCount;      bool mIsValid; +    // Applies to vertex and fragment shaders only +    void appendUserConstants(); +    void setupUserConstants(ShaderCache *sc, bool isFragment); +    void initAddUserElement(const Element *e, String8 *names, uint32_t *count, const char *prefix); +      ObjectBaseRef<Allocation> mConstants[MAX_UNIFORMS];      mutable bool mDirty;  |