OSDN Git Service

Add reflection for variables.
authorShih-wei Liao <sliao@google.com>
Fri, 12 Mar 2010 16:32:23 +0000 (08:32 -0800)
committerShih-wei Liao <sliao@google.com>
Fri, 12 Mar 2010 16:32:23 +0000 (08:32 -0800)
Change-Id: I2f8b46c74127754eaccd61ad0b90ed51357709d1

darwin-x86/bcc/bcc
darwin-x86/bcc/slang
linux-x86_64/bcc/bcc [deleted file]
linux-x86_64/bcc/renderscript.h [deleted file]
linux-x86_64/bcc/slang [deleted file]

index 5ba950b..3c7bda1 100755 (executable)
Binary files a/darwin-x86/bcc/bcc and b/darwin-x86/bcc/bcc differ
index 63d12e9..7dd9c2f 100755 (executable)
Binary files a/darwin-x86/bcc/slang and b/darwin-x86/bcc/slang differ
diff --git a/linux-x86_64/bcc/bcc b/linux-x86_64/bcc/bcc
deleted file mode 100755 (executable)
index e8f6460..0000000
Binary files a/linux-x86_64/bcc/bcc and /dev/null differ
diff --git a/linux-x86_64/bcc/renderscript.h b/linux-x86_64/bcc/renderscript.h
deleted file mode 100644 (file)
index 89a3cc3..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-#ifndef __RENDER_LIB_HDR__\r
-#define __RENDER_LIB_HDR__\r
-\r
-struct vec2_s {float x; float y;};\r
-struct vec3_s {float x; float y; float z;};\r
-struct vec4_s {float x; float y; float z; float w;};\r
-\r
-int    loadI32(int, int);\r
-float  loadF(int, int);\r
-float* loadArrayF(int, int);\r
-int*   loadArrayI32(int, int);\r
-void   loadVec4(int, int, float *);\r
-void   loadMatrix(int, int, float *);\r
-void   storeI32(int, int, int);\r
-void   storeF(int, int, float);\r
-void   storeVec4(int, int, float *);\r
-void   storeMatrix(int, int, float *);\r
-float* loadSimpleMeshVerticesF(int, int);\r
-void   updateSimpleMesh(int);\r
-float  modf(float, float);\r
-int    abs(int);\r
-float  absf(float);\r
-float  sinf_fast(float);\r
-float  cosf_fast(float);\r
-float  sinf(float);\r
-float  cosf(float);\r
-float  asinf(float);\r
-float  acosf(float);\r
-float  atanf(float);\r
-float  atan2f(float, float);\r
-float  fabsf(float);\r
-float  randf(float);\r
-float  randf2(float, float);\r
-float  floorf(float);\r
-float  fracf(float);\r
-float  ceilf(float);\r
-float  roundf(float);\r
-float  expf(float);\r
-float  logf(float);\r
-float  powf(float, float);\r
-float  maxf(float, float);\r
-float  minf(float, float);\r
-int    sqrt(int);\r
-float  sqrtf(float);\r
-int    sqr(int);\r
-float  sqrf(float);\r
-int    sign(int);\r
-float  signf(float);\r
-int    clamp(int, int, int);\r
-float  clampf(float, float, float);\r
-float  distf2(float, float, float, float);\r
-float  distf3(float, float, float, float, float, float);\r
-float  magf2(float, float);\r
-float  magf3(float, float, float);\r
-float  radf(float);\r
-float  degf(float);\r
-float  lerpf(float, float, float);\r
-float  normf(float, float, float);\r
-float  mapf(float, float, float, float, float);\r
-float  noisef(float);\r
-float  noisef2(float, float);\r
-float  noisef3(float, float, float);\r
-float  turbulencef2(float, float, float);\r
-float  turbulencef3(float, float, float, float);\r
-int    second();\r
-int    minute();\r
-int    hour();\r
-int    day();\r
-int    month();\r
-int    year();\r
-int    uptimeMillis();\r
-int    startTimeMillis();\r
-int    elapsedTimeMillis();\r
-void   matrixLoadIdentity(float *mat);\r
-void   matrixLoadFloat(float *mat, float *f);\r
-void   matrixLoadMat(float *mat, float *newmat);\r
-void   matrixLoadRotate(float *mat, float rot, float x, float y, float z);\r
-void   matrixLoadScale(float *mat, float x, float y, float z);\r
-void   matrixLoadTranslate(float *mat, float x, float y, float z);\r
-void   matrixLoadMultiply(float *mat, float *lhs, float *rhs);\r
-void   matrixMultiply(float *mat, float *rhs);\r
-void   matrixRotate(float *mat, float rot, float x, float y, float z);\r
-void   matrixScale(float *mat, float x, float y, float z);\r
-void   matrixTranslate(float *mat, float x, float y, float z);\r
-void   vec2Rand(float *vec, float maxLen);\r
-void   vec3Norm(struct vec3_s *);\r
-float  vec3Length(struct vec3_s *);\r
-void   vec3Add(struct vec3_s *dest, struct vec3_s *lhs, struct vec3_s *rhs);\r
-void   vec3Sub(struct vec3_s *dest, struct vec3_s *lhs, struct vec3_s *rhs);\r
-void   vec3Cross(struct vec3_s *dest, struct vec3_s *lhs, struct vec3_s *rhs);\r
-float  vec3Dot(struct vec3_s *lhs, struct vec3_s *rhs);\r
-void   vec3Scale(struct vec3_s *lhs, float scale);\r
-void   vec4Norm(struct vec4_s *);\r
-float  vec4Length(struct vec4_s *);\r
-void   vec4Add(struct vec4_s *dest, struct vec4_s *lhs, struct vec4_s *rhs);\r
-void   vec4Sub(struct vec4_s *dest, struct vec4_s *lhs, struct vec4_s *rhs);\r
-float  vec4Dot(struct vec4_s *lhs, struct vec4_s *rhs);\r
-void   vec4Scale(struct vec4_s *lhs, float scale);\r
-void   bindProgramFragment(int);\r
-void   bindProgramFragmentStore(int);\r
-void   bindProgramStore(int);\r
-void   bindProgramVertex(int);\r
-void   bindSampler(int, int, int);\r
-void   bindTexture(int, int, int);\r
-void   vpLoadModelMatrix(void *);\r
-void   vpLoadTextureMatrix(void *);\r
-void   drawRect(float x1, float y1, float x2, float y2, float z);\r
-void   drawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4);\r
-void   drawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4);\r
-void   drawSprite(float x, float y, float z, float w, float h);\r
-void   drawSpriteScreenspace(float x, float y, float z, float w, float h);\r
-void   drawLine(float x1, float y1, float z1, float x2, float y2, float z2);\r
-void   drawPoint(float x1, float y1, float z1);\r
-void   drawSimpleMesh(int ism);\r
-void   drawSimpleMeshRange(int ism, int start, int len);\r
-void   pfClearColor(float, float, float, float);\r
-void   color(float, float, float, float);\r
-void   hsb(float, float, float, float);\r
-void   hsbToRgb(float, float, float, float*);\r
-int    hsbToAbgr(float, float, float, float);\r
-void   ambient(float, float, float, float);\r
-void   diffuse(float, float, float, float);\r
-void   specular(float, float, float, float);\r
-void   emission(float, float, float, float);\r
-void   shininess(float);\r
-void   pointAttenuation(float, float, float);\r
-void   uploadToTexture(int, int);\r
-void   uploadToBufferObject(int);\r
-int    colorFloatRGBAtoUNorm8(float, float, float, float);\r
-int    colorFloatRGBto565(float, float, float);\r
-int    getWidth();\r
-int    getHeight();\r
-int    sendToClient(void *data, int cmdID, int len, int waitForSpace);\r
-void   debugF(void *, float);\r
-void   debugI32(void *, int);\r
-void   debugHexF(void *, float);\r
-void   debugHexI32(void *, int);\r
-void   scriptCall(int);\r
-#endif /*__RENDER_LIB_H__*/\r
diff --git a/linux-x86_64/bcc/slang b/linux-x86_64/bcc/slang
deleted file mode 100755 (executable)
index bfb6296..0000000
Binary files a/linux-x86_64/bcc/slang and /dev/null differ