Lines Matching refs:mUniformIndex

428     unsigned int numUniforms = mUniformIndex.size();
431 if (mUniformIndex[location].name == name)
433 const int index = mUniformIndex[location].index;
436 if ((isArray && mUniformIndex[location].element == subscript) ||
553 count = std::min(elementCount - (int)mUniformIndex[location].element, count);
557 T *target = reinterpret_cast<T*>(targetUniform->data) + mUniformIndex[location].element * 4;
576 GLint *boolParams = reinterpret_cast<GLint*>(targetUniform->data) + mUniformIndex[location].element * 4;
597 GLint *target = reinterpret_cast<GLint*>(targetUniform->data) + mUniformIndex[location].element * 4;
715 count = std::min(elementCount - (int)mUniformIndex[location].element, count);
717 GLfloat *target = (GLfloat*)(targetUniform->data + mUniformIndex[location].element * sizeof(GLfloat) * targetMatrixStride);
823 LinkedUniform *targetUniform = mUniforms[mUniformIndex[location].index];
829 transposeMatrix(params, (GLfloat*)targetUniform->data + mUniformIndex[location].element * 4 * rows, rows, cols, 4, rows);
834 memcpy(params, targetUniform->data + mUniformIndex[location].element * 4 * sizeof(T),
844 GLint *boolParams = (GLint*)targetUniform->data + mUniformIndex[location].element * 4;
855 GLfloat *floatParams = (GLfloat*)targetUniform->data + mUniformIndex[location].element * 4;
866 GLint *intParams = (GLint*)targetUniform->data + mUniformIndex[location].element * 4;
877 GLuint *uintParams = (GLuint*)targetUniform->data + mUniformIndex[location].element * 4;
1224 mUniformIndex.resize(uniformIndexCount);
1227 stream.readString(&mUniformIndex[uniformIndexIndex].name);
1228 stream.readInt(&mUniformIndex[uniformIndexIndex].element);
1229 stream.readInt(&mUniformIndex[uniformIndexIndex].index);
1439 stream.writeInt(mUniformIndex.size());
1440 for (size_t i = 0; i < mUniformIndex.size(); ++i)
1442 stream.writeString(mUniformIndex[i].name);
1443 stream.writeInt(mUniformIndex[i].element);
1444 stream.writeInt(mUniformIndex[i].index);
2051 mUniformIndex.push_back(VariableLocation(uniform.name, arrayElementIndex, uniformIndex));
2537 ASSERT(rx::IsIntegerCastSafe<GLint>(mUniformIndex.size()));
2538 return (location >= 0 && location < static_cast<GLint>(mUniformIndex.size()));
2543 ASSERT(location >= 0 && static_cast<size_t>(location) < mUniformIndex.size());
2544 return mUniforms[mUniformIndex[location].index];
2811 mUniformIndex.clear();