Home
last modified time | relevance | path

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

1234

/external/autotest/client/deps/glbench/src/
Dyuvtest.cc156 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, YUV2RGB_WIDTH, YUV2RGB_HEIGHT, in SetupTextures()
157 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in SetupTextures()
161 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 2, 1, in SetupTextures()
162 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, evenodd); in SetupTextures()
166 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in SetupTextures()
168 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in SetupTextures()
172 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in SetupTextures()
174 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, u_plane); in SetupTextures()
178 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in SetupTextures()
180 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, v_plane); in SetupTextures()
Dtexturetest.cc71 { GL_LUMINANCE, GL_RGBA }; // , GL_BGRA, GL_RGB, GL_BGR }; in Run()
/external/mesa3d/src/mesa/main/
Dformats.c319 GL_LUMINANCE, /* BaseFormat */
328 GL_LUMINANCE, /* BaseFormat */
526 GL_LUMINANCE,
690 GL_LUMINANCE,
699 GL_LUMINANCE,
891 GL_LUMINANCE,
900 GL_LUMINANCE,
909 GL_LUMINANCE,
918 GL_LUMINANCE,
927 GL_LUMINANCE,
[all …]
Dglformats.c181 case GL_LUMINANCE: in _mesa_components_in_format()
466 case GL_LUMINANCE: in _mesa_is_color_format()
876 case GL_LUMINANCE: in _mesa_base_format_to_integer_format()
936 if (base_format == GL_LUMINANCE || in _mesa_base_format_has_channel()
992 return GL_LUMINANCE; in _mesa_generic_compressed_format_to_uncompressed_format()
1126 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
Dtexgetimage.c270 if (baseFormat == GL_LUMINANCE || in get_tex_rgba_compressed()
282 (destBaseFormat == GL_LUMINANCE || in get_tex_rgba_compressed()
349 if (texImage->_BaseFormat == GL_LUMINANCE || in get_tex_rgba_uncompressed()
361 (destBaseFormat == GL_LUMINANCE || in get_tex_rgba_uncompressed()
442 format == GL_LUMINANCE || in get_tex_rgba()
Dteximage.c92 case GL_LUMINANCE: in _mesa_base_tex_format()
97 return (ctx->API != API_OPENGL_CORE) ? GL_LUMINANCE : -1; in _mesa_base_tex_format()
175 return GL_LUMINANCE; in _mesa_base_tex_format()
246 return GL_LUMINANCE; in _mesa_base_tex_format()
290 return GL_LUMINANCE; in _mesa_base_tex_format()
336 return GL_LUMINANCE; in _mesa_base_tex_format()
386 return GL_LUMINANCE; in _mesa_base_tex_format()
501 return GL_LUMINANCE; in _mesa_base_tex_format()
1627 case GL_LUMINANCE: in _mesa_es_error_check_format_and_type()
2385 case GL_LUMINANCE: in copytexture_error_check()
[all …]
Dtexstore.c104 case GL_LUMINANCE: in can_swizzle()
237 case GL_LUMINANCE: return IDX_LUMINANCE; in get_map_idx()
342 logicalBaseFormat == GL_LUMINANCE || in _mesa_make_temp_float_image()
352 textureBaseFormat == GL_LUMINANCE || in _mesa_make_temp_float_image()
453 logicalBaseFormat == GL_LUMINANCE || in make_temp_uint_image()
462 textureBaseFormat == GL_LUMINANCE || in make_temp_uint_image()
580 logicalBaseFormat == GL_LUMINANCE || in _mesa_make_temp_ubyte_image()
589 textureBaseFormat == GL_LUMINANCE || in _mesa_make_temp_ubyte_image()
3033 baseInternalFormat == GL_LUMINANCE || in _mesa_texstore_rgba_float32()
3103 baseInternalFormat == GL_LUMINANCE || in _mesa_texstore_rgba_float16()
[all …]
Dtexstate.c181 case GL_LUMINANCE: in calculate_derived_texenv()
219 case GL_LUMINANCE: in calculate_derived_texenv()
250 case GL_LUMINANCE: in calculate_derived_texenv()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp68 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat()
1543 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
1602 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_4_8", "", GL_LUMINANCE, GL_UNSIG… in init()
1603 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_1", "", GL_LUMINANCE, GL_UNSI… in init()
1604 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_2", "", GL_LUMINANCE, GL_UNSI… in init()
1605 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_4", "", GL_LUMINANCE, GL_UNSI… in init()
1606 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_8", "", GL_LUMINANCE, GL_UNSI… in init()
1620 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_4_8", "", GL_LUMINANCE, GL_U… in init()
1621 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_63_1", "", GL_LUMINANCE, GL_… in init()
1622 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_63_2", "", 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/swiftshader/src/OpenGL/common/
DImage.cpp427 case GL_LUMINANCE: in ConvertFormatType()
652 case GL_LUMINANCE: in SelectInternalFormat()
683 case GL_LUMINANCE: in SelectInternalFormat()
740 case GL_LUMINANCE: in SelectInternalFormat()
949 case GL_LUMINANCE: return sizeof(unsigned char); in ComputePixelSize()
1054 case GL_LUMINANCE: return sizeof(float); in ComputePixelSize()
1075 case GL_LUMINANCE: return sizeof(unsigned short); in ComputePixelSize()
1253 case GL_LUMINANCE: in loadImageData()
1295 case GL_LUMINANCE: in loadImageData()
1405 case GL_LUMINANCE: in loadImageData()
[all …]
/external/swiftshader/src/OpenGL/libGL/
Dutilities.cpp248 case GL_LUMINANCE: return sizeof(unsigned char); in ComputePixelSize()
269 case GL_LUMINANCE: return sizeof(float); in ComputePixelSize()
281 case GL_LUMINANCE: return sizeof(unsigned short); in ComputePixelSize()
331 case GL_LUMINANCE: in CheckTextureFormatType()
344 case GL_LUMINANCE: in CheckTextureFormatType()
DImage.cpp172 if(format == GL_LUMINANCE) in selectInternalFormat()
248 case GL_LUMINANCE: in loadImageData()
300 case GL_LUMINANCE: in loadImageData()
322 case GL_LUMINANCE: in loadImageData()
/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/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.c89 case GL_LUMINANCE: in __glElementsPerGroup()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp50 case GL_LUMINANCE: in texImage2D()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp112 InsertFormatMapping(&map, GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE8_EXT); in BuildFormatMap()
115 InsertFormatMapping(&map, GL_LUMINANCE, GL_FLOAT, GL_LUMINANCE32F_EXT); in BuildFormatMap()
119 InsertFormatMapping(&map, GL_LUMINANCE, GL_HALF_FLOAT, GL_LUMINANCE16F_EXT); in BuildFormatMap()
120 InsertFormatMapping(&map, GL_LUMINANCE, GL_HALF_FLOAT_OES, GL_LUMINANCE16F_EXT); in BuildFormatMap()
153 case GL_LUMINANCE: in GetSizedInternalFormat()
758 case GL_LUMINANCE: in ValidateTextureFormatType()
971 case GL_LUMINANCE: in ValidateTextureFormatType()
/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/deqp/modules/egl/
DteglImageTests.cpp302 case GL_LUMINANCE: return "luminance"; in getStorageName()
512 …w Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_LUMINANCE, GL_LUMINANCE, GL_UNSI… in init()
/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp245 { "luminance", GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()

1234