Searched refs:mHal (Results 1 - 25 of 90) sorted by path

1234

/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_allocation.c9 return alloc->mHal.state.dimensionX;
15 return alloc->mHal.state.dimensionY;
21 return alloc->mHal.state.dimensionZ;
27 return alloc->mHal.state.hasMipmaps;
33 return alloc->mHal.state.hasFaces;
39 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.mallocPtr;
40 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
47 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.mallocPtr;
48 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
49 const uint32_t stride = alloc->mHal
[all...]
H A Drs_element.c14 return element->mHal.state.fieldsCount;
20 if (element == NULL || index >= element->mHal.state.fieldsCount) {
24 rs_element returnElem = {element->mHal.state.fields[index]};
31 if (element == NULL || index >= element->mHal.state.fieldsCount) {
34 return element->mHal.state.fieldNameLengths[index];
40 if (element == NULL || index >= element->mHal.state.fieldsCount ||
45 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index];
52 const char *nameSource = element->mHal.state.fieldNames[index];
62 if (element == NULL || index >= element->mHal.state.fieldsCount) {
65 return element->mHal
[all...]
H A Drs_mesh.c14 return mesh->mHal.state.vertexBuffersCount;
23 return mesh->mHal.state.primitivesCount;
29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) {
33 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]};
40 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) {
44 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]};
51 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) {
54 return mesh->mHal.state.primitives[index];
H A Drs_program.c14 return prog->mHal.state.depthFunc;
23 return prog->mHal.state.depthWriteEnable;
32 return prog->mHal.state.colorRWriteEnable;
41 return prog->mHal.state.colorGWriteEnable;
50 return prog->mHal.state.colorBWriteEnable;
59 return prog->mHal.state.colorAWriteEnable;
68 return prog->mHal.state.blendSrc;
77 return prog->mHal.state.blendDst;
86 return prog->mHal.state.ditherEnable;
98 return prog->mHal
[all...]
H A Drs_sample.c11 const Type_t *type = (const Type_t*)alloc->mHal.state.type;
12 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.mallocPtr;
14 const uint32_t offset = type->mHal.state.lodOffset[lod];
15 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
23 const Type_t *type = (const Type_t*)alloc->mHal.state.type;
24 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.mallocPtr;
26 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
27 const uint32_t offset = type->mHal.state.lodOffset[lod];
30 stride = alloc->mHal.drvState.stride;
32 stride = type->mHal
[all...]
H A Drs_sampler.c14 return prog->mHal.state.minFilter;
23 return prog->mHal.state.magFilter;
32 return prog->mHal.state.wrapS;
41 return prog->mHal.state.wrapT;
50 return prog->mHal.state.aniso;
H A Drs_structs.h53 } mHal; member in struct:Allocation
87 } mHal; member in struct:ProgramStore
114 } mHal; member in struct:ProgramRaster
145 } mHal; member in struct:Sampler
183 } mHal; member in struct:Element
219 } mHal; member in struct:Type
253 } mHal; member in struct:Mesh
/frameworks/rs/driver/
H A DrsdAllocation.cpp83 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
87 ptr += xoff * alloc->mHal.state.elementSizeBytes;
95 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
101 if (alloc->mHal.state.hasFaces) {
109 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
115 if (alloc->mHal.state.hasFaces) {
121 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) {
125 if (alloc->mHal.state.hasFaces) {
131 alloc->mHal.state.type->getLODDimX(lod),
132 alloc->mHal
[all...]
H A DrsdBcc.cpp68 script->mHal.drv = drv;
86 script->mHal.info.isThreadable = true;
102 exec->setThreadable(script->mHal.info.isThreadable);
116 script->mHal.info.exportedFunctionCount = info->getExportFuncNames().size();
117 script->mHal.info.exportedVariableCount = info->getExportVarNames().size();
118 script->mHal.info.exportedPragmaCount = info->getPragmas().size();
119 script->mHal.info.exportedPragmaKeyList =
121 script->mHal.info.exportedPragmaValueList =
125 script->mHal.info.root = drv->mRootExpand;
127 script->mHal
[all...]
H A DrsdCore.cpp164 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
204 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
227 rsc->mHal.funcs = FunctionTable;
234 rsc->mHal.drv = dc;
303 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
313 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
H A DrsdFrameBuffer.cpp33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv;
36 if (fb->mHal.state.depthTarget != NULL) {
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv;
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget,
48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv;
50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) {
52 if (fb->mHal.state.colorTargets[i] != NULL) {
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal
[all...]
H A DrsdFrameBufferObj.cpp126 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
H A DrsdGL.cpp155 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
237 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
429 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
471 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
490 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
H A DrsdIntrinsicBlend.cpp449 script->mHal.info.exportedVariableCount = 0;
H A DrsdIntrinsicBlur.cpp174 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
237 RsdHal * dc = (RsdHal *)rsc->mHal.drv;
260 RsdHal * dc = (RsdHal *)rsc->mHal.drv;
262 script->mHal.info.exportedVariableCount = 2;
H A DrsdIntrinsicColorMatrix.cpp130 script->mHal.info.exportedVariableCount = 1;
H A DrsdIntrinsicConvolve3x3.cpp85 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
125 script->mHal.info.exportedVariableCount = 2;
H A DrsdIntrinsicConvolve5x5.cpp109 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
154 script->mHal.info.exportedVariableCount = 2;
H A DrsdIntrinsicLUT.cpp47 DrvAllocation *din = (DrvAllocation *)cp->lut->mHal.drv;
67 script->mHal.info.exportedVariableCount = 1;
H A DrsdIntrinsicYuvToRGB.cpp93 DrvAllocation *din = (DrvAllocation *)cp->alloc->mHal.drv;
132 script->mHal.info.exportedVariableCount = 1;
H A DrsdMesh.cpp32 if(m->mHal.drv) {
33 drv = (RsdMeshObj*)m->mHal.drv;
37 m->mHal.drv = drv;
42 if(m->mHal.drv) {
43 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
48 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv;
54 if(m->mHal.drv) {
55 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv;
H A DrsdMeshObj.cpp55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType;
63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx];
77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) {
100 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
102 uint32_t stride = elem->mHal.state.elementSizeBytes;
103 for (uint32_t fieldI=0; fieldI < elem->mHal
[all...]
H A DrsdPath.cpp66 DrvPath *dp = (DrvPath *)m->mHal.drv;
79 m->mHal.drv = dps;
91 DrvPath *drv = (DrvPath *)m->mHal.drv;
100 m->mHal.drv = NULL;
147 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
H A DrsdProgram.cpp42 pv->mHal.drv = drv;
48 for (uint32_t ct=0; ct < p->mHal.state.texturesCount; ct++) {
49 const Allocation *a = p->mHal.state.textures[ct];
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;
71 if(pv->mHal.drv) {
72 drv = (RsdShader*)pv->mHal.drv;
89 pf->mHal
[all...]
H A DrsdProgramRaster.cpp36 switch (pr->mHal.state.cull) {

Completed in 196 milliseconds

1234