Home
last modified time | relevance | path

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

123

/frameworks/rs/
DrsScriptC_LibGL.cpp49 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 …]
DrsAdapter.cpp24 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 …]
DrsScriptC_Lib.cpp84 time_t rsrTime(Context *rsc, time_t *timer) { in rsrTime()
88 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { in rsrLocalTime()
102 int64_t rsrUptimeMillis(Context *rsc) { in rsrUptimeMillis()
110 int64_t rsrUptimeNanos(Context *rsc) { in rsrUptimeNanos()
118 float rsrGetDt(Context *rsc, const Script *sc) { in rsrGetDt()
132 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { in SetObjectRef()
145 void rsrClearObject(const Context *rsc, void *dst) { in rsrClearObject()
157 void rsrClearObject(const Context *rsc, rs_object_base *dst) { in rsrClearObject()
169 void rsrSetObject(const Context *rsc, void *dst, ObjectBase *src) { in rsrSetObject()
183 void rsrSetObject(const Context *rsc, rs_object_base *dst, const ObjectBase *src) { in rsrSetObject()
[all …]
DrsProgramRaster.cpp24 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()
DrsScriptIntrinsic.cpp24 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::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke()
74 void ScriptIntrinsic::serialize(Context *rsc, OStream *stream) const { in serialize()
87 RsScript rsi_ScriptIntrinsicCreate(Context *rsc, uint32_t id, RsElement ve) { in rsi_ScriptIntrinsicCreate()
DrsScript.cpp23 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()
152 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate()
158 RsScriptInvokeID rsi_ScriptInvokeIDCreate(Context *rsc, RsScript vs, uint32_t slot) { in rsi_ScriptInvokeIDCreate()
164 RsScriptFieldID rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) { in rsi_ScriptFieldIDCreate()
170 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation()
176 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone()
[all …]
DrsProgramVertex.cpp25 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 …]
DrsContext.cpp250 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local
411 Context *rsc = (Context *)ctx; in printWatchdogInfo() local
491 Context * rsc = new Context(); in createContext() local
515 Context * rsc = new Context(); in createContextLite() local
785 void rsi_ContextFinish(Context *rsc) { in rsi_ContextFinish()
789 void rsi_ContextBindRootScript(Context *rsc, RsScript vs) { in rsi_ContextBindRootScript()
796 void rsi_ContextSetCacheDir(Context *rsc, const char *cacheDir, size_t cacheDir_length) { in rsi_ContextSetCacheDir()
800 void rsi_ContextBindSampler(Context *rsc, uint32_t slot, RsSampler vs) { in rsi_ContextBindSampler()
812 void rsi_ContextBindProgramStore(Context *rsc, RsProgramStore vpfs) { in rsi_ContextBindProgramStore()
817 void rsi_ContextBindProgramFragment(Context *rsc, RsProgramFragment vpf) { in rsi_ContextBindProgramFragment()
[all …]
DrsFBOCache.cpp39 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()
DrsAllocation.cpp30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation()
44 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) in Allocation()
63 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation()
97 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) { in createAdapter()
117 void Allocation::adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) { in adapterOffset()
156 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll()
160 void * Allocation::getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, in getPointer()
182 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data()
199 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data()
205 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data()
[all …]
DrsProgramFragment.cpp25 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()
136 RsProgramFragment rsi_ProgramFragmentCreate(Context *rsc, const char * shaderText, in rsi_ProgramFragmentCreate()
DrsProgramStore.cpp24 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()
DrsProgram.cpp25 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()
215 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants()
220 void rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) { in rsi_ProgramBindTexture()
225 void rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) { in rsi_ProgramBindSampler()
DrsObjectBase.cpp26 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase()
229 void ObjectBase::zeroAllUserRef(Context *rsc) { in zeroAllUserRef()
254 void ObjectBase::freeAllChildren(Context *rsc) { in freeAllChildren()
276 void ObjectBase::dumpAll(Context *rsc) { in dumpAll()
293 bool ObjectBase::isValid(const Context *rsc, const ObjectBase *obj) { in isValid()
308 void ObjectBase::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject() argument
DrsScriptC.cpp55 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC()
128 void ScriptC::setupScript(Context *rsc) { in setupScript()
145 void ScriptC::setupGLState(Context *rsc) { in setupGLState()
162 uint32_t ScriptC::run(Context *rsc) { in run()
187 void ScriptC::runForEach(Context *rsc, in runForEach()
241 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { in Invoke()
296 bool ScriptC::runCompiler(Context *rsc, in runCompiler()
446 RsScript rsi_ScriptCCreate(Context *rsc, in rsi_ScriptCCreate()
DrsSampler.cpp25 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()
135 RsSampler rsi_SamplerCreate(Context * rsc, in rsi_SamplerCreate()
DrsMesh.cpp24 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()
269 RsMesh rsi_MeshCreate(Context *rsc, in rsi_MeshCreate()
DrsType.cpp30 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
364 RsType rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, in rsi_TypeCreate()
379 RsType rsi_TypeCreate2(Context *rsc, const RsTypeCreateParams *p, size_t len) { in rsi_TypeCreate2()
/frameworks/rs/driver/
DrsdScriptGroup.cpp31 bool rsdScriptGroupInit(const Context *rsc, ScriptGroupBase *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 ScriptGroupBase *sg) { in rsdScriptGroupExecute()
52 void rsdScriptGroupDestroy(const Context *rsc, const ScriptGroupBase *sg) { in rsdScriptGroupDestroy()
58 void rsdScriptGroupUpdateCachedObject(const Context *rsc, in rsdScriptGroupUpdateCachedObject()
DrsdProgram.cpp36 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()
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()
DrsdGL.cpp152 void rsdGLShutdown(const Context *rsc) { in rsdGLShutdown()
177 void getConfigData(const Context *rsc, in getConfigData()
234 bool rsdGLInit(const Context *rsc) { in rsdGLInit()
419 bool rsdGLSetInternalSurface(const Context *rsc, RsNativeWindow sur) { in rsdGLSetInternalSurface()
461 bool rsdGLSetSurface(const Context *rsc, uint32_t w, uint32_t h, RsNativeWindow sur) { in rsdGLSetSurface()
480 void rsdGLSwap(const android::renderscript::Context *rsc) { in rsdGLSwap()
485 void rsdGLSetPriority(const Context *rsc, int32_t priority) { in rsdGLSetPriority()
494 void rsdGLCheckError(const android::renderscript::Context *rsc, in rsdGLCheckError()
519 void rsdGLClearColor(const android::renderscript::Context *rsc, in rsdGLClearColor()
525 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v) { in rsdGLClearDepth()
[all …]
DrsdRuntimeStubs.cpp120 static bool failIfInKernel(Context *rsc, const char *funcName) { in failIfInKernel()
140 Context *rsc = RsdCpuReference::getTlsContext(); in rsGetAllocation() local
149 Context *rsc = RsdCpuReference::getTlsContext(); in rsGetAllocation() local
164 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationIoSend() local
171 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationIoReceive() local
182 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationCopy1DRange() local
197 Context *rsc = RsdCpuReference::getTlsContext(); in rsAllocationCopy2DRange() local
242 Context *rsc = RsdCpuReference::getTlsContext(); in IS_CLEAR_SET_OBJ() local
441 Context *rsc = RsdCpuReference::getTlsContext(); in ELEMENT_AT_OVERLOADS() local
450 Context *rsc = RsdCpuReference::getTlsContext(); in rsForEach() local
[all …]
DrsdAllocation.cpp103 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture()
122 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture()
164 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture()
202 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget()
227 static void UploadToBufferObject(const Context *rsc, const Allocation *alloc) { in UploadToBufferObject()
306 static size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, in AllocationBuildPointerTable()
374 bool rsdAllocationInit(const Context *rsc, Allocation *alloc, bool forceZero) { in rsdAllocationInit()
479 void rsdAllocationAdapterOffset(const Context *rsc, const Allocation *alloc) { in rsdAllocationAdapterOffset()
502 bool rsdAllocationAdapterInit(const Context *rsc, Allocation *alloc) { in rsdAllocationAdapterInit()
515 void rsdAllocationDestroy(const Context *rsc, Allocation *alloc) { in rsdAllocationDestroy()
[all …]
/frameworks/support/v8/renderscript/jni/
Dandroid_rscompat_usage_io_driver.cpp15 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()

123