HomeSort by relevance Sort by last modified time
    Searched refs:srcCoeff (Results 1 - 18 of 18) sorted by null

  /external/skia/include/gpu/
GrBlend.h 94 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
95 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff);
98 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
99 return GrBlendCoeffRefsDst(srcCoeff) || kZero_GrBlendCoeff != dstCoeff;
107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff,
110 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff;
118 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D
119 * = f * S * srcCoeff + D * (f * dstCoeff + (1 - f))
121 * (Let srcCoeff be negative for reverse subtract.) We can tweak alpha for coverage when the
124 * (f*S) * srcCoeff' + D * dstCoeff' == f * S * srcCoeff + D * (f * dstCoeff + (1 - f)
    [all...]
  /external/skqp/include/gpu/
GrBlend.h 94 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
95 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff);
98 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
99 return GrBlendCoeffRefsDst(srcCoeff) || kZero_GrBlendCoeff != dstCoeff;
107 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff,
110 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff;
118 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D
119 * = f * S * srcCoeff + D * (f * dstCoeff + (1 - f))
121 * (Let srcCoeff be negative for reverse subtract.) We can tweak alpha for coverage when the
124 * (f*S) * srcCoeff' + D * dstCoeff' == f * S * srcCoeff + D * (f * dstCoeff + (1 - f)
    [all...]
  /external/skia/src/gpu/glsl/
GrGLSLBlend.cpp 442 SkBlendModeCoeff srcCoeff, dstCoeff;
443 if (SkBlendMode_AsCoeff(mode, &srcCoeff, &dstCoeff)) {
452 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor,
470 SkBlendModeCoeff srcCoeff, dstCoeff;
473 srcCoeff = SkBlendModeCoeff::kOne;
477 srcCoeff = SkBlendModeCoeff::kDC;
481 srcCoeff = SkBlendModeCoeff::kOne;
485 srcCoeff = SkBlendModeCoeff::kIDC;
489 srcCoeff = SkBlendModeCoeff::kZero;
493 srcCoeff = SkBlendModeCoeff::kIDC
    [all...]
  /external/skqp/src/gpu/glsl/
GrGLSLBlend.cpp 442 SkBlendModeCoeff srcCoeff, dstCoeff;
443 if (SkBlendMode_AsCoeff(mode, &srcCoeff, &dstCoeff)) {
452 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor,
470 SkBlendModeCoeff srcCoeff, dstCoeff;
473 srcCoeff = SkBlendModeCoeff::kOne;
477 srcCoeff = SkBlendModeCoeff::kDC;
481 srcCoeff = SkBlendModeCoeff::kOne;
485 srcCoeff = SkBlendModeCoeff::kIDC;
489 srcCoeff = SkBlendModeCoeff::kZero;
493 srcCoeff = SkBlendModeCoeff::kIDC
    [all...]
  /external/skia/src/gpu/effects/
GrPorterDuffXferProcessor.cpp 47 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff)
51 , fSrcCoeff(srcCoeff)
53 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {}
93 GrBlendCoeff srcCoeff() const {
144 GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff,
174 GrBlendCoeff SrcCoeff,
177 (GrBlendModifiesDst(BlendEquation, SrcCoeff, DstCoeff) ? kModifiesDst_Property : 0) |
178 (GrBlendCoeffsUseDstColor(SrcCoeff, DstCoeff) ? kUsesDstColor_Property : 0) |
179 ((PrimaryOut >= kModulate_OutputType && GrBlendCoeffsUseSrcColor(SrcCoeff, DstCoeff)) ||
183 : 0) | // We assert later that SrcCoeff doesn't ref src2
    [all...]
  /external/skqp/src/gpu/effects/
GrPorterDuffXferProcessor.cpp 47 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff)
51 , fSrcCoeff(srcCoeff)
53 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {}
93 GrBlendCoeff srcCoeff() const {
144 GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff,
174 GrBlendCoeff SrcCoeff,
177 (GrBlendModifiesDst(BlendEquation, SrcCoeff, DstCoeff) ? kModifiesDst_Property : 0) |
178 (GrBlendCoeffsUseDstColor(SrcCoeff, DstCoeff) ? kUsesDstColor_Property : 0) |
179 ((PrimaryOut >= kModulate_OutputType && GrBlendCoeffsUseSrcColor(SrcCoeff, DstCoeff)) ||
183 : 0) | // We assert later that SrcCoeff doesn't ref src2
    [all...]
  /external/skia/src/gpu/vk/
GrVkPipeline.cpp 437 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
440 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff;
445 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
448 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
633 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
636 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) {
  /external/skqp/src/gpu/vk/
GrVkPipeline.cpp 433 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
436 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff;
441 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
444 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
622 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
625 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) {
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorShuffling.h 163 return m_impl.coeff(srcCoeff(index));
191 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const {
245 return this->m_impl.coeffRef(this->srcCoeff(index));
TensorStriding.h 161 return m_impl.coeff(srcCoeff(index));
228 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
286 return this->m_impl.coeffRef(this->srcCoeff(index));
TensorMorphing.h 390 Index offset = srcCoeff(i);
405 return m_impl.coeff(srcCoeff(index));
498 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
558 return this->m_impl.coeffRef(this->srcCoeff(index));
803 return m_impl.coeff(srcCoeff(index));
815 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
    [all...]
TensorChipping.h 199 return m_impl.coeff(srcCoeff(index));
278 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
338 return this->m_impl.coeffRef(this->srcCoeff(index));
  /external/skia/src/gpu/mtl/
GrMtlPipelineStateBuilder.mm 287 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
290 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff;
294 mtlColorAttachment.sourceRGBBlendFactor = blend_coeff_to_mtl_blend(srcCoeff);
297 mtlColorAttachment.sourceAlphaBlendFactor = blend_coeff_to_mtl_blend(srcCoeff);
GrMtlPipelineState.mm 184 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
186 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) {
  /external/skqp/src/gpu/mtl/
GrMtlPipelineStateBuilder.mm 284 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
287 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff;
291 mtlColorAttachment.sourceRGBBlendFactor = blend_coeff_to_mtl_blend(srcCoeff);
294 mtlColorAttachment.sourceAlphaBlendFactor = blend_coeff_to_mtl_blend(srcCoeff);
GrMtlPipelineState.mm 184 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
186 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) {
  /external/skqp/src/gpu/gl/
GrGLGpu.cpp     [all...]
  /external/skia/src/gpu/gl/
GrGLGpu.cpp     [all...]

Completed in 2457 milliseconds