/external/angle/src/common/ |
D | Color.inc | 38 ColorGeneric::ColorGeneric() : colorF(), type(Type::Float) {} 40 ColorGeneric::ColorGeneric(const ColorF &color) : colorF(color), type(Type::Float) {} 42 ColorGeneric::ColorGeneric(const ColorI &color) : colorI(color), type(Type::Int) {} 44 ColorGeneric::ColorGeneric(const ColorUI &color) : colorUI(color), type(Type::UInt) {} 46 bool operator==(const ColorGeneric &a, const ColorGeneric &b) 55 case ColorGeneric::Type::Float: 57 case ColorGeneric::Type::Int: 59 case ColorGeneric::Type::UInt: 64 bool operator!=(const ColorGeneric &a, const ColorGeneric &b)
|
D | Color.h | 51 struct ColorGeneric struct 53 inline ColorGeneric(); 54 inline ColorGeneric(const ColorF &color); 55 inline ColorGeneric(const ColorI &color); 56 inline ColorGeneric(const ColorUI &color); 75 inline bool operator==(const ColorGeneric &a, const ColorGeneric &b); argument 77 inline bool operator!=(const ColorGeneric &a, const ColorGeneric &b); 98 using ColorGeneric = angle::ColorGeneric; variable
|
/external/angle/src/libANGLE/renderer/gl/ |
D | SamplerGL.cpp | 29 const angle::ColorGeneric &value) in SetSamplerParameter() 33 case angle::ColorGeneric::Type::Float: in SetSamplerParameter() 36 case angle::ColorGeneric::Type::Int: in SetSamplerParameter() 39 case angle::ColorGeneric::Type::UInt: in SetSamplerParameter()
|
D | TextureGL.cpp | 1607 angle::ColorGeneric borderColor = mState.getSamplerState().getBorderColor(); in syncState() 1637 case angle::ColorGeneric::Type::Float: in syncState() 1643 case angle::ColorGeneric::Type::Int: in syncState() 1649 case angle::ColorGeneric::Type::UInt: in syncState()
|
/external/angle/src/libANGLE/ |
D | Sampler.h | 71 void setBorderColor(const Context *context, const ColorGeneric &color); 72 const ColorGeneric &getBorderColor() const;
|
D | Sampler.cpp | 176 void Sampler::setBorderColor(const Context *context, const ColorGeneric &color) in setBorderColor() 182 const ColorGeneric &Sampler::getBorderColor() const in getBorderColor()
|
D | queryutils.cpp | 41 ColorGeneric ConvertToColor(const GLfloat *params) in ConvertToColor() 46 return ColorGeneric(ColorI()); in ConvertToColor() 50 return ColorGeneric(ColorF::fromData(params)); in ConvertToColor() 55 ColorGeneric ConvertToColor(const GLint *params) in ConvertToColor() 59 return ColorGeneric(ColorI(params[0], params[1], params[2], params[3])); in ConvertToColor() 63 return ColorGeneric(ColorF(normalizedToFloat(params[0]), normalizedToFloat(params[1]), in ConvertToColor() 69 ColorGeneric ConvertToColor(const GLuint *params) in ConvertToColor() 73 return ColorGeneric(ColorUI(params[0], params[1], params[2], params[3])); in ConvertToColor() 78 return ColorGeneric(ColorF()); in ConvertToColor() 83 void ConvertFromColor(const ColorGeneric &color, GLfloat *outParams) in ConvertFromColor() [all …]
|
D | angletypes.h | 411 bool setBorderColor(const ColorGeneric &color); 413 const ColorGeneric &getBorderColor() const { return mBorderColor; } in getBorderColor() 441 ColorGeneric mBorderColor;
|
D | Texture.h | 371 void setBorderColor(const Context *context, const ColorGeneric &color); 372 const ColorGeneric &getBorderColor() const;
|
D | angletypes.cpp | 341 bool SamplerState::setBorderColor(const ColorGeneric &color) in setBorderColor()
|
D | Texture.cpp | 2074 void Texture::setBorderColor(const Context *context, const ColorGeneric &color) in setBorderColor() 2080 const ColorGeneric &Texture::getBorderColor() const in getBorderColor()
|
/external/angle/src/libANGLE/capture/ |
D | serialize.cpp | 82 const char *ColorGenericTypeToString(gl::ColorGeneric::Type type) in ColorGenericTypeToString() 86 ENUM_TO_STRING(gl::ColorGeneric::Type, Float); in ColorGenericTypeToString() 87 ENUM_TO_STRING(gl::ColorGeneric::Type, Int); in ColorGenericTypeToString() 88 ENUM_TO_STRING(gl::ColorGeneric::Type, UInt); in ColorGenericTypeToString() 735 const ColorGeneric &colorGeneric) in SerializeColorGeneric() 738 ASSERT(colorGeneric.type == ColorGeneric::Type::Float || in SerializeColorGeneric() 739 colorGeneric.type == ColorGeneric::Type::Int || in SerializeColorGeneric() 740 colorGeneric.type == ColorGeneric::Type::UInt); in SerializeColorGeneric() 742 if (colorGeneric.type == ColorGeneric::Type::Float) in SerializeColorGeneric() 746 else if (colorGeneric.type == ColorGeneric::Type::Int) in SerializeColorGeneric()
|
/external/angle/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 1599 const gl::ColorGeneric AdjustBorderColor(const angle::ColorGeneric &borderColorGeneric, in AdjustBorderColor() 1603 gl::ColorGeneric adjustedBorderColor = borderColorGeneric; in AdjustBorderColor() 1726 template const gl::ColorGeneric AdjustBorderColor<true>( 1727 const angle::ColorGeneric &borderColorGeneric, 1730 template const gl::ColorGeneric AdjustBorderColor<false>( 1731 const angle::ColorGeneric &borderColorGeneric,
|
D | renderer_utils.h | 451 const gl::ColorGeneric AdjustBorderColor(const angle::ColorGeneric &borderColorGeneric,
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 383 angle::ColorGeneric borderColor; in updateSamplerMetadata() 386 if (samplerState.getBorderColor().type != angle::ColorGeneric::Type::Float) in updateSamplerMetadata() 2695 angle::ColorGeneric borderColor; in setSamplerState() 2698 if (samplerState.getBorderColor().type == angle::ColorGeneric::Type::Float) in setSamplerState()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | Renderer9.cpp | 1036 angle::ColorGeneric borderColor = texture->getBorderColor(); in setSamplerState() 1037 ASSERT(borderColor.type == angle::ColorGeneric::Type::Float); in setSamplerState()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_cache_utils.cpp | 5242 (samplerState.getBorderColor().type == angle::ColorGeneric::Type::Float) ? 0 : 1; in update() 5246 gl::ColorGeneric adjustedBorderColor = in update() 5323 if (mBorderColorType == static_cast<uint32_t>(angle::ColorGeneric::Type::Float)) in init()
|