/external/chromium_org/third_party/skia/experimental/SkiaExamples/ |
SkExample.cpp | 61 SkSafeUnref(fRenderTarget); 62 fRenderTarget = NULL; 107 fRenderTarget = fContext->wrapBackendRenderTarget(desc); 109 fContext->setRenderTarget(fRenderTarget); 114 if (NULL != fContext && NULL != fRenderTarget) { 115 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); 135 fContext->setRenderTarget(fRenderTarget); 137 fRenderTarget->writePixels(0, 0, bm.width(), bm.height(),
|
SkExample.h | 75 GrRenderTarget* fRenderTarget;
|
/external/skia/experimental/SkiaExamples/ |
SkExample.cpp | 61 SkSafeUnref(fRenderTarget); 62 fRenderTarget = NULL; 107 fRenderTarget = fContext->wrapBackendRenderTarget(desc); 109 fContext->setRenderTarget(fRenderTarget); 114 if (NULL != fContext && NULL != fRenderTarget) { 115 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); 135 fContext->setRenderTarget(fRenderTarget); 137 fRenderTarget->writePixels(0, 0, bm.width(), bm.height(),
|
SkExample.h | 75 GrRenderTarget* fRenderTarget;
|
/external/skia/src/gpu/ |
GrDrawState.h | 636 fRenderTarget.reset(SkSafeRef(target)); 644 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } 645 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); } 850 if (fRenderTarget.get() != s.fRenderTarget.get() || 872 this->setRenderTarget(s.fRenderTarget.get()); 886 fRenderTarget.reset(NULL); [all...] |
GrTexture.cpp | 19 if (NULL != fRenderTarget.get()) { 20 fRenderTarget.get()->owningTextureDestroyed(); 126 if (NULL != fRenderTarget.get()) { 127 fRenderTarget->abandon();
|
GrInOrderDrawBuffer.h | 132 Clear() : fRenderTarget(NULL) {} 133 ~Clear() { SkSafeUnref(fRenderTarget); } 138 GrRenderTarget* fRenderTarget;
|
SkGpuDevice.cpp | 175 fRenderTarget = NULL; 179 fRenderTarget = renderTarget; 180 fRenderTarget->ref(); 186 GrSurface* surface = fRenderTarget->asTexture(); 188 surface = fRenderTarget; 241 if (fContext->getRenderTarget() == fRenderTarget) { 249 SkSafeUnref(fRenderTarget); 257 fContext->setRenderTarget(fRenderTarget); 266 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 276 return fContext->readRenderTargetPixels(fRenderTarget, x, y, dstInfo.width(), dstInfo.height() [all...] |
GrInOrderDrawBuffer.cpp | 511 clr->fRenderTarget = renderTarget; 525 clr->fRenderTarget = renderTarget; 652 fDstGpu->discard(fClears[currClear].fRenderTarget); 657 fClears[currClear].fRenderTarget); [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
GrTexture.h | 43 virtual GrRenderTarget* asRenderTarget() SK_OVERRIDE { return fRenderTarget.get(); } 44 virtual const GrRenderTarget* asRenderTarget() const SK_OVERRIDE { return fRenderTarget.get(); } 103 SkAutoTUnref<GrRenderTarget> fRenderTarget; 107 , fRenderTarget(NULL) {
|
GrContext.h | 343 fRenderTarget.reset(SkSafeRef(target)); 350 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } 351 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); } [all...] |
/external/skia/include/gpu/ |
GrTexture.h | 42 virtual GrRenderTarget* asRenderTarget() SK_OVERRIDE { return fRenderTarget.get(); } 43 virtual const GrRenderTarget* asRenderTarget() const SK_OVERRIDE { return fRenderTarget.get(); } 103 SkAutoTUnref<GrRenderTarget> fRenderTarget; 107 , fRenderTarget(NULL) {
|
SkGpuDevice.h | 75 return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); 161 GrRenderTarget* fRenderTarget;
|
GrContext.h | 326 fRenderTarget.reset(SkSafeRef(target)); 333 const GrRenderTarget* getRenderTarget() const { return fRenderTarget.get(); } 334 GrRenderTarget* getRenderTarget() { return fRenderTarget.get(); } [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrRODrawState.cpp | 16 fRenderTarget.setResource(SkSafeRef(drawState.fRenderTarget.getResource()), 285 fRenderTarget.markPendingIO(); 286 fRenderTarget.removeRef();
|
GrTexture.cpp | 19 if (fRenderTarget.get()) { 20 fRenderTarget.get()->owningTextureDestroyed(); 126 if (fRenderTarget.get()) { 127 fRenderTarget->abandon();
|
GrRODrawState.h | 222 return static_cast<GrRenderTarget*>(fRenderTarget.getResource()); 402 ProgramRenderTarget fRenderTarget;
|
GrInOrderDrawBuffer.h | 167 Clear(GrRenderTarget* rt) : fRenderTarget(rt) {} 169 GrRenderTarget* renderTarget() const { return fRenderTarget.get(); } 176 GrPendingIOResource<GrRenderTarget, GrIORef::kWrite_IOType> fRenderTarget;
|
SkGpuDevice.h | 64 return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); 143 GrRenderTarget* fRenderTarget;
|
GrDrawState.cpp | 95 SkASSERT(!that.fRenderTarget.ownsPendingIO()); 96 SkASSERT(!this->fRenderTarget.ownsPendingIO()); 130 SkASSERT(!fRenderTarget.ownsPendingIO()); 136 fRenderTarget.reset();
|
SkGpuDevice.cpp | 152 fRenderTarget = SkRef(surface->asRenderTarget()); 162 fMainTextContext = fContext->createTextContext(fRenderTarget, this->getLeakyProperties(), useDFFonts); 212 if (fContext->getRenderTarget() == fRenderTarget) { 220 fRenderTarget->unref(); 230 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 240 return fContext->readRenderTargetPixels(fRenderTarget, x, y, dstInfo.width(), dstInfo.height(), 246 // TODO: teach fRenderTarget to take ImageInfo directly to specify the src pixels 255 fRenderTarget->writePixels(x, y, info.width(), info.height(), config, pixels, rowBytes, flags); 285 fContext->setRenderTarget(fRenderTarget); 303 return fRenderTarget; [all...] |
GrDrawState.h | 406 fRenderTarget.set(SkSafeRef(target), GrIORef::kWrite_IOType);
|
GrContext.cpp | [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLTexture.cpp | 34 fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this)));
|
/external/skia/src/gpu/gl/ |
GrGLTexture.cpp | 34 fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this)));
|