/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | format_map_autogen.cpp | 306 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 372 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 392 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 414 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 442 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 468 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 494 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 514 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 534 case GL_UNSIGNED_SHORT: in GetSizedFormatInternal() 636 case GL_UNSIGNED_SHORT in ValidES3Type() [all...] |
/third_party/skia/third_party/externals/angle2/samples/multiple_draw_buffers/ |
H A D | MultipleDrawBuffers.cpp | 168 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 177 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 181 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 185 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 189 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices);
|
/third_party/mesa3d/src/mesa/main/ |
H A D | glformats.c | 282 case GL_UNSIGNED_SHORT: in _mesa_sizeof_type() 319 case GL_UNSIGNED_SHORT: in _mesa_sizeof_packed_type() 437 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_pixel() 541 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_vertex_attrib() 956 case GL_UNSIGNED_SHORT: in _mesa_is_type_unsigned() 1920 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 1944 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 1961 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 1976 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 2008 case GL_UNSIGNED_SHORT in _mesa_error_check_format_and_type() [all...] |
H A D | formats.c | 966 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 974 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1029 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1044 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1093 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1195 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1199 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1310 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1314 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1318 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/ |
H A D | IOSurfaceSurfaceCGL.cpp | 52 {GL_RED, GL_UNSIGNED_SHORT, 2, GL_RED, GL_RED, GL_UNSIGNED_SHORT }, 53 {GL_R16UI, GL_UNSIGNED_SHORT, 2, GL_RED, GL_RED, GL_UNSIGNED_SHORT }, 55 {GL_RG, GL_UNSIGNED_SHORT, 4, GL_RG, GL_RG, GL_UNSIGNED_SHORT },
|
/third_party/skia/third_party/externals/angle2/samples/mip_map_2d/ |
H A D | MipMap2D.cpp | 122 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 127 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 133 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices);
|
/third_party/skia/third_party/externals/angle2/samples/texture_wrap/ |
H A D | TextureWrap.cpp | 112 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 118 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 124 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | LineLoopTest.cpp | 158 runTest(GL_UNSIGNED_SHORT, 0, indices + 1); in TEST_P() 200 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P() 270 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P() 437 glDrawElements(GL_LINE_STRIP, 5, GL_UNSIGNED_SHORT, lineloopAsStripIndices); in TEST_P() 467 glDrawElements(GL_LINE_LOOP, ArraySize(lineloopWithRestartIndices), GL_UNSIGNED_SHORT, 0); in TEST_P() 617 runTest(GL_UNSIGNED_SHORT, reinterpret_cast<const void *>(indices), sizeof(indices), 1, false); in TEST_P() 655 runTest(GL_UNSIGNED_SHORT, reinterpret_cast<const void *>(indices), sizeof(indices), 1, true); in TEST_P()
|
H A D | IndexBufferOffsetTest.cpp | 245 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::FullUpdate, false); in TEST_P() 269 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::SmallUpdate, false); in TEST_P() 302 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::FullUpdate, true); in TEST_P() 340 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::SmallUpdate, true); in TEST_P() 380 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, 0); in TEST_P() 381 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P() 424 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
|
H A D | TextureUploadFormatTest.cpp | 55 case GL_UNSIGNED_SHORT: in bytesPerPixel() 421 fnTest({GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT}, {1, 0, 0, 0}); in TEST_P() 527 fnTest({GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P() 528 fnTest({GL_RGB16UI, GL_RGB_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P() 529 fnTest({GL_RG16UI, GL_RG_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P() 530 fnTest({GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
|
H A D | InstancingTest.cpp | 168 GL_UNSIGNED_SHORT, kPointIndices, numInstance); in runTest() 171 GL_UNSIGNED_SHORT, kPointIndices, numInstance); in runTest() 182 GL_UNSIGNED_SHORT, kQuadIndices, numInstance); in runTest() 185 GL_UNSIGNED_SHORT, kQuadIndices, numInstance); in runTest() 551 glDrawElements(GL_LINE_STRIP, ArraySize(lineloopAsStripIndices), GL_UNSIGNED_SHORT, 596 GL_UNSIGNED_SHORT, 0, instances); 668 glDrawElementsInstanced(GL_TRIANGLES, ArraySize(kQuadIndices), GL_UNSIGNED_SHORT, kQuadIndices, 689 glDrawElementsInstanced(GL_TRIANGLES, ArraySize(kQuadIndices), GL_UNSIGNED_SHORT, kQuadIndices,
|
/third_party/skia/third_party/externals/angle2/samples/tex_redef_microbench/ |
H A D | TexRedefMicroBench.cpp | 191 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 209 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); 227 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices);
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | GLFormat.cpp | 53 AddFormat(wgpu::TextureFormat::R16Uint, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, Type::Uint); in BuildGLFormatTable() 65 AddFormat(wgpu::TextureFormat::RG16Uint, GL_RG16UI, GL_RG_INTEGER, GL_UNSIGNED_SHORT, Type::Uint); in BuildGLFormatTable() 84 AddFormat(wgpu::TextureFormat::RGBA16Uint, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, Type::Uint); in BuildGLFormatTable() 97 AddFormat(wgpu::TextureFormat::Depth16Unorm, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, Type::DepthStencil); in BuildGLFormatTable()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcTextureRepeatModeTests.cpp | 246 { GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,16, 0, NO_FLAG } }, NO_FLAG }, 255 { GL_R16, GL_RED, GL_RED, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16, 0, 0, 0, 0, 0, 0, 0, NO_FLAG } }, FLAG_REQ_RBO_GL42 }, 259 { GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, 0, 0, 0, NO_FLAG } }, FLAG_REQ_RBO_GL42 }, 267 { GL_RGB10, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {10,10,10, 0, 0, 0, 0, 0, NO_FLAG } }, 0 }, 268 { GL_RGB12, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12, 0, 0, 0, 0, 0, NO_FLAG } }, 0 }, 269 { GL_RGB16, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16, 0, 0, 0, 0, 0, NO_FLAG } }, 0 }, 282 { GL_RGBA12, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12,12, 0, 0, 0, 0, NO_FLAG } }, 0 }, 283 { GL_RGBA16, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16,16, 0, 0, 0, 0, NO_FLAG } }, FLAG_REQ_RBO_GL42 }, 304 { GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, 0, 0, 0, 0, 0, 0, NO_FLAG } }, FLAG_REQ_RBO }, 310 { GL_RG16UI, GL_RG, GL_RG_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UIN [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fVertexArrayObjectTests.cpp | 273 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices() 294 case GL_UNSIGNED_SHORT: in generateIndices() 334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); break; in createRandomBufferData() 385 case GL_UNSIGNED_SHORT: in createRandomBufferData() 441 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram() 459 case GL_UNSIGNED_SHORT: scale = (0.5f/float((1u<<15)-1u)); break; in createProgram() 487 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram() 516 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram() 857 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices() 878 case GL_UNSIGNED_SHORT in generateIndices() [all...] |
/third_party/mesa3d/src/mesa/main/tests/ |
H A D | mesa_formats.cpp | 168 EXPECT_EQ(fffat_wrap(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT), in TEST_F() 182 GL_UNSIGNED_SHORT, false, in TEST_F() 190 GL_UNSIGNED_SHORT, false, in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | DrawElementsPerf.cpp | 49 if (type == GL_UNSIGNED_SHORT) 104 case GL_UNSIGNED_SHORT: in ElementTypeSize() 233 std::vector<GLenum> gIndexTypes = {GL_UNSIGNED_INT, GL_UNSIGNED_SHORT};
|
H A D | IndexConversionPerf.cpp | 159 GL_UNSIGNED_SHORT, reinterpret_cast<void *>(0)); in drawConversion() 179 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(indexCount), GL_UNSIGNED_SHORT, in drawIndexRange()
|
H A D | BufferSubData.cpp | 164 case GL_UNSIGNED_SHORT: in GetVertexData() 192 case GL_UNSIGNED_SHORT: in GetVertexData() 237 case GL_UNSIGNED_SHORT: in story()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDepthRangeTests.cpp | 198 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 201 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 221 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 341 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 367 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
|
/third_party/ffmpeg/libavdevice/ |
H A D | opengl_enc.c | 241 { AV_PIX_FMT_YUV420P16, &FF_OPENGL_FRAGMENT_SHADER_YUV_PLANAR, FF_GL_RED_COMPONENT, GL_UNSIGNED_SHORT }, 242 { AV_PIX_FMT_YUV422P16, &FF_OPENGL_FRAGMENT_SHADER_YUV_PLANAR, FF_GL_RED_COMPONENT, GL_UNSIGNED_SHORT }, 243 { AV_PIX_FMT_YUV444P16, &FF_OPENGL_FRAGMENT_SHADER_YUV_PLANAR, FF_GL_RED_COMPONENT, GL_UNSIGNED_SHORT }, 247 { AV_PIX_FMT_YUVA420P16, &FF_OPENGL_FRAGMENT_SHADER_YUVA_PLANAR, FF_GL_RED_COMPONENT, GL_UNSIGNED_SHORT }, 248 { AV_PIX_FMT_YUVA422P16, &FF_OPENGL_FRAGMENT_SHADER_YUVA_PLANAR, FF_GL_RED_COMPONENT, GL_UNSIGNED_SHORT }, 249 { AV_PIX_FMT_YUVA444P16, &FF_OPENGL_FRAGMENT_SHADER_YUVA_PLANAR, FF_GL_RED_COMPONENT, GL_UNSIGNED_SHORT }, 262 { AV_PIX_FMT_RGB48, &FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET, GL_RGB, GL_UNSIGNED_SHORT }, 263 { AV_PIX_FMT_BGR48, &FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET, GL_RGB, GL_UNSIGNED_SHORT }, 268 { AV_PIX_FMT_RGBA64, &FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET, GL_RGBA, GL_UNSIGNED_SHORT }, 269 { AV_PIX_FMT_BGRA64, &FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET, GL_RGBA, GL_UNSIGNED_SHORT }, [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
H A D | Image.cpp | 171 case GL_UNSIGNED_SHORT: return GL_RGBA16UI; in GetSizedInternalFormat() 196 case GL_UNSIGNED_SHORT: return GL_RGB16UI; in GetSizedInternalFormat() 217 case GL_UNSIGNED_SHORT: return GL_RG16UI; in GetSizedInternalFormat() 238 case GL_UNSIGNED_SHORT: return GL_R16UI; in GetSizedInternalFormat() 282 case GL_UNSIGNED_SHORT: return GL_DEPTH_COMPONENT16; in GetSizedInternalFormat() 427 case GL_UNSIGNED_SHORT: return 2; in ComputePixelSize() 444 case GL_UNSIGNED_SHORT: return 4; in ComputePixelSize() 463 case GL_UNSIGNED_SHORT: return 6; in ComputePixelSize() 485 case GL_UNSIGNED_SHORT: return 8; in ComputePixelSize() 495 case GL_UNSIGNED_SHORT in ComputePixelSize() [all...] |
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceUtils.cpp | 37 case GL_UNSIGNED_SHORT: return rr::VERTEXATTRIBTYPE_PURE_UINT16; in mapGLPureIntegerVertexAttributeType() 74 case GL_UNSIGNED_SHORT: in mapGLFloatVertexAttributeType() 172 case GL_UNSIGNED_SHORT: return rr::INDEXTYPE_UINT16; in mapGLIndexType()
|
H A D | sglrContextUtil.cpp | 104 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, 0); in drawQuadWithVaoBuffers() 150 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, &indices[0]); in drawQuadWithClientPointers()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | formatutils9.cpp | 269 struct GLToCType<GL_UNSIGNED_SHORT> 456 struct VertexTypeMapping<GL_UNSIGNED_SHORT, false> : VertexTypeMappingBase<D3DVT_FLOAT> 459 struct VertexTypeMapping<GL_UNSIGNED_SHORT, true> 641 case GL_UNSIGNED_SHORT: in ComputeTypeIndex() 664 TRANSLATIONS_FOR_TYPE(GL_SHORT), TRANSLATIONS_FOR_TYPE(GL_UNSIGNED_SHORT), in GetVertexFormatInfo()
|