summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-08-10 14:55:26 -0700
committerJason Sams <rjsams@android.com>2009-08-10 14:55:26 -0700
commit40a29e8e28772b37ab0f9fe9708ecdcba24abb84 (patch)
treeddc7de5fe342a6bded733e8341b1953a49e0a2d0 /libs/rs/rsAllocation.h
parentc028d09409c3cd290949974258264903106a3346 (diff)
downloadframeworks_base-40a29e8e28772b37ab0f9fe9708ecdcba24abb84.zip
frameworks_base-40a29e8e28772b37ab0f9fe9708ecdcba24abb84.tar.gz
frameworks_base-40a29e8e28772b37ab0f9fe9708ecdcba24abb84.tar.bz2
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
Diffstat (limited to 'libs/rs/rsAllocation.h')
-rw-r--r--libs/rs/rsAllocation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.h b/libs/rs/rsAllocation.h
index eb1da69..00af9ed 100644
--- a/libs/rs/rsAllocation.h
+++ b/libs/rs/rsAllocation.h
@@ -60,6 +60,8 @@ public:
void subData(uint32_t xoff, uint32_t yoff, uint32_t zoff,
uint32_t w, uint32_t h, uint32_t d, const void *data);
+ void read(void *data);
+
void enableGLVertexBuffers() const;
void setupGLIndexBuffers() const;