Home
last modified time | relevance | path

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

123

/external/autotest/client/deps/glbench/src/
Dyuvtest.cc155 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, YUV2RGB_WIDTH, YUV2RGB_HEIGHT, in SetupTextures()
156 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in SetupTextures()
160 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 2, 1, in SetupTextures()
161 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, evenodd); in SetupTextures()
165 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in SetupTextures()
167 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in SetupTextures()
171 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in SetupTextures()
173 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, u_plane); in SetupTextures()
177 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, in SetupTextures()
179 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()
Dfbobject.c434 case GL_LUMINANCE: in _mesa_validate_framebuffer()
490 case GL_LUMINANCE: in _mesa_is_legal_color_format()
1080 case GL_LUMINANCE: in _mesa_base_fbo_format()
1086 ? GL_LUMINANCE : 0; in _mesa_base_fbo_format()
1216 ctx->Extensions.ARB_framebuffer_object ? GL_LUMINANCE : 0; in _mesa_base_fbo_format()
1260 ctx->Extensions.ARB_framebuffer_object ? GL_LUMINANCE : 0; in _mesa_base_fbo_format()
1339 ctx->Extensions.ARB_framebuffer_object ? GL_LUMINANCE : 0; in _mesa_base_fbo_format()
2748 case GL_LUMINANCE: in get_nongeneric_internalformat()
Dpack.c358 case GL_LUMINANCE: in get_component_indexes()
1269 if (dstFormat == GL_LUMINANCE || in _mesa_pack_rgba_span_float()
1310 else if (dstFormat == GL_LUMINANCE || dstFormat == GL_LUMINANCE_ALPHA) { in _mesa_pack_rgba_span_float()
1349 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
1506 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
1663 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
1820 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
1977 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
2134 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
2291 case GL_LUMINANCE: in _mesa_pack_rgba_span_float()
[all …]
Dtexcompress.c119 return GL_LUMINANCE; in _mesa_gl_compressed_format_base_format()
Dtexstorage.c252 case GL_LUMINANCE: in tex_storage_error_check()
/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 …]
Des2fTextureCompletenessTests.cpp946 …(), "format_mismatch_luminance_luminance_alpha", "", IVec2(128, 128), GL_LUMINANCE, GL_LUMINANCE… in init()
947 …t_mismatch_luminance_alpha_luminance", "", IVec2(128, 128), GL_LUMINANCE_ALPHA, GL_LUMINANCE, 1)); in init()
973 …ormat_mismatch_luminance_luminance_alpha_level_0", "", IVec2(64, 64), GL_LUMINANCE, GL_LUMINANCE_… in init()
974 …mismatch_luminance_alpha_luminance_level_0", "", IVec2(64, 64), GL_LUMINANCE_ALPHA, GL_LUMINANCE)); in init()
/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/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/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.cpp244 { "luminance", GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c819 { 1, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, 0 },
1733 case GL_LUMINANCE: in st_translate_color()
1775 case GL_LUMINANCE: in st_translate_color()

123