summaryrefslogtreecommitdiff
path: root/rs.h
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2012-11-06 14:36:38 -0800
committerTim Murray <timmurray@google.com>2012-11-06 14:36:38 -0800
commit0e92fa3775b3537c29a7a0ca603d892548936038 (patch)
tree90f820385669dc0f2bbb30be8fd29c3616a5d3e3 /rs.h
parent2eb76f62569f8d2f3aaa2072f1466157ee15ab99 (diff)
downloadrs-0e92fa3775b3537c29a7a0ca603d892548936038.tar.gz
Add flag for enabling CPU-only execution.
Change-Id: I5f6ba33899716ddd82ed2e6325b0a7a9fd8a9ffe
Diffstat (limited to 'rs.h')
-rw-r--r--rs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rs.h b/rs.h
index 825b9b81..e6d3b12b 100644
--- a/rs.h
+++ b/rs.h
@@ -52,6 +52,7 @@ RsDevice rsDeviceCreate();
void rsDeviceDestroy(RsDevice dev);
void rsDeviceSetConfig(RsDevice dev, RsDeviceParam p, int32_t value);
RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion);
+RsContext rsContextCreate(RsDevice dev, uint32_t version, uint32_t sdkVersion, bool forceCpu);
RsContext rsContextCreateGL(RsDevice dev, uint32_t version, uint32_t sdkVersion,
RsSurfaceConfig sc, uint32_t dpi);