summaryrefslogtreecommitdiffstats
path: root/libs/rs/scriptc
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-06-08 15:40:48 -0700
committerJason Sams <rjsams@android.com>2010-06-08 15:40:48 -0700
commite29f3e74f71ea730519ff8ae1d8dd4c1630bbaf9 (patch)
tree48ca5c2daefa4ff854f48db7366045657f1db9de /libs/rs/scriptc
parent0b0255bcdebb3c50a44327a931a7223f0770287a (diff)
downloadframeworks_base-e29f3e74f71ea730519ff8ae1d8dd4c1630bbaf9.zip
frameworks_base-e29f3e74f71ea730519ff8ae1d8dd4c1630bbaf9.tar.gz
frameworks_base-e29f3e74f71ea730519ff8ae1d8dd4c1630bbaf9.tar.bz2
Begin using reflected files.
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
Diffstat (limited to 'libs/rs/scriptc')
-rw-r--r--libs/rs/scriptc/rs_core.rsh13
1 files changed, 5 insertions, 8 deletions
diff --git a/libs/rs/scriptc/rs_core.rsh b/libs/rs/scriptc/rs_core.rsh
index c0ba4af..8005a70 100644
--- a/libs/rs/scriptc/rs_core.rsh
+++ b/libs/rs/scriptc/rs_core.rsh
@@ -1,8 +1,6 @@
#ifndef __RS_CORE_RSH__
#define __RS_CORE_RSH__
-//uchar4 __attribute__((overloadable)) rsPackColorTo8888(float r, float g, float b);
-//uchar4 __attribute__((overloadable)) rsPackColorTo8888(float r, float g, float b, float a);
static uchar4 __attribute__((overloadable)) rsPackColorTo8888(float r, float g, float b)
{
@@ -24,8 +22,6 @@ static uchar4 __attribute__((overloadable)) rsPackColorTo8888(float r, float g,
return c;
}
-
-/*
static uchar4 __attribute__((overloadable)) rsPackColorTo8888(float3 color)
{
color *= 255.f;
@@ -51,10 +47,11 @@ static float4 rsUnpackColor8888(uchar4 c)
return ret;
}
-extern uchar4 __attribute__((overloadable)) rsPackColorTo565(float r, float g, float b);
-extern uchar4 __attribute__((overloadable)) rsPackColorTo565(float3);
-extern float4 rsUnpackColor565(uchar4);
-*/
+//extern uchar4 __attribute__((overloadable)) rsPackColorTo565(float r, float g, float b);
+//extern uchar4 __attribute__((overloadable)) rsPackColorTo565(float3);
+//extern float4 rsUnpackColor565(uchar4);
+
+
#endif