Searched defs:drv (Results 1 - 19 of 19) sorted by relevance

/frameworks/rs/driver/
H A DrsdMesh.cpp31 RsdMeshObj *drv = nullptr; 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 == nullptr) {
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 = nullptr; local
71 if(pv->mHal.drv) {
72 drv
87 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen, local
104 RsdShader *drv = nullptr; local
[all...]
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 DrsdAllocation.cpp107 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
109 rsAssert(drv->textureID);
110 RSD_CALL_GL(glBindTexture, drv->glTarget, drv->textureID);
116 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
123 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
125 RSD_CALL_GL(glBindTexture, drv
166 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
204 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
229 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
379 DrvAllocation *drv = (DrvAllocation *)calloc(1, sizeof(DrvAllocation)); local
530 DrvAllocation *drv = (DrvAllocation *)calloc(1, sizeof(DrvAllocation)); local
543 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
582 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
638 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
665 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
709 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
715 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
741 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
831 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
859 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
873 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
893 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
957 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
1157 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
1176 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
[all...]
/frameworks/rs/
H A DrsFBOCache.h44 mutable void *drv; member in struct:android::renderscript::FBOCache::Hal
H A DrsProgramRaster.h38 mutable void *drv; member in struct:android::renderscript::ProgramRaster::Hal
H A DrsScriptGroupBase.h29 void * drv; member in struct:android::renderscript::ScriptGroupBase::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 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 DrsType.h39 mutable void *drv; member in struct:android::renderscript::Type::Hal
H A DrsElement.h40 mutable void *drv; member in struct:android::renderscript::Element::Hal
H A DrsScript.h80 void * drv; member in struct:android::renderscript::Script::Hal
H A DrsAllocation.h57 void * drv; member in struct:android::renderscript::Allocation::Hal
H A DrsContext.h86 void * drv; member in struct:android::renderscript::Context::Hal
/frameworks/support/v8/renderscript/jni/
H A Dandroid_rscompat_usage_io_driver.cpp16 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
18 if(drv->wndBuffer == NULL) {
19 drv->wndBuffer = new ANativeWindow_Buffer;
21 int32_t r = ANativeWindow_lock(nw, drv->wndBuffer, NULL);
27 void *dst = drv->wndBuffer->bits;
29 alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes;
36 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
39 if (drv
72 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
97 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; local
[all...]
/frameworks/rs/driver/runtime/
H A Drs_structs.h37 void * drv; member in struct:Allocation::__anon1654
140 void * drv; member in struct:ProgramRaster::__anon1658
173 void *drv; member in struct:Sampler::__anon1660
209 void *drv; member in struct:Element::__anon1662
251 void *drv; member in struct:Type::__anon1664
290 void *drv; member in struct:Mesh::__anon1666

Completed in 209 milliseconds