/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | format_map_autogen.cpp | 32 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 42 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 60 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 70 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 80 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 90 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 100 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 110 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 120 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 130 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTextureTest.cpp | 77 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 256, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, in testGradientDownsampleUniqueValues() 91 glReadPixels(0, 0, 256, 1, GL_RGBA, GL_UNSIGNED_BYTE, destData.data()); in testGradientDownsampleUniqueValues() 402 glTexImage2D(GL_TEXTURE_2D, 0, sourceFormat, 2, 2, 0, sourceFormat, GL_UNSIGNED_BYTE, in initializeSourceTexture() 433 GL_UNSIGNED_BYTE, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopyTexture() 486 glTexImage2D(GL_TEXTURE_2D, 0, destFormat, 2, 2, 0, destFormat, GL_UNSIGNED_BYTE, in testCopySubTexture() 556 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixels); in TEST_P() 565 GL_UNSIGNED_BYTE, false, false, false); in TEST_P() 612 glTexImage2D(GL_TEXTURE_2D, 0, sourceFormat, 1, 1, 0, sourceFormat, GL_UNSIGNED_BYTE, in TEST_P() 617 GL_UNSIGNED_BYTE, false, false, false); in TEST_P() 629 glTexImage2D(GL_TEXTURE_2D, 0, sourceFormat, 1, 1, 0, sourceFormat, GL_UNSIGNED_BYTE, in TEST_P() [all …]
|
D | CopyTexture3DTest.cpp | 80 glTexImage3D(testTarget, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in testCopy() 186 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &actual.R); in testCopy() 284 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 292 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 315 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 317 glTexImage3D(GL_TEXTURE_3D, 1, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 328 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 336 GL_UNSIGNED_BYTE, false, false, false); in TEST_P() 372 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 3, 3, 3, 0, GL_RGBA, GL_UNSIGNED_BYTE, rgbaPixels); in TEST_P() 381 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() [all …]
|
D | UnpackAlignmentTest.cpp | 57 case GL_UNSIGNED_BYTE: in getPixelSize() 140 testAlignment(1, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P() 145 testAlignment(1, 7 * 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P() 165 testAlignment(1, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P() 170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() 175 testAlignment(1, 7, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P() 180 testAlignment(2, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P() 185 testAlignment(2, 7 * 3 + 1, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P() 205 testAlignment(2, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P() 210 testAlignment(2, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() [all …]
|
D | TextureTest.cpp | 102 GL_UNSIGNED_BYTE, nullptr); in setUpFramebuffer() 116 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in create2DTexture() 538 GL_UNSIGNED_BYTE, nullptr); in testSetUp() 627 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw() 632 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw() 1038 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, in runSamplerInStructTest() 1372 glTexSubImage2D(GL_TEXTURE_2D, 0, 1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in TEST_P() 1381 glTexSubImage2D(GL_TEXTURE_2D, 1, 1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in TEST_P() 1424 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixel); in TEST_P() 1427 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel); in TEST_P() [all …]
|
D | MipmapTest.cpp | 147 GL_UNSIGNED_BYTE, nullptr); in testSetUp() 156 TexImageCubeMapFaces(0, GL_RGB, getWindowWidth(), GL_RGB, GL_UNSIGNED_BYTE, nullptr); in testSetUp() 158 0, GL_RGB, GL_UNSIGNED_BYTE, mLevelZeroBlueInitData.data()); in testSetUp() 402 GL_UNSIGNED_BYTE, mLevelZeroBlueInitData.data()); in TEST_P() 425 getWindowWidth() / (1U << n), 0, GL_RGB, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 432 GL_UNSIGNED_BYTE, mLevelOneGreenInitData.data()); in TEST_P() 458 GL_UNSIGNED_BYTE, mLevelTwoRedInitData.data()); in TEST_P() 486 GL_UNSIGNED_BYTE, mLevelZeroWhiteInitData.data()); in TEST_P() 518 GL_UNSIGNED_BYTE, mLevelZeroBlueInitData.data()); in TEST_P() 679 GL_RGB, GL_UNSIGNED_BYTE, levels[i % 3]); in TEST_P() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | format_map_autogen.cpp | 32 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 42 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 58 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 68 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 78 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 88 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 98 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 108 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 118 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() 128 case GL_UNSIGNED_BYTE: in GetSizedFormatInternal() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | gstglformat.c | 58 {GST_GL_LUMINANCE, GL_UNSIGNED_BYTE, 1}, 59 {GST_GL_ALPHA, GL_UNSIGNED_BYTE, 1}, 60 {GST_GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 2}, 61 {GST_GL_RED, GL_UNSIGNED_BYTE, 1}, 62 {GST_GL_R8, GL_UNSIGNED_BYTE, 1}, 63 {GST_GL_RG, GL_UNSIGNED_BYTE, 2}, 64 {GST_GL_RG8, GL_UNSIGNED_BYTE, 2}, 65 {GST_GL_RGB, GL_UNSIGNED_BYTE, 3}, 66 {GST_GL_RGB8, GL_UNSIGNED_BYTE, 3}, 69 {GST_GL_RGBA, GL_UNSIGNED_BYTE, 4}, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | load_functions_table_autogen.cpp | 63 case GL_UNSIGNED_BYTE: in A1RGB5_ANGLEX_to_A1R5G5B5_UNORM() 81 case GL_UNSIGNED_BYTE: in ALPHA_to_R16G16B16A16_FLOAT() 95 case GL_UNSIGNED_BYTE: in ALPHA_to_R32G32B32A32_FLOAT() 107 case GL_UNSIGNED_BYTE: in ALPHA_to_default() 145 case GL_UNSIGNED_BYTE: in ALPHA8_EXT_to_A8_UNORM() 157 case GL_UNSIGNED_BYTE: in ALPHA8_EXT_to_R8G8B8A8_UNORM() 169 case GL_UNSIGNED_BYTE: in ALPHA8_EXT_to_R8_UNORM() 181 case GL_UNSIGNED_BYTE: in BGR565_ANGLEX_to_B5G6R5_UNORM() 195 case GL_UNSIGNED_BYTE: in BGR5_A1_ANGLEX_to_default() 209 case GL_UNSIGNED_BYTE: in BGRA4_ANGLEX_to_default() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | load_functions_table_autogen.cpp | 63 case GL_UNSIGNED_BYTE: in A1RGB5_ANGLEX_to_A1R5G5B5_UNORM() 81 case GL_UNSIGNED_BYTE: in ALPHA_to_R16G16B16A16_FLOAT() 95 case GL_UNSIGNED_BYTE: in ALPHA_to_R32G32B32A32_FLOAT() 107 case GL_UNSIGNED_BYTE: in ALPHA_to_default() 171 case GL_UNSIGNED_BYTE: in ALPHA8_EXT_to_A8_UNORM() 183 case GL_UNSIGNED_BYTE: in ALPHA8_EXT_to_R8G8B8A8_UNORM() 195 case GL_UNSIGNED_BYTE: in ALPHA8_EXT_to_R8_UNORM() 219 case GL_UNSIGNED_BYTE: in BGR565_ANGLEX_to_B5G6R5_UNORM() 233 case GL_UNSIGNED_BYTE: in BGR5_A1_ANGLEX_to_default() 247 case GL_UNSIGNED_BYTE: in BGRA4_ANGLEX_to_default() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTextureTest.cpp | 77 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 256, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, in testGradientDownsampleUniqueValues() 91 glReadPixels(0, 0, 256, 1, GL_RGBA, GL_UNSIGNED_BYTE, destData.data()); in testGradientDownsampleUniqueValues() 416 glTexImage2D(target, 0, sourceFormat, 2, 2, 0, sourceFormat, GL_UNSIGNED_BYTE, in initializeSourceTexture() 461 GL_UNSIGNED_BYTE, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopyTexture() 528 glTexImage2D(GL_TEXTURE_2D, 0, destFormat, 2, 2, 0, destFormat, GL_UNSIGNED_BYTE, in testCopySubTexture() 601 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixels); in TEST_P() 610 GL_UNSIGNED_BYTE, false, false, false); in TEST_P() 657 glTexImage2D(GL_TEXTURE_2D, 0, sourceFormat, 1, 1, 0, sourceFormat, GL_UNSIGNED_BYTE, in TEST_P() 662 GL_UNSIGNED_BYTE, false, false, false); in TEST_P() 674 glTexImage2D(GL_TEXTURE_2D, 0, sourceFormat, 1, 1, 0, sourceFormat, GL_UNSIGNED_BYTE, in TEST_P() [all …]
|
D | UnpackAlignmentTest.cpp | 57 case GL_UNSIGNED_BYTE: in getPixelSize() 140 testAlignment(1, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P() 145 testAlignment(1, 7 * 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P() 165 testAlignment(1, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P() 170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() 175 testAlignment(1, 7, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P() 180 testAlignment(2, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P() 185 testAlignment(2, 7 * 3 + 1, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P() 205 testAlignment(2, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P() 210 testAlignment(2, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() [all …]
|
D | CopyTexture3DTest.cpp | 80 glTexImage3D(testTarget, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in testCopy() 234 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &actual.R); in testCopy() 339 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 347 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 370 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 372 glTexImage3D(GL_TEXTURE_3D, 1, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 383 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 391 GL_UNSIGNED_BYTE, false, false, false); in TEST_P() 427 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 3, 3, 3, 0, GL_RGBA, GL_UNSIGNED_BYTE, rgbaPixels); in TEST_P() 436 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 2, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() [all …]
|
D | MipmapTest.cpp | 201 GL_UNSIGNED_BYTE, nullptr); in testSetUp() 210 TexImageCubeMapFaces(0, GL_RGB, getWindowWidth(), GL_RGB, GL_UNSIGNED_BYTE, nullptr); in testSetUp() 212 0, GL_RGB, GL_UNSIGNED_BYTE, mLevelZeroBlueInitData.data()); in testSetUp() 511 glTexImage2D(GL_TEXTURE_2D, 2, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, kRedData.data()); in TEST_P() 512 glTexImage2D(GL_TEXTURE_2D, 3, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, kGreenData.data()); in TEST_P() 513 glTexImage2D(GL_TEXTURE_2D, 4, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, kBlueData.data()); in TEST_P() 543 GL_UNSIGNED_BYTE, kInitialColor.data()); in TEST_P() 564 GL_UNSIGNED_BYTE, kInitialColor.data()); in TEST_P() 589 GL_UNSIGNED_BYTE, kInitialColor.data()); in TEST_P() 621 GL_UNSIGNED_BYTE, kInitialColor.data()); in TEST_P() [all …]
|
D | GetImageTest.cpp | 54 glTexImage2D(GL_TEXTURE_2D, 0, format, size, size, 0, format, GL_UNSIGNED_BYTE, pixelData); in InitTextureWithFormatAndSize() 65 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, size, size, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixelData); in InitTextureWithSize() 109 glGetTexImageANGLE(GL_TEXTURE_2D, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 113 glGetTexImageANGLE(GL_TEXTURE_CUBE_MAP, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 117 glGetTexImageANGLE(GL_TEXTURE_2D, -1, GL_RGBA, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 119 glGetTexImageANGLE(GL_TEXTURE_2D, 2000, GL_RGBA, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 123 glGetTexImageANGLE(GL_TEXTURE_2D, 0, GL_NONE, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 133 glGetRenderbufferImageANGLE(GL_RENDERBUFFER, GL_RGBA, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 137 glGetRenderbufferImageANGLE(GL_TEXTURE_2D, GL_RGBA, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() 141 glGetRenderbufferImageANGLE(GL_RENDERBUFFER, GL_NONE, GL_UNSIGNED_BYTE, buffer.data()); in TEST_P() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeTextureApiTests.cpp | 853 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 867 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 869 …FOR_CUBE_FACES(faceGL, glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);); in init() 888 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 890 …FOR_CUBE_FACES(faceGL, glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);); in init() 914 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 932 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 950 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 972 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init() 974 …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 | 397 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 409 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init() 417 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 441 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 445 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 465 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 477 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init() 485 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init() 503 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init() 515 glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in init() [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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() 699 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getAlpha8OESPixelData() 730 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getLuminance8OESPixelData() 765 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getLuminance8Alpha8OESPixelData() 1028 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getR8UIPixelData() 1071 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getR8PixelData() 1344 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getRG8UIPixelData() 1391 DE_ASSERT(type == GL_UNSIGNED_BYTE); in getRG8PixelData() 1728 DE_ASSERT(type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_SHORT_5_5_5_1 || in getRGB5A1PixelData() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | GLFormat.cpp | 47 AddFormat(wgpu::TextureFormat::R8Unorm, GL_R8, GL_RED, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 49 … AddFormat(wgpu::TextureFormat::R8Uint, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, Type::Uint); in BuildGLFormatTable() 56 AddFormat(wgpu::TextureFormat::RG8Unorm, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 58 … AddFormat(wgpu::TextureFormat::RG8Uint, GL_RG8UI, GL_RG_INTEGER, GL_UNSIGNED_BYTE, Type::Uint); in BuildGLFormatTable() 68 … AddFormat(wgpu::TextureFormat::RGBA8Unorm, GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 69 …AddFormat(wgpu::TextureFormat::RGBA8UnormSrgb, GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, Type::F… in BuildGLFormatTable() 71 …AddFormat(wgpu::TextureFormat::RGBA8Uint, GL_RGBA8UI, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE, Type::Uin… in BuildGLFormatTable() 75 … AddFormat(wgpu::TextureFormat::BGRA8Unorm, GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 100 …ureFormat::BC1RGBAUnorm, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, GL_RGBA, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 101 …:BC1RGBAUnormSrgb, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, GL_RGBA, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeTextureApiTests.cpp | 949 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_invalid_target() 963 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_read_buffer_is_none() 997 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_neg_level() 999 …FOR_CUBE_FACES(faceGL, ctx.glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, … in copytexsubimage2d_neg_level() 1019 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_max_level() 1021 …FOR_CUBE_FACES(faceGL, ctx.glTexImage2D(faceGL, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, … in copytexsubimage2d_max_level() 1046 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_neg_offset() 1065 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_invalid_offset() 1084 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_neg_width_height() 1107 ctx.glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in copytexsubimage2d_incomplete_framebuffer() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 250 bindIOSurfaceToTexture(ioSurface, width, height, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, &pbuffer, in doBlitTest() 322 doClearTest(ioSurface, GL_BGRA_EXT, GL_UNSIGNED_BYTE, &color, sizeof(color)); in TEST_P() 331 doSampleTest(ioSurface, GL_BGRA_EXT, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G | B | A); in TEST_P() 340 doClearTest(ioSurface, GL_RGB, GL_UNSIGNED_BYTE, &color, sizeof(color)); in TEST_P() 349 doSampleTest(ioSurface, GL_RGB, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G | B); in TEST_P() 358 doClearTest(ioSurface, GL_RG, GL_UNSIGNED_BYTE, &color, sizeof(color)); in TEST_P() 367 doSampleTest(ioSurface, GL_RG, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G); in TEST_P() 376 doClearTest(ioSurface, GL_RED, GL_UNSIGNED_BYTE, &color, sizeof(color)); in TEST_P() 385 doSampleTest(ioSurface, GL_RED, GL_UNSIGNED_BYTE, &color, sizeof(color), R); in TEST_P() 434 EGL_TEXTURE_TYPE_ANGLE, GL_UNSIGNED_BYTE, in TEST_P() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 381 bindIOSurfaceToTexture(ioSurface, width, height, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, &pbuffer, in doBlitTest() 461 doClearTest(ioSurface, 1, 1, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, color); in TEST_P() 472 doSampleTest(ioSurface, 1, 1, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, &color, sizeof(color), in TEST_P() 484 doClearTest(ioSurface, 1, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, color); in TEST_P() 495 doSampleTest(ioSurface, 1, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G | B); in TEST_P() 506 doClearTest(ioSurface, 1, 1, 0, GL_RG, GL_UNSIGNED_BYTE, color); in TEST_P() 517 doSampleTest(ioSurface, 1, 1, 0, GL_RG, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G); in TEST_P() 528 doClearTest(ioSurface, 1, 1, 0, GL_RED, GL_UNSIGNED_BYTE, color); in TEST_P() 539 doSampleTest(ioSurface, 1, 1, 0, GL_RED, GL_UNSIGNED_BYTE, &color, sizeof(color), R); in TEST_P() 621 doClearTest(ioSurface, planes[0].width, planes[0].height, 0, GL_RED, GL_UNSIGNED_BYTE, in TEST_P() [all …]
|