diff options
| author | Jason Sams <rjsams@android.com> | 2010-06-17 15:55:00 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-06-17 15:55:00 -0700 |
| commit | 97589cbd2b844543f6c8a6bc336f4e11a67828fd (patch) | |
| tree | fdefdc40af7a2656f47bced3041320c3f3dab77e /scriptc | |
| parent | 5594c367d3a1f9cc596c184fc1cafc2c93fa5ae5 (diff) | |
| download | android_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.rsh | 3 | ||||
| -rw-r--r-- | scriptc/rs_types.rsh | 2 |
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))) + |
