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

1 2

  /external/chromium_org/third_party/skia/src/gpu/
GrBlend.cpp 56 static GrColor simplify_blend_term(GrBlendCoeff* srcCoeff,
61 SkASSERT(!GrBlendCoeffRefsSrc(*srcCoeff));
62 SkASSERT(NULL != srcCoeff);
64 // Check whether srcCoeff can be reduced to kOne or kZero based on known color inputs.
67 switch (*srcCoeff) {
73 *srcCoeff = kOne_GrBlendCoeff;
75 *srcCoeff = kZero_GrBlendCoeff;
85 *srcCoeff = kOne_GrBlendCoeff;
87 *srcCoeff = kZero_GrBlendCoeff;
96 *srcCoeff = kOne_GrBlendCoeff
    [all...]
GrBlend.h 39 GrColor GrSimplifyBlend(GrBlendCoeff* srcCoeff,
GrPaint.cpp 78 GrBlendCoeff srcCoeff = fSrcBlendCoeff;
80 GrSimplifyBlend(&srcCoeff, &dstCoeff, color, colorComps, 0, 0, 0);
82 bool opaque = kZero_GrBlendCoeff == dstCoeff && !GrBlendCoeffRefsDst(srcCoeff);
85 switch (srcCoeff) {
107 GrCrash("srcCoeff should not refer to src or dst.");
GrDrawState.cpp 287 GrBlendCoeff* srcCoeff,
291 if (NULL == srcCoeff) {
292 srcCoeff = &bogusSrcCoeff;
294 *srcCoeff = this->getSrcBlendCoeff();
302 *srcCoeff = kZero_GrBlendCoeff;
318 if ((kZero_GrBlendCoeff == *srcCoeff && dstCoeffIsOne) || covIsZero) {
337 if (kOne_GrBlendCoeff == *srcCoeff) {
341 } else if (kZero_GrBlendCoeff == *srcCoeff) {
344 *srcCoeff = kOne_GrBlendCoeff;
359 if (kZero_GrBlendCoeff == *srcCoeff) {
    [all...]
GrDrawState.h 452 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
453 fCommon.fSrcBlend = srcCoeff;
459 if (GrBlendCoeffRefsSrc(srcCoeff)) {
534 * to be tweaked in order for the optimization to work. srcCoeff and dstCoeff are optional
543 GrBlendCoeff* srcCoeff = NULL,
    [all...]
  /external/skia/src/gpu/
GrBlend.cpp 56 static GrColor simplify_blend_term(GrBlendCoeff* srcCoeff,
61 SkASSERT(!GrBlendCoeffRefsSrc(*srcCoeff));
62 SkASSERT(NULL != srcCoeff);
64 // Check whether srcCoeff can be reduced to kOne or kZero based on known color inputs.
67 switch (*srcCoeff) {
73 *srcCoeff = kOne_GrBlendCoeff;
75 *srcCoeff = kZero_GrBlendCoeff;
85 *srcCoeff = kOne_GrBlendCoeff;
87 *srcCoeff = kZero_GrBlendCoeff;
96 *srcCoeff = kOne_GrBlendCoeff
    [all...]
GrBlend.h 39 GrColor GrSimplifyBlend(GrBlendCoeff* srcCoeff,
GrPaint.cpp 78 GrBlendCoeff srcCoeff = fSrcBlendCoeff;
80 GrSimplifyBlend(&srcCoeff, &dstCoeff, color, colorComps, 0, 0, 0);
82 bool opaque = kZero_GrBlendCoeff == dstCoeff && !GrBlendCoeffRefsDst(srcCoeff);
85 switch (srcCoeff) {
107 GrCrash("srcCoeff should not refer to src or dst.");
GrDrawState.cpp 287 GrBlendCoeff* srcCoeff,
291 if (NULL == srcCoeff) {
292 srcCoeff = &bogusSrcCoeff;
294 *srcCoeff = this->getSrcBlendCoeff();
302 *srcCoeff = kZero_GrBlendCoeff;
318 if ((kZero_GrBlendCoeff == *srcCoeff && dstCoeffIsOne) || covIsZero) {
337 if (kOne_GrBlendCoeff == *srcCoeff) {
341 } else if (kZero_GrBlendCoeff == *srcCoeff) {
344 *srcCoeff = kOne_GrBlendCoeff;
359 if (kZero_GrBlendCoeff == *srcCoeff) {
    [all...]
GrDrawState.h 452 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
453 fCommon.fSrcBlend = srcCoeff;
459 if (GrBlendCoeffRefsSrc(srcCoeff)) {
534 * to be tweaked in order for the optimization to work. srcCoeff and dstCoeff are optional
543 GrBlendCoeff* srcCoeff = NULL,
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkPaintPriv.cpp 24 SkXfermode::Coeff srcCoeff, dstCoeff;
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){
26 if (SkXfermode::kDA_Coeff == srcCoeff || SkXfermode::kDC_Coeff == srcCoeff ||
27 SkXfermode::kIDA_Coeff == srcCoeff || SkXfermode::kIDC_Coeff == srcCoeff) {
  /external/skia/src/core/
SkPaintPriv.cpp 24 SkXfermode::Coeff srcCoeff, dstCoeff;
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){
26 if (SkXfermode::kDA_Coeff == srcCoeff || SkXfermode::kDC_Coeff == srcCoeff ||
27 SkXfermode::kIDA_Coeff == srcCoeff || SkXfermode::kIDC_Coeff == srcCoeff) {
  /external/chromium_org/third_party/skia/include/gpu/
GrPaint.h 56 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
57 fSrcBlendCoeff = srcCoeff;
  /external/skia/include/gpu/
GrPaint.h 56 void setBlendFunc(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
57 fSrcBlendCoeff = srcCoeff;
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGpuGL_program.cpp 225 GrBlendCoeff srcCoeff;
227 GrDrawState::BlendOptFlags blendOpts = drawState.getBlendOpts(false, &srcCoeff, &dstCoeff);
238 srcCoeff,
264 fCurrentProgram->overrideBlend(&srcCoeff, &dstCoeff);
265 this->flushBlend(kDrawLines_DrawType == type, srcCoeff, dstCoeff);
GrGLProgram.h 56 void overrideBlend(GrBlendCoeff* srcCoeff, GrBlendCoeff* dstCoeff) const;
GrGLProgramDesc.cpp 42 GrBlendCoeff srcCoeff,
250 kOne_GrBlendCoeff == srcCoeff &&
GrGLProgramDesc.h 69 GrBlendCoeff srcCoeff,
GrGLProgram.cpp 75 void GrGLProgram::overrideBlend(GrBlendCoeff* srcCoeff,
89 SkASSERT(kOne_GrBlendCoeff == *srcCoeff && kZero_GrBlendCoeff == *dstCoeff);
  /external/skia/src/gpu/gl/
GrGpuGL_program.cpp 225 GrBlendCoeff srcCoeff;
227 GrDrawState::BlendOptFlags blendOpts = drawState.getBlendOpts(false, &srcCoeff, &dstCoeff);
238 srcCoeff,
264 fCurrentProgram->overrideBlend(&srcCoeff, &dstCoeff);
265 this->flushBlend(kDrawLines_DrawType == type, srcCoeff, dstCoeff);
GrGLProgram.h 56 void overrideBlend(GrBlendCoeff* srcCoeff, GrBlendCoeff* dstCoeff) const;
GrGLProgramDesc.cpp 42 GrBlendCoeff srcCoeff,
250 kOne_GrBlendCoeff == srcCoeff &&
GrGLProgramDesc.h 69 GrBlendCoeff srcCoeff,
  /external/chromium_org/third_party/skia/src/effects/
SkColorFilters.cpp 193 SkXfermode::Coeff srcCoeff, dstCoeff;
194 if (!SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) {
206 SkXfermode::Coeff srcCoeff;
207 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
208 if (SkXfermode::kZero_Coeff == srcCoeff) {
283 SkXfermode::Coeff srcCoeff;
284 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
286 if (SkXfermode::kZero_Coeff == dstCoeff && !GrBlendCoeffRefsDst(sk_blend_to_grblend(srcCoeff))) {
  /external/skia/src/effects/
SkColorFilters.cpp 193 SkXfermode::Coeff srcCoeff, dstCoeff;
194 if (!SkXfermode::ModeAsCoeff(mode, &srcCoeff, &dstCoeff)) {
206 SkXfermode::Coeff srcCoeff;
207 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
208 if (SkXfermode::kZero_Coeff == srcCoeff) {
283 SkXfermode::Coeff srcCoeff;
284 SkAssertResult(SkXfermode::ModeAsCoeff(fMode, &srcCoeff, &dstCoeff));
286 if (SkXfermode::kZero_Coeff == dstCoeff && !GrBlendCoeffRefsDst(sk_blend_to_grblend(srcCoeff))) {

Completed in 942 milliseconds

1 2