Home
last modified time | relevance | path

Searched refs:BorderColor (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/mesa/main/
Dsamplerobj.c125 sampObj->BorderColor.f[0] = 0.0; in _mesa_init_sampler_object()
126 sampObj->BorderColor.f[1] = 0.0; in _mesa_init_sampler_object()
127 sampObj->BorderColor.f[2] = 0.0; in _mesa_init_sampler_object()
128 sampObj->BorderColor.f[3] = 0.0; in _mesa_init_sampler_object()
658 samp->BorderColor.f[RCOMP] = params[0]; in set_sampler_border_colorf()
659 samp->BorderColor.f[GCOMP] = params[1]; in set_sampler_border_colorf()
660 samp->BorderColor.f[BCOMP] = params[2]; in set_sampler_border_colorf()
661 samp->BorderColor.f[ACOMP] = params[3]; in set_sampler_border_colorf()
672 samp->BorderColor.i[RCOMP] = params[0]; in set_sampler_border_colori()
673 samp->BorderColor.i[GCOMP] = params[1]; in set_sampler_border_colori()
[all …]
Dtexparam.c777 texObj->Sampler.BorderColor.f[RCOMP] = params[0]; in set_tex_parameterf()
778 texObj->Sampler.BorderColor.f[GCOMP] = params[1]; in set_tex_parameterf()
779 texObj->Sampler.BorderColor.f[BCOMP] = params[2]; in set_tex_parameterf()
780 texObj->Sampler.BorderColor.f[ACOMP] = params[3]; in set_tex_parameterf()
782 texObj->Sampler.BorderColor.f[RCOMP] = CLAMP(params[0], 0.0F, 1.0F); in set_tex_parameterf()
783 texObj->Sampler.BorderColor.f[GCOMP] = CLAMP(params[1], 0.0F, 1.0F); in set_tex_parameterf()
784 texObj->Sampler.BorderColor.f[BCOMP] = CLAMP(params[2], 0.0F, 1.0F); in set_tex_parameterf()
785 texObj->Sampler.BorderColor.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F); in set_tex_parameterf()
1044 COPY_4V(texObj->Sampler.BorderColor.i, params); in _mesa_texture_parameterIiv()
1072 COPY_4V(texObj->Sampler.BorderColor.ui, params); in _mesa_texture_parameterIuiv()
[all …]
Dtexturebindless.c512 size_t size = sizeof(samp->BorderColor.ui); in is_sampler_border_color_valid()
525 if (!memcmp(samp->BorderColor.f, valid_float_border_colors[0], size) || in is_sampler_border_color_valid()
526 !memcmp(samp->BorderColor.f, valid_float_border_colors[1], size) || in is_sampler_border_color_valid()
527 !memcmp(samp->BorderColor.f, valid_float_border_colors[2], size) || in is_sampler_border_color_valid()
528 !memcmp(samp->BorderColor.f, valid_float_border_colors[3], size)) in is_sampler_border_color_valid()
531 if (!memcmp(samp->BorderColor.ui, valid_integer_border_colors[0], size) || in is_sampler_border_color_valid()
532 !memcmp(samp->BorderColor.ui, valid_integer_border_colors[1], size) || in is_sampler_border_color_valid()
533 !memcmp(samp->BorderColor.ui, valid_integer_border_colors[2], size) || in is_sampler_border_color_valid()
534 !memcmp(samp->BorderColor.ui, valid_integer_border_colors[3], size)) in is_sampler_border_color_valid()
Dtexobj.c438 dest->Sampler.BorderColor.f[0] = src->Sampler.BorderColor.f[0]; in _mesa_copy_texture_object()
439 dest->Sampler.BorderColor.f[1] = src->Sampler.BorderColor.f[1]; in _mesa_copy_texture_object()
440 dest->Sampler.BorderColor.f[2] = src->Sampler.BorderColor.f[2]; in _mesa_copy_texture_object()
441 dest->Sampler.BorderColor.f[3] = src->Sampler.BorderColor.f[3]; in _mesa_copy_texture_object()
Dattrib.c870 _mesa_TexParameterfv(target, GL_TEXTURE_BORDER_COLOR, samp->BorderColor.f); in pop_texture_group()
Dmtypes.h992 union gl_color_union BorderColor; /**< Interpreted according to texture format */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c159 (msamp->BorderColor.ui[0] || in st_convert_sampler()
160 msamp->BorderColor.ui[1] || in st_convert_sampler()
161 msamp->BorderColor.ui[2] || in st_convert_sampler()
162 msamp->BorderColor.ui[3])) { in st_convert_sampler()
182 st_translate_color(&msamp->BorderColor, &tmp, in st_convert_sampler()
188 st_translate_color(&msamp->BorderColor, in st_convert_sampler()
193 st_translate_color(&msamp->BorderColor, in st_convert_sampler()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tex.c215 r = FLOAT_TO_UBYTE(sa->BorderColor.f[0]); in nv20_emit_tex_obj()
216 g = FLOAT_TO_UBYTE(sa->BorderColor.f[1]); in nv20_emit_tex_obj()
217 b = FLOAT_TO_UBYTE(sa->BorderColor.f[2]); in nv20_emit_tex_obj()
218 a = FLOAT_TO_UBYTE(sa->BorderColor.f[3]); in nv20_emit_tex_obj()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texstate.c305 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); in i830_update_tex_unit()
306 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); in i830_update_tex_unit()
307 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); in i830_update_tex_unit()
308 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]); in i830_update_tex_unit()
Di915_texstate.c369 CLAMPED_FLOAT_TO_UBYTE(border[0], sampler->BorderColor.f[0]); in i915_update_tex_unit()
370 CLAMPED_FLOAT_TO_UBYTE(border[1], sampler->BorderColor.f[1]); in i915_update_tex_unit()
371 CLAMPED_FLOAT_TO_UBYTE(border[2], sampler->BorderColor.f[2]); in i915_update_tex_unit()
372 CLAMPED_FLOAT_TO_UBYTE(border[3], sampler->BorderColor.f[3]); in i915_update_tex_unit()
/external/ImageMagick/MagickCore/
Dimage-private.h41 BorderColor[],
Dimage.c111 BorderColor[] = "#dfdfdf", /* gray */ variable
201 (void) QueryColorCompliance(BorderColor,AllCompliance,&image->border_color, in AcquireImage()
1372 (void) QueryColorCompliance(BorderColor,AllCompliance, in GetImageInfo()
Dxwindow.c3031 BorderColor[], in XGetPixelInfo()
3094 (void) XParseColor(display,colormap,(char *) BorderColor, in XGetPixelInfo()
3455 BorderColor[], in XGetResourceInfo()
3477 "borderColor",BorderColor); in XGetResourceInfo()
/external/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c4747 color.ui[0] = sampler->BorderColor.ui[0];
4748 color.ui[1] = sampler->BorderColor.ui[0];
4749 color.ui[2] = sampler->BorderColor.ui[0];
4750 color.ui[3] = sampler->BorderColor.ui[0];
4756 color.ui[3] = sampler->BorderColor.ui[3];
4759 color.ui[0] = sampler->BorderColor.ui[0];
4760 color.ui[1] = sampler->BorderColor.ui[0];
4761 color.ui[2] = sampler->BorderColor.ui[0];
4762 color.ui[3] = sampler->BorderColor.ui[0];
4765 color.ui[0] = sampler->BorderColor.ui[0];
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c779 rgba[0] = samp->BorderColor.f[0]; in get_border_color()
780 rgba[1] = samp->BorderColor.f[1]; in get_border_color()
781 rgba[2] = samp->BorderColor.f[2]; in get_border_color()
786 rgba[3] = samp->BorderColor.f[3]; in get_border_color()
789 rgba[0] = rgba[1] = rgba[2] = samp->BorderColor.f[0]; in get_border_color()
793 rgba[0] = rgba[1] = rgba[2] = samp->BorderColor.f[0]; in get_border_color()
794 rgba[3] = samp->BorderColor.f[3]; in get_border_color()
797 rgba[0] = rgba[1] = rgba[2] = rgba[3] = samp->BorderColor.f[0]; in get_border_color()
800 COPY_4V(rgba, samp->BorderColor.f); in get_border_color()
2878 COPY_4V(rgba, samp->BorderColor.f); in sample_2d_array_linear()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c320 radeonSetTexBorderColor(t, samp->BorderColor.f); in radeonTexUpdateParameters()
423 radeonSetTexBorderColor( t, t->base.Sampler.BorderColor.f ); in radeonNewTextureObject()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp44 enum BorderColor enum
66 vk::VkBorderColor getFormatBorderColor (BorderColor color, vk::VkFormat format);
DvktPipelineSamplerTests.cpp882 …seName (VkSamplerAddressMode u, VkSamplerAddressMode v, VkSamplerAddressMode w, BorderColor border) in getAddressModesCaseName()
932 BorderColor border; in createSamplerAddressModesTests()
DvktPipelineImageUtil.cpp127 VkBorderColor getFormatBorderColor (BorderColor color, VkFormat format) in getFormatBorderColor()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c369 r200SetTexBorderColor(t, samp->BorderColor.f); in r200TexUpdateParameters()
483 r200SetTexBorderColor(t, t->base.Sampler.BorderColor.f); in r200NewTextureObject()
/external/mesa3d/docs/relnotes/
D4.1287 - texObj->BorderColor is now GLfloat[4]. texObj->_BorderChan is GLchan[4].
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp2736 enum class BorderColor enum
2746 VULKAN_HPP_INLINE std::string to_string( BorderColor value ) in to_string()
2750 case BorderColor::eFloatTransparentBlack : return "FloatTransparentBlack"; in to_string()
2751 case BorderColor::eIntTransparentBlack : return "IntTransparentBlack"; in to_string()
2752 case BorderColor::eFloatOpaqueBlack : return "FloatOpaqueBlack"; in to_string()
2753 case BorderColor::eIntOpaqueBlack : return "IntOpaqueBlack"; in to_string()
2754 case BorderColor::eFloatOpaqueWhite : return "FloatOpaqueWhite"; in to_string()
2755 case BorderColor::eIntOpaqueWhite : return "IntOpaqueWhite"; in to_string()
43848 BorderColor borderColor_ = BorderColor::eFloatTransparentBlack, in SamplerCreateInfo()
43969 SamplerCreateInfo & setBorderColor( BorderColor borderColor_ ) in setBorderColor()
[all …]