diff options
| author | Jason Sams <rjsams@android.com> | 2010-08-04 17:50:20 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-08-05 10:00:21 -0700 |
| commit | 442a647424e6537e94341654e3ae5d52efd84862 (patch) | |
| tree | 0a73c7551dceac6b4a81ee6ddb9b7f2ef11c89b4 /libs/rs/scriptc | |
| parent | 208c425e842afed177801016c00c2c01bd8b44aa (diff) | |
| download | frameworks_base-442a647424e6537e94341654e3ae5d52efd84862.zip frameworks_base-442a647424e6537e94341654e3ae5d52efd84862.tar.gz frameworks_base-442a647424e6537e94341654e3ae5d52efd84862.tar.bz2 | |
Support constant and varying colors in ProgramFragment.
Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
Diffstat (limited to 'libs/rs/scriptc')
| -rw-r--r-- | libs/rs/scriptc/rs_graphics.rsh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/scriptc/rs_graphics.rsh b/libs/rs/scriptc/rs_graphics.rsh index 4f53963..fd0491c 100644 --- a/libs/rs/scriptc/rs_graphics.rsh +++ b/libs/rs/scriptc/rs_graphics.rsh @@ -26,6 +26,9 @@ extern void __attribute__((overloadable)) extern void __attribute__((overloadable)) rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *); +extern void __attribute__((overloadable)) + rsgProgramFragmentConstantColor(rs_program_fragment, float, float, float, float); + extern uint __attribute__((overloadable)) rsgGetWidth(void); extern uint __attribute__((overloadable)) @@ -76,6 +79,8 @@ extern void __attribute__((overloadable)) /////////////////////////////////////////////////////// // misc + +// Depricated extern void __attribute__((overloadable)) color(float, float, float, float); |
