Searched refs:drv (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/rs/driver/
H A DrsdMesh.cpp31 RsdMeshObj *drv = NULL; local
32 if(m->mHal.drv) {
33 drv = (RsdMeshObj*)m->mHal.drv;
34 delete drv;
36 drv = new RsdMeshObj(rsc, m);
37 m->mHal.drv = drv;
38 return drv->init(rsc);
42 if(m->mHal.drv) {
48 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv; local
55 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv; local
[all...]
H A DrsdProgramStore.cpp41 DrvProgramStore *drv = (DrvProgramStore *)calloc(1, sizeof(DrvProgramStore)); local
42 if (drv == NULL) {
46 ps->mHal.drv = drv;
47 drv->depthTestEnable = true;
51 drv->depthTestEnable = false;
52 drv->depthFunc = GL_ALWAYS;
55 drv->depthFunc = GL_LESS;
58 drv->depthFunc = GL_LEQUAL;
61 drv
157 DrvProgramStore *drv = (DrvProgramStore *)ps->mHal.drv; local
[all...]
H A DrsdProgram.cpp40 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen, local
42 pv->mHal.drv = drv;
53 DrvAllocation *drvAlloc = (DrvAllocation *)a->mHal.drv;
61 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv);
68 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
70 RsdShader *drv = NULL; local
71 if(pv->mHal.drv) {
72 drv
87 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen, local
104 RsdShader *drv = NULL; local
[all...]
H A DrsdScriptGroup.cpp32 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg);
35 return sg->mHal.drv != NULL;
47 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv;
52 RsdCpuReference::CpuScriptGroup *sgi = (RsdCpuReference::CpuScriptGroup *)sg->mHal.drv;
64 obj->v1 = sg->mHal.drv;
H A DrsdAllocation.cpp108 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
110 rsAssert(drv->textureID);
111 RSD_CALL_GL(glBindTexture, drv->glTarget, drv->textureID);
117 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
124 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
126 RSD_CALL_GL(glBindTexture, drv
167 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
205 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
230 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
372 DrvAllocation *drv = (DrvAllocation *)calloc(1, sizeof(DrvAllocation)); local
477 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
515 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
570 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
597 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
641 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
647 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
673 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
759 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
787 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
798 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
818 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
880 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
1080 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
1100 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
[all...]
H A DrsdFrameBuffer.cpp33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv;
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv;
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv;
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv;
69 fb->mHal.drv = fbo;
71 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv;
94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv;
96 fb->mHal.drv = NULL;
H A DrsdBcc.cpp45 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
51 script->mHal.drv = cs;
57 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
62 s->mHal.drv = cs;
76 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
90 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
96 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
101 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
106 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
114 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
[all...]
H A DrsdPath.cpp66 DrvPath *dp = (DrvPath *)m->mHal.drv;
74 DrvPathStatic *drv = NULL; local
79 m->mHal.drv = dps;
91 DrvPath *drv = (DrvPath *)m->mHal.drv; local
92 if(drv) {
93 //LOGE("render 2 drv=%p", drv);
94 drv->draw((Context *)rsc);
100 m->mHal.drv
[all...]
H A DrsdCore.cpp193 return (RsdCpuReference::CpuScript *)s->mHal.drv;
206 rsc->mHal.drv = dc;
212 rsc->mHal.drv = NULL;
239 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
251 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
254 rsc->mHal.drv = NULL;
H A DrsdSampler.cpp52 obj->v1 = alloc->mHal.drv;
H A DrsdMeshObj.cpp137 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
138 if (drv->uploadDeferred) {
147 DrvAllocation *drvAlloc = (DrvAllocation *)alloc->mHal.drv;
163 DrvAllocation *drvAlloc = (DrvAllocation *)idxAlloc->mHal.drv;
H A DrsdFrameBufferObj.cpp126 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
H A DrsdVertexArray.cpp84 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
H A DrsdGL.cpp153 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
235 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
420 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
462 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
481 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
/frameworks/rs/driver/runtime/
H A Drs_structs.h34 void * drv; member in struct:Allocation::__anon1498
125 void * drv; member in struct:ProgramRaster::__anon1502
158 void *drv; member in struct:Sampler::__anon1504
194 void *drv; member in struct:Element::__anon1506
236 void *drv; member in struct:Type::__anon1508
273 void *drv; member in struct:Mesh::__anon1510
/frameworks/rs/
H A DrsFBOCache.h44 mutable void *drv; member in struct:android::renderscript::FBOCache::Hal
H A DrsPath.h30 mutable void * drv; member in struct:android::renderscript::Path::__anon1526
H A DrsMesh.h39 mutable void *drv; member in struct:android::renderscript::Mesh::Hal
H A DrsProgram.h34 mutable void *drv; member in struct:android::renderscript::Program::Hal
H A DrsProgramRaster.h38 mutable void *drv; member in struct:android::renderscript::ProgramRaster::Hal
H A DrsProgramStore.h39 mutable void *drv; member in struct:android::renderscript::ProgramStore::Hal
H A DrsSampler.h40 mutable void *drv; member in struct:android::renderscript::Sampler::Hal
H A DrsScriptGroup.h74 void * drv; member in struct:android::renderscript::ScriptGroup::Hal
H A DrsScript.h65 void * drv; member in struct:android::renderscript::Script::Hal
H A DrsElement.h40 mutable void *drv; member in struct:android::renderscript::Element::Hal

Completed in 288 milliseconds

12