HomeSort by relevance Sort by last modified time
    Searched refs:dstCoeff (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/gpu/
GrRODrawState.cpp 173 GrBlendCoeff* dstCoeff) const {
178 if (NULL == dstCoeff) {
179 dstCoeff = &bogusDstCoeff;
183 *dstCoeff = this->getDstBlendCoeff();
187 *dstCoeff = kOne_GrBlendCoeff;
191 bool dstCoeffIsOne = kOne_GrBlendCoeff == *dstCoeff ||
192 (kSA_GrBlendCoeff == *dstCoeff && srcAIsOne);
193 bool dstCoeffIsZero = kZero_GrBlendCoeff == *dstCoeff ||
194 (kISA_GrBlendCoeff == *dstCoeff && srcAIsOne);
203 *dstCoeff = kOne_GrBlendCoeff
    [all...]
GrBlend.h 40 GrBlendCoeff* dstCoeff,
GrBlend.cpp 131 GrBlendCoeff* dstCoeff,
142 GrBlendCoeff spoofedCoeff = swap_coeff_src_dst(*dstCoeff);
147 *dstCoeff = swap_coeff_src_dst(spoofedCoeff);
GrPaint.cpp 75 GrBlendCoeff dstCoeff = fDstBlendCoeff;
76 GrSimplifyBlend(&srcCoeff, &dstCoeff, color, colorComps, 0, 0, 0);
78 bool opaque = kZero_GrBlendCoeff == dstCoeff && !GrBlendCoeffRefsDst(srcCoeff);
GrDrawState.cpp 18 GrBlendCoeff dstCoeff;
19 BlendOptFlags blendFlags = this->getBlendOpts(false, &srcCoeff, &dstCoeff);
20 fCachedOptState = SkNEW_ARGS(GrOptDrawState, (*this, blendFlags, srcCoeff, dstCoeff, caps));
25 GrBlendCoeff dstCoeff;
26 BlendOptFlags blendFlags = this->getBlendOpts(false, &srcCoeff, &dstCoeff);
27 SkASSERT(GrOptDrawState(*this, blendFlags, srcCoeff, dstCoeff, caps) == *fCachedOptState);
306 GrBlendCoeff dstCoeff;
307 BlendOptFlags flag = this->getBlendOpts(true, &srcCoeff, &dstCoeff);
310 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff);
GrDrawState.h 311 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
312 if (srcCoeff != fSrcBlend || dstCoeff != fDstBlend) {
314 fDstBlend = dstCoeff;
318 if (GrBlendCoeffRefsDst(dstCoeff)) {
GrRODrawState.h 385 * to be tweaked in order for the optimization to work. srcCoeff and dstCoeff are optional
398 GrBlendCoeff* dstCoeff = NULL) const;
  /external/skia/src/gpu/
GrBlend.h 40 GrBlendCoeff* dstCoeff,
GrDrawState.cpp 288 GrBlendCoeff* dstCoeff) const {
296 if (NULL == dstCoeff) {
297 dstCoeff = &bogusDstCoeff;
299 *dstCoeff = this->getDstBlendCoeff();
303 *dstCoeff = kOne_GrBlendCoeff;
307 bool dstCoeffIsOne = kOne_GrBlendCoeff == *dstCoeff ||
308 (kSA_GrBlendCoeff == *dstCoeff && srcAIsOne);
309 bool dstCoeffIsZero = kZero_GrBlendCoeff == *dstCoeff ||
310 (kISA_GrBlendCoeff == *dstCoeff && srcAIsOne);
345 *dstCoeff = kZero_GrBlendCoeff
    [all...]
GrBlend.cpp 131 GrBlendCoeff* dstCoeff,
142 GrBlendCoeff spoofedCoeff = swap_coeff_src_dst(*dstCoeff);
147 *dstCoeff = swap_coeff_src_dst(spoofedCoeff);
GrPaint.cpp 79 GrBlendCoeff dstCoeff = fDstBlendCoeff;
80 GrSimplifyBlend(&srcCoeff, &dstCoeff, color, colorComps, 0, 0, 0);
82 bool opaque = kZero_GrBlendCoeff == dstCoeff && !GrBlendCoeffRefsDst(srcCoeff);
GrDrawState.h 453 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
455 fCommon.fDstBlend = dstCoeff;
457 if (GrBlendCoeffRefsDst(dstCoeff)) {
535 * to be tweaked in order for the optimization to work. srcCoeff and dstCoeff are optional
545 GrBlendCoeff* dstCoeff = NULL) const;
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkPaintPriv.cpp 24 SkXfermode::Coeff srcCoeff, dstCoeff;
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){
30 switch (dstCoeff) {
  /external/skia/src/core/
SkPaintPriv.cpp 24 SkXfermode::Coeff srcCoeff, dstCoeff;
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){
30 switch (dstCoeff) {
  /external/skia/src/gpu/gl/
GrGLProgramDesc.cpp 43 GrBlendCoeff dstCoeff,
232 if (kZero_GrBlendCoeff == dstCoeff) {
236 } else if (kSA_GrBlendCoeff == dstCoeff) {
240 } else if (kSC_GrBlendCoeff == dstCoeff) {
247 kZero_GrBlendCoeff == dstCoeff) {
GrGpuGL_program.cpp 228 GrBlendCoeff dstCoeff;
229 GrDrawState::BlendOptFlags blendOpts = drawState.getBlendOpts(false, &srcCoeff, &dstCoeff);
241 dstCoeff,
267 fCurrentProgram->overrideBlend(&srcCoeff, &dstCoeff);
268 this->flushBlend(kDrawLines_DrawType == type, srcCoeff, dstCoeff);
GrGLProgram.cpp 62 GrBlendCoeff* dstCoeff) const {
71 *dstCoeff = (GrBlendCoeff)GrGpu::kIS2C_GrBlendCoeff;
75 SkASSERT(kOne_GrBlendCoeff == *srcCoeff && kZero_GrBlendCoeff == *dstCoeff);
GrGLProgram.h 56 void overrideBlend(GrBlendCoeff* srcCoeff, GrBlendCoeff* dstCoeff) const;
GrGLProgramDesc.h 71 GrBlendCoeff dstCoeff,
  /external/chromium_org/third_party/skia/include/gpu/
GrPaint.h 56 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
58 fDstBlendCoeff = dstCoeff;
  /external/chromium_org/third_party/skia/src/effects/
SkColorFilters.cpp 190 SkXfermode::Coeff srcCoeff, dstCoeff;
191 if (!SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) {
201 SkXfermode::Coeff dstCoeff;
203 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
205 return GrBlendCoeffRefsSrc(sk_blend_to_grblend(dstCoeff));
281 SkXfermode::Coeff dstCoeff;
283 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
285 if (SkXfermode::kZero_Coeff == dstCoeff &&
  /external/skia/include/gpu/
GrPaint.h 56 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
58 fDstBlendCoeff = dstCoeff;
  /external/skia/src/effects/
SkColorFilters.cpp 193 SkXfermode::Coeff srcCoeff, dstCoeff;
194 if (!SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) {
205 SkXfermode::Coeff dstCoeff;
207 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
209 return GrBlendCoeffRefsSrc(sk_blend_to_grblend(dstCoeff));
282 SkXfermode::Coeff dstCoeff;
284 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
286 if (SkXfermode::kZero_Coeff == dstCoeff && !GrBlendCoeffRefsDst(sk_blend_to_grblend(srcCoeff))) {
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGpuGL_program.cpp 222 GrBlendCoeff dstCoeff = optState->getDstBlendCoeff();
225 if (kZero_GrBlendCoeff == srcCoeff && kOne_GrBlendCoeff == dstCoeff &&
237 dstCoeff,
265 this->flushBlend(*optState.get(), kDrawLines_DrawType == type, srcCoeff, dstCoeff);
GrGLProgramDesc.h 68 GrBlendCoeff dstCoeff,

Completed in 3415 milliseconds

1 2