summaryrefslogtreecommitdiffstats
path: root/scriptc
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-06-17 15:55:00 -0700
committerJason Sams <rjsams@android.com>2010-06-17 15:55:00 -0700
commit97589cbd2b844543f6c8a6bc336f4e11a67828fd (patch)
treefdefdc40af7a2656f47bced3041320c3f3dab77e /scriptc
parent5594c367d3a1f9cc596c184fc1cafc2c93fa5ae5 (diff)
downloadandroid_frameworks_rs-97589cbd2b844543f6c8a6bc336f4e11a67828fd.tar.gz
android_frameworks_rs-97589cbd2b844543f6c8a6bc336f4e11a67828fd.tar.bz2
android_frameworks_rs-97589cbd2b844543f6c8a6bc336f4e11a67828fd.zip
Add skip to field packer.
remove hsb functions from env headers. add RS_PACKED define for packed structures. Change-Id: Idc661edff85c0047baa201f43e0839ac82c74593
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_graphics.rsh3
-rw-r--r--scriptc/rs_types.rsh2
2 files changed, 2 insertions, 3 deletions
diff --git a/scriptc/rs_graphics.rsh b/scriptc/rs_graphics.rsh
index fe2c5499..6df2a565 100644
--- a/scriptc/rs_graphics.rsh
+++ b/scriptc/rs_graphics.rsh
@@ -40,9 +40,6 @@ extern void rsgClearDepth(float);
///////////////////////////////////////////////////////
// misc
extern void color(float, float, float, float);
-extern void hsb(float, float, float, float);
-extern void hsbToRgb(float, float, float, float*);
-extern int hsbToAbgr(float, float, float, float);
#endif
diff --git a/scriptc/rs_types.rsh b/scriptc/rs_types.rsh
index a8e139a4..465a4a51 100644
--- a/scriptc/rs_types.rsh
+++ b/scriptc/rs_types.rsh
@@ -58,3 +58,5 @@ typedef struct {
float m[16];
} rs_matrix4x4;
+#define RS_PACKED __attribute__((packed, aligned(4)))
+