Home
last modified time | relevance | path

Searched refs:glSizeof (Results 1 – 8 of 8) sorted by relevance

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DIndexRangeCache.h80 size_t end = offset + count * glSizeof(type);
81 size_t end_other = rhs.offset + rhs.count * glSizeof(rhs.type);
DglUtils.cpp23 size_t glSizeof(GLenum type) in glSizeof() function
405 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData()
434 unsigned int vsize = size * glSizeof(type); in glUtilsWritePackPointerData()
DIndexRangeCache.cpp71 it->first.count * glSizeof(it->first.type); in invalidateRange()
DglUtils.h54 size_t glSizeof(GLenum type);
DGLClientState.cpp136 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribState()
167 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribFormat()
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp588 adjustedIndices = ctx->m_fixedBuffer.alloc(glSizeof(type) * count); in s_glDrawElements()
598 adjustedIndices = ctx->m_fixedBuffer.alloc(glSizeof(type) * count); in s_glDrawElements()
608 adjustedIndices = ctx->m_fixedBuffer.alloc(glSizeof(type) * count); in s_glDrawElements()
620 count * glSizeof(type)); in s_glDrawElements()
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp604 effectiveStride = glSizeof(type) * size; in s_glVertexAttribPointer()
959 adjustedIndices = m_fixedBuffer.alloc(glSizeof(type) * count); in recenterIndices()
1271 count * glSizeof(type)); in s_glDrawElements()
2046 glSizeof(type)), in s_glTexImage2D()
2050 ((uintptr_t)pixels % glSizeof(type)), in s_glTexImage2D()
2135 glSizeof(type)), in s_glTexSubImage2D()
3246 effectiveStride = glSizeof(type) * size; in s_glVertexAttribIPointer()
3483 glSizeof(type)), in s_glTexImage3D()
3544 glSizeof(type)), in s_glTexSubImage3D()
3750 …mentsInstancedDataAEMU(ctx, mode, count, type, adjustedIndices, primcount, count * glSizeof(type)); in s_glDrawElementsInstanced()
[all …]
Dgl2_enc.cpp2398 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformfv_enc()
2438 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformiv_enc()
6295 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformuiv_enc()