Home
last modified time | relevance | path

Searched refs:fRenderTarget (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/gpu/
DGrRenderTarget.cpp65 SkRefCnt_SafeAssign(fRenderTarget->fStencilAttachment, stencilAttachment); in didAttachStencilAttachment()
69 if (fRenderTarget->fStencilAttachment) { in attachStencilAttachment()
70 return fRenderTarget->fStencilAttachment; in attachStencilAttachment()
72 if (!fRenderTarget->wasDestroyed() && fRenderTarget->canAttemptStencilAttachment()) { in attachStencilAttachment()
73 fRenderTarget->getGpu()->attachStencilAttachmentToRenderTarget(fRenderTarget); in attachStencilAttachment()
75 return fRenderTarget->fStencilAttachment; in attachStencilAttachment()
DSkGpuDevice.cpp161 fRenderTarget = SkRef(rt); in SkGpuDevice()
169 fTextContext = fContext->createTextContext(fRenderTarget, this, this->getLeakyProperties(), in SkGpuDevice()
231 fRenderTarget->unref(); in ~SkGpuDevice()
251 return fContext->readRenderTargetPixels(fRenderTarget, x, y, dstInfo.width(), dstInfo.height(), in onReadPixels()
266 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); in onWritePixels()
306 return fRenderTarget; in accessRenderTarget()
313 fContext->clear(&rect, color, true, fRenderTarget); in clearAll()
322 fRenderTarget->resourcePriv().isBudgeted() ? SkSurface::kYes_Budgeted in replaceRenderTarget()
326 fRenderTarget->getContext(), budgeted, this->imageInfo(), fRenderTarget->numSamples())); in replaceRenderTarget()
333 if (fRenderTarget->wasDestroyed()) { in replaceRenderTarget()
[all …]
DGrTargetCommands.h121 , fRenderTarget(rt) in StencilPath()
133 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
177 Clear(GrRenderTarget* rt) : Cmd(kClear_CmdType), fRenderTarget(rt) {} in Clear()
179 GrRenderTarget* renderTarget() const { return fRenderTarget.get(); } in renderTarget()
188 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
193 ClearStencilClip(GrRenderTarget* rt) : Cmd(kClear_CmdType), fRenderTarget(rt) {} in ClearStencilClip()
195 GrRenderTarget* renderTarget() const { return fRenderTarget.get(); } in renderTarget()
203 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
247 , fRenderTarget(rt) { in XferBarrier()
255 GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> fRenderTarget;
DGrRenderTargetPriv.h21 GrStencilAttachment* getStencilAttachment() const { return fRenderTarget->fStencilAttachment; } in getStencilAttachment()
32 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv()
40 GrRenderTarget* fRenderTarget; variable
DGrPipeline.cpp54 fRenderTarget.reset(pipelineBuilder.fRenderTarget.get()); in GrPipeline()
55 SkASSERT(fRenderTarget); in GrPipeline()
DGrTargetCommands.cpp59 state.fRenderTarget = fRenderTarget.get(); in execute()
114 gpu->xferBarrier(fRenderTarget.get(), fBarrierType); in execute()
DGrTextContext.cpp39 fRenderTarget.reset(SkRef(rt)); in init()
42 fClip.getConservativeBounds(fRenderTarget->width(), fRenderTarget->height(), &fClipRect); in init()
121 if (!SkPaint2GrPaint(fContext, fRenderTarget, runPaint, viewMatrix, true, &grPaint)) { in drawTextBlob()
DGrPipeline.h75 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget()
129 RenderTarget fRenderTarget; variable
DGrPipelineBuilder.h197 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget()
204 void setRenderTarget(GrRenderTarget* target) { fRenderTarget.reset(SkSafeRef(target)); } in setRenderTarget()
424 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
DGrPipelineBuilder.cpp29 fRenderTarget.reset(SkSafeRef(that.fRenderTarget.get())); in operator =()
DGrTextContext.h54 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
DGrStencilAndCoverTextContext.cpp373 fPipelineBuilder.setFromPaint(fPaint, fRenderTarget, fClip); in init()
461 fFallbackTextContext->drawPosText(fRenderTarget, fClip, paintFallback, skPaintFallback, in flush()
DSkGpuDevice.h155 GrRenderTarget* fRenderTarget; variable
DGrGpu.h304 GrRenderTarget* fRenderTarget; member
/external/skia/example/
DHelloWorld.cpp32 fRenderTarget = NULL; in HelloWorldWindow()
49 SkSafeUnref(fRenderTarget); in tearDownBackend()
50 fRenderTarget = NULL; in tearDownBackend()
85 SkSafeUnref(fRenderTarget); in setUpRenderTarget()
86 fRenderTarget = this->renderTarget(fAttachmentInfo, fInterface, fContext); in setUpRenderTarget()
164 fRenderTarget->writePixels(0, 0, snap->width(), snap->height(), in draw()
DHelloWorld.h39 return SkSurface::NewRenderTargetDirect(fRenderTarget, &props); in createSurface()
65 GrRenderTarget* fRenderTarget; variable
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1940 GrGLRenderTarget* rt = static_cast<GrGLRenderTarget*>(state.fRenderTarget); in onStencilPath()