Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp136 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribState()
140 m_currVaoState[location].elementSize = in setVertexAttribState()
141 m_currVaoState[location].elementSize / 4; in setVertexAttribState()
167 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribFormat()
171 m_currVaoState[location].elementSize = in setVertexAttribFormat()
172 m_currVaoState[location].elementSize / 4; in setVertexAttribFormat()
DGLClientState.h127 unsigned int elementSize; member
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp412 unsigned int datalen = state.elementSize * count; in sendVertexData()
414 if (stride == 0) stride = state.elementSize; in sendVertexData()
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp953 unsigned int datalen = state.elementSize * count; in sendVertexAttributes()
956 … __FUNCTION__, i, divisor, state.stride, effectiveStride, state.elementSize, state.type, datalen); in sendVertexAttributes()
958 datalen = state.elementSize * actual_count; in sendVertexAttributes()
961 if (state.elementSize == 0) { in sendVertexAttributes()
983 … unsigned int bufLen = effectiveStride * (count ? (count - 1) : 0) + state.elementSize; in sendVertexAttributes()
986 … bufLen = effectiveStride * (actual_count ? (actual_count - 1) : 0) + state.elementSize; in sendVertexAttributes()