/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() 55 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() 61 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() 67 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() 73 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { in rsrBindProgramStore() 78 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment() 83 void rsrBindProgramVertex(Context *rsc, ProgramVertex *pv) { in rsrBindProgramVertex() 88 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { in rsrBindProgramRaster() 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() 99 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget() [all …]
|
D | rsAdapter.cpp | 24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D() 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D() 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { in data() 44 void Adapter1D::serialize(Context *rsc, OStream *stream) const { in serialize() 47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 54 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { in rsi_Adapter1DCreate() 60 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { in rsi_Adapter1DBindAllocation() 66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint() 95 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D() 99 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D() [all …]
|
D | rsScriptC_Lib.cpp | 84 time_t rsrTime(Context *rsc, time_t *timer) { in rsrTime() 88 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { in rsrLocalTime() 107 int64_t rsrUptimeMillis(Context *rsc) { in rsrUptimeMillis() 115 int64_t rsrUptimeNanos(Context *rsc) { in rsrUptimeNanos() 123 float rsrGetDt(Context *rsc, const Script *sc) { in rsrGetDt() 137 void rsrSetObject(const Context *rsc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject() 150 void rsrClearObject(const Context *rsc, ObjectBase **dst) { in rsrClearObject() 159 bool rsrIsObject(const Context *rsc, const ObjectBase *src) { in rsrIsObject() 164 uint32_t rsrToClient(Context *rsc, int cmdID, void *data, int len) { in rsrToClient() 169 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, void *data, int len) { in rsrToClientBlocking() [all …]
|
D | rsScriptIntrinsic.cpp | 24 ScriptIntrinsic::ScriptIntrinsic(Context *rsc) : Script(rsc) { in ScriptIntrinsic() 30 bool ScriptIntrinsic::init(Context *rsc, RsScriptIntrinsicID iid, Element *e) { in init() 46 void ScriptIntrinsic::setupScript(Context *rsc) { in setupScript() 49 uint32_t ScriptIntrinsic::run(Context *rsc) { in run() 55 void ScriptIntrinsic::runForEach(Context *rsc, in runForEach() 66 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() 69 void ScriptIntrinsic::serialize(Context *rsc, OStream *stream) const { in serialize() 82 RsScript rsi_ScriptIntrinsicCreate(Context *rsc, uint32_t id, RsElement ve) { in rsi_ScriptIntrinsicCreate()
|
D | rsProgramRaster.cpp | 24 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() 106 RsProgramRaster rsi_ProgramRasterCreate(Context * rsc, bool pointSprite, RsCullMode cull) { in rsi_ProgramRasterCreate()
|
D | rsFBOCache.cpp | 39 void FBOCache::init(Context *rsc) { in init() 43 void FBOCache::deinit(Context *rsc) { in deinit() 47 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in bindColorTarget() 63 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { in bindDepthTarget() 85 void FBOCache::setup(Context *rsc) { in setup()
|
D | rsProgramVertex.cpp | 25 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramVertex() 38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { in setup() 67 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix() 85 void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const { in setModelviewMatrix() 103 void ProgramVertex::setTextureMatrix(Context *rsc, const rsc_Matrix *m) const { in setTextureMatrix() 121 void ProgramVertex::getProjectionMatrix(Context *rsc, rsc_Matrix *m) const { in getProjectionMatrix() 138 void ProgramVertex::transformToScreen(Context *rsc, float *v4out, const float *v3in) const { in transformToScreen() 151 void ProgramVertex::serialize(Context *rsc, OStream *stream) const { in serialize() 154 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 167 void ProgramVertexState::init(Context *rsc) { in init() [all …]
|
D | rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() 98 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID() 111 void ScriptKernelID::serialize(Context *rsc, OStream *stream) const { in serialize() 119 ScriptFieldID::ScriptFieldID(Context *rsc, Script *s, int slot) : ObjectBase(rsc) { in ScriptFieldID() 128 void ScriptFieldID::serialize(Context *rsc, OStream *stream) const { in serialize() 140 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() 146 RsScriptFieldID rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) { in rsi_ScriptFieldIDCreate() 152 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() 158 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() 177 void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, in rsi_ScriptForEach() [all …]
|
D | rsContext.cpp | 238 bool Context::loadRuntime(const char* filename, Context* rsc) { in loadRuntime() 282 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local 476 Context *rsc = (Context *)ctx; in printWatchdogInfo() local 515 Context * rsc = new Context(); in createContext() local 529 Context * rsc = new Context(); in createContextLite() local 778 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish() 781 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript() 788 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler() 800 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore() 805 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment() [all …]
|
D | rsPath.cpp | 24 Path::Path(Context *rsc) : ObjectBase(rsc) { in Path() 27 Path::Path(Context *rsc, RsPathPrimitive pp, bool isStatic, in Path() 41 Path::Path(Context *rsc, uint32_t vertexBuffersCount, uint32_t primitivesCount) in Path() 59 void Path::render(Context *rsc) { in render() 62 void Path::serialize(Context *rsc, OStream *stream) const { in serialize() 73 RsPath rsi_PathCreate(Context *rsc, RsPathPrimitive pp, bool isStatic, in rsi_PathCreate()
|
D | rsProgramFragment.cpp | 23 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramFragment() 41 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor() 62 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup() 79 void ProgramFragment::serialize(Context *rsc, OStream *stream) const { in serialize() 82 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 95 void ProgramFragmentState::init(Context *rsc) { in init() 125 void ProgramFragmentState::deinit(Context *rsc) { in deinit() 133 RsProgramFragment rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, in rsi_ProgramFragmentCreate()
|
D | rsScriptC.cpp | 42 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC() 104 void ScriptC::setupScript(Context *rsc) { in setupScript() 121 void ScriptC::setupGLState(Context *rsc) { in setupGLState() 138 uint32_t ScriptC::run(Context *rsc) { in run() 163 void ScriptC::runForEach(Context *rsc, in runForEach() 178 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() 228 bool ScriptC::runCompiler(Context *rsc, in runCompiler() 368 RsScript rsi_ScriptCCreate(Context *rsc, in rsi_ScriptCCreate()
|
D | rsProgramStore.cpp | 24 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() 146 RsProgramStore rsi_ProgramStoreCreate(Context *rsc, in rsi_ProgramStoreCreate()
|
D | rsAllocation.cpp | 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() 51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() 86 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll() 90 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() 105 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() 111 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() 118 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read() 132 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() 149 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() 161 void Allocation::elementData(Context *rsc, uint32_t x, const void *data, in elementData() [all …]
|
D | rsProgram.cpp | 23 Program::Program(Context *rsc, const char * shaderText, size_t shaderLength, in Program() 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation() 168 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { in bindTexture() 187 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler() 202 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants() 207 void rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) { in rsi_ProgramBindTexture() 212 void rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) { in rsi_ProgramBindSampler()
|
D | rsSampler.cpp | 25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() 30 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() 116 RsSampler rsi_SamplerCreate(Context * rsc, in rsi_SamplerCreate()
|
D | rsObjectBase.cpp | 25 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() 206 void ObjectBase::zeroAllUserRef(Context *rsc) { in zeroAllUserRef() 231 void ObjectBase::freeAllChildren(Context *rsc) { in freeAllChildren() 253 void ObjectBase::dumpAll(Context *rsc) { in dumpAll() 267 bool ObjectBase::isValid(const Context *rsc, const ObjectBase *obj) { in isValid()
|
D | rsAnimation.cpp | 24 void Animation::serialize(Context *rsc, OStream *stream) const { in serialize() 27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 122 RsAnimation rsi_AnimationCreate(Context *rsc, in rsi_AnimationCreate()
|
/frameworks/rs/driver/ |
D | rsdScriptGroup.cpp | 31 bool rsdScriptGroupInit(const Context *rsc, ScriptGroup *sg) { in rsdScriptGroupInit() 38 void rsdScriptGroupSetInput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetInput() 42 void rsdScriptGroupSetOutput(const Context *rsc, const ScriptGroup *sg, in rsdScriptGroupSetOutput() 46 void rsdScriptGroupExecute(const Context *rsc, const ScriptGroup *sg) { in rsdScriptGroupExecute() 51 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroup *sg) { in rsdScriptGroupDestroy()
|
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 | rsdProgram.cpp | 36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() 47 static void SyncProgramConstants(const Context *rsc, const Program *p) { in SyncProgramConstants() 60 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() 67 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() 83 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() 94 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive() 101 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy()
|
D | rsdGL.cpp | 154 void rsdGLShutdown(const Context *rsc) { in rsdGLShutdown() 179 void getConfigData(const Context *rsc, in getConfigData() 236 bool rsdGLInit(const Context *rsc) { in rsdGLInit() 426 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { in rsdGLSetInternalSurface() 468 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface() 487 void rsdGLSwap(const android::renderscript::Context *rsc) { in rsdGLSwap() 492 void rsdGLSetPriority(const Context *rsc, int32_t priority) { in rsdGLSetPriority() 501 void rsdGLCheckError(const android::renderscript::Context *rsc, in rsdGLCheckError() 526 void rsdGLClearColor(const android::renderscript::Context *rsc, in rsdGLClearColor() 532 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v) { in rsdGLClearDepth() [all …]
|
D | rsdRuntimeStubs.cpp | 106 Context *rsc = RsdCpuReference::getTlsContext(); in SC_AllocationSyncAll2() local 111 Context *rsc = RsdCpuReference::getTlsContext(); in SC_AllocationSyncAll() local 121 Context *rsc = RsdCpuReference::getTlsContext(); in SC_AllocationCopy1DRange() local 133 Context *rsc = RsdCpuReference::getTlsContext(); in SC_AllocationCopy2DRange() local 143 Context *rsc = RsdCpuReference::getTlsContext(); in SC_AllocationIoSend() local 149 Context *rsc = RsdCpuReference::getTlsContext(); in SC_AllocationIoReceive() local 160 Context *rsc = RsdCpuReference::getTlsContext(); in SC_BindTexture() local 165 Context *rsc = RsdCpuReference::getTlsContext(); in SC_BindVertexConstant() local 170 Context *rsc = RsdCpuReference::getTlsContext(); in SC_BindFragmentConstant() local 175 Context *rsc = RsdCpuReference::getTlsContext(); in SC_BindSampler() 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()
|
D | rsdAllocation.cpp | 102 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture() 121 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture() 163 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture() 201 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget() 226 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject() 292 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable() 360 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit() 458 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy() 511 void rsdAllocationResize(const Context *rsc, const Allocation *alloc, in rsdAllocationResize() 539 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) { in rsdAllocationSyncFromFBO() [all …]
|