Home
last modified time | relevance | path

Searched refs:GL_RED (Results 1 – 25 of 148) sorted by relevance

123456

/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp249 …{ GL_RED, GL_RED, GL_RED, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 0, 0, 0, 0, 0, 0, 0, …
253 …{ GL_R8, GL_RED, GL_RED, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 0, 0, 0, 0, 0, 0, 0, N…
254 …{ GL_R8_SNORM, GL_RED, GL_RED, GL_BYTE, SAMPLER_NORM, { { 8, 0, 0, 0, 0, 0, 0, 0, NO_…
255 …{ GL_R16, GL_RED, GL_RED, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16, 0, 0, 0, 0, 0, 0, 0,…
256 …{ GL_R16_SNORM, GL_RED, GL_RED, GL_SHORT, SAMPLER_NORM, { {16, 0, 0, 0, 0, 0, 0, 0, N…
289 …{ GL_R16F, GL_RED, GL_RED, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16, 0, 0, 0, 0, 0, 0, 0, NO…
293 …{ GL_R32F, GL_RED, GL_RED, GL_FLOAT, SAMPLER_FLOAT, { {32, 0, 0, 0, 0, 0, 0, 0, NO_FLA…
301 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0, 0, 0, NO_FLAG }…
302 …{ GL_R8UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 0, 0, 0, 0, 0, 0, 0…
303 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0, NO_FLAG…
[all …]
DglcPackedPixelsTests.cpp157 …{ GL_RED, GL_RED, GL_RED, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 0, 0, 0, 0,…
159 …{ GL_R8, GL_RED, GL_RED, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 0, 0, 0, 0, …
160 …{ GL_R8_SNORM, GL_RED, GL_RED, GL_BYTE, SAMPLER_NORM, { { 8, 0, 0, 0, 0, 0,…
161 …{ GL_R16, GL_RED, GL_RED, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16, 0, 0, 0, 0,…
162 …{ GL_R16_SNORM, GL_RED, GL_RED, GL_SHORT, SAMPLER_NORM, { {16, 0, 0, 0, 0, …
188 …{ GL_R16F, GL_RED, GL_RED, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16, 0, 0, 0, 0, 0…
192 …{ GL_R32F, GL_RED, GL_RED, GL_FLOAT, SAMPLER_FLOAT, { {32, 0, 0, 0, 0, 0, 0…
198 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0,…
199 …{ GL_R8UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 0, 0…
200 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, …
[all …]
DglcInternalformatTests.cpp804 formatMap[GL_RED] = TextureFormat(GL_RED, GL_UNSIGNED_BYTE, GL_RED); in iterate()
818 formatMap[GL_RED] = TextureFormat(GL_RED, GL_UNSIGNED_BYTE, GL_R8); in iterate()
1640 TF(GL_RED, GL_UNSIGNED_BYTE, GL_R8), in getESTestData()
1641 TF(GL_RED, GL_HALF_FLOAT, GL_R16F), in getESTestData()
1642 TF(GL_RED, GL_FLOAT, GL_R32F), in getESTestData()
1643 TF(GL_RED, GL_FLOAT, GL_R16F), in getESTestData()
1731 TF(GL_RED, GL_BYTE, GL_R8_SNORM), in getGLTestData()
1732 TF(GL_RED, GL_SHORT, GL_R16_SNORM), in getGLTestData()
1762 TF(GL_RED, GL_HALF_FLOAT, GL_R16F, ARB_texture_float), in getGLTestData()
1766 TF(GL_RED, GL_FLOAT, GL_R32F, ARB_texture_float), in getGLTestData()
/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp53 case GL_RED: return c.getRed(); in swizzle()
247 { "red", GL_R8, GL_RED, GL_UNSIGNED_BYTE }, in init()
271 { "red", GL_RED }, in init()
288 { "all_red", GL_RED, GL_RED, GL_RED, GL_RED }, in init()
294 { "bgra", GL_BLUE, GL_GREEN, GL_RED, GL_ALPHA }, in init()
295 { "abgr", GL_ALPHA, GL_BLUE, GL_GREEN, GL_RED }, in init()
296 { "one_one_red_green", GL_ONE, GL_ONE, GL_RED, GL_GREEN } in init()
299 static const deUint32 defaultSwizzles[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA }; in init()
/external/angle/src/tests/gl_tests/
DSwizzleTest.cpp29 GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_ZERO, GL_ONE, in SwizzleTest()
135 case GL_RED: in getExpectedValue()
158 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in runTest2D()
283 init2DTexture(GL_R8, GL_RED, GL_UNSIGNED_BYTE, data); in TEST_P()
328 init2DTexture(GL_R32F, GL_RED, GL_FLOAT, data); in TEST_P()
471 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in TEST_P()
472 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_G, GL_RED); in TEST_P()
473 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_B, GL_RED); in TEST_P()
474 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, GL_RED); in TEST_P()
DTextureUploadFormatTest.cpp88 case GL_RED: in bytesPerPixel()
256 case GL_RED: in TEST_P()
342 fnTest({GL_R8, GL_RED, GL_UNSIGNED_BYTE}, {1, 0, 0, 0}); in TEST_P()
362 fnTest({GL_R8_SNORM, GL_RED, GL_BYTE}, {2, 0, 0, 0}); in TEST_P()
573 fnTest({GL_R16F, GL_RED, GL_HALF_FLOAT}, {1, 0, 0, 0}); in TEST_P()
597 fnTest({GL_R32F, GL_RED, GL_FLOAT}, {1, 0, 0, 0}); in TEST_P()
598 fnTest({GL_R16F, GL_RED, GL_FLOAT}, {1, 0, 0, 0}); in TEST_P()
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampTexParameterIErrors.cpp122 VerifyGLTexParameterIivForAll(GL_TEXTURE_MIN_FILTER, GL_RED, GL_INVALID_ENUM); in iterate()
123 VerifyGLTexParameterIuivForAll(GL_TEXTURE_MIN_FILTER, GL_RED, GL_INVALID_ENUM); in iterate()
142 VerifyGLTexParameterIivForAll(GL_TEXTURE_WRAP_S, GL_RED, GL_INVALID_ENUM); in iterate()
143 VerifyGLTexParameterIuivForAll(GL_TEXTURE_WRAP_S, GL_RED, GL_INVALID_ENUM); in iterate()
146 VerifyGLTexParameterIivForAll(GL_TEXTURE_WRAP_T, GL_RED, GL_INVALID_ENUM); in iterate()
147 VerifyGLTexParameterIuivForAll(GL_TEXTURE_WRAP_T, GL_RED, GL_INVALID_ENUM); in iterate()
150 VerifyGLTexParameterIivForAll(GL_TEXTURE_WRAP_R, GL_RED, GL_INVALID_ENUM); in iterate()
151 VerifyGLTexParameterIuivForAll(GL_TEXTURE_WRAP_R, GL_RED, GL_INVALID_ENUM); in iterate()
DesextcTextureBorderClampTests.cpp118 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 25… in init()
126 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
237 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
245 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256,… in init()
DesextcTextureBorderClampSamplingTextureGroup.cpp93 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 25… in init()
101 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
213 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
221 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256,… in init()
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp51 …{GL_RED, GL_UNSIGNED_BYTE, 1, GL_RED, GL_RED, GL_UNSIGNED_BYTE …
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 …
/external/virglrenderer/src/
Dvrend_formats.c96 { VIRGL_FORMAT_L8_UNORM, GL_R8, GL_RED, GL_UNSIGNED_BYTE, RRR1_SWIZZLE },
98 { VIRGL_FORMAT_L16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, RRR1_SWIZZLE },
102 { VIRGL_FORMAT_R8_UNORM, GL_R8, GL_RED, GL_UNSIGNED_BYTE, NO_SWIZZLE },
104 { VIRGL_FORMAT_R16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, NO_SWIZZLE },
135 { VIRGL_FORMAT_L16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT, RRR1_SWIZZLE },
139 { VIRGL_FORMAT_L32_FLOAT, GL_R32F, GL_RED, GL_FLOAT, RRR1_SWIZZLE },
161 { VIRGL_FORMAT_R16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT, NO_SWIZZLE },
163 { VIRGL_FORMAT_R32_FLOAT, GL_R32F, GL_RED, GL_FLOAT, NO_SWIZZLE },
201 { VIRGL_FORMAT_R8_SNORM, GL_R8_SNORM, GL_RED, GL_BYTE, NO_SWIZZLE },
207 { VIRGL_FORMAT_R16_SNORM, GL_R16_SNORM, GL_RED, GL_SHORT, NO_SWIZZLE },
[all …]
/external/angle/src/libANGLE/
Des3_copy_conversion_table_autogen.cpp47 case GL_RED: in ValidES3CopyConversion()
68 case GL_RED: in ValidES3CopyConversion()
72 case GL_RED: in ValidES3CopyConversion()
Dformat_map_autogen.cpp357 case GL_RED: in GetSizedFormatInternal()
601 case GL_RED: in ValidES3Format()
953 case GL_RED: in ValidES3FormatCombination()
973 case GL_RED: in ValidES3FormatCombination()
985 case GL_RED: in ValidES3FormatCombination()
997 case GL_RED: in ValidES3FormatCombination()
1020 case GL_RED: in ValidES3FormatCombination()
Dformat_map_desktop.cpp26 case GL_RED: in ValidDesktopFormat()
/external/mesa3d/src/mesa/main/
Dglformats.c170 case GL_RED: in get_map_idx()
375 case GL_RED: in _mesa_components_in_format()
586 case GL_RED: in _mesa_is_enum_format_unsized()
636 case GL_RED: in _mesa_is_enum_format_unorm()
987 case GL_RED: in _mesa_is_color_format()
1468 return GL_RED; in _mesa_unpack_format_to_base_format()
1489 case GL_RED: in _mesa_unpack_format_to_base_format()
1512 case GL_RED: in _mesa_base_format_to_integer_format()
1554 if (base_format == GL_RED || in _mesa_base_format_has_channel()
1648 return GL_RED; in _mesa_generic_compressed_format_to_uncompressed_format()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp369 case GL_RED: in GetSwizzleStateComponent()
408 swizzleRGB = GL_RED; in GetFormatSwizzle()
414 swizzleA = GL_RED; in GetFormatSwizzle()
430 internalSwizzle.swizzleRed = GL_RED; in GetFormatSwizzle()
431 internalSwizzle.swizzleGreen = hasGB ? GL_RED : GL_ZERO; in GetFormatSwizzle()
432 internalSwizzle.swizzleBlue = hasGB ? GL_RED : GL_ZERO; in GetFormatSwizzle()
441 internalSwizzle.swizzleRed = angleFormat.redBits > 0 ? GL_RED : GL_ZERO; in GetFormatSwizzle()
/external/deqp/framework/opengl/
DgluStateReset.cpp167 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
200 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
227 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
255 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
277 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
288 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
304 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
782 gl.texParameteri(GL_TEXTURE_1D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore()
806 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore()
835 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore()
[all …]
/external/angle/src/tests/perf_tests/
DDispatchComputePerf.cpp125 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, params.textureWidth, params.textureHeight, 0, GL_RED, in initTextures()
135 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, params.textureWidth, params.textureHeight, GL_RED, in initTextures()
/external/swiftshader/src/OpenGL/common/
DImage.cpp41 case GL_RED: in IsUnsizedInternalFormat()
66 case GL_R8: return GL_RED; in GetBaseInternalFormat()
67 case GL_R8_SNORM: return GL_RED; in GetBaseInternalFormat()
81 case GL_R16F: return GL_RED; in GetBaseInternalFormat()
85 case GL_R32F: return GL_RED; in GetBaseInternalFormat()
91 case GL_R8I: return GL_RED; in GetBaseInternalFormat()
92 case GL_R8UI: return GL_RED; in GetBaseInternalFormat()
93 case GL_R16I: return GL_RED; in GetBaseInternalFormat()
94 case GL_R16UI: return GL_RED; in GetBaseInternalFormat()
95 case GL_R32I: return GL_RED; in GetBaseInternalFormat()
[all …]
/external/webrtc/sdk/objc/components/renderer/opengl/
DRTCOpenGLDefines.h26 #define RTC_PIXEL_FORMAT GL_RED
/external/angle/src/tests/egl_tests/
DEGLIOSurfaceClientBufferTest.cpp543 doClearTest(ioSurface, 1, 1, 0, GL_RED, GL_UNSIGNED_BYTE, color); in TEST_P()
554 doSampleTest(ioSurface, 1, 1, 0, GL_RED, GL_UNSIGNED_BYTE, &color, sizeof(color), R); in TEST_P()
651 doClearTest(ioSurface, planes[0].width, planes[0].height, 0, GL_RED, GL_UNSIGNED_BYTE, in TEST_P()
675 doSampleTest(ioSurface, planes[0].width, planes[0].height, 0, GL_RED, GL_UNSIGNED_BYTE, in TEST_P()
699 doClearTest(ioSurface, planes[0].width, planes[0].height, 0, GL_RED, GL_UNSIGNED_SHORT, in TEST_P()
723 doSampleTest(ioSurface, planes[0].width, planes[0].height, 0, GL_RED, GL_UNSIGNED_SHORT, in TEST_P()
/external/deqp/modules/egl/
DteglImageTests.cpp349 case GL_RED: return "red"; in getStorageName()
426 if ((m_internalFormat == GL_RED || m_internalFormat == GL_RG) && !isGLRedSupported()) in iterate()
564 …addChild(new Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RED, GL_RED, GL_UNSIG… in init()
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp382 case GL_RED: in createPBufferSurface()
473 case GL_RED: in createPBufferSurface()
490 case GL_RED: in createPBufferSurface()
505 case GL_RED: in createPBufferSurface()
/external/mesa3d/src/glx/
Dcompsize.c90 case GL_RED: in __glElementsPerGroup()
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessBuffersTests.cpp961 …is_ok &= TestClearNamedBufferData<glw::GLubyte, false>(GL_R8, 1, GL_RED, GL_UNSIGNED_BYTE, referen… in iterate()
966 …is_ok &= TestClearNamedBufferData<glw::GLubyte, true>(GL_R8, 1, GL_RED, GL_UNSIGNED_BYTE, referenc… in iterate()
999 …is_ok &= TestClearNamedBufferData<glw::GLushort, false>(GL_R16, 1, GL_RED, GL_UNSIGNED_SHORT, refe… in iterate()
1005 …is_ok &= TestClearNamedBufferData<glw::GLushort, true>(GL_R16, 1, GL_RED, GL_UNSIGNED_SHORT, refer… in iterate()
1073 …is_ok &= TestClearNamedBufferData<glw::GLhalf, false>(GL_R16F, 1, GL_RED, GL_HALF_FLOAT, reference… in iterate()
1078 …is_ok &= TestClearNamedBufferData<glw::GLhalf, true>(GL_R16F, 1, GL_RED, GL_HALF_FLOAT, reference); in iterate()
1087 is_ok &= TestClearNamedBufferData<glw::GLfloat, false>(GL_R32F, 1, GL_RED, GL_FLOAT, reference); in iterate()
1093 is_ok &= TestClearNamedBufferData<glw::GLfloat, true>(GL_R32F, 1, GL_RED, GL_FLOAT, reference); in iterate()
2654 m_pClearNamedBufferData(not_a_buffer_name, GL_R8, GL_RED, GL_UNSIGNED_BYTE, &dummy_data); in TestErrorsOfClearNamedBufferData()
2681 m_pClearNamedBufferData(buffer, invalid_internal_format, GL_RED, GL_UNSIGNED_BYTE, &dummy_data); in TestErrorsOfClearNamedBufferData()
[all …]

123456