/external/skia/include/private/ |
D | GrSurfaceProxy.h | 40 if (fTarget) { in ref() 41 fTarget->ref(); in ref() 48 if (fTarget) { in unref() 49 fTarget->unref(); in unref() 76 fTarget->unref(); in release() 78 fTarget = nullptr; in release() 88 if (fTarget) { in validate() 92 SkASSERT(fTarget->fRefCnt >= fRefCnt); in validate() 93 SkASSERT(fTarget->fPendingReads >= fPendingReads); in validate() 94 SkASSERT(fTarget->fPendingWrites >= fPendingWrites); in validate() [all …]
|
/external/skqp/include/private/ |
D | GrSurfaceProxy.h | 38 if (fTarget) { in ref() 39 fTarget->ref(); in ref() 46 if (fTarget) { in unref() 47 fTarget->unref(); in unref() 74 fTarget->unref(); in release() 76 fTarget = nullptr; in release() 86 if (fTarget) { in validate() 90 SkASSERT(fTarget->fRefCnt >= fRefCnt); in validate() 91 SkASSERT(fTarget->fPendingReads >= fPendingReads); in validate() 92 SkASSERT(fTarget->fPendingWrites >= fPendingWrites); in validate() [all …]
|
/external/skqp/src/core/ |
D | SkColorSpaceXformCanvas.cpp | 38 , fTarget(target) in SkColorSpaceXformCanvas() 44 SkCanvas::onClipRect(SkRect::Make(fTarget->getDeviceClipBounds()), in SkColorSpaceXformCanvas() 46 SkCanvas::setMatrix(fTarget->getTotalMatrix()); in SkColorSpaceXformCanvas() 50 return fTarget->imageInfo().makeColorSpace(fTargetCS); in onImageInfo() 54 fTarget->drawPaint(fXformer->apply(paint)); in onDrawPaint() 58 fTarget->drawRect(rect, fXformer->apply(paint)); in onDrawRect() 62 fTarget->experimental_DrawEdgeAARectV1(rect, aa, fXformer->apply(color), mode); in onDrawEdgeAARect() 65 fTarget->drawOval(oval, fXformer->apply(paint)); in onDrawOval() 68 fTarget->drawRRect(rrect, fXformer->apply(paint)); in onDrawRRect() 71 fTarget->drawDRRect(outer, inner, fXformer->apply(paint)); in onDrawDRRect() [all …]
|
/external/skia/src/core/ |
D | SkColorSpaceXformCanvas.cpp | 38 , fTarget(target) in SkColorSpaceXformCanvas() 44 SkCanvas::onClipRect(SkRect::Make(fTarget->getDeviceClipBounds()), in SkColorSpaceXformCanvas() 46 SkCanvas::setMatrix(fTarget->getTotalMatrix()); in SkColorSpaceXformCanvas() 50 return fTarget->imageInfo().makeColorSpace(fTargetCS); in onImageInfo() 54 fTarget->drawPaint(fXformer->apply(paint)); in onDrawPaint() 58 fTarget->drawRect(rect, fXformer->apply(paint)); in onDrawRect() 62 fTarget->experimental_DrawEdgeAARectV1(rect, aa, fXformer->apply(color), mode); in onDrawEdgeAARect() 65 fTarget->drawOval(oval, fXformer->apply(paint)); in onDrawOval() 68 fTarget->drawRRect(rrect, fXformer->apply(paint)); in onDrawRRect() 71 fTarget->drawDRRect(outer, inner, fXformer->apply(paint)); in onDrawDRRect() [all …]
|
/external/skqp/src/gpu/ |
D | GrOpList.cpp | 34 fTarget.setProxy(sk_ref_sp(surfaceProxy), kWrite_GrIOType); in GrOpList() 35 fTarget.get()->setLastOpList(this); in GrOpList() 44 fTarget.get()->instantiate(resourceProvider); in GrOpList() 47 fTarget.markPendingIO(); in GrOpList() 51 if (fTarget.get() && this == fTarget.get()->getLastOpList()) { in ~GrOpList() 53 fTarget.get()->setLastOpList(nullptr); in ~GrOpList() 58 return SkToBool(fTarget.get()->instantiate(resourceProvider)); in instantiate() 62 if (fTarget.get() && this == fTarget.get()->getLastOpList()) { in endFlush() 63 fTarget.get()->setLastOpList(nullptr); in endFlush() 66 fTarget.reset(); in endFlush() [all …]
|
D | GrSurfaceProxy.cpp | 85 , fSurfaceFlags(fTarget->surfacePriv().flags()) in GrSurfaceProxy() 86 , fFormat(fTarget->backendFormat()) in GrSurfaceProxy() 87 , fConfig(fTarget->config()) in GrSurfaceProxy() 88 , fWidth(fTarget->width()) in GrSurfaceProxy() 89 , fHeight(fTarget->height()) in GrSurfaceProxy() 92 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy() 95 , fUniqueID(fTarget->uniqueID()) // Note: converting from unique resource ID to a proxy ID! in GrSurfaceProxy() 135 SkASSERT(!fTarget); in createSurfaceImpl() 205 SkASSERT(!fTarget && surface); in assign() 209 fTarget = surface.release(); in assign() [all …]
|
D | GrTextureProxy.cpp | 54 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy() 57 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 58 fProxyProvider = fTarget->asTexture()->getContext()->contextPriv().proxyProvider(); in GrTextureProxy() 59 fProxyProvider->adoptUniqueKeyFromSurface(this, fTarget); in GrTextureProxy() 66 fTarget = nullptr; in ~GrTextureProxy() 89 SkASSERT(!fTarget->asRenderTarget()); in instantiate() 90 SkASSERT(fTarget->asTexture()); in instantiate() 115 if (fTextureProxy->fDeferredUploader && fTextureProxy->fTarget) { in scheduleUpload() 153 if (fTarget) { in setUniqueKey() 154 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() [all …]
|
D | GrTextureOpList.cpp | 76 SkASSERT(fTarget.get()->peekTexture()); in onPrepare() 101 SkASSERT(fTarget.get()->peekTexture()); in onExecute() 104 flushState->gpu()->getCommandBuffer(fTarget.get()->peekTexture(), in onExecute() 105 fTarget.get()->origin())); in onExecute() 144 SkASSERT(dst == fTarget.get()); in copySurface() 186 alloc->addInterval(fTarget.get(), cur, cur+fRecordedOps.count()-1); in gatherProxyIntervals() 191 alloc->addInterval(fTarget.get()); in gatherProxyIntervals() 196 alloc->addInterval(p SkDEBUGCODE(, p == fTarget.get())); in gatherProxyIntervals() 211 SkASSERT(fTarget.get()); in recordOp() 215 GR_AUDIT_TRAIL_ADD_OP(fAuditTrail, op.get(), fTarget.get()->uniqueID()); in recordOp()
|
D | GrRenderTargetProxy.cpp | 55 , fSampleCnt(fTarget->asRenderTarget()->numStencilSamples()) in GrRenderTargetProxy() 74 SkASSERT(fTarget->asRenderTarget()); in instantiate() 75 SkASSERT(!fTarget->asTexture()); in instantiate() 105 if (!fTarget) { in refsWrappedObjects() 109 return fTarget->resourcePriv().refsWrappedObjects(); in refsWrappedObjects()
|
D | GrRenderTargetOpList.cpp | 405 SkASSERT(fTarget.get()->peekRenderTarget()); in onPrepare() 419 fTarget.get()->asRenderTargetProxy(), in onPrepare() 471 SkASSERT(fTarget.get()->peekRenderTarget()); in onExecute() 484 fTarget.get()->peekRenderTarget(), in onExecute() 485 fTarget.get()->origin(), in onExecute() 486 fTarget.get()->getBoundsRect(), in onExecute() 504 fTarget.get()->asRenderTargetProxy(), in onExecute() 559 if (this->isEmpty() || !fTarget.get()->asRenderTargetProxy()->needsStencil()) { in resetForFullscreenClear() 566 return !fTarget.get()->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear() 582 SkASSERT(dst->asRenderTargetProxy() == fTarget.get()); in copySurface() [all …]
|
/external/skia/src/gpu/ |
D | GrOpList.cpp | 34 fTarget.setProxy(sk_ref_sp(surfaceProxy), kWrite_GrIOType); in GrOpList() 35 fTarget.get()->setLastOpList(this); in GrOpList() 44 fTarget.get()->instantiate(resourceProvider); in GrOpList() 47 fTarget.markPendingIO(); in GrOpList() 51 if (fTarget.get() && this == fTarget.get()->getLastOpList()) { in ~GrOpList() 53 fTarget.get()->setLastOpList(nullptr); in ~GrOpList() 58 return SkToBool(fTarget.get()->instantiate(resourceProvider)); in instantiate() 62 if (fTarget.get() && this == fTarget.get()->getLastOpList()) { in endFlush() 63 fTarget.get()->setLastOpList(nullptr); in endFlush() 66 fTarget.reset(); in endFlush() [all …]
|
D | GrSurfaceProxy.cpp | 87 , fSurfaceFlags(fTarget->surfacePriv().flags()) in GrSurfaceProxy() 88 , fFormat(fTarget->backendFormat()) in GrSurfaceProxy() 89 , fConfig(fTarget->config()) in GrSurfaceProxy() 90 , fWidth(fTarget->width()) in GrSurfaceProxy() 91 , fHeight(fTarget->height()) in GrSurfaceProxy() 94 , fBudgeted(fTarget->resourcePriv().budgetedType() == GrBudgetedType::kBudgeted in GrSurfaceProxy() 97 , fUniqueID(fTarget->uniqueID()) // Note: converting from unique resource ID to a proxy ID! in GrSurfaceProxy() 132 SkASSERT(!fTarget); in createSurfaceImpl() 202 SkASSERT(!fTarget && surface); in assign() 206 fTarget = surface.release(); in assign() [all …]
|
D | GrTextureProxy.cpp | 54 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy() 57 if (fTarget->getUniqueKey().isValid()) { in GrTextureProxy() 58 fProxyProvider = fTarget->asTexture()->getContext()->priv().proxyProvider(); in GrTextureProxy() 59 fProxyProvider->adoptUniqueKeyFromSurface(this, fTarget); in GrTextureProxy() 66 fTarget = nullptr; in ~GrTextureProxy() 89 SkASSERT(!fTarget->asRenderTarget()); in instantiate() 90 SkASSERT(fTarget->asTexture()); in instantiate() 115 if (fTextureProxy->fDeferredUploader && fTextureProxy->fTarget) { in scheduleUpload() 153 if (fTarget) { in setUniqueKey() 154 if (!fTarget->getUniqueKey().isValid()) { in setUniqueKey() [all …]
|
D | GrTextureOpList.cpp | 78 SkASSERT(fTarget.get()->peekTexture()); in onPrepare() 103 SkASSERT(fTarget.get()->peekTexture()); in onExecute() 106 flushState->gpu()->getCommandBuffer(fTarget.get()->peekTexture(), in onExecute() 107 fTarget.get()->origin())); in onExecute() 146 SkASSERT(dst == fTarget.get()); in copySurface() 188 alloc->addInterval(fTarget.get(), cur, cur+fRecordedOps.count()-1); in gatherProxyIntervals() 193 alloc->addInterval(fTarget.get()); in gatherProxyIntervals() 198 alloc->addInterval(p SkDEBUGCODE(, p == fTarget.get())); in gatherProxyIntervals() 213 SkASSERT(fTarget.get()); in recordOp() 217 GR_AUDIT_TRAIL_ADD_OP(fAuditTrail, op.get(), fTarget.get()->uniqueID()); in recordOp()
|
D | GrRenderTargetProxy.cpp | 56 , fSampleCnt(fTarget->asRenderTarget()->numStencilSamples()) in GrRenderTargetProxy() 75 SkASSERT(fTarget->asRenderTarget()); in instantiate() 76 SkASSERT(!fTarget->asTexture()); in instantiate() 106 if (!fTarget) { in refsWrappedObjects() 110 return fTarget->resourcePriv().refsWrappedObjects(); in refsWrappedObjects()
|
D | GrRenderTargetOpList.cpp | 407 SkASSERT(fTarget.get()->peekRenderTarget()); in onPrepare() 421 fTarget.get()->asRenderTargetProxy(), in onPrepare() 473 SkASSERT(fTarget.get()->peekRenderTarget()); in onExecute() 486 fTarget.get()->peekRenderTarget(), in onExecute() 487 fTarget.get()->origin(), in onExecute() 488 fTarget.get()->getBoundsRect(), in onExecute() 506 fTarget.get()->asRenderTargetProxy(), in onExecute() 563 if (this->isEmpty() || (!fTarget.get()->asRenderTargetProxy()->needsStencil() && !fHasWaitOp)) { in resetForFullscreenClear() 570 return !fTarget.get()->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear() 586 SkASSERT(dst->asRenderTargetProxy() == fTarget.get()); in copySurface() [all …]
|
/external/skia/gm/ |
D | atlastext.cpp | 77 fTarget = SkAtlasTextTarget::Make(fContext, kSize, kSize, targetHandle); in onOnceBeforeDraw() 90 if (!fRenderer || !fTarget || !fTarget->handle()) { in onDraw() 94 fRenderer->clearTarget(fTarget->handle(), 0xFF808080); in onDraw() 121 fTarget->save(); in drawText() 129 fTarget->concat(persp); in drawText() 134 fTarget->translate(x, y); in drawText() 138 draw_string(fTarget.get(), text, drawX, drawY, color, typeface, size); in drawText() 140 fTarget->restore(); in drawText() 143 fTarget->flush(); in drawText() 149 fTarget->flush(); in drawText() [all …]
|
/external/skqp/gm/ |
D | atlastext.cpp | 77 fTarget = SkAtlasTextTarget::Make(fContext, kSize, kSize, targetHandle); in onOnceBeforeDraw() 90 if (!fRenderer || !fTarget || !fTarget->handle()) { in onDraw() 94 fRenderer->clearTarget(fTarget->handle(), 0xFF808080); in onDraw() 120 fTarget->save(); in drawText() 128 fTarget->concat(persp); in drawText() 133 fTarget->translate(x, y); in drawText() 137 draw_string(fTarget.get(), text, drawX, drawY, color, typeface, size); in drawText() 139 fTarget->restore(); in drawText() 142 fTarget->flush(); in drawText() 148 fTarget->flush(); in drawText() [all …]
|
D | poly2poly.cpp | 38 SkCanvas* fTarget; member in SkJSCanvas 46 : fTarget(target) in SkJSCanvas() 56 void SkJSCanvas::save() { fTarget->save(); } in save() 57 void SkJSCanvas::restore() { fTarget->restore(); } in restore() 71 fTarget->drawPath(fPath, fFillPaint); in fill() 76 fTarget->drawPath(fPath, fStrokePaint); in stroke() 80 fTarget->drawString(text, SkDoubleToScalar(x), SkDoubleToScalar(y), fFont, fFillPaint); in fillText()
|
/external/skqp/tools/viewer/ |
D | SlideDir.cpp | 115 , fTarget(nullptr) in FocusController() 129 fTarget = target; in startFocus() 132 fDir->fRoot->removeChild(fTarget->fSlideRoot); in startFocus() 134 fDir->fRoot->addChild(fTarget->fSlideRoot); in startFocus() 136 fM0 = SlideMatrix(fTarget->fSlide, fTarget->fRect); in startFocus() 137 fM1 = SlideMatrix(fTarget->fSlide, fRect); in startFocus() 150 SkASSERT(fTarget); in startUnfocus() 161 SkASSERT(fTarget); in onMouse() 174 return fTarget->fSlide->onMouse(pt.x(), pt.y(), state, modifiers); in onMouse() 178 SkASSERT(fTarget); in onChar() [all …]
|
/external/skia/tools/viewer/ |
D | SlideDir.cpp | 117 , fTarget(nullptr) in FocusController() 130 fTarget = target; in startFocus() 133 fDir->fRoot->removeChild(fTarget->fSlideRoot); in startFocus() 135 fDir->fRoot->addChild(fTarget->fSlideRoot); in startFocus() 137 fM0 = SlideMatrix(fTarget->fSlide, fTarget->fRect); in startFocus() 138 fM1 = SlideMatrix(fTarget->fSlide, fRect); in startFocus() 151 SkASSERT(fTarget); in startUnfocus() 162 SkASSERT(fTarget); in onMouse() 175 return fTarget->fSlide->onMouse(pt.x(), pt.y(), state, modifiers); in onMouse() 179 SkASSERT(fTarget); in onChar() [all …]
|
/external/skia/tests/ |
D | ProxyRefTest.cpp | 22 if (fTarget) { in getBackingRefCnt_TestOnly() 23 return fTarget->fRefCnt; in getBackingRefCnt_TestOnly() 30 if (fTarget) { in getPendingReadCnt_TestOnly() 31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly() 38 if (fTarget) { in getPendingWriteCnt_TestOnly() 39 return fTarget->fPendingWrites; in getPendingWriteCnt_TestOnly()
|
/external/skqp/tests/ |
D | ProxyRefTest.cpp | 22 if (fTarget) { in getBackingRefCnt_TestOnly() 23 return fTarget->fRefCnt; in getBackingRefCnt_TestOnly() 30 if (fTarget) { in getPendingReadCnt_TestOnly() 31 return fTarget->fPendingReads; in getPendingReadCnt_TestOnly() 38 if (fTarget) { in getPendingWriteCnt_TestOnly() 39 return fTarget->fPendingWrites; in getPendingWriteCnt_TestOnly()
|
/external/skqp/include/gpu/gl/ |
D | GrGLTypes.h | 108 GrGLenum fTarget; member 113 return fTarget == that.fTarget && fID == that.fID && fFormat == that.fFormat;
|
/external/skia/include/gpu/gl/ |
D | GrGLTypes.h | 108 GrGLenum fTarget; member 113 return fTarget == that.fTarget && fID == that.fID && fFormat == that.fFormat;
|