Merge "Remove unnecessary export_func pragma."

This commit is contained in:
Stephen Hines
2010-11-18 17:48:58 -08:00
committed by Android (Google) Code Review
10 changed files with 0 additions and 21 deletions

View File

@@ -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};

View File

@@ -26,9 +26,6 @@ typedef struct VpConsts {
} VpConsts_t;
VpConsts_t *vpConstants;
#pragma rs export_func(initParts)
rs_script physics_script;
Ball_t *balls1;

View File

@@ -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);

View File

@@ -11,8 +11,6 @@ uchar4 * OutPixel;
float4 * ScratchPixel1;
float4 * ScratchPixel2;
#pragma rs export_func(filter);
rs_script vBlurScript;
rs_script hBlurScript;

View File

@@ -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;

View File

@@ -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];

View File

@@ -1,7 +1,5 @@
#include "shared.rsh"
#pragma rs export_func(primitives_test)
// Testing primitive types
float floatTest = 1.99f;
double doubleTest = 2.05;

View File

@@ -1,7 +1,5 @@
#include "shared.rsh"
#pragma rs export_func(test_rsdebug)
// Testing primitive types
float floatTest = 1.99f;
double doubleTest = 2.05;

View File

@@ -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;

View File

@@ -14,8 +14,6 @@
#include "shared.rsh"
#pragma rs export_func(vector_array_test)
typedef struct {
float3 arr[2];
} float3Struct;