Lines Matching refs:fRenderTarget
173 , fRenderTarget(SkRef(rt)) { in SkGpuDevice()
244 return fRenderTarget->readPixels(x, y, dstInfo.width(), dstInfo.height(), config, dstPixels, in onReadPixels()
260 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); in onWritePixels()
310 return fRenderTarget; in accessRenderTarget()
324 SkBudgeted budgeted = fRenderTarget->resourcePriv().isBudgeted(); in replaceRenderTarget()
327 this->context(), budgeted, this->imageInfo(), fRenderTarget->desc().fSampleCnt, in replaceRenderTarget()
328 fRenderTarget->desc().fTextureStorageAllocator)); in replaceRenderTarget()
335 if (fRenderTarget->wasDestroyed()) { in replaceRenderTarget()
338 this->context()->copySurface(newRT, fRenderTarget); in replaceRenderTarget()
341 SkASSERT(fRenderTarget != newRT); in replaceRenderTarget()
343 fRenderTarget.reset(newRT.detach()); in replaceRenderTarget()
346 SkImageInfo info = fRenderTarget->surfacePriv().info(fOpaque ? kOpaque_SkAlphaType : in replaceRenderTarget()
350 SkPixelRef* pr = new SkGrPixelRef(fLegacyBitmap.info(), fRenderTarget); in replaceRenderTarget()
353 fDrawContext.reset(this->context()->drawContext(fRenderTarget, &this->surfaceProps())); in replaceRenderTarget()
568 bool applyAA = paint.isAntiAlias() && !fRenderTarget->isUnifiedMultisampled(); in drawFilledDRRect()
796 determine_clipped_src_rect(fRenderTarget, fClip, viewMatrix, imageRect.size(), in shouldTileImageID()
824 determine_clipped_src_rect(fRenderTarget, fClip, viewMatrix, imageRect.size(), srcRectPtr, in shouldTileImageID()
903 bool drawAA = !fRenderTarget->isUnifiedMultisampled() && in drawBitmap()
1002 if (origPaint.isAntiAlias() && !fRenderTarget->isUnifiedMultisampled()) { in drawTiledBitmap()
1318 bool drawAA = !fRenderTarget->isUnifiedMultisampled() && in drawBitmapRect()
1534 fRenderTarget->isUnifiedMultisampled(); in drawProducerNine()
1826 fRenderTarget->prepareForExternalIO(); in flush()
1834 desc.fConfig = fRenderTarget->config(); in onCreateDevice()
1838 desc.fSampleCnt = fRenderTarget->desc().fSampleCnt; in onCreateDevice()
1868 return SkSurface::NewRenderTarget(fContext, kBudgeted, info, fRenderTarget->desc().fSampleCnt, in newSurface()
1911 fRenderTarget->numColorSamples()); in EXPERIMENTAL_drawPicture()
1923 fRenderTarget->numColorSamples()); in EXPERIMENTAL_drawPicture()