Lines Matching defs:blending
1 /* libs/pixelflinger/codeflinger/blending.cpp
76 const int blending = blending_codes(fs, fd);
78 // here, blending will produce something which doesn't depend on
84 // we are doing real blending...
91 comment("blending");
121 if (blending & (BLEND_DST|FACTOR_DST)) {
160 if ((blending & BLEND_SRC) && !same_factor_opt1) {
161 // source (fragment) is needed for the blending stage
187 // if destination (fb) is not needed for the blending stage,
189 if (!(blending & BLEND_DST)) {
263 // src_factor/dst_factor won't be used after blending,
291 // the blending stage uses the f/(1-f) optimization
378 int blending = 0;
381 blending |= BLEND_SRC;
386 blending |= FACTOR_DST|BLEND_SRC;
392 blending |= BLEND_SRC;
397 blending |= FACTOR_SRC|BLEND_SRC;
402 blending |= FACTOR_SRC|BLEND_SRC;
407 blending |= BLEND_DST;
412 blending |= FACTOR_DST|BLEND_DST;
416 blending |= FACTOR_DST|BLEND_DST;
421 blending |= FACTOR_SRC|BLEND_DST;
427 blending |= BLEND_DST;
430 return blending;