summaryrefslogtreecommitdiff
path: root/RenderScript.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-03-10 17:30:41 -0800
committerJason Sams <rjsams@android.com>2010-03-16 12:26:30 -0700
commitc1ed589021e280cda59a0521cb96b3e9eb629e1b (patch)
tree906779810fa438745498a368e1703b4b83069b98 /RenderScript.h
parenta2cf755a28a1e7ffff2955df656d714f40e4d715 (diff)
downloadrs-c1ed589021e280cda59a0521cb96b3e9eb629e1b.tar.gz
checkpoint animations
Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
Diffstat (limited to 'RenderScript.h')
-rw-r--r--RenderScript.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/RenderScript.h b/RenderScript.h
index d280f505..7415ba95 100644
--- a/RenderScript.h
+++ b/RenderScript.h
@@ -30,6 +30,7 @@ extern "C" {
typedef void * RsAdapter1D;
typedef void * RsAdapter2D;
typedef void * RsAllocation;
+typedef void * RsAnimation;
typedef void * RsContext;
typedef void * RsDevice;
typedef void * RsElement;
@@ -205,7 +206,27 @@ enum RsPrimitive {
enum RsError {
RS_ERROR_NONE,
RS_ERROR_BAD_SHADER,
- RS_ERROR_BAD_SCRIPT
+ RS_ERROR_BAD_SCRIPT,
+ RS_ERROR_BAD_VALUE,
+ RS_ERROR_OUT_OF_MEMORY
+};
+
+enum RsAnimationInterpolation {
+ RS_ANIMATION_INTERPOLATION_STEP,
+ RS_ANIMATION_INTERPOLATION_LINEAR,
+ RS_ANIMATION_INTERPOLATION_BEZIER,
+ RS_ANIMATION_INTERPOLATION_CARDINAL,
+ RS_ANIMATION_INTERPOLATION_HERMITE,
+ RS_ANIMATION_INTERPOLATION_BSPLINE
+};
+
+enum RsAnimationEdge {
+ RS_ANIMATION_EDGE_UNDEFINED,
+ RS_ANIMATION_EDGE_CONSTANT,
+ RS_ANIMATION_EDGE_GRADIENT,
+ RS_ANIMATION_EDGE_CYCLE,
+ RS_ANIMATION_EDGE_OSCILLATE,
+ RS_ANIMATION_EDGE_CYLE_RELATIVE
};
#ifndef NO_RS_FUNCS