Home
last modified time | relevance | path

Searched refs:rsc (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/libs/rs/
DrsScriptC_LibGL.cpp47 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() argument
50 pf->bindTexture(rsc, slot, a); in rsrBindTexture()
53 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() argument
56 pf->bindSampler(rsc, slot, s); in rsrBindSampler()
59 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { in rsrBindProgramStore() argument
61 rsc->setProgramStore(ps); in rsrBindProgramStore()
64 void rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) { in rsrBindProgramFragment() argument
66 rsc->setProgramFragment(pf); in rsrBindProgramFragment()
69 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex() argument
71 rsc->setProgramVertex(pv); in rsrBindProgramVertex()
[all …]
DrsContext.cpp206 Context *rsc = static_cast<Context *>(vrsc); in threadProc() local
208 rsc->mNativeThreadId = gettid(); in threadProc()
209 setpriority(PRIO_PROCESS, rsc->mNativeThreadId, ANDROID_PRIORITY_DISPLAY); in threadProc()
210 rsc->mThreadPriority = ANDROID_PRIORITY_DISPLAY; in threadProc()
212 rsc->props.mLogTimes = getProp("debug.rs.profile"); in threadProc()
213 rsc->props.mLogScripts = getProp("debug.rs.script"); in threadProc()
214 rsc->props.mLogObjects = getProp("debug.rs.object"); in threadProc()
215 rsc->props.mLogShaders = getProp("debug.rs.shader"); in threadProc()
216 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes"); in threadProc()
217 rsc->props.mLogShadersUniforms = getProp("debug.rs.shader.uniforms"); in threadProc()
[all …]
DrsScriptC.cpp31 Context * rsc = tls->mContext; \
34 ScriptC::ScriptC(Context *rsc) : Script(rsc) { in ScriptC() argument
51 void ScriptC::setupScript(Context *rsc) { in setupScript() argument
67 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, ptr); in setupScript()
87 void ScriptC::setupGLState(Context *rsc) { in setupGLState() argument
89 rsc->setProgramStore(mEnviroment.mFragmentStore.get()); in setupGLState()
92 rsc->setProgramFragment(mEnviroment.mFragment.get()); in setupGLState()
95 rsc->setProgramVertex(mEnviroment.mVertex.get()); in setupGLState()
98 rsc->setProgramRaster(mEnviroment.mRaster.get()); in setupGLState()
102 uint32_t ScriptC::run(Context *rsc) { in run() argument
[all …]
Drs_hal.h72 bool (*init)(const Context *rsc, ScriptC *s,
79 void (*invokeFunction)(const Context *rsc, Script *s,
83 int (*invokeRoot)(const Context *rsc, Script *s);
84 void (*invokeForEach)(const Context *rsc,
92 void (*invokeInit)(const Context *rsc, Script *s);
93 void (*invokeFreeChildren)(const Context *rsc, Script *s);
95 void (*setGlobalVar)(const Context *rsc, const Script *s,
99 void (*setGlobalBind)(const Context *rsc, const Script *s,
102 void (*setGlobalObj)(const Context *rsc, const Script *s,
106 void (*destroy)(const Context *rsc, Script *s);
[all …]
DrsProgramVertex.cpp24 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, in ProgramVertex() argument
27 : Program(rsc, shaderText, shaderLength, params, paramLength) { in ProgramVertex()
35 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { in setup() argument
42 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setup()
59 rsc->mHal.funcs.vertex.setActive(rsc, this); in setup()
62 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix() argument
64 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
69 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
78 void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const { in setModelviewMatrix() argument
80 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
[all …]
DrsAllocation.cpp24 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() argument
26 : ObjectBase(rsc) { in Allocation()
37 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() argument
39 Allocation *a = new Allocation(rsc, type, usages, mc); in createAllocation()
41 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation()
42 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAllocation()
65 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { in syncAll() argument
66 rsc->mHal.funcs.allocation.syncAll(rsc, this, src); in syncAll()
73 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument
84 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
[all …]
DrsProgramRaster.cpp24 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull) in ProgramRaster() argument
25 : ProgramBase(rsc) { in ProgramRaster()
30 rsc->mHal.funcs.raster.init(rsc, this); in ProgramRaster()
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { in setup() argument
53 rsc->mHal.funcs.raster.setActive(rsc, this); in setup()
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
69 void ProgramRasterState::init(Context *rsc) { in init() argument
70 mDefault.set(ProgramRaster::getProgramRaster(rsc, false, RS_CULL_BACK).get()); in init()
73 void ProgramRasterState::deinit(Context *rsc) { in deinit() argument
78 ObjectBaseRef<ProgramRaster> ProgramRaster::getProgramRaster(Context *rsc, in getProgramRaster() argument
[all …]
DrsProgramFragment.cpp23 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, in ProgramFragment() argument
26 : Program(rsc, shaderText, shaderLength, params, paramLength) { in ProgramFragment()
39 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor() argument
42rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program"); in setConstantColor()
47rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocatio… in setConstantColor()
58 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup() argument
67 rsc->setError(RS_ERROR_BAD_SHADER, "No texture bound"); in setup()
72 rsc->mHal.funcs.fragment.setActive(rsc, this); in setup()
78 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
91 void ProgramFragmentState::init(Context *rsc) { in init() argument
[all …]
DrsScriptC_Lib.cpp81 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { in rsrTime() argument
85 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { in rsrLocalTime() argument
92 pthread_mutex_lock(&rsc->gLibMutex); in rsrLocalTime()
95 pthread_mutex_unlock(&rsc->gLibMutex); in rsrLocalTime()
99 int64_t rsrUptimeMillis(Context *rsc, Script *sc) { in rsrUptimeMillis() argument
103 int64_t rsrUptimeNanos(Context *rsc, Script *sc) { in rsrUptimeNanos() argument
107 float rsrGetDt(Context *rsc, Script *sc) { in rsrGetDt() argument
117 void rsrSetObject(const Context *rsc, const Script *sc, ObjectBase **dst, ObjectBase * src) { in rsrSetObject() argument
130 void rsrClearObject(const Context *rsc, const Script *sc, ObjectBase **dst) { in rsrClearObject() argument
139 bool rsrIsObject(const Context *rsc, const Script *sc, const ObjectBase *src) { in rsrIsObject() argument
[all …]
DrsObjectBase.cpp25 ObjectBase::ObjectBase(Context *rsc) { in ObjectBase() argument
28 mRSC = rsc; in ObjectBase()
36 rsAssert(rsc); in ObjectBase()
199 void ObjectBase::zeroAllUserRef(Context *rsc) { in zeroAllUserRef() argument
200 if (rsc->props.mLogObjects) { in zeroAllUserRef()
205 const ObjectBase * o = rsc->mObjHead; in zeroAllUserRef()
210 o = rsc->mObjHead; in zeroAllUserRef()
218 if (rsc->props.mLogObjects) { in zeroAllUserRef()
220 dumpAll(rsc); in zeroAllUserRef()
224 void ObjectBase::freeAllChildren(Context *rsc) { in freeAllChildren() argument
[all …]
DrsFBOCache.cpp36 void FBOCache::init(Context *rsc) { in init() argument
37 rsc->mHal.funcs.framebuffer.init(rsc, this); in init()
40 void FBOCache::deinit(Context *rsc) { in deinit() argument
41 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit()
44 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in bindColorTarget() argument
59 void FBOCache::bindDepthTarget(Context *rsc, Allocation *a) { in bindDepthTarget() argument
78 void FBOCache::setup(Context *rsc) { in setup() argument
83 rsc->mHal.funcs.framebuffer.setActive(rsc, this); in setup()
DrsAdapter.cpp23 Adapter1D::Adapter1D(Context *rsc) : ObjectBase(rsc) { in Adapter1D() argument
27 Adapter1D::Adapter1D(Context *rsc, Allocation *a) : ObjectBase(rsc) { in Adapter1D() argument
65 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
72 RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { in rsi_Adapter1DCreate() argument
73 Adapter1D *a = new Adapter1D(rsc); in rsi_Adapter1DCreate()
78 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { in rsi_Adapter1DBindAllocation() argument
84 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint() argument
108 void rsi_Adapter1DSubData(Context *rsc, RsAdapter1D va, uint32_t xoff, uint32_t count, const void *… in rsi_Adapter1DSubData() argument
113 void rsi_Adapter1DData(Context *rsc, RsAdapter1D va, const void *data) { in rsi_Adapter1DData() argument
123 Adapter2D::Adapter2D(Context *rsc) : ObjectBase(rsc) { in Adapter2D() argument
[all …]
DrsScript.cpp22 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() argument
84 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() argument
91 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() argument
96 void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, in rsi_ScriptForEach() argument
100 s->runForEach(rsc, in rsi_ScriptForEach()
106 void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) { in rsi_ScriptInvoke() argument
108 s->Invoke(rsc, slot, NULL, 0); in rsi_ScriptInvoke()
112 void rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) { in rsi_ScriptInvokeData() argument
114 s->Invoke(rsc, slot, NULL, 0); in rsi_ScriptInvokeData()
117 void rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) { in rsi_ScriptInvokeV() argument
[all …]
DrsProgramStore.cpp24 ProgramStore::ProgramStore(Context *rsc, in ProgramStore() argument
28 RsDepthFunc depthFunc) : ProgramBase(rsc) { in ProgramStore()
57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { in setup() argument
63 rsc->mHal.funcs.store.setActive(rsc, this); in setup()
69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore() argument
94 for (uint32_t ct = 0; ct < rsc->mStateFragmentStore.mStorePrograms.size(); ct++) { in getProgramStore()
95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; in getProgramStore()
112 ProgramStore *pfs = new ProgramStore(rsc, in getProgramStore()
121 rsc->mStateFragmentStore.mStorePrograms.push(pfs); in getProgramStore()
[all …]
DrsAllocation.h68 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
76 void syncAll(Context *rsc, RsAllocationUsageType src);
78 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len…
80 void resize1D(Context *rsc, uint32_t dimX);
81 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY);
83 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, uint32_t si…
84 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
86 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub…
89 void elementData(Context *rsc, uint32_t x,
91 void elementData(Context *rsc, uint32_t x, uint32_t y,
[all …]
DrsSampler.cpp25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() argument
30 Sampler::Sampler(Context *rsc, in Sampler() argument
36 float aniso) : ObjectBase(rsc) { in Sampler()
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler() argument
87 for (uint32_t ct = 0; ct < rsc->mStateSampler.mAllSamplers.size(); ct++) { in getSampler()
88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; in getSampler()
101 Sampler *s = new Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in getSampler()
105 rsc->mStateSampler.mAllSamplers.push(s); in getSampler()
116 RsSampler rsi_SamplerCreate(Context * rsc, in rsi_SamplerCreate() argument
[all …]
DrsProgram.cpp23 Program::Program(Context *rsc, const char * shaderText, uint32_t shaderLength, in Program() argument
25 : ProgramBase(rsc) { in Program()
116 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation() argument
121 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); in bindAllocation()
127 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); in bindAllocation()
144 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { in bindTexture() argument
147 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind texture"); in bindTexture()
153 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind cubemap to 2d texture slot"); in bindTexture()
161 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler() argument
164 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind sampler"); in bindSampler()
[all …]
/frameworks/base/libs/rs/driver/
DrsdRuntimeStubs.cpp36 Context * rsc = tls->mContext; \
48 rsrAllocationSyncAll(rsc, sc, a, source); in SC_AllocationSyncAll2()
53 rsrAllocationSyncAll(rsc, sc, a, RS_ALLOCATION_USAGE_SCRIPT); in SC_AllocationSyncAll()
63 rsrAllocationCopy1DRange(rsc, dstAlloc, dstOff, dstMip, count, in SC_AllocationCopy1DRange()
75 rsrAllocationCopy2DRange(rsc, dstAlloc, in SC_AllocationCopy2DRange()
89 rsrBindTexture(rsc, sc, pf, slot, a); in SC_BindTexture()
94 rsrBindSampler(rsc, sc, pf, slot, s); in SC_BindSampler()
99 rsrBindProgramStore(rsc, sc, ps); in SC_BindProgramStore()
104 rsrBindProgramFragment(rsc, sc, pf); in SC_BindProgramFragment()
109 rsrBindProgramVertex(rsc, sc, pv); in SC_BindProgramVertex()
[all …]
DrsdProgram.cpp36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() argument
44 static void SyncProgramConstants(const Context *rsc, const Program *p) { in SyncProgramConstants() argument
52 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); in SyncProgramConstants()
57 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() argument
58 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive()
60 SyncProgramConstants(rsc, pv); in rsdProgramVertexSetActive()
64 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() argument
65 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy()
70 if (rsc->props.mLogShaders) { in rsdProgramVertexDestroy()
80 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() argument
[all …]
DrsdGL.cpp127 void rsdGLShutdown(const Context *rsc) { in rsdGLShutdown() argument
128 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLShutdown()
151 bool rsdGLInit(const Context *rsc) { in rsdGLInit() argument
152 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdGLInit()
181 if (rsc->mUserSurfaceConfig.alphaMin > 0) { in rsdGLInit()
183 configAttribsPtr[1] = rsc->mUserSurfaceConfig.alphaMin; in rsdGLInit()
187 if (rsc->mUserSurfaceConfig.depthMin > 0) { in rsdGLInit()
189 configAttribsPtr[1] = rsc->mUserSurfaceConfig.depthMin; in rsdGLInit()
193 if (rsc->mDev->mForceSW) { in rsdGLInit()
202 LOGV("%p initEGL start", rsc); in rsdGLInit()
[all …]
DrsdFrameBuffer.cpp32 void setDepthAttachment(const Context *rsc, const FBOCache *fb) { in setDepthAttachment() argument
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget.get(), in setDepthAttachment()
47 void setColorAttachment(const Context *rsc, const FBOCache *fb) { in setColorAttachment() argument
56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i].get(), in setColorAttachment()
64 bool rsdFrameBufferInit(const Context *rsc, const FBOCache *fb) { in rsdFrameBufferInit() argument
71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdFrameBufferInit()
77 void rsdFrameBufferSetActive(const Context *rsc, const FBOCache *fb) { in rsdFrameBufferSetActive() argument
78 setDepthAttachment(rsc, fb); in rsdFrameBufferSetActive()
79 setColorAttachment(rsc, fb); in rsdFrameBufferSetActive()
90 fbo->setActive(rsc); in rsdFrameBufferSetActive()
[all …]
DrsdAllocation.cpp76 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, in Update2DTexture() argument
92 static void Upload2DTexture(const Context *rsc, const Allocation *alloc, bool isFirstUpload) { in Upload2DTexture() argument
103 rsdGLCheckError(rsc, "Upload2DTexture 1 "); in Upload2DTexture()
131 rsdGLCheckError(rsc, "Upload2DTexture"); in Upload2DTexture()
134 static void UploadToTexture(const Context *rsc, const Allocation *alloc) { in UploadToTexture() argument
152 Upload2DTexture(rsc, alloc, isFirstUpload); in UploadToTexture()
160 rsdGLCheckError(rsc, "UploadToTexture"); in UploadToTexture()
163 static void AllocateRenderTarget(const Context *rsc, const Allocation *alloc) { in AllocateRenderTarget() argument
176 rsc->dumpDebug(); in AllocateRenderTarget()
183 rsdGLCheckError(rsc, "AllocateRenderTarget"); in AllocateRenderTarget()
[all …]
DrsdAllocation.h56 bool rsdAllocationInit(const android::renderscript::Context *rsc,
59 void rsdAllocationDestroy(const android::renderscript::Context *rsc,
62 void rsdAllocationResize(const android::renderscript::Context *rsc,
65 void rsdAllocationSyncAll(const android::renderscript::Context *rsc,
68 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc,
71 void rsdAllocationData1D(const android::renderscript::Context *rsc,
75 void rsdAllocationData2D(const android::renderscript::Context *rsc,
80 void rsdAllocationData3D(const android::renderscript::Context *rsc,
86 void rsdAllocationData1D_alloc(const android::renderscript::Context *rsc,
91 void rsdAllocationData2D_alloc(const android::renderscript::Context *rsc,
[all …]
DrsdFrameBufferObj.cpp48 void RsdFrameBufferObj::checkError(const Context *rsc) { in checkError() argument
55 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
59 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
63 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
67 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
124 void RsdFrameBufferObj::setActive(const Context *rsc) { in setActive() argument
139 checkError(rsc); in setActive()
142 RSD_CALL_GL(glViewport, 0, 0, rsc->getWidth(), rsc->getHeight()); in setActive()
DrsdMesh.cpp30 bool rsdMeshInit(const Context *rsc, const Mesh *m) { in rsdMeshInit() argument
36 drv = new RsdMeshObj(rsc, m); in rsdMeshInit()
41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t le… in rsdMeshDraw() argument
43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdMeshDraw()
44 if (!dc->gl.shaderCache->setup(rsc)) { in rsdMeshDraw()
49 drv->renderPrimitiveRange(rsc, primIndex, start, len); in rsdMeshDraw()
53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) { in rsdMeshDestroy() argument

123