/external/skia/src/gpu/ |
D | GrRenderTarget.cpp | 65 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()
|
D | SkGpuDevice.cpp | 161 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 …]
|
D | GrTargetCommands.h | 121 , 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;
|
D | GrRenderTargetPriv.h | 21 GrStencilAttachment* getStencilAttachment() const { return fRenderTarget->fStencilAttachment; } in getStencilAttachment() 32 explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} in GrRenderTargetPriv() 40 GrRenderTarget* fRenderTarget; variable
|
D | GrPipeline.cpp | 54 fRenderTarget.reset(pipelineBuilder.fRenderTarget.get()); in GrPipeline() 55 SkASSERT(fRenderTarget); in GrPipeline()
|
D | GrTargetCommands.cpp | 59 state.fRenderTarget = fRenderTarget.get(); in execute() 114 gpu->xferBarrier(fRenderTarget.get(), fBarrierType); in execute()
|
D | GrTextContext.cpp | 39 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()
|
D | GrPipeline.h | 75 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 129 RenderTarget fRenderTarget; variable
|
D | GrPipelineBuilder.h | 197 GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 204 void setRenderTarget(GrRenderTarget* target) { fRenderTarget.reset(SkSafeRef(target)); } in setRenderTarget() 424 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
D | GrPipelineBuilder.cpp | 29 fRenderTarget.reset(SkSafeRef(that.fRenderTarget.get())); in operator =()
|
D | GrTextContext.h | 54 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
D | GrStencilAndCoverTextContext.cpp | 373 fPipelineBuilder.setFromPaint(fPaint, fRenderTarget, fClip); in init() 461 fFallbackTextContext->drawPosText(fRenderTarget, fClip, paintFallback, skPaintFallback, in flush()
|
D | SkGpuDevice.h | 155 GrRenderTarget* fRenderTarget; variable
|
D | GrGpu.h | 304 GrRenderTarget* fRenderTarget; member
|
/external/skia/example/ |
D | HelloWorld.cpp | 32 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()
|
D | HelloWorld.h | 39 return SkSurface::NewRenderTargetDirect(fRenderTarget, &props); in createSurface() 65 GrRenderTarget* fRenderTarget; variable
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1940 GrGLRenderTarget* rt = static_cast<GrGLRenderTarget*>(state.fRenderTarget); in onStencilPath()
|