Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp148 inline static const SkPaint* nonAAPaint(const SkPaint* origPaint, SkPaint* tmpPaint) { in nonAAPaint() argument
150 *tmpPaint = *origPaint; in nonAAPaint()
151 tmpPaint->setAntiAlias(false); in nonAAPaint()
152 return tmpPaint; in nonAAPaint()
160 SkPaint tmpPaint; in drawBitmap() local
161 mRecorder.drawImage(image, left, top, nonAAPaint(paint, &tmpPaint)); in drawBitmap()
175 SkPaint tmpPaint; in drawBitmap() local
176 mRecorder.drawImage(image, 0, 0, nonAAPaint(paint, &tmpPaint)); in drawBitmap()
188 SkPaint tmpPaint; in drawBitmap() local
189 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.cpp625 SkPaint tmpPaint; in drawBitmapMesh() local
627 tmpPaint = *paint; in drawBitmapMesh()
631 tmpPaint.setShader(image->makeShader(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode)); in drawBitmapMesh()
633 mCanvas->drawVertices(builder.detach(), SkBlendMode::kModulate, tmpPaint); in drawBitmapMesh()
DVectorDrawable.cpp460 SkPaint tmpPaint; in drawStaging() local
461 SkPaint* paint = updatePaint(&tmpPaint, &mStagingProperties); in drawStaging()