Home
last modified time | relevance | path

Searched refs:tmpPaint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp160 inline static const SkPaint* nonAAPaint(const SkPaint* origPaint, SkPaint* tmpPaint) { in nonAAPaint() argument
162 *tmpPaint = *origPaint; in nonAAPaint()
163 tmpPaint->setAntiAlias(false); in nonAAPaint()
164 return tmpPaint; in nonAAPaint()
178 SkPaint tmpPaint; in drawBitmap() local
179 mRecorder.drawImage(image, left, top, nonAAPaint(paint, &tmpPaint)); in drawBitmap()
192 SkPaint tmpPaint; in drawBitmap() local
193 mRecorder.drawImage(image, 0, 0, nonAAPaint(paint, &tmpPaint)); in drawBitmap()
207 SkPaint tmpPaint; in drawBitmap() local
208 mRecorder.drawImageRect(image, srcRect, dstRect, nonAAPaint(paint, &tmpPaint)); in drawBitmap()
[all …]
DRenderNodeDrawable.cpp180 SkPaint tmpPaint; in drawContent() local
181 if (layerNeedsPaint(layerProperties, alphaMultiplier, &tmpPaint)) { in drawContent()
182 paint = &tmpPaint; in drawContent()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp642 SkPaint tmpPaint; in drawBitmapMesh() local
644 tmpPaint = *paint; in drawBitmapMesh()
648 tmpPaint.setShader(image->makeShader(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode)); in drawBitmapMesh()
650 mCanvas->drawVertices(builder.detach(), SkBlendMode::kModulate, tmpPaint); in drawBitmapMesh()
DVectorDrawable.cpp459 SkPaint tmpPaint; in drawStaging() local
460 SkPaint* paint = updatePaint(&tmpPaint, &mStagingProperties); in drawStaging()