Home
last modified time | relevance | path

Searched refs:GrBlendEquation (Results 1 – 25 of 26) sorted by relevance

12

/external/skqp/include/gpu/
DGrBlend.h17 enum GrBlendEquation { enum
102 static constexpr bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { in GrBlendEquationIsAdvanced()
107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, in GrBlendModifiesDst()
140 static constexpr bool GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, in GrBlendAllowsCoverageAsAlpha()
/external/skia/include/gpu/
DGrBlend.h17 enum GrBlendEquation { enum
102 static constexpr bool GrBlendEquationIsAdvanced(GrBlendEquation equation) { in GrBlendEquationIsAdvanced()
107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff, in GrBlendModifiesDst()
140 static constexpr bool GrBlendAllowsCoverageAsAlpha(GrBlendEquation equation, in GrBlendAllowsCoverageAsAlpha()
/external/skia/src/gpu/effects/
DGrCustomXfermode.cpp32 static constexpr GrBlendEquation hw_blend_equation(SkBlendMode mode) { in hw_blend_equation()
53 return static_cast<GrBlendEquation>((int)mode + EQ_OFFSET); in hw_blend_equation()
57 static bool can_use_hw_blend_equation(GrBlendEquation equation, in can_use_hw_blend_equation()
77 CustomXP(SkBlendMode mode, GrBlendEquation hwBlendEquation) in CustomXP()
95 GrBlendEquation hwBlendEquation() const { in hwBlendEquation()
110 const GrBlendEquation fHWBlendEquation;
234 GrBlendEquation fHWBlendEquation;
DGrPorterDuffXferProcessor.cpp46 constexpr BlendFormula(OutputType primaryOut, OutputType secondaryOut, GrBlendEquation equation, in BlendFormula()
88 GrBlendEquation equation() const { in equation()
144 GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff,
153 GrBlendEquation fBlendEquation : 6;
173 GrBlendEquation BlendEquation, in GetProperties()
/external/skqp/src/gpu/effects/
DGrCustomXfermode.cpp32 static constexpr GrBlendEquation hw_blend_equation(SkBlendMode mode) { in hw_blend_equation()
53 return static_cast<GrBlendEquation>((int)mode + EQ_OFFSET); in hw_blend_equation()
57 static bool can_use_hw_blend_equation(GrBlendEquation equation, in can_use_hw_blend_equation()
77 CustomXP(SkBlendMode mode, GrBlendEquation hwBlendEquation) in CustomXP()
95 GrBlendEquation hwBlendEquation() const { in hwBlendEquation()
110 const GrBlendEquation fHWBlendEquation;
232 GrBlendEquation fHWBlendEquation;
DGrPorterDuffXferProcessor.cpp46 constexpr BlendFormula(OutputType primaryOut, OutputType secondaryOut, GrBlendEquation equation, in BlendFormula()
88 GrBlendEquation equation() const { in equation()
144 GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff,
153 GrBlendEquation fBlendEquation : 6;
173 GrBlendEquation BlendEquation, in GetProperties()
/external/skqp/tests/
DAdvancedBlendTest.cpp22 const GrBlendEquation blendEquation = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
23 (GrBlendEquation)(mode + (kOverlay_GrBlendEquation - (int)SkBlendMode::kOverlay)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DAdvancedBlendTest.cpp22 const GrBlendEquation blendEquation = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
23 (GrBlendEquation)(mode + (kOverlay_GrBlendEquation - (int)SkBlendMode::kOverlay)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.h87 virtual void enableAdvancedBlendEquationIfNeeded(GrBlendEquation) = 0;
114 void enableAdvancedBlendEquationIfNeeded(GrBlendEquation) override;
DGrGLSLFragmentShaderBuilder.cpp19 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { in specific_layout_qualifier_name()
118 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { in enableAdvancedBlendEquationIfNeeded()
/external/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.h103 virtual void enableAdvancedBlendEquationIfNeeded(GrBlendEquation) = 0;
132 void enableAdvancedBlendEquationIfNeeded(GrBlendEquation) override;
DGrGLSLFragmentShaderBuilder.cpp19 static const char* specific_layout_qualifier_name(GrBlendEquation equation) { in specific_layout_qualifier_name()
139 void GrGLSLFragmentShaderBuilder::enableAdvancedBlendEquationIfNeeded(GrBlendEquation equation) { in enableAdvancedBlendEquationIfNeeded()
/external/skqp/src/gpu/
DGrXferProcessor.cpp64 static const char* equation_string(GrBlendEquation eq) { in equation_string()
DGrXferProcessor.h140 GrBlendEquation fEquation;
DGrCaps.h106 bool isAdvancedBlendEquationBlacklisted(GrBlendEquation equation) const { in isAdvancedBlendEquationBlacklisted()
/external/skia/src/gpu/
DGrXferProcessor.cpp64 static const char* equation_string(GrBlendEquation eq) { in equation_string()
DGrXferProcessor.h140 GrBlendEquation fEquation;
DGrCaps.h106 bool isAdvancedBlendEquationBlacklisted(GrBlendEquation equation) const { in isAdvancedBlendEquationBlacklisted()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm255 static MTLBlendOperation blend_equation_to_mtl_blend_op(GrBlendEquation equation) {
283 GrBlendEquation equation = blendInfo.fEquation;
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm258 static MTLBlendOperation blend_equation_to_mtl_blend_op(GrBlendEquation equation) {
286 GrBlendEquation equation = blendInfo.fEquation;
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp344 static VkBlendOp blend_equation_to_vk_blend_op(GrBlendEquation equation) { in blend_equation_to_vk_blend_op()
432 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp348 static VkBlendOp blend_equation_to_vk_blend_op(GrBlendEquation equation) { in blend_equation_to_vk_blend_op()
436 GrBlendEquation equation = blendInfo.fEquation; in setup_color_blend_state()
/external/skqp/src/gpu/gl/
DGrGLGpu.h563 GrBlendEquation fEquation;
/external/skia/src/gpu/gl/
DGrGLGpu.h581 GrBlendEquation fEquation;
DGrGLGpu.cpp2875 GrBlendEquation equation = blendInfo.fEquation; in flushBlend()
2892 GrBlendEquation blend_equation = kAdd_GrBlendEquation; in flushBlend()

12