Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp52 case GL_RED: return c.getRed(); in swizzle()
246 { "red", GL_R8, GL_RED, GL_UNSIGNED_BYTE }, in init()
270 { "red", GL_RED }, in init()
287 { "all_red", GL_RED, GL_RED, GL_RED, GL_RED }, in init()
293 { "bgra", GL_BLUE, GL_GREEN, GL_RED, GL_ALPHA }, in init()
294 { "abgr", GL_ALPHA, GL_BLUE, GL_GREEN, GL_RED }, in init()
295 { "one_one_red_green", GL_ONE, GL_ONE, GL_RED, GL_GREEN } in init()
298 static const deUint32 defaultSwizzles[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA }; in init()
/external/mesa3d/src/mesa/main/
Dformats.c373 GL_RED,
400 GL_RED,
744 GL_RED,
753 GL_RED,
1000 GL_RED,
1036 GL_RED,
1072 GL_RED,
1108 GL_RED,
1144 GL_RED,
1180 GL_RED,
[all …]
Dglformats.c173 case GL_RED: in _mesa_components_in_format()
457 case GL_RED: in _mesa_is_color_format()
858 case GL_RED: in _mesa_base_format_to_integer_format()
898 if (base_format == GL_RED || in _mesa_base_format_has_channel()
982 return GL_RED; in _mesa_generic_compressed_format_to_uncompressed_format()
1119 case GL_RED: in _mesa_error_check_format_and_type()
Dfbobject.c436 case GL_RED: in _mesa_validate_framebuffer()
495 case GL_RED: in _mesa_is_legal_color_format()
1158 case GL_RED: in _mesa_base_fbo_format()
1161 ? GL_RED : 0; in _mesa_base_fbo_format()
1164 ? GL_RED : 0; in _mesa_base_fbo_format()
1176 ? GL_RED : 0; in _mesa_base_fbo_format()
1180 ? GL_RED : 0; in _mesa_base_fbo_format()
1234 ctx->Extensions.ARB_texture_float) ? GL_RED : 0; in _mesa_base_fbo_format()
1308 ctx->Extensions.EXT_texture_integer) ? GL_RED : 0; in _mesa_base_fbo_format()
2758 case GL_RED: in get_nongeneric_internalformat()
Dtexstore.c105 case GL_RED: in can_swizzle()
243 case GL_RED: return IDX_RED; in get_map_idx()
340 logicalBaseFormat == GL_RED || in _mesa_make_temp_float_image()
350 textureBaseFormat == GL_RED || in _mesa_make_temp_float_image()
451 logicalBaseFormat == GL_RED || in make_temp_uint_image()
460 textureBaseFormat == GL_RED || in make_temp_uint_image()
578 logicalBaseFormat == GL_RED || in _mesa_make_temp_ubyte_image()
587 textureBaseFormat == GL_RED || in _mesa_make_temp_ubyte_image()
3036 baseInternalFormat == GL_RED || in _mesa_texstore_rgba_float32()
3106 baseInternalFormat == GL_RED || in _mesa_texstore_rgba_float16()
[all …]
Dtexstate.c182 case GL_RED: in calculate_derived_texenv()
224 case GL_RED: in calculate_derived_texenv()
251 case GL_RED: in calculate_derived_texenv()
Dtexcompress.c82 return GL_RED; in _mesa_gl_compressed_format_base_format()
Ddebug.c577 else if (format == GL_RED && type == GL_UNSIGNED_BYTE) { in _mesa_dump_image()
591 else if (format == GL_RED && type == GL_FLOAT) { in _mesa_dump_image()
Dpack.c370 case GL_RED: in get_component_indexes()
1333 case GL_RED: in _mesa_pack_rgba_span_float()
1490 case GL_RED: in _mesa_pack_rgba_span_float()
1647 case GL_RED: in _mesa_pack_rgba_span_float()
1804 case GL_RED: in _mesa_pack_rgba_span_float()
1961 case GL_RED: in _mesa_pack_rgba_span_float()
2118 case GL_RED: in _mesa_pack_rgba_span_float()
2275 case GL_RED: in _mesa_pack_rgba_span_float()
2361 case GL_RED: in _mesa_pack_rgba_span_float()
3000 case GL_RED: in get_component_mapping()
[all …]
Dtexstorage.c255 case GL_RED: in tex_storage_error_check()
Dteximage.c270 return GL_RED; in _mesa_base_tex_format()
410 return GL_RED; in _mesa_base_tex_format()
422 case GL_RED: in _mesa_base_tex_format()
424 return GL_RED; in _mesa_base_tex_format()
488 return GL_RED; in _mesa_base_tex_format()
Dtexformat.c785 case GL_RED: in _mesa_choose_tex_format()
Dframebuffer.c772 case GL_RED: in renderbuffer_exists()
/external/deqp/framework/opengl/
DgluStateReset.cpp165 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
198 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
225 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
253 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
275 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
286 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
302 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
753 gl.texParameteri(GL_TEXTURE_1D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore()
777 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore()
806 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore()
[all …]
DgluTextureUtil.cpp76 case TextureFormat::R: format = isInt ? GL_RED_INTEGER : GL_RED; break; in getTransferFormat()
80 case TextureFormat::sR: format = GL_RED; break; in getTransferFormat()
447 case GL_RED: return TextureFormat(TextureFormat::R, mapGLChannelType(dataType, true)); in mapGLTransferFormat()
DgluStrUtil.inl742 case GL_RED: return "GL_RED";
818 case GL_RED: return "GL_RED";
1668 case GL_RED: return "GL_RED";
/external/deqp/modules/egl/
DteglImageTests.cpp300 case GL_RED: return "red"; in getStorageName()
371 if ((m_internalFormat == GL_RED || m_internalFormat == GL_RG) && !isGLRedSupported()) in iterate()
509 …addChild(new Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RED, GL_RED, GL_UNSIG… in init()
/external/mesa3d/src/glx/
Dcompsize.c85 case GL_RED: in __glElementsPerGroup()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c1061 { GL_RED, GL_R8, 0 },
1711 case GL_RED: in st_translate_color()
1753 case GL_RED: in st_translate_color()
Dst_atom_texture.c103 case GL_RED: in apply_depthmode()
/external/deqp/modules/glshared/
DglsFboCompletenessTests.cpp140 GLS_UNSIZED_FORMATKEY(GL_RED, GL_UNSIGNED_BYTE),
146 GLS_UNSIZED_FORMATKEY(GL_RED, GL_FLOAT),
152 GLS_UNSIZED_FORMATKEY(GL_RED, GL_HALF_FLOAT_OES),
/external/libgdx/extensions/gdx-bullet/jni/vs/Glut/EmptyGL/GL/
Degl_defs.h287 #define GL_RED 0x1903 macro
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DGL30.java36 public final int GL_RED = 0x1903; field
/external/mesa3d/src/mesa/swrast/
Ds_atifragshader.c110 case GL_RED: in apply_src_rep()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_fragshader.c53 case GL_RED: in r200SetFragShaderArg()

12