Home
last modified time | relevance | path

Searched refs:GL_LUMINANCE (Results 1 – 25 of 122) sorted by relevance

12345

/external/angle/src/tests/gl_tests/
DUnpackAlignmentTest.cpp71 case GL_LUMINANCE: in getPixelSize()
170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
210 testAlignment(2, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
250 testAlignment(4, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
290 testAlignment(8, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
DTextureUploadFormatTest.cpp90 case GL_LUMINANCE: in bytesPerPixel()
254 case GL_LUMINANCE: in TEST_P()
328 fnTest({GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE}, {1, 1, 1, 0}); in TEST_P()
559 fnTest({GL_LUMINANCE, GL_LUMINANCE, GL_HALF_FLOAT_OES}, {1, 1, 1, 0}); in TEST_P()
DSwizzleTest.cpp335 init2DTexture(GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE, data); in TEST_P()
358 init2DTexture(GL_LUMINANCE, GL_LUMINANCE, GL_FLOAT, data); in TEST_P()
DCopyTextureTest.cpp139 case GL_LUMINANCE: in CopyTextureVariationsTestPrint()
255 case GL_LUMINANCE: in calculateCopyTextureResults()
368 case GL_LUMINANCE: in getSourceColors()
499 if (sourceFormat != GL_LUMINANCE && sourceFormat != GL_LUMINANCE_ALPHA && in testCopySubTexture()
598 sourceFormats.push_back(GL_LUMINANCE); in TEST_P()
864 GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_BGRA_EXT};
1295 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
1297 glCopyTextureCHROMIUM(mTextures[1], 0, GL_TEXTURE_2D, mTextures[0], 0, GL_LUMINANCE, in TEST_P()
1327 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
1329 glCopyTextureCHROMIUM(mTextures[1], 0, GL_TEXTURE_2D, mTextures[0], 0, GL_LUMINANCE, in TEST_P()
[all …]
DTextureTest.cpp39 case GL_LUMINANCE: in SliceFormatColor()
63 case GL_LUMINANCE: in SliceFormatColor16UI()
88 case GL_LUMINANCE: in SliceFormatColor32F()
2999 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
3016 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
3054 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_FLOAT, nullptr); in TEST_P()
3076 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 1, 1, 0, GL_LUMINANCE, GL_HALF_FLOAT_OES, nullptr); in TEST_P()
4700 case GL_LUMINANCE: in testFloatTextureLinear()
4859 testFloatTextureSample(GL_LUMINANCE, GL_LUMINANCE, GL_FLOAT); in TEST_P()
4865 testFloatTextureSample(GL_LUMINANCE32F_EXT, GL_LUMINANCE, GL_FLOAT); in TEST_P()
[all …]
DCopyTexImageTest.cpp254 runCopyTexImageTest(GL_LUMINANCE, expected); in TEST_P()
266 runCopyTexImageTest(GL_LUMINANCE, expected); in TEST_P()
314 runCopyTexSubImageTest(GL_LUMINANCE, expected); in TEST_P()
338 runCopyTexSubImageTest(GL_LUMINANCE, expected); in TEST_P()
/external/mesa3d/src/mesa/main/
Dglformats.c153 case GL_LUMINANCE: in get_map_idx()
383 case GL_LUMINANCE: in _mesa_components_in_format()
591 case GL_LUMINANCE: in _mesa_is_enum_format_unsized()
645 case GL_LUMINANCE: in _mesa_is_enum_format_unorm()
996 case GL_LUMINANCE: in _mesa_is_color_format()
1486 return GL_LUMINANCE; in _mesa_unpack_format_to_base_format()
1498 case GL_LUMINANCE: in _mesa_unpack_format_to_base_format()
1530 case GL_LUMINANCE: in _mesa_base_format_to_integer_format()
1598 if (base_format == GL_LUMINANCE || in _mesa_base_format_has_channel()
1658 return GL_LUMINANCE; in _mesa_generic_compressed_format_to_uncompressed_format()
[all …]
/external/angle/src/libANGLE/
Dformat_map_autogen.cpp323 case GL_LUMINANCE: in GetSizedFormatInternal()
597 case GL_LUMINANCE: in ValidES3Format()
1194 case GL_LUMINANCE: in ValidES3FormatCombination()
1202 case GL_LUMINANCE: in ValidES3FormatCombination()
1213 case GL_LUMINANCE: in ValidES3FormatCombination()
1225 case GL_LUMINANCE: in ValidES3FormatCombination()
1238 case GL_LUMINANCE: in ValidES3FormatCombination()
Des3_copy_conversion_table_autogen.cpp43 case GL_LUMINANCE: in ValidES3CopyConversion()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dsprite.h157 GL_LUMINANCE, in LoadTexture()
161 GL_LUMINANCE, in LoadTexture()
172 GL_LUMINANCE, in LoadTexture()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp68 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat()
1589 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
1599 { "l16f", GL_LUMINANCE, GL_HALF_FLOAT_OES }, in init()
1653 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_4_8", "", GL_LUMINANCE, GL_UNSIG… in init()
1654 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_1", "", GL_LUMINANCE, GL_UNSI… in init()
1655 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_2", "", GL_LUMINANCE, GL_UNSI… in init()
1656 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_4", "", GL_LUMINANCE, GL_UNSI… in init()
1657 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_8", "", GL_LUMINANCE, GL_UNSI… in init()
1671 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_4_8", "", GL_LUMINANCE, GL_U… in init()
1672 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_63_1", "", GL_LUMINANCE, GL_… in init()
[all …]
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_opengles20.cc333 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, width, height, 0, in InitializeTexture()
334 GL_LUMINANCE, GL_UNSIGNED_BYTE, NULL); in InitializeTexture()
361 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_LUMINANCE, in GlTexSubImage2D()
368 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, row, width, 1, GL_LUMINANCE, in GlTexSubImage2D()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DRendererCommon.java114 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_LUMINANCE, planeWidths[i], in uploadYuvData()
115 planeHeights[i], 0, GLES20.GL_LUMINANCE, GLES20.GL_UNSIGNED_BYTE, packedByteBuffer); in uploadYuvData()
DGlTextureFrameBuffer.java51 case GLES20.GL_LUMINANCE: in GlTextureFrameBuffer()
/external/webrtc/webrtc/modules/video_render/ios/
Dopen_gles20.mm255 GL_LUMINANCE,
259 GL_LUMINANCE,
293 GL_LUMINANCE,
306 GL_LUMINANCE,
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp257 glFormat = GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
258 glInternalFormat=GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
307 glFormat = GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
308 glInternalFormat=GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
364 glFormat = GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
365 glInternalFormat=GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoDecoderRenderer.java178 GLES20.GL_LUMINANCE, in onDrawFrame()
182 GLES20.GL_LUMINANCE, in onDrawFrame()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp140 format = GL_LUMINANCE; in PVRTGetOGLES2TextureFormat()
141 internalformat=GL_LUMINANCE; in PVRTGetOGLES2TextureFormat()
176 format = GL_LUMINANCE; in PVRTGetOGLES2TextureFormat()
177 internalformat=GL_LUMINANCE; in PVRTGetOGLES2TextureFormat()
212 format = internalformat = GL_LUMINANCE; in PVRTGetOGLES2TextureFormat()
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp58 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
/external/mesa3d/src/glx/
Dcompsize.c94 case GL_LUMINANCE: in __glElementsPerGroup()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp50 case GL_LUMINANCE: in texImage2D()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp410 case GL_LUMINANCE: in getUnsizedFormatFromInternalFormat()
412 return GL_LUMINANCE; in getUnsizedFormatFromInternalFormat()
711 formatMap[GL_LUMINANCE] = TextureFormat(GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE); in iterate()
1418 TF(GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE), in getESTestData()
1441 CF(GL_LUMINANCE), in getESTestData()
1501 TF(GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE8_OES, OES_required_internalformat), in getESTestData()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java158 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_LUMINANCE, WIDTH, in testYuvRendering()
159 HEIGHT, 0, GLES20.GL_LUMINANCE, GLES20.GL_UNSIGNED_BYTE, yuvPlanes[i]); in testYuvRendering()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp156 case GL_LUMINANCE: in ValidateTextureFormatType()
213 case GL_LUMINANCE: in ValidateTextureFormatType()
284 case GL_LUMINANCE: in ValidateTextureFormatType()
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp125 case GL_LUMINANCE: in TEST()

12345