summaryrefslogtreecommitdiffstats
path: root/libs/rs/RenderScript.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-09-23 13:57:02 -0700
committerJason Sams <rjsams@android.com>2009-09-23 13:57:02 -0700
commitebfb436a49673693b98469683451bd9ede797557 (patch)
tree62300ba279079ae34c56dc883430afe4b336f7c6 /libs/rs/RenderScript.h
parent59038ca98b5f258784687523ee3be11b5dfa995d (diff)
downloadframeworks_base-ebfb436a49673693b98469683451bd9ede797557.zip
frameworks_base-ebfb436a49673693b98469683451bd9ede797557.tar.gz
frameworks_base-ebfb436a49673693b98469683451bd9ede797557.tar.bz2
Add raster object to control point and line params. Add flag to force SW rendering.
Diffstat (limited to 'libs/rs/RenderScript.h')
-rw-r--r--libs/rs/RenderScript.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h
index 1e24cd2..9f18b78 100644
--- a/libs/rs/RenderScript.h
+++ b/libs/rs/RenderScript.h
@@ -45,9 +45,16 @@ typedef void * RsLight;
typedef void * RsProgramVertex;
typedef void * RsProgramFragment;
typedef void * RsProgramFragmentStore;
+typedef void * RsProgramRaster;
+
+enum RsDeviceParam {
+ RS_DEVICE_PARAM_FORCE_SOFTWARE_GL,
+ RS_DEVICE_PARAM_COUNT
+};
RsDevice rsDeviceCreate();
void rsDeviceDestroy(RsDevice);
+void rsDeviceSetConfig(RsDevice, RsDeviceParam, int32_t value);
RsContext rsContextCreate(RsDevice, void *, uint32_t version, bool useDepth);
void rsContextDestroy(RsContext);