/frameworks/base/libs/rs/driver/ |
D | rsdShader.cpp | 250 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) { in logUniform() argument 253 for (uint32_t i = 0; i < arraySize; i ++) { in logUniform() 254 if (arraySize > 1) { in logUniform() 297 int32_t slot, uint32_t arraySize ) { in setUniform() argument 300 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd); in setUniform() 302 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd); in setUniform() 304 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd); in setUniform() 308 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd); in setUniform() 311 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd); in setUniform() 314 RSD_CALL_GL(glUniform3fv, slot, arraySize, fd); in setUniform() [all …]
|
D | rsdShaderCache.cpp | 46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in updateUniformArrayData() 50 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize; in updateUniformArrayData() 58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize); in updateUniformArrayData() 66 data[ct].arraySize = prog->getUniformArraySize(ct); in populateUniformData() 73 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in hasArrayUniforms() 79 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in hasArrayUniforms() 206 &uniformList[ct]->arraySize, &uniformList[ct]->type, in link()
|
D | rsdShaderCache.h | 59 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;} in vtxUniformSize() 61 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;} in fragUniformSize() 74 int32_t arraySize; member 92 uint32_t arraySize; member
|
D | rsdShader.h | 96 …void logUniform(const android::renderscript::Element *field, const float *fd, uint32_t arraySize ); 97 …, const android::renderscript::Element *field, const float *fd, int32_t slot, uint32_t arraySize );
|
D | rsdMeshObj.cpp | 68 uint32_t arraySize = elem->getFieldArraySize(fieldIdx); in isValidGLComponent() local 69 if (arraySize != 1) { in isValidGLComponent()
|
/frameworks/base/libs/rs/ |
D | rsElement.cpp | 58 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits() 70 prefix, mFields[ct].name.string(), mFields[ct].offsetBits, mFields[ct].arraySize); in dumpLOGV() 88 stream->addU32(mFields[ct].arraySize); in serialize() 156 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize; in compute() 211 (ee->mFields[i].arraySize != asin[i])) { in createRef() 232 e->mFields[ct].arraySize = asin[ct]; in createRef() 257 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in incRefs() 279 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in decRefs() 296 void Element::Builder::add(const Element *e, const char *nameStr, uint32_t arraySize) { in add() argument 301 mBuilderArrays.push(arraySize); in add()
|
D | rsElement.h | 34 void add(const Element *e, const char *nameStr, uint32_t arraySize); 61 uint32_t getFieldArraySize(uint32_t idx) const {return mFields[idx].arraySize;} in getFieldArraySize() 115 uint32_t arraySize; member
|
D | rs.spec | 142 param const uint32_t * arraySize
|
/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorJava.cpp | 291 jsize arraySize = 0; in videoEditJava_getArray() local 300 arraySize = pEnv->GetArrayLength(array); in videoEditJava_getArray() 305 (*pArraySize) = arraySize; in videoEditJava_getArray()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Element.java | 828 public Builder add(Element element, String name, int arraySize) { in add() argument 829 if (arraySize < 1) { in add() 845 mArraySizes[mCount] = arraySize; in add()
|
/frameworks/base/drm/common/ |
D | IDrmManagerService.cpp | 577 const int arraySize = reply.readInt32(); in getAllSupportInfo() local 578 if (0 < arraySize) { in getAllSupportInfo() 579 *drmSupportInfoArray = new DrmSupportInfo[arraySize]; in getAllSupportInfo() 581 for (int index = 0; index < arraySize; ++index) { in getAllSupportInfo() 598 *length = arraySize; in getAllSupportInfo()
|