diff options
| author | Jason Sams <rjsams@android.com> | 2011-04-26 14:50:00 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2011-04-26 14:50:40 -0700 |
| commit | 65bdaf1c6d463d9441125d2c87a36015bfef2d95 (patch) | |
| tree | 0a509884834b6eba859565b274a9cb603a0a07e6 /libs/rs/RenderScript.h | |
| parent | e7c4a7565c7f8c8fc1ec92dc0692577fcc474750 (diff) | |
| download | frameworks_base-65bdaf1c6d463d9441125d2c87a36015bfef2d95.zip frameworks_base-65bdaf1c6d463d9441125d2c87a36015bfef2d95.tar.gz frameworks_base-65bdaf1c6d463d9441125d2c87a36015bfef2d95.tar.bz2 | |
Cleanup rs.spec file and code generator.
Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
Diffstat (limited to 'libs/rs/RenderScript.h')
| -rw-r--r-- | libs/rs/RenderScript.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h index cb6d7e0..f4e3f57 100644 --- a/libs/rs/RenderScript.h +++ b/libs/rs/RenderScript.h @@ -26,20 +26,6 @@ extern "C" { #include "RenderScriptDefines.h" -RsDevice rsDeviceCreate(); -void rsDeviceDestroy(RsDevice); -void rsDeviceSetConfig(RsDevice, RsDeviceParam, int32_t value); - -RsContext rsContextCreate(RsDevice, uint32_t version); -RsContext rsContextCreateGL(RsDevice, uint32_t version, - RsSurfaceConfig sc, uint32_t dpi); -void rsContextDestroy(RsContext); - -RsMessageToClientType rsContextGetMessage(RsContext vrsc, void *data, size_t *receiveLen, uint32_t *subID, size_t bufferLen, bool wait); -RsMessageToClientType rsContextPeekMessage(RsContext vrsc, size_t *receiveLen, uint32_t *subID, bool wait); -void rsContextInitToClient(RsContext); -void rsContextDeinitToClient(RsContext); - // // A3D loading and object update code. // Should only be called at object creation, not thread safe @@ -63,18 +49,8 @@ void rsaTypeGetNativeData(RsContext, RsType, uint32_t *typeData, uint32_t typeDa void rsaElementGetNativeData(RsContext, RsElement, uint32_t *elemData, uint32_t elemDataSize); void rsaElementGetSubElements(RsContext, RsElement, uint32_t *ids, const char **names, uint32_t dataSize); -// Async commands for returning new IDS -RsType rsaTypeCreate(RsContext, RsElement, uint32_t dimX, uint32_t dimY, - uint32_t dimZ, bool mips, bool faces); -RsAllocation rsaAllocationCreateTyped(RsContext rsc, RsType vtype, - RsAllocationMipmapControl mips, - uint32_t usages); -RsAllocation rsaAllocationCreateFromBitmap(RsContext con, RsType vtype, - RsAllocationMipmapControl mips, - const void *data, uint32_t usages); -RsAllocation rsaAllocationCubeCreateFromBitmap(RsContext con, RsType vtype, - RsAllocationMipmapControl mips, - const void *data, uint32_t usages); + + #ifdef ANDROID_RS_SERIALIZE #define NO_RS_FUNCS #endif |
