Home
last modified time | relevance | path

Searched defs:rsc (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/libs/rs/
DrsScriptC_LibGL.cpp47 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture()
53 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler()
59 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { in rsrBindProgramStore()
64 void rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) { in rsrBindProgramFragment()
69 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex()
74 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster()
79 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget()
84 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Script *sc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget()
89 void rsrClearFrameBufferObjectColorTarget(Context *rsc, Script *sc, uint32_t slot) { in rsrClearFrameBufferObjectColorTarget()
93 void rsrClearFrameBufferObjectDepthTarget(Context *rsc, Script *sc) { in rsrClearFrameBufferObjectDepthTarget()
[all …]
DrsScriptC_Lib.cpp81 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { in rsrTime()
85 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { in rsrLocalTime()
99 int64_t rsrUptimeMillis(Context *rsc, Script *sc) { in rsrUptimeMillis()
103 int64_t rsrUptimeNanos(Context *rsc, Script *sc) { in rsrUptimeNanos()
107 float rsrGetDt(Context *rsc, Script *sc) { in rsrGetDt()
117 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject()
130 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject()
139 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject()
144 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient()
149 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking()
[all …]
DrsFBOCache.cpp36 void FBOCache::init(Context *rsc) { in init()
40 void FBOCache::deinit(Context *rsc) { in deinit()
44 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in bindColorTarget()
59 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { in bindDepthTarget()
78 void FBOCache::setup(Context *rsc) { in setup()
DrsProgramVertex.cpp24 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, in ProgramVertex()
35 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { in setup()
62 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix()
78 void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const { in setModelviewMatrix()
94 void ProgramVertex::setTextureMatrix(Context *rsc, const rsc_Matrix *m) const { in setTextureMatrix()
110 void ProgramVertex::getProjectionMatrix(Context *rsc, rsc_Matrix *m) const { in getProjectionMatrix()
125 void ProgramVertex::transformToScreen(Context *rsc, float *v4out, const float *v3in) const { in transformToScreen()
139 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
152 void ProgramVertexState::init(Context *rsc) { in init()
206 void ProgramVertexState::updateSize(Context *rsc) { in updateSize()
[all …]
DrsAdapter.cpp23 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D()
27 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D()
65 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
72 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { in rsi_Adapter1DCreate()
78 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { in rsi_Adapter1DBindAllocation()
84 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint()
108 void rsi_Adapter1DSubData(Context *rsc, RsAdapter1D va, uint32_t xoff, uint32_t count, const void *… in rsi_Adapter1DSubData()
113 void rsi_Adapter1DData(Context *rsc, RsAdapter1D va, const void *data) { in rsi_Adapter1DData()
123 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D()
127 Adapter2D::Adapter2D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter2D()
[all …]
DrsProgramRaster.cpp24 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()
DrsContext.cpp206 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local
323 Context *rsc = (Context *)ctx; in printWatchdogInfo() local
365 Context * rsc = new Context(); in createContext() local
375 Context * rsc = new Context(); in createContextLite() local
594 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish()
597 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript()
602 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler()
613 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore()
618 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment()
623 void rsi_ContextBindProgramRaster(Context *rsc, RsProgramRaster vpr) { in rsi_ContextBindProgramRaster()
[all …]
DrsScript.cpp22 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script()
84 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation()
91 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone()
96 void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, in rsi_ScriptForEach()
106 void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) { in rsi_ScriptInvoke()
112 void rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) { in rsi_ScriptInvokeData()
117 void rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) { in rsi_ScriptInvokeV()
122 void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) { in rsi_ScriptSetVarI()
127 void rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) { in rsi_ScriptSetVarObj()
133 void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) { in rsi_ScriptSetVarJ()
[all …]
DrsScriptC.cpp34 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC()
51 void ScriptC::setupScript(Context *rsc) { in setupScript()
87 void ScriptC::setupGLState(Context *rsc) { in setupGLState()
102 uint32_t ScriptC::run(Context *rsc) { in run()
127 void ScriptC::runForEach(Context *rsc, in runForEach()
141 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke()
191 bool ScriptC::runCompiler(Context *rsc, in runCompiler()
294 RsScript rsi_ScriptCCreate(Context *rsc, in rsi_ScriptCCreate()
DrsProgramFragment.cpp23 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, in ProgramFragment()
39 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor()
58 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup()
78 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
91 void ProgramFragmentState::init(Context *rsc) { in init()
121 void ProgramFragmentState::deinit(Context *rsc) { in deinit()
129 RsProgramFragment rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, in rsi_ProgramFragmentCreate()
DrsProgram.cpp23 Program::Program(Context *rsc, const char * shaderText, uint32_t shaderLength, in Program()
116 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation()
144 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { in bindTexture()
161 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler()
175 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants()
180 void rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) { in rsi_ProgramBindTexture()
185 void rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) { in rsi_ProgramBindSampler()
DrsProgramStore.cpp24 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()
DrsAllocation.cpp24 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation()
37 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation()
65 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll()
73 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data()
88 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data()
105 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data()
110 void Allocation::elementData(Context *rsc, uint32_t x, const void *data, in elementData()
137 void Allocation::elementData(Context *rsc, uint32_t x, uint32_t y, in elementData()
216 Allocation *Allocation::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
303 void Allocation::copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, … in copyRange1D()
[all …]
DrsObjectBase.cpp25 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()
DrsSampler.cpp25 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()
DrsMesh.cpp22 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) { in Mesh()
31 Mesh::Mesh(Context *rsc, in Mesh()
97 Mesh *Mesh::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
170 void Mesh::renderPrimitive(Context *rsc, uint32_t primIndex) const { in renderPrimitive()
186 void Mesh::renderPrimitiveRange(Context *rsc, uint32_t primIndex, uint32_t start, uint32_t len) con… in renderPrimitiveRange()
195 void Mesh::uploadAll(Context *rsc) { in uploadAll()
255 RsMesh rsi_MeshCreate(Context *rsc, in rsi_MeshCreate()
DrsAnimation.cpp27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
122 RsAnimation rsi_AnimationCreate(Context *rsc, in rsi_AnimationCreate()
DrsDevice.cpp30 void Device::addContext(Context *rsc) { in addContext()
34 void Device::removeContext(Context *rsc) { in removeContext()
/frameworks/base/libs/rs/driver/
DrsdProgram.cpp36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit()
44 static void SyncProgramConstants(const Context *rsc, const Program *p) { in SyncProgramConstants()
57 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive()
64 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy()
80 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit()
88 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive()
95 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy()
DrsdFrameBuffer.cpp32 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()
DrsdAllocation.cpp76 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
92 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture()
134 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
163 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
186 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
209 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
254 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy()
284 void rsdAllocationResize(const Context *rsc, const Allocation *alloc, in rsdAllocationResize()
303 static void rsdAllocationSyncFromFBO(const Context *rsc, const Allocation *alloc) { in rsdAllocationSyncFromFBO()
334 void rsdAllocationSyncAll(const Context *rsc, const Allocation *alloc, in rsdAllocationSyncAll()
[all …]
DrsdMesh.cpp30 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()
DrsdProgramStore.cpp40 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()
DrsdGL.cpp127 void rsdGLShutdown(const Context *rsc) { in rsdGLShutdown()
151 bool rsdGLInit(const Context *rsc) { in rsdGLInit()
369 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface()
417 void rsdGLSwap(const android::renderscript::Context *rsc) { in rsdGLSwap()
422 void rsdGLCheckError(const android::renderscript::Context *rsc, in rsdGLCheckError()
DrsdFrameBufferObj.cpp48 void RsdFrameBufferObj::checkError(const Context *rsc) { in checkError()
124 void RsdFrameBufferObj::setActive(const Context *rsc) { in setActive()

12