diff options
author | Stephen Hines <srhines@google.com> | 2010-11-18 17:04:50 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2010-11-18 17:04:50 -0800 |
commit | 732779a0c034d657075a1ad310f3d5f021dfcf1e (patch) | |
tree | 2da812aee8c467b763ff6ea52298eadcdaf72b7d /libs/rs | |
parent | 77df3e1ac60bf1be4d918514ee8baef54be6b9c8 (diff) | |
download | frameworks_base-732779a0c034d657075a1ad310f3d5f021dfcf1e.zip frameworks_base-732779a0c034d657075a1ad310f3d5f021dfcf1e.tar.gz frameworks_base-732779a0c034d657075a1ad310f3d5f021dfcf1e.tar.bz2 |
Remove unnecessary export_func pragma.
Change-Id: Ibe5c5f186cfc12a31f3fb4f0f7472e3b60836394
Diffstat (limited to 'libs/rs')
10 files changed, 0 insertions, 21 deletions
diff --git a/libs/rs/java/Balls/src/com/android/balls/ball_physics.rs b/libs/rs/java/Balls/src/com/android/balls/ball_physics.rs index b5f149c..96c39b1 100644 --- a/libs/rs/java/Balls/src/com/android/balls/ball_physics.rs +++ b/libs/rs/java/Balls/src/com/android/balls/ball_physics.rs @@ -5,8 +5,6 @@ float2 gGravityVector = {0.f, 9.8f}; -#pragma rs export_func(setGamma); - float2 gMinPos = {0.f, 0.f}; float2 gMaxPos = {1280.f, 700.f}; diff --git a/libs/rs/java/Balls/src/com/android/balls/balls.rs b/libs/rs/java/Balls/src/com/android/balls/balls.rs index 3edbe2d..9fd4722 100644 --- a/libs/rs/java/Balls/src/com/android/balls/balls.rs +++ b/libs/rs/java/Balls/src/com/android/balls/balls.rs @@ -26,9 +26,6 @@ typedef struct VpConsts { } VpConsts_t; VpConsts_t *vpConstants; - -#pragma rs export_func(initParts) - rs_script physics_script; Ball_t *balls1; diff --git a/libs/rs/java/Fountain/src/com/android/fountain/fountain.rs b/libs/rs/java/Fountain/src/com/android/fountain/fountain.rs index 5445744..b8f57a3 100644 --- a/libs/rs/java/Fountain/src/com/android/fountain/fountain.rs +++ b/libs/rs/java/Fountain/src/com/android/fountain/fountain.rs @@ -17,8 +17,6 @@ typedef struct __attribute__((packed, aligned(4))) Point { } Point_t; Point_t *point; -#pragma rs export_func(addParticles) - int root() { float dt = min(rsGetDt(), 0.1f); rsgClearColor(0.f, 0.f, 0.f, 1.f); diff --git a/libs/rs/java/ImageProcessing/src/com/android/rs/image/threshold.rs b/libs/rs/java/ImageProcessing/src/com/android/rs/image/threshold.rs index 3e81115..f2f9a36 100644 --- a/libs/rs/java/ImageProcessing/src/com/android/rs/image/threshold.rs +++ b/libs/rs/java/ImageProcessing/src/com/android/rs/image/threshold.rs @@ -11,8 +11,6 @@ uchar4 * OutPixel; float4 * ScratchPixel1; float4 * ScratchPixel2; -#pragma rs export_func(filter); - rs_script vBlurScript; rs_script hBlurScript; diff --git a/libs/rs/java/ImageProcessing/src/com/android/rs/image/vertical_blur.rs b/libs/rs/java/ImageProcessing/src/com/android/rs/image/vertical_blur.rs index fe43354..e5900fd 100644 --- a/libs/rs/java/ImageProcessing/src/com/android/rs/image/vertical_blur.rs +++ b/libs/rs/java/ImageProcessing/src/com/android/rs/image/vertical_blur.rs @@ -14,8 +14,6 @@ static float outWMinOutB; static float overInWMinInB; static rs_matrix3x3 colorMat; -#pragma rs export_func(setLevels, setSaturation, setGamma); - void setLevels(float iBlk, float oBlk, float iWht, float oWht) { inBlack = iBlk; outBlack = oBlk; diff --git a/libs/rs/java/tests/src/com/android/rs/test/fp_mad.rs b/libs/rs/java/tests/src/com/android/rs/test/fp_mad.rs index 066fab8..4133fda 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/fp_mad.rs +++ b/libs/rs/java/tests/src/com/android/rs/test/fp_mad.rs @@ -2,8 +2,6 @@ const int TEST_COUNT = 1; -#pragma rs export_func(fp_mad_test) - static float data_f1[1025]; static float4 data_f4[1025]; diff --git a/libs/rs/java/tests/src/com/android/rs/test/primitives.rs b/libs/rs/java/tests/src/com/android/rs/test/primitives.rs index 351a8a5..ce451da 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/primitives.rs +++ b/libs/rs/java/tests/src/com/android/rs/test/primitives.rs @@ -1,7 +1,5 @@ #include "shared.rsh" -#pragma rs export_func(primitives_test) - // Testing primitive types float floatTest = 1.99f; double doubleTest = 2.05; diff --git a/libs/rs/java/tests/src/com/android/rs/test/rsdebug.rs b/libs/rs/java/tests/src/com/android/rs/test/rsdebug.rs index a849234..f7942a5 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/rsdebug.rs +++ b/libs/rs/java/tests/src/com/android/rs/test/rsdebug.rs @@ -1,7 +1,5 @@ #include "shared.rsh" -#pragma rs export_func(test_rsdebug) - // Testing primitive types float floatTest = 1.99f; double doubleTest = 2.05; diff --git a/libs/rs/java/tests/src/com/android/rs/test/rstypes.rs b/libs/rs/java/tests/src/com/android/rs/test/rstypes.rs index cb0c577..f3bf244 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/rstypes.rs +++ b/libs/rs/java/tests/src/com/android/rs/test/rstypes.rs @@ -1,8 +1,6 @@ #include "shared.rsh" #include "rs_graphics.rsh" -#pragma rs export_func(test_rstypes) - rs_element elementTest; rs_type typeTest; rs_allocation allocationTest; diff --git a/libs/rs/java/tests/src/com/android/rs/test/vector_array.rs b/libs/rs/java/tests/src/com/android/rs/test/vector_array.rs index f924ae4..a71a062 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/vector_array.rs +++ b/libs/rs/java/tests/src/com/android/rs/test/vector_array.rs @@ -14,8 +14,6 @@ #include "shared.rsh" -#pragma rs export_func(vector_array_test) - typedef struct { float3 arr[2]; } float3Struct; |