Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/OpenglCodecCommon/
DIndexRangeCache.h78 size_t end = offset + count * glSizeof(type);
79 size_t end_other = rhs.offset + rhs.count * glSizeof(rhs.type);
DIndexRangeCache.cpp66 it->first.count * glSizeof(it->first.type); in invalidateRange()
DglUtils.cpp410 size_t glSizeof(GLenum type) in glSizeof() function
878 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData()
907 unsigned int vsize = size * glSizeof(type); in glUtilsWritePackPointerData()
DglUtils.h63 size_t glSizeof(GLenum type);
DGLClientState.cpp184 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribState()
218 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribFormat()
/hardware/google/gfxstream/host/apigen-codec-common/
DglUtils.h29 size_t glSizeof(GLenum type);
DglUtils.cpp23 size_t glSizeof(GLenum type) in glSizeof() function
387 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData()
/hardware/google/gfxstream/host/tests/
DGLSnapshotPrograms_unittest.cpp289 val.floats.resize(glSizeof(type) / sizeof(GLfloat)); in getUniformValues()
303 val.ints.resize(glSizeof(type) / sizeof(GLint)); in getUniformValues()
/hardware/google/gfxstream/guest/GLESv1_enc/
DGLEncoder.cpp598 ctx->m_fixedBuffer.resize(glSizeof(type) * count); in s_glDrawElements()
609 ctx->m_fixedBuffer.resize(glSizeof(type) * count); in s_glDrawElements()
620 ctx->m_fixedBuffer.resize(glSizeof(type) * count); in s_glDrawElements()
633 count * glSizeof(type)); in s_glDrawElements()
/hardware/google/gfxstream/guest/GLESv2_enc/
DGL2Encoder.cpp762 effectiveStride = glSizeof(type) * size; in s_glVertexAttribPointer()
1251 m_fixedBuffer.resize(glSizeof(type) * count); in recenterIndices()
1558 count * glSizeof(type)); in s_glDrawElements()
1679 count * glSizeof(type)); in s_glDrawElementsNullAEMU()
2841 glSizeof(type)), in s_glTexImage2D()
2845 ((uintptr_t)pixels % glSizeof(type)), in s_glTexImage2D()
2931 glSizeof(type)), in s_glTexSubImage2D()
4148 effectiveStride = glSizeof(type) * size; in s_glVertexAttribIPointer()
4443 glSizeof(type)), in s_glTexImage3D()
4503 ((uintptr_t)data % glSizeof(type)), in s_glTexSubImage3D()
[all …]
Dgl2_enc.cpp2554 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformfv_enc()
2596 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformiv_enc()
6697 const unsigned int __size_params = glSizeof(glesv2_enc::uniformType(self, program, location)); in glGetUniformuiv_enc()
/hardware/google/gfxstream/codegen/gles2/
Dgles2.attrib260 len params glSizeof(glesv2_enc::uniformType(self, program, location))
265 len params glSizeof(glesv2_enc::uniformType(self, program, location))
794 len params glSizeof(glesv2_enc::uniformType(self, program, location))
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DProgramData.cpp193 type, glSizeof(type), val); in getUniformValue()