Merge "Remove unnecessary export_func pragma."
This commit is contained in:
committed by
Android (Google) Code Review
commit
9db9a29109
@@ -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};
|
||||
|
||||
|
||||
@@ -26,9 +26,6 @@ typedef struct VpConsts {
|
||||
} VpConsts_t;
|
||||
VpConsts_t *vpConstants;
|
||||
|
||||
|
||||
#pragma rs export_func(initParts)
|
||||
|
||||
rs_script physics_script;
|
||||
|
||||
Ball_t *balls1;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -11,8 +11,6 @@ uchar4 * OutPixel;
|
||||
float4 * ScratchPixel1;
|
||||
float4 * ScratchPixel2;
|
||||
|
||||
#pragma rs export_func(filter);
|
||||
|
||||
rs_script vBlurScript;
|
||||
rs_script hBlurScript;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "shared.rsh"
|
||||
|
||||
#pragma rs export_func(primitives_test)
|
||||
|
||||
// Testing primitive types
|
||||
float floatTest = 1.99f;
|
||||
double doubleTest = 2.05;
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "shared.rsh"
|
||||
|
||||
#pragma rs export_func(test_rsdebug)
|
||||
|
||||
// Testing primitive types
|
||||
float floatTest = 1.99f;
|
||||
double doubleTest = 2.05;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
|
||||
#include "shared.rsh"
|
||||
|
||||
#pragma rs export_func(vector_array_test)
|
||||
|
||||
typedef struct {
|
||||
float3 arr[2];
|
||||
} float3Struct;
|
||||
|
||||
Reference in New Issue
Block a user