/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTextureGroup.cpp | 62 GL_FLOAT, GL_UNSIGNED_BYTE); in init() 86 GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE); in init() 94 0, 255, GL_FLOAT, GL_UNSIGNED_BYTE); in init() 102 0, 255, GL_UNSIGNED_SHORT, GL_UNSIGNED_BYTE); in init() 110 255, GL_FLOAT, GL_UNSIGNED_BYTE); in init() 120 GL_FLOAT, GL_UNSIGNED_BYTE); in init() 144 GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE); in init() 152 1, 0, 255, GL_FLOAT, GL_UNSIGNED_BYTE); in init() 162 GL_FLOAT, GL_UNSIGNED_BYTE); in init() 186 GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE); in init() [all …]
|
D | esextcTextureBorderClampTests.cpp | 87 GL_FLOAT, GL_UNSIGNED_BYTE); in init() 111 GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE); in init() 119 0, 255, GL_FLOAT, GL_UNSIGNED_BYTE); in init() 127 0, 255, GL_UNSIGNED_SHORT, GL_UNSIGNED_BYTE); in init() 135 255, GL_FLOAT, GL_UNSIGNED_BYTE); in init() 145 GL_FLOAT, GL_UNSIGNED_BYTE); in init() 169 GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE); in init() 177 1, 0, 255, GL_FLOAT, GL_UNSIGNED_BYTE); in init() 187 GL_FLOAT, GL_UNSIGNED_BYTE); in init() 210 GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE); in init() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fNegativeTextureApiTests.cpp | 850 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 864 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 866 …FOR_CUBE_FACES(faceGL, glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);); in init() 885 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 887 …FOR_CUBE_FACES(faceGL, glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);); in init() 911 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 929 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 947 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 969 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 971 …glTexImage2D (GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() [all …]
|
D | es3fNegativeVertexArrayApiTests.cpp | 353 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 365 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init() 373 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 397 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 401 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 420 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 432 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init() 440 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 456 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 468 glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in init() [all …]
|
/external/virglrenderer/src/ |
D | vrend_formats.c | 53 { VIRGL_FORMAT_B8G8R8X8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, RGB1_SWIZZLE }, 54 { VIRGL_FORMAT_B8G8R8A8_UNORM, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, NO_SWIZZLE }, 56 { VIRGL_FORMAT_R8G8B8X8_UNORM, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, RGB1_SWIZZLE }, 57 { VIRGL_FORMAT_R8G8B8A8_UNORM, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, NO_SWIZZLE }, 62 { VIRGL_FORMAT_A8B8G8R8_UNORM, GL_RGBA8, GL_ABGR_EXT, GL_UNSIGNED_BYTE, NO_SWIZZLE }, 91 { VIRGL_FORMAT_X24S8_UINT, GL_STENCIL_INDEX8, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, NO_SWIZZLE }, 95 { VIRGL_FORMAT_A8_UNORM, GL_ALPHA8, GL_ALPHA, GL_UNSIGNED_BYTE, NO_SWIZZLE }, 96 { VIRGL_FORMAT_L8_UNORM, GL_R8, GL_RED, GL_UNSIGNED_BYTE, RRR1_SWIZZLE }, 97 …{ VIRGL_FORMAT_L8A8_UNORM, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, NO_SWIZZLE … 104 { VIRGL_FORMAT_R8_UNORM, GL_R8, GL_RED, GL_UNSIGNED_BYTE, NO_SWIZZLE }, [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeTextureApiTests.cpp | 986 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in init() 1000 …FOR_CUBE_FACES(faceGL, glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_N… in init() 1024 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in init() 1039 …FOR_CUBE_FACES(faceGL, glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_N… in init() 1064 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in init() 1082 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in init() 1100 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in init() 1122 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 1124 …glTexImage2D (GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 1125 …glTexImage2D (GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() [all …]
|
D | es2fTextureSpecificationTests.cpp | 613 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels() 1588 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init() 1589 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init() 1590 { "la88", GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init() 1592 { "rgb888", GL_RGB, GL_UNSIGNED_BYTE }, in init() 1595 { "rgba8888", GL_RGBA, GL_UNSIGNED_BYTE }, in init() 1653 …ew TexImage2DAlignCase (m_context, "2d_l8_4_8", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, MIPMAPS, … in init() 1654 …w TexImage2DAlignCase (m_context, "2d_l8_63_1", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 3… in init() 1655 …w TexImage2DAlignCase (m_context, "2d_l8_63_2", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 3… in init() 1656 …w TexImage2DAlignCase (m_context, "2d_l8_63_4", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 3… in init() [all …]
|
D | es2fNegativeVertexArrayApiTests.cpp | 214 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 224 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init() 233 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 247 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 257 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init() 266 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 279 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 289 glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in init() 298 glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
|
/external/deqp/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 478 …return (type == GL_INT) || (type == GL_UNSIGNED_BYTE) || (type == GL_UNSIGNED_INT) || (type == GL_… in isTypeSupportedByGLReadPixels() 505 case GL_UNSIGNED_BYTE: in isInternalFormatCompatibleWithType() 693 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getAlpha8OESPixelData() 724 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getLuminance8OESPixelData() 759 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getLuminance8Alpha8OESPixelData() 1022 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getR8UIPixelData() 1065 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getR8PixelData() 1338 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getRG8UIPixelData() 1385 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getRG8PixelData() 1722 DE_ASSERT(type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_SHORT_5_5_5_1 || in getRGB5A1PixelData() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeTextureApiTests.cpp | 940 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_invalid_target() 954 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_read_buffer_is_none() 985 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_neg_level() 987 …FOR_CUBE_FACES(faceGL, ctx.glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, … in copytexsubimage2d_neg_level() 1007 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_max_level() 1009 …FOR_CUBE_FACES(faceGL, ctx.glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, … in copytexsubimage2d_max_level() 1034 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_neg_offset() 1053 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_invalid_offset() 1072 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_neg_width_height() 1095 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_incomplete_framebuffer() [all …]
|
D | es31fNegativeVertexArrayApiTests.cpp | 498 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements() 510 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in draw_elements() 518 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements() 542 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements() 546 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements() 566 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_invalid_program() 578 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in draw_elements_invalid_program() 586 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_invalid_program() 608 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive() 620 ctx.glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcTextureRepeatModeTests.cpp | 249 …{ GL_RED, GL_RED, GL_RED, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 0, 0, 0, 0, 0, 0, 0, … 250 …{ GL_RG, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_… 253 …{ GL_R8, GL_RED, GL_RED, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 0, 0, 0, 0, 0, 0, 0, N… 257 …{ GL_RG8, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO… 262 …{ GL_RGB4, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 4, 4, 4, 0, 0, 0, 0, 0,… 263 …{ GL_RGB5, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 5, 5, 5, 0, 0, 0, 0, 0,… 265 …{ GL_RGB8, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 8, 0, 0, 0, 0, 0,… 271 …{ GL_RGBA2, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 2, 2, 2, 2, 0, 0, 0, 0… 276 …{ GL_RGBA8, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 8, 8, 0, 0, 0, 0… 286 …{ GL_SRGB8, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 8, 0, 0, 0, 0, 0… [all …]
|
D | glcInternalformatTests.cpp | 302 else if (type == GL_UNSIGNED_BYTE) in prepareTexturingProgramSources() 445 return GL_UNSIGNED_BYTE; in getTypeFromInternalFormat() 461 colorConversionMap[GL_UNSIGNED_BYTE] = &convertUByte; in generateTextureData() 700 formatMap[GL_RED] = TextureFormat(GL_RED, GL_UNSIGNED_BYTE, GL_RED); in iterate() 701 formatMap[GL_RG] = TextureFormat(GL_RG, GL_UNSIGNED_BYTE, GL_RG); in iterate() 702 formatMap[GL_RGB] = TextureFormat(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB); in iterate() 703 formatMap[GL_RGBA] = TextureFormat(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB); in iterate() 704 formatMap[GL_RGBA_INTEGER] = TextureFormat(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB); in iterate() 705 formatMap[GL_RGB_INTEGER] = TextureFormat(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB); in iterate() 706 formatMap[GL_ALPHA] = TextureFormat(GL_ALPHA, GL_UNSIGNED_BYTE, GL_ALPHA); in iterate() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 842 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 847 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 897 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 960 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1057 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1064 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1068 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1073 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1121 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1125 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps() [all …]
|
D | glformats.c | 278 case GL_UNSIGNED_BYTE: in _mesa_sizeof_type() 315 case GL_UNSIGNED_BYTE: in _mesa_sizeof_packed_type() 434 case GL_UNSIGNED_BYTE: in _mesa_bytes_per_pixel() 538 case GL_UNSIGNED_BYTE: in _mesa_bytes_per_vertex_attrib() 964 case GL_UNSIGNED_BYTE: in _mesa_is_type_unsigned() 1932 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type() 1956 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type() 1973 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type() 1988 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type() 2020 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureFormatTests.cpp | 57 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init() 58 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init() 59 { "la88", GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init() 63 { "rgb888", GL_RGB, GL_UNSIGNED_BYTE }, in init() 64 { "rgba8888", GL_RGBA, GL_UNSIGNED_BYTE } in init()
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderBlitting.cpp | 98 GL_RGBA, GL_UNSIGNED_BYTE, NULL); in iterate() 104 GL_RGBA, GL_UNSIGNED_BYTE, NULL); in iterate() 134 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_source1); in iterate() 136 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_source2); in iterate() 138 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_source3); in iterate() 140 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_source4); in iterate() 144 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_target); in iterate() 146 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_target); in iterate() 148 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_target); in iterate() 150 TEXTURE_HEIGHT, 1 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, layer_target); in iterate() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cGetTextureSubImageTests.cpp | 185 …gl.texImage1D(GL_TEXTURE_1D, 0, GL_RGBA8, s_texture_data_width, 0, GL_RGBA, GL_UNSIGNED_BYTE, s_te… in prepare() 192 GL_UNSIGNED_BYTE, s_texture_data); in prepare() 198 …TEXTURE_2D, 0, GL_RGBA8, s_texture_data_width, s_texture_data_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, in prepare() 206 GL_UNSIGNED_BYTE, s_texture_data); in prepare() 266 GL_UNSIGNED_BYTE, s_destination_buffer_size, m_destination_buffer); in testExistingTextureObjectError() 319 GL_RGBA, GL_UNSIGNED_BYTE, s_destination_buffer_size, m_destination_buffer); in testBufferOrMultisampledTargetError() 354 GL_UNSIGNED_BYTE, s_destination_buffer_size, m_destination_buffer); in testNegativeOffsetError() 408 s_texture_data_height * 2, 1, GL_RGBA, GL_UNSIGNED_BYTE, s_destination_buffer_size, in testBoundsError() 469 …GetTextureSubImage(m_texture_1D, 0, 0, 1, 0, s_texture_data_width, 2, 1, GL_RGBA, GL_UNSIGNED_BYTE, in testOneDimmensionalTextureErrors() 524 GL_UNSIGNED_BYTE, s_destination_buffer_size, m_destination_buffer); in testTwoDimmensionalTextureErrors() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 739 case GL_UNSIGNED_BYTE: in ValidateReadPixelsFormatType() 760 if(format == GL_RGBA && type == GL_UNSIGNED_BYTE) in ValidateReadPixelsFormatType() 768 if(type == GL_UNSIGNED_BYTE || in ValidateReadPixelsFormatType() 881 case GL_UNSIGNED_BYTE: in ValidateTextureFormatType() 962 case GL_UNSIGNED_BYTE: in ValidateTextureFormatType() 975 case GL_UNSIGNED_BYTE: in ValidateTextureFormatType() 989 case GL_UNSIGNED_BYTE: in ValidateTextureFormatType() 1020 case GL_UNSIGNED_BYTE: // GL_EXT_texture_rg in ValidateTextureFormatType() 1029 …if(type != GL_UNSIGNED_BYTE) // GL_APPLE_texture_format_BGRA8888 / GL_EXT_texture_format_BGRA8888 in ValidateTextureFormatType() 1051 …case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8, GL_RGB5_A1, GL_RGBA4, GL_SR… in ValidateTextureFormatType() [all …]
|
D | Framebuffer.cpp | 591 case GL_BGRA8_EXT: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 594 case GL_RGBA8: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 596 case GL_RGB8: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 597 case GL_R8: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 598 case GL_RG8: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 603 case GL_R8UI: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 604 case GL_RG8UI: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 605 case GL_RGB8UI: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 606 case GL_RGBA8UI: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() 634 case GL_SRGB8: return GL_UNSIGNED_BYTE; in getImplementationColorReadType() [all …]
|
/external/deqp/modules/egl/ |
D | teglImageTests.cpp | 500 …GLU_CHECK_CALL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 64, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NU… in iterate() 558 …e::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RED, GL_RED, GL_UNSIGNED_BYTE, false)); in init() 559 …age::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RG, GL_RG, GL_UNSIGNED_BYTE, false)); in init() 561 …eateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE)); in init() 562 …S2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE)); in init() 564 …ew Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE)); in init() 565 … Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE)); in init() 566 …::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, true)); in init() 568 …mageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE)); in init() 569 …geGLES2(m_eglTestCtx, EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE)); in init() [all …]
|
/external/swiftshader/tests/GLESUnitTests/ |
D | unittests.cpp | 56 glReadPixels(x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &color); in expectFramebufferColor() 851 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, green); in TEST_F() 1030 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_F() 1034 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 1, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_F() 1042 …glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, maxSize, maxSize, 0, GL_RGBA, GL_UNSIGNED_BYTE,… in TEST_F() 1048 …GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, maxSize + 1, maxSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_F() 1050 …GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, maxSize, maxSize + 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_F() 1191 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_F() 1219 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, green); in TEST_F() 1270 glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, green); in TEST_F() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContext.cpp | 39 …texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAcce… in texImage2D() 55 dataType = GL_UNSIGNED_BYTE; in texImage2D() 74 …texSubImage2D(target, level, xoffset, yoffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, src.getAc… in texSubImage2D() 80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()
|
/external/deqp/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 835 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, 64, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in iterate() 1139 callTexImage3D(0, 0, GL_RGBA, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in iterate() 1141 callTexImage3D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in iterate() 1147 callTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, 0, GL_UNSIGNED_BYTE, 0); in iterate() 1150 callTexImage3D(GL_TEXTURE_3D, 0, 0, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in iterate() 1158 …Image3D(GL_TEXTURE_3D, 0, GL_DEPTH_COMPONENT, 1, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, 0); in iterate() 1163 callTexImage3D(GL_TEXTURE_3D, 0, GL_RGB, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in iterate() 1178 callTexImage3D(GL_TEXTURE_3D, -1, GL_RGB, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); in iterate() 1187 …callTexImage3D(GL_TEXTURE_3D, log2Max3DTextureSize, GL_RGB, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, … in iterate() 1195 callTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, -1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in iterate() [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | yuvtest.cc | 149 GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in SetupTextures() 154 GL_UNSIGNED_BYTE, evenodd); in SetupTextures() 159 YUV2RGB_PIXEL_HEIGHT, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in SetupTextures() 164 YUV2RGB_PIXEL_HEIGHT / 2, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, in SetupTextures() 170 YUV2RGB_PIXEL_HEIGHT / 2, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, in SetupTextures() 185 GL_UNSIGNED_BYTE, buf_uv.get()); in SetupTextures()
|