OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dstCoeff
(Results
1 - 14
of
14
) 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
;
108
GrBlendCoeff
dstCoeff
) {
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))
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
;
108
GrBlendCoeff
dstCoeff
) {
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))
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
)) {
455
if(!append_porterduff_term(fsBuilder,
dstCoeff
, dstColor, srcColor, dstColor, didAppend)) {
470
SkBlendModeCoeff srcCoeff,
dstCoeff
;
474
dstCoeff
= SkBlendModeCoeff::kZero;
478
dstCoeff
= SkBlendModeCoeff::kZero;
482
dstCoeff
= SkBlendModeCoeff::kISC;
486
dstCoeff
= SkBlendModeCoeff::kISC;
490
dstCoeff
= SkBlendModeCoeff::kISC;
494
dstCoeff
= SkBlendModeCoeff::kZero
[
all
...]
/external/skqp/src/gpu/glsl/
GrGLSLBlend.cpp
442
SkBlendModeCoeff srcCoeff,
dstCoeff
;
443
if (SkBlendMode_AsCoeff(mode, &srcCoeff, &
dstCoeff
)) {
455
if(!append_porterduff_term(fsBuilder,
dstCoeff
, dstColor, srcColor, dstColor, didAppend)) {
470
SkBlendModeCoeff srcCoeff,
dstCoeff
;
474
dstCoeff
= SkBlendModeCoeff::kZero;
478
dstCoeff
= SkBlendModeCoeff::kZero;
482
dstCoeff
= SkBlendModeCoeff::kISC;
486
dstCoeff
= SkBlendModeCoeff::kISC;
490
dstCoeff
= SkBlendModeCoeff::kISC;
494
dstCoeff
= SkBlendModeCoeff::kZero
[
all
...]
/external/skia/src/gpu/effects/
GrPorterDuffXferProcessor.cpp
47
GrBlendCoeff srcCoeff, GrBlendCoeff
dstCoeff
)
52
, fDstCoeff(
dstCoeff
)
53
, fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff,
dstCoeff
)) {}
98
GrBlendCoeff
dstCoeff
() const {
145
GrBlendCoeff
DstCoeff
);
175
GrBlendCoeff
DstCoeff
) {
177
(GrBlendModifiesDst(BlendEquation, SrcCoeff,
DstCoeff
) ? kModifiesDst_Property : 0) |
178
(GrBlendCoeffsUseDstColor(SrcCoeff,
DstCoeff
) ? kUsesDstColor_Property : 0) |
179
((PrimaryOut >= kModulate_OutputType && GrBlendCoeffsUseSrcColor(SrcCoeff,
DstCoeff
)) ||
181
GrBlendCoeffRefsSrc2(
DstCoeff
))
[
all
...]
/external/skqp/src/gpu/effects/
GrPorterDuffXferProcessor.cpp
47
GrBlendCoeff srcCoeff, GrBlendCoeff
dstCoeff
)
52
, fDstCoeff(
dstCoeff
)
53
, fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff,
dstCoeff
)) {}
98
GrBlendCoeff
dstCoeff
() const {
145
GrBlendCoeff
DstCoeff
);
175
GrBlendCoeff
DstCoeff
) {
177
(GrBlendModifiesDst(BlendEquation, SrcCoeff,
DstCoeff
) ? kModifiesDst_Property : 0) |
178
(GrBlendCoeffsUseDstColor(SrcCoeff,
DstCoeff
) ? kUsesDstColor_Property : 0) |
179
((PrimaryOut >= kModulate_OutputType && GrBlendCoeffsUseSrcColor(SrcCoeff,
DstCoeff
)) ||
181
GrBlendCoeffRefsSrc2(
DstCoeff
))
[
all
...]
/external/skia/src/gpu/vk/
GrVkPipeline.cpp
438
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
440
kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff ==
dstCoeff
;
446
attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(
dstCoeff
);
449
attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(
dstCoeff
);
634
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
636
if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(
dstCoeff
)) {
/external/skqp/src/gpu/vk/
GrVkPipeline.cpp
434
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
436
kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff ==
dstCoeff
;
442
attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(
dstCoeff
);
445
attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(
dstCoeff
);
623
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
625
if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(
dstCoeff
)) {
/external/skia/src/gpu/mtl/
GrMtlPipelineStateBuilder.mm
288
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
290
kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff ==
dstCoeff
;
295
mtlColorAttachment.destinationRGBBlendFactor = blend_coeff_to_mtl_blend(
dstCoeff
);
298
mtlColorAttachment.destinationAlphaBlendFactor = blend_coeff_to_mtl_blend(
dstCoeff
);
GrMtlPipelineState.mm
185
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
186
if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(
dstCoeff
)) {
/external/skqp/src/gpu/mtl/
GrMtlPipelineStateBuilder.mm
285
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
287
kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff ==
dstCoeff
;
292
mtlColorAttachment.destinationRGBBlendFactor = blend_coeff_to_mtl_blend(
dstCoeff
);
295
mtlColorAttachment.destinationAlphaBlendFactor = blend_coeff_to_mtl_blend(
dstCoeff
);
GrMtlPipelineState.mm
185
GrBlendCoeff
dstCoeff
= blendInfo.fDstBlend;
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 3190 milliseconds