Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_SHORT (Results 1 – 25 of 249) sorted by relevance

12345678910

/external/angle/src/libANGLE/
Dformat_map_autogen.cpp306 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 …]
/external/angle/samples/multiple_draw_buffers/
DMultipleDrawBuffers.cpp168 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
177 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
181 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
185 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
189 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/angle/src/tests/gl_tests/
DIndexBufferOffsetTest.cpp212 runTest(GL_UNSIGNED_SHORT, 2, indexData, false, false); in TEST_P()
236 runTest(GL_UNSIGNED_SHORT, 2, indexData, true, false); in TEST_P()
269 runTest(GL_UNSIGNED_SHORT, 2, indexData, false, true); in TEST_P()
307 runTest(GL_UNSIGNED_SHORT, 2, indexData, true, true); in TEST_P()
343 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, 0); in TEST_P()
344 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
387 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
DLineLoopTest.cpp158 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()
DTextureUploadFormatTest.cpp55 case GL_UNSIGNED_SHORT: in bytesPerPixel()
424 fnTest({GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT}, {1, 0, 0, 0}); in TEST_P()
530 fnTest({GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
531 fnTest({GL_RGB16UI, GL_RGB_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
532 fnTest({GL_RG16UI, GL_RG_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
533 fnTest({GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
DInstancingTest.cpp176 GL_UNSIGNED_SHORT, kPointIndices, numInstance); in runTest()
179 GL_UNSIGNED_SHORT, kPointIndices, numInstance); in runTest()
190 GL_UNSIGNED_SHORT, kQuadIndices, numInstance); in runTest()
193 GL_UNSIGNED_SHORT, kQuadIndices, numInstance); in runTest()
559 glDrawElements(GL_LINE_STRIP, ArraySize(lineloopAsStripIndices), GL_UNSIGNED_SHORT, in TEST_P()
604 GL_UNSIGNED_SHORT, 0, instances); in TEST_P()
676 glDrawElementsInstanced(GL_TRIANGLES, ArraySize(kQuadIndices), GL_UNSIGNED_SHORT, kQuadIndices, in TEST_P()
697 glDrawElementsInstanced(GL_TRIANGLES, ArraySize(kQuadIndices), GL_UNSIGNED_SHORT, kQuadIndices, in TEST_P()
/external/mesa3d/src/mesa/main/
Dglformats.c282 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()
1916 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1940 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1957 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1972 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2004 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
[all …]
Dformats.c965 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
973 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1026 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1041 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1090 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1191 *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()
1306 *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()
[all …]
/external/angle/samples/texture_wrap/
DTextureWrap.cpp112 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
118 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
124 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/angle/samples/mip_map_2d/
DMipMap2D.cpp122 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
127 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
133 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/OpenCL-CTS/test_conformance/gl/
Dcommon.h44 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort },
49 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort },
57 { GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, kUShort },
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp52 …{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
/external/virglrenderer/src/
Dvrend_formats.c71 { VIRGL_FORMAT_R16G16B16X16_UNORM, GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, RGB1_SWIZZLE },
73 { VIRGL_FORMAT_R16G16B16A16_UNORM, GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, NO_SWIZZLE },
84 …{ VIRGL_FORMAT_Z16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, NO_SWIZZLE …
97 { VIRGL_FORMAT_A16_UNORM, GL_ALPHA16, GL_ALPHA, GL_UNSIGNED_SHORT, NO_SWIZZLE },
98 { VIRGL_FORMAT_L16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, RRR1_SWIZZLE },
104 { VIRGL_FORMAT_R16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, NO_SWIZZLE },
105 { VIRGL_FORMAT_R16G16_UNORM, GL_RG16, GL_RG, GL_UNSIGNED_SHORT, NO_SWIZZLE },
112 { VIRGL_FORMAT_R16G16B16A16_UINT, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, NO_SWIZZLE },
122 { VIRGL_FORMAT_R16G16B16X16_UINT, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, RGB1_SWIZZLE },
149 { VIRGL_FORMAT_R16_UINT, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, NO_SWIZZLE },
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_fog.c147 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
172 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
191 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
210 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
235 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp162 EXPECT_EQ(fffat_wrap(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT), in TEST()
176 GL_UNSIGNED_SHORT, false, in TEST()
184 GL_UNSIGNED_SHORT, false, in TEST()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_images_2D.cpp209 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read()
292 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_cube()
298 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_cube()
303 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_cube()
572 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write()
578 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write()
583 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_write()
671 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write_cube()
677 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write_cube()
682 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_write_cube()
Dtest_images_2D_info.cpp94 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_2D_getinfo()
178 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_cube_getinfo()
184 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_cube_getinfo()
189 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_cube_getinfo()
Dtest_images_3D_info.cpp90 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_3D_getinfo()
102 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_3D_getinfo()
107 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_3D_getinfo()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp246 …{ GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, …
255 …{ GL_R16, GL_RED, GL_RED, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16, 0, 0, 0, 0, 0, 0, 0,…
259 …{ GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, 0, 0, 0, …
267 …{ GL_RGB10, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {10,10,10, 0, 0, 0, 0, …
268 …{ GL_RGB12, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12, 0, 0, 0, 0, …
269 …{ GL_RGB16, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16, 0, 0, 0, 0, …
282 …{ GL_RGBA12, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12,12, 0, 0, 0, …
283 …{ GL_RGBA16, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16,16, 0, 0, 0, …
304 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, 0, 0, 0, 0, 0,…
310 …{ GL_RG16UI, GL_RG, GL_RG_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16,16, 0, 0, 0, 0, 0, 0…
[all …]
/external/angle/samples/tex_redef_microbench/
DTexRedefMicroBench.cpp191 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
209 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
227 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/swiftshader/src/OpenGL/libGLES_CM/
DIndexDataManager.cpp55 else if(type == GL_UNSIGNED_SHORT) in copyIndices()
81 else if(type == GL_UNSIGNED_SHORT) in computeRange()
148 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp273 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 …]
/external/angle/src/tests/perf_tests/
DDrawElementsPerf.cpp49 if (type == GL_UNSIGNED_SHORT) in story()
104 case GL_UNSIGNED_SHORT: in ElementTypeSize()
233 std::vector<GLenum> gIndexTypes = {GL_UNSIGNED_INT, GL_UNSIGNED_SHORT};
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp198 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()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java247 GL10.GL_UNSIGNED_SHORT, mIndexBuffer.position(startIndex)); in drawStrip()
251 GL11.GL_UNSIGNED_SHORT, startIndex * CHAR_SIZE); in drawStrip()
265 GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw()
277 GL11.GL_UNSIGNED_SHORT, 0); in draw()

12345678910