Home
last modified time | relevance | path

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

12345

/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.cpp700 formatMap[GL_RED] = TextureFormat(GL_RED, GL_UNSIGNED_BYTE, GL_RED); in iterate()
1534 TF(GL_RED, GL_BYTE, GL_R8_SNORM), in getGLTestData()
1535 TF(GL_RED, GL_SHORT, GL_R16_SNORM), in getGLTestData()
1565 TF(GL_RED, GL_HALF_FLOAT, GL_R16F, ARB_texture_float), in getGLTestData()
1569 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/virglrenderer/src/
Dvrend_formats.c96 { VIRGL_FORMAT_L8_UNORM, GL_R8, GL_RED, GL_UNSIGNED_BYTE, RRR1_SWIZZLE },
99 { VIRGL_FORMAT_L16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, RRR1_SWIZZLE },
104 { VIRGL_FORMAT_R8_UNORM, GL_R8, GL_RED, GL_UNSIGNED_BYTE, NO_SWIZZLE },
106 { VIRGL_FORMAT_R16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, NO_SWIZZLE },
137 { VIRGL_FORMAT_L16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT, RRR1_SWIZZLE },
141 { VIRGL_FORMAT_L32_FLOAT, GL_R32F, GL_RED, GL_FLOAT, RRR1_SWIZZLE },
163 { VIRGL_FORMAT_R16_FLOAT, GL_R16F, GL_RED, GL_HALF_FLOAT, NO_SWIZZLE },
165 { VIRGL_FORMAT_R32_FLOAT, GL_R32F, GL_RED, GL_FLOAT, NO_SWIZZLE },
203 { VIRGL_FORMAT_R8_SNORM, GL_R8_SNORM, GL_RED, GL_BYTE, NO_SWIZZLE },
209 { VIRGL_FORMAT_R16_SNORM, GL_R16_SNORM, GL_RED, GL_SHORT, NO_SWIZZLE },
[all …]
/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()
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()
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()
/external/mesa3d/src/mesa/main/
Dglformats.c170 case GL_RED: in get_map_idx()
375 case GL_RED: in _mesa_components_in_format()
584 case GL_RED: in _mesa_is_enum_format_unsized()
634 case GL_RED: in _mesa_is_enum_format_unorm()
985 case GL_RED: in _mesa_is_color_format()
1460 return GL_RED; in _mesa_unpack_format_to_base_format()
1481 case GL_RED: in _mesa_unpack_format_to_base_format()
1504 case GL_RED: in _mesa_base_format_to_integer_format()
1546 if (base_format == GL_RED || in _mesa_base_format_has_channel()
1639 case GL_RED: in _mesa_base_format_component_count()
[all …]
Dformats.c281 return GL_RED; in get_base_format_for_array_format()
1616 return format == GL_RED && type == GL_UNSIGNED_BYTE; in _mesa_format_matches_format_and_type()
1618 return format == GL_RED && type == GL_UNSIGNED_SHORT && !swapBytes; in _mesa_format_matches_format_and_type()
1630 return format == GL_RED && type == GL_UNSIGNED_BYTE; in _mesa_format_matches_format_and_type()
1637 return format == GL_RED && type == GL_UNSIGNED_SHORT && in _mesa_format_matches_format_and_type()
1696 return format == GL_RED && type == GL_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1698 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1701 return format == GL_RED && type == GL_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1703 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1828 return format == GL_RED && type == GL_BYTE; in _mesa_format_matches_format_and_type()
[all …]
/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/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/deqp/modules/egl/
DteglImageTests.cpp349 case GL_RED: return "red"; in getStorageName()
420 if ((m_internalFormat == GL_RED || m_internalFormat == GL_RG) && !isGLRedSupported()) in iterate()
558 …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.cpp381 case GL_RED: in createPBufferSurface()
471 case GL_RED: in createPBufferSurface()
487 case GL_RED: in createPBufferSurface()
502 case GL_RED: in createPBufferSurface()
/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 …]
Dgl3cTextureSwizzleTests.cpp232 GL_RED,
245 GL_RED,
258 GL_RED,
271 GL_RED,
609 GL_RED,
661 GL_RED,
1190 static const glw::GLint valid_values[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_ONE, GL_ZERO };
1324 case GL_RED: in calculate_values_from_source()
1873 case GL_RED: in get_swizzled_channel_idx()
2243 glw::GLint param[4] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA }; in iterate()
[all …]
Dgl4cSparseTextureClampTests.cpp394 Texture::SubImage(gl, verifyTarget, 0, 0, 0, 0, width, height, 0, GL_RED, GL_UNSIGNED_BYTE, in verifyLookupTextureData()
419 Texture::GetData(gl, 0, verifyTarget, GL_RED, GL_UNSIGNED_BYTE, (GLvoid*)out_data); in verifyLookupTextureData()
903 Texture::SubImage(gl, verifyTarget, 0, 0, 0, 0, width, height, 0, GL_RED, GL_UNSIGNED_BYTE, in verifyLookupTextureData()
924 Texture::GetData(gl, 0, verifyTarget, GL_RED, GL_UNSIGNED_BYTE, (GLvoid*)out_data); in verifyLookupTextureData()
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c312 case GL_RED: in compute_texture_format_swizzle()
354 case GL_RED: in compute_texture_format_swizzle()
389 depth_mode = GL_RED; in get_texture_format_swizzle()
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp536 case GL_R8: return GL_RED; in getImplementationColorReadFormat()
563 case GL_R16F: return GL_RED; in getImplementationColorReadFormat()
568 case GL_R32F: return GL_RED; in getImplementationColorReadFormat()
Dutilities.cpp588 case GL_RED: in ValidateCopyFormats()
589 if(baseColorbufferFormat != GL_RED && in ValidateCopyFormats()
1124 case GL_RED: in ValidateTextureFormatType()
1319 case GL_RED: in ConvertReadFormatType()
1518 case GL_RED: in IsDepthRenderable()
1584 case GL_RED: in IsStencilRenderable()
2214 case GL_RED: return sw::SWIZZLE_RED; in ConvertSwizzleType()
/external/mesa3d/prebuilt-intermediates/main/
Dformat_info.h752 .BaseFormat = GL_RED,
766 .BaseFormat = GL_RED,
1102 .BaseFormat = GL_RED,
1116 .BaseFormat = GL_RED,
1508 .BaseFormat = GL_RED,
1522 .BaseFormat = GL_RED,
2278 .BaseFormat = GL_RED,
2292 .BaseFormat = GL_RED,
2306 .BaseFormat = GL_RED,
2320 .BaseFormat = GL_RED,
[all …]
/external/mesa3d/src/glx/
Dcompsize.c90 case GL_RED: in __glElementsPerGroup()
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp123 case GL_RED: in TEST()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp243 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat()
293 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat()
352 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat()
408 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGetterCalls.cpp189 pnames_for_gettexparameter_default[GL_TEXTURE_SWIZZLE_R] = GL_RED; in initTest()
206 pnames_for_gettexparameter_modified[GL_TEXTURE_SWIZZLE_A] = GL_RED; in initTest()

12345