commit | 40a29e8e28772b37ab0f9fe9708ecdcba24abb84 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Mon Aug 10 14:55:26 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Mon Aug 10 14:55:26 2009 -0700 |
tree | ddc7de5fe342a6bded733e8341b1953a49e0a2d0 | |
parent | c028d09409c3cd290949974258264903106a3346 [diff] [blame] |
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index 799c443..54c555f 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h
@@ -115,6 +115,9 @@ mFloatDefines.add(String8(name), value); } + uint32_t getWidth() const {return mWidth;} + uint32_t getHeight() const {return mHeight;} + protected: Device *mDev;