/external/skia/src/gpu/ |
D | GrSurfaceProxy.cpp | 23 GrSurfaceProxy::GrSurfaceProxy(sk_sp<GrSurface> surface, SkBackingFit fit) in GrSurfaceProxy() function in GrSurfaceProxy 37 GrSurfaceProxy::~GrSurfaceProxy() { in ~GrSurfaceProxy() 43 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl( in createSurfaceImpl() 72 void GrSurfaceProxy::assign(sk_sp<GrSurface> surface) { in assign() 84 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl() 101 void GrSurfaceProxy::setLastOpList(GrOpList* opList) { in setLastOpList() 112 GrRenderTargetOpList* GrSurfaceProxy::getLastRenderTargetOpList() { in getLastRenderTargetOpList() 116 GrTextureOpList* GrSurfaceProxy::getLastTextureOpList() { in getLastTextureOpList() 120 sk_sp<GrSurfaceProxy> GrSurfaceProxy::MakeWrapped(sk_sp<GrSurface> surf) { in MakeWrapped() 127 return sk_sp<GrSurfaceProxy>(new GrTextureRenderTargetProxy(std::move(surf))); in MakeWrapped() [all …]
|
D | GrSurfaceProxyPriv.h | 62 explicit GrSurfaceProxyPriv(GrSurfaceProxy* proxy) : fProxy(proxy) {} in GrSurfaceProxyPriv() 70 GrSurfaceProxy* fProxy; 72 friend class GrSurfaceProxy; // to construct/copy this type. variable 75 inline GrSurfaceProxyPriv GrSurfaceProxy::priv() { return GrSurfaceProxyPriv(this); } in priv() 77 inline const GrSurfaceProxyPriv GrSurfaceProxy::priv () const { in priv() 78 return GrSurfaceProxyPriv(const_cast<GrSurfaceProxy*>(this)); in priv()
|
D | GrContextPriv.h | 16 class GrSurfaceProxy; variable 26 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>); 69 void flush(GrSurfaceProxy*); 85 void flushSurfaceWrites(GrSurfaceProxy*); 91 void flushSurfaceIO(GrSurfaceProxy*); 101 void prepareSurfaceForExternalIO(GrSurfaceProxy*);
|
D | GrSurfaceContext.h | 24 class GrSurfaceProxy; variable 56 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint); 58 bool copy(GrSurfaceProxy* src) { in copy() 94 virtual GrSurfaceProxy* asSurfaceProxy() = 0; 95 virtual const GrSurfaceProxy* asSurfaceProxy() const = 0; 96 virtual sk_sp<GrSurfaceProxy> asSurfaceProxyRef() = 0;
|
D | GrResourceAllocator.h | 43 void addInterval(GrSurfaceProxy*, unsigned int start, unsigned int end); 47 void addInterval(GrSurfaceProxy* proxy) { in addInterval() 61 sk_sp<GrSurface> findSurfaceFor(GrSurfaceProxy* proxy); 73 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) in Interval() 88 GrSurfaceProxy* fProxy;
|
D | GrDrawingManager.h | 43 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>, 47 sk_sp<GrTextureContext> makeTextureContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>); 73 void prepareSurfaceForExternalIO(GrSurfaceProxy*); 96 void flush(GrSurfaceProxy* proxy) { in flush() 99 void internalFlush(GrSurfaceProxy*, GrResourceCache::FlushType);
|
D | GrOpList.h | 22 class GrSurfaceProxy; variable 31 GrOpList(GrResourceProvider*, GrSurfaceProxy*, GrAuditTrail*); 40 GrSurfaceProxy* dst, 41 GrSurfaceProxy* src, 64 void addDependency(GrSurfaceProxy* dependedOn, const GrCaps& caps);
|
D | GrGpuResourceRef.h | 90 class GrSurfaceProxy; variable 96 GrSurfaceProxy* get() const { return fProxy; } in get() 114 GrSurfaceProxyRef(sk_sp<GrSurfaceProxy>, GrIOType); 118 void setProxy(sk_sp<GrSurfaceProxy>, GrIOType); 140 GrSurfaceProxy* fProxy;
|
D | GrContext.cpp | 268 void GrContextPriv::flush(GrSurfaceProxy* proxy) { in flush() 377 tempProxy = GrSurfaceProxy::MakeDeferred(fContext->resourceProvider(), in writeSurfacePixels() 505 sk_sp<GrSurfaceProxy> proxyToRead = src->asSurfaceProxyRef(); in readSurfacePixels() 595 void GrContextPriv::prepareSurfaceForExternalIO(GrSurfaceProxy* proxy) { in prepareSurfaceForExternalIO() 603 void GrContextPriv::flushSurfaceWrites(GrSurfaceProxy* proxy) { in flushSurfaceWrites() 613 void GrContextPriv::flushSurfaceIO(GrSurfaceProxy* proxy) { in flushSurfaceIO() 643 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy, in makeWrappedSurfaceContext() 660 sk_sp<GrTextureProxy> proxy = GrSurfaceProxy::MakeDeferred(fContext->resourceProvider(), in makeDeferredSurfaceContext() 682 sk_sp<GrSurfaceProxy> proxy(GrSurfaceProxy::MakeWrapped(std::move(surface))); in makeBackendSurfaceContext() 705 sk_sp<GrSurfaceProxy> proxy(GrSurfaceProxy::MakeWrapped(std::move(surface))); in makeBackendTextureRenderTargetContext() [all …]
|
D | GrTextureContext.h | 30 GrSurfaceProxy* asSurfaceProxy() override { return fTextureProxy.get(); } in asSurfaceProxy() 31 const GrSurfaceProxy* asSurfaceProxy() const override { return fTextureProxy.get(); } in asSurfaceProxy() 32 sk_sp<GrSurfaceProxy> asSurfaceProxyRef() override { return fTextureProxy; } in asSurfaceProxyRef()
|
D | GrOnFlushResourceProvider.cpp | 23 sk_sp<GrSurfaceProxy> proxy = GrSurfaceProxy::MakeDeferred( in makeRenderTargetContext() 50 sk_sp<GrSurfaceProxy> proxy, in makeRenderTargetContext()
|
D | GrTextureOpList.h | 55 GrSurfaceProxy* dst, 56 GrSurfaceProxy* src,
|
D | GrOnFlushResourceProvider.h | 21 class GrSurfaceProxy; variable 67 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy> proxy,
|
/external/skia/tests/ |
D | ProxyConversionTest.cpp | 21 static sk_sp<GrSurfaceProxy> make_wrapped_FBO0(GrResourceProvider* provider, in make_wrapped_FBO0() 32 return GrSurfaceProxy::MakeWrapped(std::move(defaultFBO)); in make_wrapped_FBO0() 35 static sk_sp<GrSurfaceProxy> make_wrapped_offscreen_rt(GrResourceProvider* provider, in make_wrapped_offscreen_rt() 43 return GrSurfaceProxy::MakeWrapped(std::move(tex)); in make_wrapped_offscreen_rt() 46 static sk_sp<GrSurfaceProxy> make_wrapped_texture(GrResourceProvider* provider, in make_wrapped_texture() 51 return GrSurfaceProxy::MakeWrapped(std::move(tex)); in make_wrapped_texture() 68 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(provider, reporter, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 79 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(provider, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 94 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(provider, desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 108 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(provider, desc, SkBudgeted::kYes)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ProxyTest.cpp | 24 GrSurfaceProxy* proxy, in check_surface() 53 GrSurfaceProxy::UniqueID idBefore = rtProxy->uniqueID(); in check_rendertarget() 87 GrSurfaceProxy::UniqueID idBefore = texProxy->uniqueID(); in check_texture() 144 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 178 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred(provider, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 239 sk_sp<GrSurfaceProxy> sProxy(GrSurfaceProxy::MakeWrapped(defaultFBO)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 255 sk_sp<GrSurfaceProxy> sProxy(GrSurfaceProxy::MakeWrapped(rt)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 270 sk_sp<GrSurfaceProxy> sProxy(GrSurfaceProxy::MakeWrapped(tex)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 300 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred(provider, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProxyRefTest.cpp | 75 return GrSurfaceProxy::MakeDeferred(context->resourceProvider(), desc, in make_deferred() 89 return GrSurfaceProxy::MakeWrapped(std::move(tex)); in make_wrapped() 100 GrPendingIOResource<GrSurfaceProxy, kWrite_GrIOType> fWrite(proxy.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 117 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fRead(proxy.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 134 GrPendingIOResource<GrSurfaceProxy, kRW_GrIOType> fRW(proxy.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 172 GrPendingIOResource<GrSurfaceProxy, kWrite_GrIOType> fWrite(proxy.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 186 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fRead(proxy.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ResourceAllocatorTest.cpp | 26 sk_sp<GrSurfaceProxy> p1 = GrSurfaceProxy::MakeDeferred(resourceProvider, desc, in overlap_test() 29 sk_sp<GrSurfaceProxy> p2 = GrSurfaceProxy::MakeDeferred(resourceProvider, desc, in overlap_test()
|
D | TestUtils.h | 13 class GrSurfaceProxy; variable 28 GrSurfaceProxy* proxy, uint32_t expectedPixelValues[],
|
D | TestUtils.cpp | 70 GrSurfaceProxy* proxy, uint32_t expectedPixelValues[], in test_copy_from_surface() 86 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, copyDstDesc, proxy)); in test_copy_from_surface() 114 sk_sp<GrTextureProxy> src(GrSurfaceProxy::MakeDeferred(resourceProvider, in test_copy_to_surface()
|
/external/skia/src/gpu/ops/ |
D | GrCopySurfaceOp.h | 18 static std::unique_ptr<GrOp> Make(GrSurfaceProxy* dst, GrSurfaceProxy* src, 39 GrCopySurfaceOp(GrSurfaceProxy* dst, GrSurfaceProxy* src, in GrCopySurfaceOp() 60 GrPendingIOResource<GrSurfaceProxy, kWrite_GrIOType> fDst; 61 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc;
|
D | GrCopySurfaceOp.cpp | 12 static bool clip_src_rect_and_dst_point(const GrSurfaceProxy* dst, in clip_src_rect_and_dst_point() 13 const GrSurfaceProxy* src, in clip_src_rect_and_dst_point() 62 std::unique_ptr<GrOp> GrCopySurfaceOp::Make(GrSurfaceProxy* dstProxy, GrSurfaceProxy* srcProxy, in Make()
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 174 class GrSurfaceProxy : public GrIORefProxy { 176 static sk_sp<GrSurfaceProxy> MakeWrapped(sk_sp<GrSurface>); 318 static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, 323 static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, 328 GrSurfaceProxy* srcProxy); 341 GrSurfaceProxy(const GrSurfaceDesc& desc, SkBackingFit fit, SkBudgeted budgeted, uint32_t flags) in GrSurfaceProxy() function 356 GrSurfaceProxy(sk_sp<GrSurface> surface, SkBackingFit fit); 358 virtual ~GrSurfaceProxy();
|
D | GrTextureProxy.h | 19 class GrTextureProxy : virtual public GrSurfaceProxy { 42 friend class GrSurfaceProxy; // for ctors 64 typedef GrSurfaceProxy INHERITED;
|
D | GrRenderTargetProxy.h | 20 class GrRenderTargetProxy : virtual public GrSurfaceProxy { 62 friend class GrSurfaceProxy; // for ctors 88 typedef GrSurfaceProxy INHERITED;
|
D | GrAuditTrail.h | 113 GrSurfaceProxy::UniqueID fProxyUniqueID; 140 OpNode(const GrSurfaceProxy::UniqueID& proxyID) : fProxyUniqueID(proxyID) { } in OpNode() 145 const GrSurfaceProxy::UniqueID fProxyUniqueID;
|