Home
last modified time | relevance | path

Searched refs:elementSize (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp155 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribState()
159 m_currVaoState[location].elementSize = in setVertexAttribState()
160 m_currVaoState[location].elementSize / 4; in setVertexAttribState()
189 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribFormat()
193 m_currVaoState[location].elementSize = in setVertexAttribFormat()
194 m_currVaoState[location].elementSize / 4; in setVertexAttribFormat()
DGLClientState.h127 unsigned int elementSize; member
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp417 unsigned int datalen = state.elementSize * count; in sendVertexData()
419 if (stride == 0) stride = state.elementSize; in sendVertexData()
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp1232 unsigned int datalen = state.elementSize * count; in sendVertexAttributes()
1235 … __FUNCTION__, i, divisor, state.stride, effectiveStride, state.elementSize, state.type, datalen); in sendVertexAttributes()
1237 datalen = state.elementSize * actual_count; in sendVertexAttributes()
1240 if (state.elementSize == 0) { in sendVertexAttributes()
1262 … unsigned int bufLen = effectiveStride * (count ? (count - 1) : 0) + state.elementSize; in sendVertexAttributes()
1265 … bufLen = effectiveStride * (actual_count ? (actual_count - 1) : 0) + state.elementSize; in sendVertexAttributes()