Home
last modified time | relevance | path

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

12

/external/skia/experimental/SkiaExamples/
DSkExample.cpp61 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()
DSkExample.h75 GrRenderTarget* fRenderTarget; variable
/external/chromium_org/third_party/skia/experimental/SkiaExamples/
DSkExample.cpp61 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()
DSkExample.h75 GrRenderTarget* fRenderTarget; variable
/external/skia/src/gpu/
DGrDrawState.h636 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 …]
DGrTexture.cpp19 if (NULL != fRenderTarget.get()) { in ~GrTexture()
20 fRenderTarget.get()->owningTextureDestroyed(); in ~GrTexture()
126 if (NULL != fRenderTarget.get()) { in onAbandon()
127 fRenderTarget->abandon(); in onAbandon()
DGrInOrderDrawBuffer.h132 Clear() : fRenderTarget(NULL) {} in Clear()
133 ~Clear() { SkSafeUnref(fRenderTarget); } in ~Clear()
138 GrRenderTarget* fRenderTarget; member
DSkGpuDevice.cpp175 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 …]
DGrInOrderDrawBuffer.cpp511 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()
DGrContext.cpp1397 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/
DGrTexture.h43 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()
DGrContext.h343 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/
DGrTexture.h42 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()
DSkGpuDevice.h75 return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); in imageInfo()
161 GrRenderTarget* fRenderTarget; variable
DGrContext.h326 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/
DGrTexture.cpp19 if (fRenderTarget.get()) { in ~GrTexture()
20 fRenderTarget.get()->owningTextureDestroyed(); in ~GrTexture()
126 if (fRenderTarget.get()) { in onAbandon()
127 fRenderTarget->abandon(); in onAbandon()
DGrRODrawState.cpp16 fRenderTarget.setResource(SkSafeRef(drawState.fRenderTarget.getResource()), in GrRODrawState()
285 fRenderTarget.markPendingIO(); in convertToPendingExec()
286 fRenderTarget.removeRef(); in convertToPendingExec()
DSkGpuDevice.h64 return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); in imageInfo()
143 GrRenderTarget* fRenderTarget; variable
DGrRODrawState.h222 return static_cast<GrRenderTarget*>(fRenderTarget.getResource()); in getRenderTarget()
402 ProgramRenderTarget fRenderTarget; variable
DGrInOrderDrawBuffer.h167 Clear(GrRenderTarget* rt) : fRenderTarget(rt) {} in Clear()
169 GrRenderTarget* renderTarget() const { return fRenderTarget.get(); } in renderTarget()
176 GrPendingIOResource<GrRenderTarget, GrIORef::kWrite_IOType> fRenderTarget;
DGrDrawState.cpp95 SkASSERT(!that.fRenderTarget.ownsPendingIO()); in operator =()
96 SkASSERT(!this->fRenderTarget.ownsPendingIO()); in operator =()
130 SkASSERT(!fRenderTarget.ownsPendingIO()); in onReset()
136 fRenderTarget.reset(); in onReset()
DSkGpuDevice.cpp152 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 …]
DGrDrawState.h406 fRenderTarget.set(SkSafeRef(target), GrIORef::kWrite_IOType); in setRenderTarget()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLTexture.cpp34 fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this))); in init()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp34 fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this))); in init()

12