/external/skia/experimental/SkiaExamples/ |
D | SkExample.cpp | 61 SkSafeUnref(fRenderTarget); in tearDownBackend() 62 fRenderTarget = NULL; in tearDownBackend() 107 fRenderTarget = fContext->wrapBackendRenderTarget(desc); in setupRenderTarget() 109 fContext->setRenderTarget(fRenderTarget); in setupRenderTarget() 114 if (NULL != fContext && NULL != fRenderTarget) { in createCanvas() 115 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); in createCanvas() 135 fContext->setRenderTarget(fRenderTarget); in draw() 137 fRenderTarget->writePixels(0, 0, bm.width(), bm.height(), in draw()
|
D | SkExample.h | 75 GrRenderTarget* fRenderTarget; variable
|
/external/chromium_org/third_party/skia/experimental/SkiaExamples/ |
D | SkExample.cpp | 61 SkSafeUnref(fRenderTarget); in tearDownBackend() 62 fRenderTarget = NULL; in tearDownBackend() 107 fRenderTarget = fContext->wrapBackendRenderTarget(desc); in setupRenderTarget() 109 fContext->setRenderTarget(fRenderTarget); in setupRenderTarget() 114 if (NULL != fContext && NULL != fRenderTarget) { in createCanvas() 115 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); in createCanvas() 135 fContext->setRenderTarget(fRenderTarget); in draw() 137 fRenderTarget->writePixels(0, 0, bm.width(), bm.height(), in draw()
|
D | SkExample.h | 75 GrRenderTarget* fRenderTarget; variable
|
/external/skia/src/gpu/ |
D | GrDrawState.h | 636 fRenderTarget.reset(SkSafeRef(target)); in setRenderTarget() 644 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 645 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); } in getRenderTarget() 850 if (fRenderTarget.get() != s.fRenderTarget.get() || 872 this->setRenderTarget(s.fRenderTarget.get()); 886 fRenderTarget.reset(NULL); in onReset() 961 DeferredState() : fRenderTarget(NULL) { in DeferredState() 965 ~DeferredState() { SkSafeUnref(fRenderTarget); } in ~DeferredState() 970 fRenderTarget = drawState.fRenderTarget.get(); in saveFrom() 971 SkSafeRef(fRenderTarget); in saveFrom() [all …]
|
D | GrTexture.cpp | 19 if (NULL != fRenderTarget.get()) { in ~GrTexture() 20 fRenderTarget.get()->owningTextureDestroyed(); in ~GrTexture() 126 if (NULL != fRenderTarget.get()) { in onAbandon() 127 fRenderTarget->abandon(); in onAbandon()
|
D | GrInOrderDrawBuffer.h | 132 Clear() : fRenderTarget(NULL) {} in Clear() 133 ~Clear() { SkSafeUnref(fRenderTarget); } in ~Clear() 138 GrRenderTarget* fRenderTarget; member
|
D | SkGpuDevice.cpp | 175 fRenderTarget = NULL; in initFromRenderTarget() 179 fRenderTarget = renderTarget; in initFromRenderTarget() 180 fRenderTarget->ref(); in initFromRenderTarget() 186 GrSurface* surface = fRenderTarget->asTexture(); in initFromRenderTarget() 188 surface = fRenderTarget; in initFromRenderTarget() 241 if (fContext->getRenderTarget() == fRenderTarget) { in ~SkGpuDevice() 249 SkSafeUnref(fRenderTarget); in ~SkGpuDevice() 257 fContext->setRenderTarget(fRenderTarget); in makeRenderTargetCurrent() 276 return fContext->readRenderTargetPixels(fRenderTarget, x, y, dstInfo.width(), dstInfo.height(), in onReadPixels() 291 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); in onWritePixels() [all …]
|
D | GrInOrderDrawBuffer.cpp | 511 clr->fRenderTarget = renderTarget; in clear() 525 clr->fRenderTarget = renderTarget; in discard() 652 fDstGpu->discard(fClears[currClear].fRenderTarget); in flush() 657 fClears[currClear].fRenderTarget); in flush()
|
D | GrContext.cpp | 1397 target = fRenderTarget.get(); in readRenderTargetPixels() 1591 target = fRenderTarget.get(); in writeRenderTargetPixels() 1723 ASSERT_OWNED_RESOURCE(fRenderTarget.get()); in prepareToDraw() 1728 fDrawState->setFromPaint(*paint, fViewMatrix, fRenderTarget.get()); in prepareToDraw() 1737 fDrawState->setRenderTarget(fRenderTarget.get()); in prepareToDraw()
|
/external/chromium_org/third_party/skia/include/gpu/ |
D | GrTexture.h | 43 virtual GrRenderTarget* asRenderTarget() SK_OVERRIDE { return fRenderTarget.get(); } in asRenderTarget() 44 virtual const GrRenderTarget* asRenderTarget() const SK_OVERRIDE { return fRenderTarget.get(); } in asRenderTarget() 103 SkAutoTUnref<GrRenderTarget> fRenderTarget; 107 , fRenderTarget(NULL) { in GrTexture()
|
D | GrContext.h | 343 fRenderTarget.reset(SkSafeRef(target)); in setRenderTarget() 350 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 351 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); } in getRenderTarget() 997 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
/external/skia/include/gpu/ |
D | GrTexture.h | 42 virtual GrRenderTarget* asRenderTarget() SK_OVERRIDE { return fRenderTarget.get(); } in asRenderTarget() 43 virtual const GrRenderTarget* asRenderTarget() const SK_OVERRIDE { return fRenderTarget.get(); } in asRenderTarget() 103 SkAutoTUnref<GrRenderTarget> fRenderTarget; 107 , fRenderTarget(NULL) { in GrTexture()
|
D | SkGpuDevice.h | 75 return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); in imageInfo() 161 GrRenderTarget* fRenderTarget; variable
|
D | GrContext.h | 326 fRenderTarget.reset(SkSafeRef(target)); in setRenderTarget() 333 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } in getRenderTarget() 334 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); } in getRenderTarget() 961 SkAutoTUnref<GrRenderTarget> fRenderTarget; variable
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrTexture.cpp | 19 if (fRenderTarget.get()) { in ~GrTexture() 20 fRenderTarget.get()->owningTextureDestroyed(); in ~GrTexture() 126 if (fRenderTarget.get()) { in onAbandon() 127 fRenderTarget->abandon(); in onAbandon()
|
D | GrRODrawState.cpp | 16 fRenderTarget.setResource(SkSafeRef(drawState.fRenderTarget.getResource()), in GrRODrawState() 285 fRenderTarget.markPendingIO(); in convertToPendingExec() 286 fRenderTarget.removeRef(); in convertToPendingExec()
|
D | SkGpuDevice.h | 64 return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); in imageInfo() 143 GrRenderTarget* fRenderTarget; variable
|
D | GrRODrawState.h | 222 return static_cast<GrRenderTarget*>(fRenderTarget.getResource()); in getRenderTarget() 402 ProgramRenderTarget fRenderTarget; variable
|
D | GrInOrderDrawBuffer.h | 167 Clear(GrRenderTarget* rt) : fRenderTarget(rt) {} in Clear() 169 GrRenderTarget* renderTarget() const { return fRenderTarget.get(); } in renderTarget() 176 GrPendingIOResource<GrRenderTarget, GrIORef::kWrite_IOType> fRenderTarget;
|
D | GrDrawState.cpp | 95 SkASSERT(!that.fRenderTarget.ownsPendingIO()); in operator =() 96 SkASSERT(!this->fRenderTarget.ownsPendingIO()); in operator =() 130 SkASSERT(!fRenderTarget.ownsPendingIO()); in onReset() 136 fRenderTarget.reset(); in onReset()
|
D | SkGpuDevice.cpp | 152 fRenderTarget = SkRef(surface->asRenderTarget()); in SkGpuDevice() 162 …fMainTextContext = fContext->createTextContext(fRenderTarget, this->getLeakyProperties(), useDFFon… in SkGpuDevice() 212 if (fContext->getRenderTarget() == fRenderTarget) { in ~SkGpuDevice() 220 fRenderTarget->unref(); in ~SkGpuDevice() 240 return fContext->readRenderTargetPixels(fRenderTarget, x, y, dstInfo.width(), dstInfo.height(), in onReadPixels() 255 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); in onWritePixels() 285 fContext->setRenderTarget(fRenderTarget); in prepareDraw() 303 return fRenderTarget; in accessRenderTarget() 324 fContext->clear(&rect, SkColor2GrColor(color), true, fRenderTarget); in clear() 1781 fContext->resolveRenderTarget(fRenderTarget); in flush() [all …]
|
D | GrDrawState.h | 406 fRenderTarget.set(SkSafeRef(target), GrIORef::kWrite_IOType); in setRenderTarget()
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 34 fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this))); in init()
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 34 fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this))); in init()
|