/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() 55 void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() 61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() 67 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() 73 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { in rsrBindProgramStore() 78 void rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) { in rsrBindProgramFragment() 83 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex() 88 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster() 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() 99 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Script *sc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget() [all …]
|
D | rsScriptC_Lib.cpp | 82 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { in rsrTime() 86 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { in rsrLocalTime() 100 int64_t rsrUptimeMillis(Context *rsc, Script *sc) { in rsrUptimeMillis() 104 int64_t rsrUptimeNanos(Context *rsc, Script *sc) { in rsrUptimeNanos() 108 float rsrGetDt(Context *rsc, Script *sc) { in rsrGetDt() 118 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject() 131 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject() 140 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject() 145 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient() 150 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking() [all …]
|
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 | rsAdapter.cpp | 24 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D() 28 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D() 66 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 73 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { in rsi_Adapter1DCreate() 79 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { in rsi_Adapter1DBindAllocation() 85 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint() 109 void rsi_Adapter1DSubData(Context *rsc, RsAdapter1D va, uint32_t xoff, uint32_t count, const void *… in rsi_Adapter1DSubData() 114 void rsi_Adapter1DData(Context *rsc, RsAdapter1D va, const void *data) { in rsi_Adapter1DData() 124 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D() 128 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D() [all …]
|
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() 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 | 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() 65 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix() 81 void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const { in setModelviewMatrix() 97 void ProgramVertex::setTextureMatrix(Context *rsc, const rsc_Matrix *m) const { in setTextureMatrix() 113 void ProgramVertex::getProjectionMatrix(Context *rsc, rsc_Matrix *m) const { in getProjectionMatrix() 128 void ProgramVertex::transformToScreen(Context *rsc, float *v4out, const float *v3in) const { in transformToScreen() 142 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 155 void ProgramVertexState::init(Context *rsc) { in init() 209 void ProgramVertexState::updateSize(Context *rsc) { in updateSize() [all …]
|
D | rsContext.cpp | 208 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local 343 Context *rsc = (Context *)ctx; in printWatchdogInfo() local 377 Context * rsc = new Context(); in createContext() local 387 Context * rsc = new Context(); in createContextLite() local 628 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish() 631 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript() 636 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler() 647 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore() 652 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment() 657 void rsi_ContextBindProgramRaster(Context *rsc, RsProgramRaster vpr) { in rsi_ContextBindProgramRaster() [all …]
|
D | rsScriptC.cpp | 35 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC() 54 void ScriptC::setupScript(Context *rsc) { in setupScript() 90 void ScriptC::setupGLState(Context *rsc) { in setupGLState() 105 uint32_t ScriptC::run(Context *rsc) { in run() 130 void ScriptC::runForEach(Context *rsc, in runForEach() 145 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke() 195 bool ScriptC::runCompiler(Context *rsc, in runCompiler() 317 RsScript rsi_ScriptCCreate(Context *rsc, in rsi_ScriptCCreate()
|
D | rsScript.cpp | 23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() 96 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() 103 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() 122 void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, in rsi_ScriptForEach() 132 void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) { in rsi_ScriptInvoke() 138 void rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) { in rsi_ScriptInvokeData() 143 void rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) { in rsi_ScriptInvokeV() 148 void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) { in rsi_ScriptSetVarI() 153 void rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) { in rsi_ScriptSetVarObj() 159 void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) { in rsi_ScriptSetVarJ() [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 | 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() 60 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup() 80 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 93 void ProgramFragmentState::init(Context *rsc) { in init() 123 void ProgramFragmentState::deinit(Context *rsc) { in deinit() 131 RsProgramFragment rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, in rsi_ProgramFragmentCreate()
|
D | rsAllocation.cpp | 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() 41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() 71 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll() 79 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() 94 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() 116 void Allocation::elementData(Context *rsc, uint32_t x, const void *data, in elementData() 144 void Allocation::elementData(Context *rsc, uint32_t x, uint32_t y, in elementData() 305 Allocation *Allocation::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 382 void Allocation::copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, … in copyRange1D() [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() 73 RsPath rsi_PathCreate(Context *rsc, RsPathPrimitive pp, bool isStatic, in rsi_PathCreate()
|
D | rsProgramStore.cpp | 24 ProgramStore::ProgramStore(Context *rsc, in ProgramStore() 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { in setup() 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 | rsObjectBase.cpp | 25 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() 199 void ObjectBase::zeroAllUserRef(Context *rsc) { in zeroAllUserRef() 224 void ObjectBase::freeAllChildren(Context *rsc) { in freeAllChildren() 246 void ObjectBase::dumpAll(Context *rsc) { in dumpAll() 260 bool ObjectBase::isValid(const Context *rsc, const ObjectBase *obj) { in isValid()
|
D | rsSampler.cpp | 25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() 30 Sampler::Sampler(Context *rsc, in Sampler() 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()
|
/frameworks/rs/driver/ |
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 | rsdAllocation.cpp | 82 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture() 98 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture() 140 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture() 176 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget() 199 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject() 222 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit() 274 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy() 304 void rsdAllocationResize(const Context *rsc, const Allocation *alloc, in rsdAllocationResize() 322 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) { in rsdAllocationSyncFromFBO() 353 void rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, in rsdAllocationSyncAll() [all …]
|
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() 428 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { in rsdGLSetInternalSurface() 470 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface() 489 void rsdGLSwap(const android::renderscript::Context *rsc) { in rsdGLSwap() 494 void rsdGLSetPriority(const Context *rsc, int32_t priority) { in rsdGLSetPriority() 503 void rsdGLCheckError(const android::renderscript::Context *rsc, in rsdGLCheckError() 528 void rsdGLClearColor(const android::renderscript::Context *rsc, in rsdGLClearColor() 534 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v) { in rsdGLClearDepth() [all …]
|
D | rsdCore.cpp | 147 Context *rsc = static_cast<Context *>(vrsc); in HelperThreadProc() local 186 void rsdLaunchThreads(Context *rsc, WorkerCallback_t cbk, void *data) { in rsdLaunchThreads() 200 bool rsdHalInit(Context *rsc, uint32_t version_major, uint32_t version_minor) { in rsdHalInit() 274 void SetPriority(const Context *rsc, int32_t priority) { in SetPriority() 284 void Shutdown(Context *rsc) { in Shutdown()
|
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 | rsdPath.cpp | 65 static void cleanup(const Context *rsc, const Path *m) { in cleanup() 72 bool rsdPathInitStatic(const Context *rsc, const Path *m, in rsdPathInitStatic() 83 bool rsdPathInitDynamic(const Context *rsc, const Path *m) { in rsdPathInitDynamic() 88 void rsdPathDraw(const Context *rsc, const Path *m) { in rsdPathDraw() 98 void rsdPathDestroy(const Context *rsc, const Path *m) { in rsdPathDestroy() 134 void DrvPathStatic::draw(Context *rsc) { in draw()
|
D | rsdProgramStore.cpp | 40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreInit() 156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreSetActive() 199 void rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreDestroy()
|
D | rsdMeshObj.cpp | 32 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) { in RsdMeshObj() 71 bool RsdMeshObj::init(const Context *rsc) { in init() 128 void RsdMeshObj::renderPrimitiveRange(const Context *rsc, uint32_t primIndex, in renderPrimitiveRange() 184 void RsdMeshObj::updateGLPrimitives(const Context *rsc) { in updateGLPrimitives()
|