Lines Matching refs:blend
266 if (mCaches.blend) { in syncState()
1000 bool blend = layer->isBlend() || getLayerAlpha(layer) < 1.0f; in composeLayerRect() local
1002 layer->getTexture(), &layerPaint, blend, in composeLayerRect()
1675 bool blend = layer->isBlend() || getLayerAlpha(layer) < 1.0f ||
1677 chooseBlending(blend, mode, mDescription, swapSrcDst);
1680 void OpenGLRenderer::setupDrawBlending(const SkPaint* paint, bool blend, bool swapSrcDst) {
1685 blend |= (mColorSet && mColorA < 1.0f) ||
1688 chooseBlending(blend, mode, mDescription, swapSrcDst);
1985 texture->id, paint, texture->blend, &vertices[0].x, &vertices[0].u,
2223 texture->id, paint, texture->blend,
2297 texture->blend, (GLvoid*) mesh->offset, (GLvoid*) mesh->textureOffset,
2321 texture->blend, &vertices[0].x, &vertices[0].u,
3284 paint, texture->blend, vertices, texCoords,
3289 texture->blend, vertices, texCoords, GL_TRIANGLE_STRIP, gMeshCount);
3298 GLuint texture, const SkPaint* paint, bool blend,
3312 setupDrawBlending(paint, blend, swapSrcDst);
3325 GLuint texture, const SkPaint* paint, bool blend,
3339 setupDrawBlending(paint, blend, swapSrcDst);
3381 void OpenGLRenderer::chooseBlending(bool blend, SkXfermode::Mode mode,
3385 blend = true;
3390 blend = blend || mode != SkXfermode::kSrcOver_Mode;
3392 if (blend) {
3403 if (mCaches.blend) {
3405 mCaches.blend = false;
3414 if (!mCaches.blend) {
3426 } else if (mCaches.blend) {
3429 mCaches.blend = blend;