Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_BYTE (Results 1 – 25 of 59) sorted by relevance

123

/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Validate.cpp39 f(GL_UNSIGNED_BYTE) \
51 f(GL_BGRA8_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE) \
52 f(GL_R8, GL_RED, GL_UNSIGNED_BYTE) \
57 f(GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE) \
63 f(GL_RG8, GL_RG, GL_UNSIGNED_BYTE) \
68 f(GL_RG8UI, GL_RG_INTEGER, GL_UNSIGNED_BYTE) \
74 f(GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE) \
75 f(GL_SRGB8, GL_RGB, GL_UNSIGNED_BYTE) \
76 f(GL_RGB565, GL_RGB, GL_UNSIGNED_BYTE) \
88 f(GL_RGB8UI, GL_RGB_INTEGER, GL_UNSIGNED_BYTE) \
[all …]
/hardware/google/gfxstream/guest/GLESv2_enc/
DGLESv2Validation.cpp198 f(GL_BGRA8_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE) \
199 f(GL_R8, GL_RED, GL_UNSIGNED_BYTE) \
204 f(GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE) \
210 f(GL_RG8, GL_RG, GL_UNSIGNED_BYTE) \
215 f(GL_RG8UI, GL_RG_INTEGER, GL_UNSIGNED_BYTE) \
221 f(GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE) \
222 f(GL_SRGB8, GL_RGB, GL_UNSIGNED_BYTE) \
223 f(GL_RGB565, GL_RGB, GL_UNSIGNED_BYTE) \
235 f(GL_RGB8UI, GL_RGB_INTEGER, GL_UNSIGNED_BYTE) \
241 f(GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE) \
[all …]
/hardware/google/gfxstream/host/tests/
DGLSnapshotTextures_unittest.cpp62 GL_UNSIGNED_BYTE,
109 GL_UNSIGNED_BYTE,
121 GL_UNSIGNED_BYTE,
133 GL_UNSIGNED_BYTE,
145 GL_UNSIGNED_BYTE,
157 GL_UNSIGNED_BYTE,
169 GL_UNSIGNED_BYTE,
389 GL_UNSIGNED_BYTE /* levels[i].type */) / 8); in stateChange()
393 GL_UNSIGNED_BYTE /* levels[i].type */, in stateChange()
DFrameBuffer_unittest.cpp213 …mFb->updateColorBuffer(handle, 0, 0, mWidth, mHeight, GL_RGBA, GL_UNSIGNED_BYTE, forUpdate.data()); in TEST_F()
216 mFb->readColorBuffer(handle, 0, 0, mWidth, mHeight, GL_RGBA, GL_UNSIGNED_BYTE, forRead.data()); in TEST_F()
231 GL_UNSIGNED_BYTE, forUpdate.data()); in TEST_F()
258 GL_UNSIGNED_BYTE, forUpdate.data()); in TEST_F()
302 GL_UNSIGNED_BYTE, forUpdate); in TEST_F()
313 GL_RGBA, GL_UNSIGNED_BYTE, in TEST_F()
316 GL_RGBA, GL_UNSIGNED_BYTE, in TEST_F()
340 GL_UNSIGNED_BYTE, forUpdate.data()); in TEST_F()
369 …mFb->updateColorBuffer(handle, 0, 0, mWidth, mHeight, GL_RGBA, GL_UNSIGNED_BYTE, forUpdate.data()); in TEST_F()
372 mFb->readColorBuffer(handle, 0, 0, mWidth, mHeight, GL_RGBA, GL_UNSIGNED_BYTE, forRead.data()); in TEST_F()
[all …]
DGLSnapshotTestDispatch.cpp139 bytesPerPixel = glUtilsPixelBitSize(GL_RGBA, GL_UNSIGNED_BYTE) / 8; in testDraw()
142 gl->glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, in testDraw()
166 gl->glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, in testDraw()
DGLSnapshotTestStateUtils.cpp83 GL_UNSIGNED_BYTE /* type */) / 8); in getTextureImageData()
97 gl->glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, in getTextureImageData()
DDefaultFramebufferBlit_unittest.cpp107 GL_RGBA, GL_UNSIGNED_BYTE, 0); in initialize()
161 GL_RGBA, GL_UNSIGNED_BYTE, forRead.data()); in verifySwappedColor()
DTextureDraw_unittest.cpp33 const GLenum type = GL_UNSIGNED_BYTE; in TestTextureDrawBasic()
98 const GLenum type = GL_UNSIGNED_BYTE; in TestTextureDrawLayer()
DGLSnapshotVertexAttributes_unittest.cpp138 case GL_UNSIGNED_BYTE: in stateCheck()
160 case GL_UNSIGNED_BYTE: in stateChange()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DTextureUtils.cpp416 GLint type = GL_UNSIGNED_BYTE; in doCompressedTexImage2D()
524 height, border, GL_RGBA, GL_UNSIGNED_BYTE, in doCompressedTexImage2D()
549 uncompressedFrmt, GL_UNSIGNED_BYTE, uncompressed); in doCompressedTexImage2D()
561 type = GL_UNSIGNED_BYTE; in doCompressedTexImage2D()
571 type = GL_UNSIGNED_BYTE; in doCompressedTexImage2D()
657 case GL_UNSIGNED_BYTE: in getCoreProfileEmulatedInternalFormat()
667 case GL_UNSIGNED_BYTE: in getCoreProfileEmulatedInternalFormat()
960 case GL_UNSIGNED_BYTE: in s_computePixelSize()
1211 return GL_UNSIGNED_BYTE; in getTypeFromInternalFormat()
1218 return GL_UNSIGNED_BYTE; in getTypeFromInternalFormat()
[all …]
DGLutils.cpp246 return GL_UNSIGNED_BYTE; in accurateTypeOfInternalFormat()
303 return GL_UNSIGNED_BYTE; in accurateTypeOfInternalFormat()
308 return GL_UNSIGNED_BYTE; in accurateTypeOfInternalFormat()
DGLESvalidate.cpp39 case GL_UNSIGNED_BYTE: in pixelType()
109 return mode == GL_UNSIGNED_BYTE || in drawType()
DSaveableTexture.cpp115 case GL_UNSIGNED_BYTE: in s_computePixelSize()
387 KNOWN_GOOD_READ_PIXELS_COMBINATION(GL_RGB, GL_UNSIGNED_BYTE) in shouldUseReadPixels()
388 KNOWN_GOOD_READ_PIXELS_COMBINATION(GL_RGBA, GL_UNSIGNED_BYTE) in shouldUseReadPixels()
910 if (!isGles2Gles() && m_type == GL_UNSIGNED_BYTE && m_format == GL_BGRA_EXT && in restore()
/hardware/google/gfxstream/host/gl/
DColorBufferGl.cpp127 *pixelType = GL_UNSIGNED_BYTE; in sGetFormatParameters()
142 *pixelType = GL_UNSIGNED_BYTE; in sGetFormatParameters()
172 *pixelType = GL_UNSIGNED_BYTE; in sGetFormatParameters()
179 *pixelType = GL_UNSIGNED_BYTE; in sGetFormatParameters()
195 *pixelType = GL_UNSIGNED_BYTE; in sGetFormatParameters()
202 *pixelType = GL_UNSIGNED_BYTE; in sGetFormatParameters()
222 GLenum pixelType = GL_UNSIGNED_BYTE; in create()
408 if ((p_format == GL_RGB || p_format == GL_RGB8) && p_type == GL_UNSIGNED_BYTE) { in readPixels()
453 p_format == GL_RGB && p_type == GL_UNSIGNED_BYTE && in readPixelsScaled()
514 GLenum pixelType = GL_UNSIGNED_BYTE; in reformat()
[all …]
DTextureDraw.cpp383 s_gles2.glDrawElements(GL_TRIANGLES, kIndicesPerDraw, GL_UNSIGNED_BYTE, in drawImpl()
411 GL_RGBA, GL_UNSIGNED_BYTE, in drawImpl()
420 mMaskHeight, GL_RGBA, GL_UNSIGNED_BYTE, mMaskPixels.data()); in drawImpl()
447 s_gles2.glDrawElements(GL_TRIANGLES, kIndicesPerDraw, GL_UNSIGNED_BYTE, in drawImpl()
663 s_gles2.glDrawElements(GL_TRIANGLES, kIndicesPerDraw, GL_UNSIGNED_BYTE, in drawLayer()
DTextureResize.cpp226 mTextureDataType(GL_UNSIGNED_BYTE) {
551 GL_UNSIGNED_BYTE, nullptr); in draw()
602 s_gles2.glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, (const GLvoid*)indexShift); in draw()
DYUVConverter.cpp220 return GL_UNSIGNED_BYTE; in getGlPixelType()
230 return GL_UNSIGNED_BYTE; in getGlPixelType()
241 return GL_UNSIGNED_BYTE; in getGlPixelType()
251 return GL_UNSIGNED_BYTE; in getGlPixelType()
855 s_gles2.glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, 0); in doYUVConversionDraw()
DColorBufferGl.h284 GLenum m_asyncReadbackType = GL_UNSIGNED_BYTE;
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DTextureData.h40 type(GL_UNSIGNED_BYTE), in TextureData()
DSaveableTexture.h98 unsigned int m_type = GL_UNSIGNED_BYTE;
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DglUtils.cpp114 case GL_UNSIGNED_BYTE: in getColumnsOfType()
213 case GL_UNSIGNED_BYTE: in getRowsOfType()
313 case GL_UNSIGNED_BYTE: in getAttributeCountOfType()
415 case GL_UNSIGNED_BYTE: in glSizeof()
931 case GL_UNSIGNED_BYTE: in glUtilsPixelBitSize()
/hardware/google/gfxstream/host/apigen-codec-common/
DglUtils.cpp28 case GL_UNSIGNED_BYTE: in glSizeof()
408 case GL_UNSIGNED_BYTE: in glUtilsPixelBitSize()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndGlTests.cpp90 mGl->glReadPixels(x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, rgba); in GetPixelAt()
555 GL_UNSIGNED_BYTE, nullptr); in TEST_P()
625 GL_UNSIGNED_BYTE, kTextureData); in TEST_P()
693 GL_UNSIGNED_BYTE, nullptr); in TEST_P()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmValidate.cpp261 case GL_UNSIGNED_BYTE: in colorPointerType()
/hardware/google/gfxstream/guest/mesa/src/util/tools/
Dfind_hash_func.c226 {0, S(GL_UNSIGNED_BYTE)}, in main()

123