/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() argument 48 pf->bindTexture(rsc, slot, a); in rsrBindTexture() 51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() argument 54 pf->bindAllocation(rsc, a, slot); in rsrBindConstant() 57 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() argument 60 pv->bindAllocation(rsc, a, slot); in rsrBindConstant() 63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() argument 66 pf->bindSampler(rsc, slot, s); in rsrBindSampler() 69 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { in rsrBindProgramStore() argument 71 rsc->setProgramStore(ps); in rsrBindProgramStore() [all …]
|
D | rsProgramVertex.cpp | 24 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramVertex() argument 28 : Program(rsc, shaderText, shaderLength, params, paramLength) { in ProgramVertex() 37 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { in setup() argument 44 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setup() 48 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup() 49 rsc, mHal.state.constants[0])); in setup() 58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 63 rsc->mHal.funcs.vertex.setActive(rsc, this); in setup() 66 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix() argument 68 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix() [all …]
|
D | rsContext.cpp | 234 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local 236 rsc->mNativeThreadId = gettid(); in threadProc() 237 rsc->props.mLogTimes = getProp("debug.rs.profile") != 0; in threadProc() 238 rsc->props.mLogScripts = getProp("debug.rs.script") != 0; in threadProc() 239 rsc->props.mLogShaders = getProp("debug.rs.shader") != 0; in threadProc() 240 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes") != 0; in threadProc() 241 rsc->props.mLogShadersUniforms = getProp("debug.rs.shader.uniforms") != 0; in threadProc() 242 rsc->props.mLogVisual = getProp("debug.rs.visual") != 0; in threadProc() 243 rsc->props.mLogReduce = getProp("debug.rs.reduce"); in threadProc() 244 rsc->props.mDebugReduceSplitAccum = getProp("debug.rs.reduce-split-accum") != 0; in threadProc() [all …]
|
D | rsDriverLoader.cpp | 51 static bool LoadHalTable(Context *rsc, HalQueryHal fn, bool loadGraphics) { in LoadHalTable() argument 54 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver); in LoadHalTable() 55 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority); in LoadHalTable() 56 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem); in LoadHalTable() 57 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem); in LoadHalTable() 58 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish); in LoadHalTable() 60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable() 61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable() 62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable() 63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable() [all …]
|
D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() argument 30 : ObjectBase(rsc) { in Allocation() 42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation() argument 43 : ObjectBase(rsc) { in Allocation() 61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided() argument 65 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0); in createAllocationStrided() 68 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in createAllocationStrided() 75 if (rsc->mHal.funcs.allocation.initOem != nullptr) { in createAllocationStrided() 76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocationStrided() 77 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided() [all …]
|
D | rsScriptC.cpp | 47 Context * rsc = tls->mContext; \ 50 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC() argument 114 void ScriptC::setupScript(Context *rsc) { in setupScript() argument 125 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript() 129 void ScriptC::setupGLState(Context *rsc) { in setupGLState() argument 132 rsc->setProgramStore(mEnviroment.mFragmentStore.get()); in setupGLState() 135 rsc->setProgramFragment(mEnviroment.mFragment.get()); in setupGLState() 138 rsc->setProgramVertex(mEnviroment.mVertex.get()); in setupGLState() 141 rsc->setProgramRaster(mEnviroment.mRaster.get()); in setupGLState() 146 uint32_t ScriptC::run(Context *rsc) { in run() argument [all …]
|
D | rs_hal.h | 154 bool (*init)(const Context *rsc, ScriptC *s, 160 bool (*initIntrinsic)(const Context *rsc, Script *s, 164 void (*invokeFunction)(const Context *rsc, Script *s, 168 int (*invokeRoot)(const Context *rsc, Script *s); 169 void (*invokeForEach)(const Context *rsc, 177 void (*invokeReduce)(const Context *rsc, Script *s, 182 void (*invokeInit)(const Context *rsc, Script *s); 183 void (*invokeFreeChildren)(const Context *rsc, Script *s); 185 void (*setGlobalVar)(const Context *rsc, const Script *s, 189 void (*getGlobalVar)(const Context *rsc, const Script *s, [all …]
|
D | rsScriptC_Lib.cpp | 78 time_t rsrTime(Context *rsc, time_t *timer) { in rsrTime() argument 82 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { in rsrLocalTime() argument 89 pthread_mutex_lock(&rsc->gLibMutex); in rsrLocalTime() 92 pthread_mutex_unlock(&rsc->gLibMutex); in rsrLocalTime() 96 int64_t rsrUptimeMillis(Context *rsc) { in rsrUptimeMillis() argument 100 int64_t rsrUptimeNanos(Context *rsc) { in rsrUptimeNanos() argument 104 float rsrGetDt(Context *rsc, const Script *sc) { in rsrGetDt() argument 114 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { in SetObjectRef() argument 127 void rsrClearObject(const Context *rsc, void *dst) { in rsrClearObject() argument 151 void rsrClearObject(const Context *rsc, rs_object_base *dst) { in rsrClearObject() argument [all …]
|
D | rsApiStubs.h | 30 extern "C" void rsContextDestroy(RsContext rsc) __DEPRECATED_IN(31); 31 extern "C" void rsContextFinish(RsContext rsc) __DEPRECATED_IN(31); 32 extern "C" void rsContextDump(RsContext rsc, int32_t bits) __DEPRECATED_IN(31); 33 extern "C" void rsContextSetPriority(RsContext rsc, int32_t priority) __DEPRECATED_IN(31); 34 extern "C" void rsContextDestroyWorker(RsContext rsc) __DEPRECATED_IN(31); 35 extern "C" RsMessageToClientType rsContextGetMessage(RsContext rsc, void* data, size_t data_length, 39 extern "C" RsMessageToClientType rsContextPeekMessage(RsContext rsc, size_t* receiveLen, 42 extern "C" void rsContextSendMessage(RsContext rsc, uint32_t id, const uint8_t* data, 44 extern "C" void rsContextInitToClient(RsContext rsc) __DEPRECATED_IN(31); 45 extern "C" void rsContextDeinitToClient(RsContext rsc) __DEPRECATED_IN(31); [all …]
|
D | rsProgramFragment.cpp | 25 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramFragment() argument 28 : Program(rsc, shaderText, shaderLength, params, paramLength) { in ProgramFragment() 42 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor() argument 45 … rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program"); in setConstantColor() 50 …rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocatio… in setConstantColor() 57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); in setConstantColor() 60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setConstantColor() 63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup() argument 72 rsc->setError(RS_ERROR_BAD_SHADER, "No texture bound"); in setup() 77 rsc->mHal.funcs.fragment.setActive(rsc, this); in setup() [all …]
|
D | rsProgramRaster.cpp | 23 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() argument 24 : ProgramBase(rsc) { in ProgramRaster() 29 rsc->mHal.funcs.raster.init(rsc, this); in ProgramRaster() 46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { in setup() argument 53 rsc->mHal.funcs.raster.setActive(rsc, this); in setup() 56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const { in serialize() argument 59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument 69 void ProgramRasterState::init(Context *rsc) { in init() argument 70 mDefault.set(ProgramRaster::getProgramRaster(rsc, false, RS_CULL_BACK).get()); in init() 73 void ProgramRasterState::deinit(Context *rsc) { in deinit() argument [all …]
|
D | rsScriptIntrinsic.cpp | 24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) { in ScriptIntrinsic() argument 34 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { in init() argument 40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e); in init() 50 void ScriptIntrinsic::setupScript(Context *rsc) { in setupScript() argument 53 uint32_t ScriptIntrinsic::run(Context *rsc) { in run() argument 58 void ScriptIntrinsic::runForEach(Context* rsc, in runForEach() argument 67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach() 71 void ScriptIntrinsic::runReduce(Context *rsc, uint32_t slot, in runReduce() argument 76 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() argument 79 void ScriptIntrinsic::serialize(Context *rsc, OStream *stream) const { in serialize() argument [all …]
|
D | rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() argument 108 void Script::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject() argument 109 if (rsc->mHal.funcs.script.updateCachedObject != nullptr) { in callUpdateCacheObject() 110 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj); in callUpdateCacheObject() 122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() argument 123 : IDBase(rsc, s, slot) { in ScriptKernelID() 132 ScriptInvokeID::ScriptInvokeID(Context *rsc, Script *s, int slot) in ScriptInvokeID() argument 133 : IDBase(rsc, s, slot) { in ScriptInvokeID() 140 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : in ScriptFieldID() argument 141 IDBase(rsc, s, slot) { in ScriptFieldID() [all …]
|
D | rsAllocation.h | 111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 125 void syncAll(Context *rsc, RsAllocationUsageType src); 127 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len… 129 void resize1D(Context *rsc, uint32_t dimX); 130 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 132 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 133 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, [all …]
|
D | rsMesh.cpp | 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { in Mesh() argument 38 Mesh::Mesh(Context *rsc, in Mesh() argument 40 uint32_t primitivesCount) : ObjectBase(rsc) { in Mesh() 81 void Mesh::serialize(Context *rsc, OStream *stream) const { in serialize() argument 89 mHal.state.vertexBuffers[vCount]->serialize(rsc, stream); in serialize() 99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); in serialize() 106 Mesh *Mesh::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument 122 Allocation *vertexAlloc = Allocation::createFromStream(rsc, stream); in createFromStream() 141 Allocation *indexAlloc = Allocation::createFromStream(rsc, stream); in createFromStream() 147 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); in createFromStream() [all …]
|
D | rsApiContext.cpp | 32 Context *rsc = Context::createContext(dev, nullptr, ct, flags, vendorDriverName); in rsContextCreateVendor() local 33 if (rsc) { in rsContextCreateVendor() 34 rsc->setTargetSdkVersion(sdkVersion); in rsContextCreateVendor() 36 return rsc; in rsContextCreateVendor() 46 Context *rsc = static_cast<Context *>(con); in rsaContextSetNativeLibDir() local 47 rsc->setNativeLibDir(libDir, length); in rsaContextSetNativeLibDir() 60 Context *rsc = Context::createContext(dev, &sc); in rsContextCreateGL() local 61 if (rsc) { in rsContextCreateGL() 62 rsc->setTargetSdkVersion(sdkVersion); in rsContextCreateGL() 63 rsc->setDPI(dpi); in rsContextCreateGL() [all …]
|
D | rsProgramStore.cpp | 23 ProgramStore::ProgramStore(Context *rsc, in ProgramStore() argument 27 RsDepthFunc depthFunc) : ProgramBase(rsc) { in ProgramStore() 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { in setup() argument 63 rsc->mHal.funcs.store.setActive(rsc, this); in setup() 66 void ProgramStore::serialize(Context *rsc, OStream *stream) const { in serialize() argument 69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument 83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore() argument 94 for (uint32_t ct = 0; ct < rsc->mStateFragmentStore.mStorePrograms.size(); ct++) { in getProgramStore() 95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; in getProgramStore() 112 ProgramStore *pfs = new ProgramStore(rsc, in getProgramStore() [all …]
|
D | rsScriptGroup2.cpp | 14 void ScriptGroup2::execute(Context* rsc) { in execute() argument 15 if (rsc->mHal.funcs.scriptgroup.execute) { in execute() 16 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute() 20 RsScriptGroup2 rsi_ScriptGroup2Create(Context* rsc, const char* name, in rsi_ScriptGroup2Create() argument 25 ScriptGroup2* group = new ScriptGroup2(rsc, name, cacheDir, in rsi_ScriptGroup2Create() 29 if (rsc->mHal.funcs.scriptgroup.init) { in rsi_ScriptGroup2Create() 30 rsc->mHal.funcs.scriptgroup.init(rsc, group); in rsi_ScriptGroup2Create()
|
D | rsFBOCache.cpp | 38 void FBOCache::init(Context *rsc) { in init() argument 39 rsc->mHal.funcs.framebuffer.init(rsc, this); in init() 42 void FBOCache::deinit(Context *rsc) { in deinit() argument 43 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit() 46 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in bindColorTarget() argument 62 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { in bindDepthTarget() argument 84 void FBOCache::setup(Context *rsc) { in setup() argument 89 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()
|
D | rsScriptGroup.cpp | 29 ScriptGroup::ScriptGroup(Context *rsc) : ScriptGroupBase(rsc) { in ScriptGroup() argument 192 ScriptGroup * ScriptGroup::create(Context *rsc, in create() argument 207 ScriptGroup *sg = new ScriptGroup(rsc); in create() 234 Allocation * alloc = Allocation::createAllocation(rsc, in create() 246 if (rsc->mHal.funcs.scriptgroup.init) { in create() 247 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create() 253 void ScriptGroup::setInput(Context *rsc, ScriptKernelID *kid, Allocation *a) { in setInput() argument 258 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput() 259 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput() 267 void ScriptGroup::setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a) { in setOutput() argument [all …]
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 80 uint32_t rsdAllocationGrallocBits(const android::renderscript::Context *rsc, 82 bool rsdAllocationInit(const android::renderscript::Context *rsc, 86 bool rsdAllocationInitStrided(const android::renderscript::Context *rsc, 90 bool rsdAllocationAdapterInit(const android::renderscript::Context *rsc, 92 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 95 void rsdAllocationResize(const android::renderscript::Context *rsc, 98 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 101 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 103 void rsdAllocationSetSurface(const android::renderscript::Context *rsc, 105 void rsdAllocationIoSend(const android::renderscript::Context *rsc, [all …]
|
D | rsdGL.cpp | 148 void rsdGLShutdown(const Context *rsc) { in rsdGLShutdown() argument 149 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLShutdown() 151 rsdGLSetSurface(rsc, 0, 0, nullptr); in rsdGLShutdown() 173 void getConfigData(const Context *rsc, in getConfigData() argument 200 if (rsc->mUserSurfaceConfig.alphaMin > 0) { in getConfigData() 202 configAttribsPtr[1] = rsc->mUserSurfaceConfig.alphaMin; in getConfigData() 206 if (rsc->mUserSurfaceConfig.depthMin > 0) { in getConfigData() 208 configAttribsPtr[1] = rsc->mUserSurfaceConfig.depthMin; in getConfigData() 224 int32_t rsdGLInit(const Context *rsc) { in rsdGLInit() argument 225 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLInit() [all …]
|
D | rsdProgram.cpp | 39 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() argument 50 static void SyncProgramConstants(const Context *rsc, const Program *p) { in SyncProgramConstants() argument 58 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); in SyncProgramConstants() 63 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() argument 64 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive() 66 SyncProgramConstants(rsc, pv); in rsdProgramVertexSetActive() 70 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() argument 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy() 76 if (rsc->props.mLogShaders) { in rsdProgramVertexDestroy() 86 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() argument [all …]
|
D | rsdRuntimeStubs.cpp | 151 static bool failIfInKernel(Context *rsc, const char *funcName) { in failIfInKernel() argument 152 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in failIfInKernel() 159 rsc->setError(RS_ERROR_FATAL_DRIVER, buf); in failIfInKernel() 171 Context *rsc = RsdCpuReference::getTlsContext(); in rsGetAllocation() local 173 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr); in rsGetAllocation() 175 alloc->callUpdateCacheObject(rsc, &obj); in rsGetAllocation() 180 Context *rsc = RsdCpuReference::getTlsContext(); in rsGetAllocation() local 182 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr); in rsGetAllocation() 189 alloc->callUpdateCacheObject(rsc, &obj); in rsGetAllocation() 195 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationIoSend() local [all …]
|
D | rsdGL.h | 23 #define RSD_CALL_GL(x, ...) rsc->setWatchdogGL(#x, __LINE__, __FILE__); x(__VA_ARGS__); rsc->setWat… 74 bool rsdGLSetInternalSurface(const android::renderscript::Context *rsc, 76 int32_t rsdGLInit(const android::renderscript::Context *rsc); 77 void rsdGLShutdown(const android::renderscript::Context *rsc); 78 bool rsdGLSetSurface(const android::renderscript::Context *rsc, 80 void rsdGLSwap(const android::renderscript::Context *rsc); 81 void rsdGLCheckError(const android::renderscript::Context *rsc, 83 void rsdGLSetPriority(const android::renderscript::Context *rsc, 85 void rsdGLClearColor(const android::renderscript::Context *rsc, 87 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v); [all …]
|