/external/deqp-deps/amber/src/vulkan/ |
D | sampler.cc | 37 VkBorderColor GetVkBorderColor(BorderColor color) { in GetVkBorderColor() 39 case BorderColor::kFloatTransparentBlack: in GetVkBorderColor() 41 case BorderColor::kIntTransparentBlack: in GetVkBorderColor() 43 case BorderColor::kFloatOpaqueBlack: in GetVkBorderColor() 45 case BorderColor::kIntOpaqueBlack: in GetVkBorderColor() 47 case BorderColor::kFloatOpaqueWhite: in GetVkBorderColor() 50 assert(color == BorderColor::kIntOpaqueWhite); in GetVkBorderColor()
|
/external/deqp-deps/amber/src/ |
D | sampler.h | 41 enum class BorderColor : int8_t { enum 77 void SetBorderColor(BorderColor color) { border_color_ = color; } in SetBorderColor() 78 BorderColor GetBorderColor() const { return border_color_; } in GetBorderColor() 97 BorderColor border_color_ = BorderColor::kFloatTransparentBlack;
|
/external/mesa3d/src/mesa/main/ |
D | samplerobj.c | 125 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() 664 samp->BorderColor.f[RCOMP] = params[0]; in set_sampler_border_colorf() 665 samp->BorderColor.f[GCOMP] = params[1]; in set_sampler_border_colorf() 666 samp->BorderColor.f[BCOMP] = params[2]; in set_sampler_border_colorf() 667 samp->BorderColor.f[ACOMP] = params[3]; in set_sampler_border_colorf() 678 samp->BorderColor.i[RCOMP] = params[0]; in set_sampler_border_colori() 679 samp->BorderColor.i[GCOMP] = params[1]; in set_sampler_border_colori() [all …]
|
D | texturebindless.c | 513 size_t size = sizeof(samp->BorderColor.ui); in is_sampler_border_color_valid() 526 if (!memcmp(samp->BorderColor.f, valid_float_border_colors[0], size) || in is_sampler_border_color_valid() 527 !memcmp(samp->BorderColor.f, valid_float_border_colors[1], size) || in is_sampler_border_color_valid() 528 !memcmp(samp->BorderColor.f, valid_float_border_colors[2], size) || in is_sampler_border_color_valid() 529 !memcmp(samp->BorderColor.f, valid_float_border_colors[3], size)) in is_sampler_border_color_valid() 532 if (!memcmp(samp->BorderColor.ui, valid_integer_border_colors[0], size) || in is_sampler_border_color_valid() 533 !memcmp(samp->BorderColor.ui, valid_integer_border_colors[1], size) || in is_sampler_border_color_valid() 534 !memcmp(samp->BorderColor.ui, valid_integer_border_colors[2], size) || in is_sampler_border_color_valid() 535 !memcmp(samp->BorderColor.ui, valid_integer_border_colors[3], size)) in is_sampler_border_color_valid()
|
D | texparam.c | 760 texObj->Sampler.BorderColor.f[RCOMP] = params[0]; in set_tex_parameterf() 761 texObj->Sampler.BorderColor.f[GCOMP] = params[1]; in set_tex_parameterf() 762 texObj->Sampler.BorderColor.f[BCOMP] = params[2]; in set_tex_parameterf() 763 texObj->Sampler.BorderColor.f[ACOMP] = params[3]; in set_tex_parameterf() 765 texObj->Sampler.BorderColor.f[RCOMP] = CLAMP(params[0], 0.0F, 1.0F); in set_tex_parameterf() 766 texObj->Sampler.BorderColor.f[GCOMP] = CLAMP(params[1], 0.0F, 1.0F); in set_tex_parameterf() 767 texObj->Sampler.BorderColor.f[BCOMP] = CLAMP(params[2], 0.0F, 1.0F); in set_tex_parameterf() 768 texObj->Sampler.BorderColor.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F); in set_tex_parameterf() 1031 COPY_4V(texObj->Sampler.BorderColor.i, params); in _mesa_texture_parameterIiv() 1059 COPY_4V(texObj->Sampler.BorderColor.ui, params); in _mesa_texture_parameterIuiv() [all …]
|
D | texobj.c | 475 dest->Sampler.BorderColor.f[0] = src->Sampler.BorderColor.f[0]; in _mesa_copy_texture_object() 476 dest->Sampler.BorderColor.f[1] = src->Sampler.BorderColor.f[1]; in _mesa_copy_texture_object() 477 dest->Sampler.BorderColor.f[2] = src->Sampler.BorderColor.f[2]; in _mesa_copy_texture_object() 478 dest->Sampler.BorderColor.f[3] = src->Sampler.BorderColor.f[3]; in _mesa_copy_texture_object()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 164 (msamp->BorderColor.ui[0] || in st_convert_sampler() 165 msamp->BorderColor.ui[1] || in st_convert_sampler() 166 msamp->BorderColor.ui[2] || in st_convert_sampler() 167 msamp->BorderColor.ui[3])) { in st_convert_sampler() 190 st_translate_color(&msamp->BorderColor, &tmp, in st_convert_sampler() 196 st_translate_color(&msamp->BorderColor, in st_convert_sampler() 201 st_translate_color(&msamp->BorderColor, in st_convert_sampler()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_state_tex.c | 216 r = FLOAT_TO_UBYTE(sa->BorderColor.f[0]); in nv20_emit_tex_obj() 217 g = FLOAT_TO_UBYTE(sa->BorderColor.f[1]); in nv20_emit_tex_obj() 218 b = FLOAT_TO_UBYTE(sa->BorderColor.f[2]); in nv20_emit_tex_obj() 219 a = FLOAT_TO_UBYTE(sa->BorderColor.f[3]); in nv20_emit_tex_obj()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_texstate.c | 305 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()
|
D | i915_texstate.c | 369 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/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | RenderStateCache.cpp | 295 samplerDesc.BorderColor[0] = borderColor.red; in getSamplerState() 296 samplerDesc.BorderColor[1] = borderColor.green; in getSamplerState() 297 samplerDesc.BorderColor[2] = borderColor.blue; in getSamplerState() 298 samplerDesc.BorderColor[3] = borderColor.alpha; in getSamplerState()
|
D | SwapChain11.cpp | 712 samplerDesc.BorderColor[0] = 0.0f; in initPassThroughResources() 713 samplerDesc.BorderColor[1] = 0.0f; in initPassThroughResources() 714 samplerDesc.BorderColor[2] = 0.0f; in initPassThroughResources() 715 samplerDesc.BorderColor[3] = 0.0f; in initPassThroughResources()
|
D | Blit11.cpp | 609 pointSamplerDesc.BorderColor[0] = 0.0f; in initResources() 610 pointSamplerDesc.BorderColor[1] = 0.0f; in initResources() 611 pointSamplerDesc.BorderColor[2] = 0.0f; in initResources() 612 pointSamplerDesc.BorderColor[3] = 0.0f; in initResources() 627 linearSamplerDesc.BorderColor[0] = 0.0f; in initResources() 628 linearSamplerDesc.BorderColor[1] = 0.0f; in initResources() 629 linearSamplerDesc.BorderColor[2] = 0.0f; in initResources() 630 linearSamplerDesc.BorderColor[3] = 0.0f; in initResources()
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_sampler_test.cc | 44 EXPECT_EQ(BorderColor::kFloatTransparentBlack, sampler->GetBorderColor()); in TEST_F() 80 EXPECT_EQ(BorderColor::kFloatOpaqueWhite, sampler->GetBorderColor()); in TEST_F()
|
D | parser.cc | 3628 sampler->SetBorderColor(BorderColor::kFloatTransparentBlack); in ParseSampler() 3630 sampler->SetBorderColor(BorderColor::kIntTransparentBlack); in ParseSampler() 3632 sampler->SetBorderColor(BorderColor::kFloatOpaqueBlack); in ParseSampler() 3634 sampler->SetBorderColor(BorderColor::kIntOpaqueBlack); in ParseSampler() 3636 sampler->SetBorderColor(BorderColor::kFloatOpaqueWhite); in ParseSampler() 3638 sampler->SetBorderColor(BorderColor::kIntOpaqueWhite); in ParseSampler()
|
/external/ImageMagick/MagickCore/ |
D | image-private.h | 26 #define BorderColor "#dfdfdf" /* gray */ macro
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | genX_state_upload.c | 4970 color.ui[0] = sampler->BorderColor.ui[0]; 4971 color.ui[1] = sampler->BorderColor.ui[0]; 4972 color.ui[2] = sampler->BorderColor.ui[0]; 4973 color.ui[3] = sampler->BorderColor.ui[0]; 4979 color.ui[3] = sampler->BorderColor.ui[3]; 4982 color.ui[0] = sampler->BorderColor.ui[0]; 4983 color.ui[1] = sampler->BorderColor.ui[0]; 4984 color.ui[2] = sampler->BorderColor.ui[0]; 4985 color.ui[3] = sampler->BorderColor.ui[0]; 4988 color.ui[0] = sampler->BorderColor.ui[0]; [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.c | 321 radeonSetTexBorderColor(t, samp->BorderColor.f); in radeonTexUpdateParameters() 424 radeonSetTexBorderColor( t, t->base.Sampler.BorderColor.f ); in radeonNewTextureObject()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 779 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/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.hpp | 44 enum BorderColor enum 67 vk::VkBorderColor getFormatBorderColor (BorderColor color, vk::VkFormat format);
|
D | vktPipelineSamplerTests.cpp | 1009 …kSamplerAddressMode u, VkSamplerAddressMode v, VkSamplerAddressMode w, BorderColor border, tcu::IV… in getAddressModesCaseName() 1070 BorderColor _border, in createSamplerAddressModesTests() 1083 BorderColor border; in createSamplerAddressModesTests()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tex.c | 371 r200SetTexBorderColor(t, samp->BorderColor.f); in r200TexUpdateParameters() 485 r200SetTexBorderColor(t, t->base.Sampler.BorderColor.f); in r200NewTextureObject()
|
/external/pdfium/xfa/fxfa/parser/ |
D | element_attributes.inc | 168 ELEM_ATTR____(Field, BorderColor, CJX_Object::ScriptSomBorderColor) 216 ELEM_ATTR____(ExclGroup, BorderColor, CJX_Object::ScriptSomBorderColor) 264 ELEM_ATTR____(Subform, BorderColor, CJX_Object::ScriptSomBorderColor)
|
D | attributes.inc | 119 ATTR____(0x5a3b375du, "borderColor", BorderColor, Basic)
|
/external/mesa3d/docs/relnotes/ |
D | 4.1 | 287 - texObj->BorderColor is now GLfloat[4]. texObj->_BorderChan is GLchan[4].
|