/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() 51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() 57 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() 63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() 69 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { in rsrBindProgramStore() 74 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment() 79 void rsrBindProgramVertex(Context *rsc, ProgramVertex *pv) { in rsrBindProgramVertex() 84 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { in rsrBindProgramRaster() 89 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() 95 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget() [all …]
|
D | rsScriptC_Lib.cpp | 78 time_t rsrTime(Context *rsc, time_t *timer) { in rsrTime() 82 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { in rsrLocalTime() 96 int64_t rsrUptimeMillis(Context *rsc) { in rsrUptimeMillis() 100 int64_t rsrUptimeNanos(Context *rsc) { in rsrUptimeNanos() 104 float rsrGetDt(Context *rsc, const Script *sc) { in rsrGetDt() 114 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { in SetObjectRef() 127 void rsrClearObject(const Context *rsc, void *dst) { in rsrClearObject() 151 void rsrClearObject(const Context *rsc, rs_object_base *dst) { in rsrClearObject() 156 void rsrSetObject(const Context *rsc, void *dst, ObjectBase *src) { in rsrSetObject() 170 void rsrSetObject(const Context *rsc, rs_object_base *dst, const ObjectBase *src) { in rsrSetObject() [all …]
|
D | rsScriptIntrinsic.cpp | 24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) { in ScriptIntrinsic() 34 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { in init() 50 void ScriptIntrinsic::setupScript(Context *rsc) { in setupScript() 53 uint32_t ScriptIntrinsic::run(Context *rsc) { in run() 58 void ScriptIntrinsic::runForEach(Context* rsc, in runForEach() 71 void ScriptIntrinsic::runReduce(Context *rsc, uint32_t slot, in runReduce() 76 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() 79 void ScriptIntrinsic::serialize(Context *rsc, OStream *stream) const { in serialize() 86 RsScript rsi_ScriptIntrinsicCreate(Context *rsc, uint32_t id, RsElement ve) { in rsi_ScriptIntrinsicCreate()
|
D | rsProgramRaster.cpp | 23 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() 46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { in setup() 56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const { in serialize() 59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 69 void ProgramRasterState::init(Context *rsc) { in init() 73 void ProgramRasterState::deinit(Context *rsc) { in deinit() 78 ObjectBaseRef<ProgramRaster> ProgramRaster::getProgramRaster(Context *rsc, in getProgramRaster() 103 RsProgramRaster rsi_ProgramRasterCreate(Context * rsc, bool pointSprite, RsCullMode cull) { in rsi_ProgramRasterCreate()
|
D | rsProgramVertex.cpp | 24 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramVertex() 37 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { in setup() 66 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix() 84 void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const { in setModelviewMatrix() 102 void ProgramVertex::setTextureMatrix(Context *rsc, const rsc_Matrix *m) const { in setTextureMatrix() 120 void ProgramVertex::getProjectionMatrix(Context *rsc, rsc_Matrix *m) const { in getProjectionMatrix() 137 void ProgramVertex::transformToScreen(Context *rsc, float *v4out, const float *v3in) const { in transformToScreen() 150 void ProgramVertex::serialize(Context *rsc, OStream *stream) const { in serialize() 153 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 166 void ProgramVertexState::init(Context *rsc) { in init() [all …]
|
D | rsFBOCache.cpp | 38 void FBOCache::init(Context *rsc) { in init() 42 void FBOCache::deinit(Context *rsc) { in deinit() 46 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in bindColorTarget() 62 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { in bindDepthTarget() 84 void FBOCache::setup(Context *rsc) { in setup()
|
D | rsContext.cpp | 234 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local 390 Context *rsc = (Context *)ctx; in printWatchdogInfo() local 464 Context * rsc = new Context(); in createContext() local 485 Context * rsc = new Context(); in createContextLite() local 746 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish() 750 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript() 757 void rsi_ContextSetCacheDir(Context *rsc, const char *cacheDir, size_t cacheDir_length) { in rsi_ContextSetCacheDir() 761 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler() 773 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore() 778 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment() [all …]
|
D | rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() 108 void Script::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject() argument 122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() 132 ScriptInvokeID::ScriptInvokeID(Context *rsc, Script *s, int slot) in ScriptInvokeID() 140 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : in ScriptFieldID() 149 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() 155 RsScriptInvokeID rsi_ScriptInvokeIDCreate(Context *rsc, RsScript vs, uint32_t slot) { in rsi_ScriptInvokeIDCreate() 161 RsScriptFieldID rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) { in rsi_ScriptFieldIDCreate() 167 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() 173 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() [all …]
|
D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() 42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation() 61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided() 101 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() 106 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) { in createAdapter() 126 void Allocation::adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) { in adapterOffset() 168 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll() 172 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, in getPointer() 194 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() 212 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() [all …]
|
D | rsProgramFragment.cpp | 25 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramFragment() 42 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor() 63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup() 80 void ProgramFragment::serialize(Context *rsc, OStream *stream) const { in serialize() 83 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 96 void ProgramFragmentState::init(Context *rsc) { in init() 128 void ProgramFragmentState::deinit(Context *rsc) { in deinit() 133 RsProgramFragment rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, in rsi_ProgramFragmentCreate()
|
D | rsProgram.cpp | 25 Program::Program(Context *rsc, const char * shaderText, size_t shaderLength, in Program() 152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation() 181 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { in bindTexture() 200 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler() 212 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants() 217 void rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) { in rsi_ProgramBindTexture() 222 void rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) { in rsi_ProgramBindSampler()
|
D | rsProgramStore.cpp | 23 ProgramStore::ProgramStore(Context *rsc, in ProgramStore() 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { in setup() 66 void ProgramStore::serialize(Context *rsc, OStream *stream) const { in serialize() 69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore() 129 void ProgramStoreState::init(Context *rsc) { in init() 137 void ProgramStoreState::deinit(Context *rsc) { in deinit() 143 RsProgramStore rsi_ProgramStoreCreate(Context *rsc, in rsi_ProgramStoreCreate()
|
D | rsObjectBase.cpp | 26 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() 229 void ObjectBase::zeroAllUserRef(Context *rsc) { in zeroAllUserRef() 261 void ObjectBase::freeAllChildren(Context *rsc) { in freeAllChildren() 283 void ObjectBase::dumpAll(Context *rsc) { in dumpAll() 300 bool ObjectBase::isValid(const Context *rsc, const ObjectBase *obj) { in isValid() 315 void ObjectBase::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject() argument
|
D | rsMesh.cpp | 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { in Mesh() 38 Mesh::Mesh(Context *rsc, in Mesh() 81 void Mesh::serialize(Context *rsc, OStream *stream) const { in serialize() 106 Mesh *Mesh::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 178 void Mesh::renderPrimitive(Context *rsc, uint32_t primIndex) const { in renderPrimitive() 192 void Mesh::renderPrimitiveRange(Context *rsc, uint32_t primIndex, uint32_t start, uint32_t len) con… in renderPrimitiveRange() 201 void Mesh::uploadAll(Context *rsc) { in uploadAll() 215 void Mesh::computeBBox(Context *rsc) { in computeBBox() 266 RsMesh rsi_MeshCreate(Context *rsc, in rsi_MeshCreate()
|
D | rsScriptC.cpp | 50 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC() 114 void ScriptC::setupScript(Context *rsc) { in setupScript() 129 void ScriptC::setupGLState(Context *rsc) { in setupGLState() 146 uint32_t ScriptC::run(Context *rsc) { in run() 171 void ScriptC::runForEach(Context *rsc, in runForEach() 220 void ScriptC::runReduce(Context *rsc, uint32_t slot, in runReduce() 241 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() 294 bool ScriptC::runCompiler(Context *rsc, in runCompiler() 442 RsScript rsi_ScriptCCreate(Context *rsc, in rsi_ScriptCCreate()
|
D | rsType.cpp | 28 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type() 164 void Type::serialize(Context *rsc, OStream *stream) const { in serialize() 179 Type *Type::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 225 ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e, in getTypeRef() 296 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const { in cloneAndResize1D() 306 ObjectBaseRef<Type> Type::cloneAndResize2D(Context *rsc, in cloneAndResize2D() 351 void Type::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject() argument 362 RsType rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, in rsi_TypeCreate() 377 RsType rsi_TypeCreate2(Context *rsc, const RsTypeCreateParams *p, size_t len) { in rsi_TypeCreate2()
|
D | rsSampler.cpp | 24 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() 29 Sampler::Sampler(Context *rsc, in Sampler() 71 void Sampler::serialize(Context *rsc, OStream *stream) const { in serialize() 74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler() 132 RsSampler rsi_SamplerCreate(Context * rsc, in rsi_SamplerCreate()
|
/frameworks/rs/driver/ |
D | rsdScriptGroup.cpp | 35 bool rsdScriptGroupInit(const Context *rsc, ScriptGroupBase *sg) { in rsdScriptGroupInit() 42 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetInput() 46 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetOutput() 50 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroupBase *sg) { in rsdScriptGroupExecute() 56 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { in rsdScriptGroupDestroy() 62 void rsdScriptGroupUpdateCachedObject(const Context *rsc, in rsdScriptGroupUpdateCachedObject()
|
D | rsdProgram.cpp | 39 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() 50 static void SyncProgramConstants(const Context *rsc, const Program *p) { in SyncProgramConstants() 63 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() 70 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() 86 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() 97 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive() 104 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy()
|
D | rsdFrameBuffer.cpp | 32 void setDepthAttachment(const Context *rsc, const FBOCache *fb) { in setDepthAttachment() 47 void setColorAttachment(const Context *rsc, const FBOCache *fb) { in setColorAttachment() 64 bool rsdFrameBufferInit(const Context *rsc, const FBOCache *fb) { in rsdFrameBufferInit() 77 void rsdFrameBufferSetActive(const Context *rsc, const FBOCache *fb) { in rsdFrameBufferSetActive() 93 void rsdFrameBufferDestroy(const Context *rsc, const FBOCache *fb) { in rsdFrameBufferDestroy()
|
D | rsdGL.cpp | 148 void rsdGLShutdown(const Context *rsc) { in rsdGLShutdown() 173 void getConfigData(const Context *rsc, in getConfigData() 224 int32_t rsdGLInit(const Context *rsc) { in rsdGLInit() 425 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { in rsdGLSetInternalSurface() 467 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface() 486 void rsdGLSwap(const android::renderscript::Context *rsc) { in rsdGLSwap() 491 void rsdGLSetPriority(const Context *rsc, int32_t priority) { in rsdGLSetPriority() 500 void rsdGLCheckError(const android::renderscript::Context *rsc, in rsdGLCheckError() 525 void rsdGLClearColor(const android::renderscript::Context *rsc, in rsdGLClearColor() 531 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v) { in rsdGLClearDepth() [all …]
|
D | rsdAllocation.cpp | 99 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture() 118 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture() 160 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture() 198 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget() 223 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject() 299 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 355 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 372 bool rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t require… in rsdAllocationInitStrided() 495 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit() 499 void rsdAllocationAdapterOffset(const Context *rsc, const Allocation *alloc) { in rsdAllocationAdapterOffset() [all …]
|
D | rsdRuntimeStubs.cpp | 151 static bool failIfInKernel(Context *rsc, const char *funcName) { in failIfInKernel() 171 Context *rsc = RsdCpuReference::getTlsContext(); in rsGetAllocation() local 180 Context *rsc = RsdCpuReference::getTlsContext(); in rsGetAllocation() local 195 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationIoSend() local 202 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationIoReceive() local 213 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationCopy1DRange() local 228 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationCopy2DRange() local 241 Context *rsc = RsdCpuReference::getTlsContext(); in CreateElement() local 267 Context *rsc = RsdCpuReference::getTlsContext(); in CreateType() local 340 Context *rsc = RsdCpuReference::getTlsContext(); in CreateAllocation() local [all …]
|
D | rsdMesh.cpp | 30 bool rsdMeshInit(const Context *rsc, const Mesh *m) { in rsdMeshInit() 41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t le… in rsdMeshDraw() 53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) { in rsdMeshDestroy()
|
/frameworks/rs/support/jni/ |
D | android_rscompat_usage_io_driver.cpp | 15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in IoGetBuffer() 34 Context *rsc = (Context *)rscR; in rscAllocationSetSurface() local 71 extern "C" void rscAllocationDestroy(const Context *rsc, Allocation *alloc) { in rscAllocationDestroy() 96 extern "C" void rscAllocationIoSend(const Context *rsc, Allocation *alloc) { in rscAllocationIoSend()
|