Home
last modified time | relevance | path

Searched refs:GrSurfaceProxy (Results 1 – 25 of 150) sorted by relevance

123456

/external/skqp/src/gpu/
DGrSurfaceProxy.cpp47 GrSurfaceProxy::GrSurfaceProxy(LazyInstantiateCallback&& callback, const GrSurfaceDesc& desc, in GrSurfaceProxy() function in GrSurfaceProxy
70 GrSurfaceProxy::GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit) in GrSurfaceProxy() function in GrSurfaceProxy
85 GrSurfaceProxy::~GrSurfaceProxy() { in ~GrSurfaceProxy()
113 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl( in createSurfaceImpl()
118 SkASSERT(GrSurfaceProxy::LazyState::kNot == this->lazyInstantiationState()); in createSurfaceImpl()
150 void GrSurfaceProxy::assign(sk_sp<GrSurface> surface) { in assign()
162 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl()
190 void GrSurfaceProxy::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
211 void GrSurfaceProxy::setLastOpList(GrOpList* opList) { in setLastOpList()
222 GrRenderTargetOpList* GrSurfaceProxy::getLastRenderTargetOpList() { in getLastRenderTargetOpList()
[all …]
DGrResourceAllocator.h50 void addInterval(GrSurfaceProxy*, unsigned int start, unsigned int end
55 void addInterval(GrSurfaceProxy* proxy
83 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil);
99 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) in Interval()
108 void resetTo(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) { in resetTo()
122 const GrSurfaceProxy* proxy() const { return fProxy; } in proxy()
123 GrSurfaceProxy* proxy() { return fProxy; } in proxy()
149 GrSurfaceProxy* fProxy;
DGrSurfaceProxyPriv.h76 explicit GrSurfaceProxyPriv(GrSurfaceProxy* proxy) : fProxy(proxy) {} in GrSurfaceProxyPriv()
84 GrSurfaceProxy* fProxy;
86 friend class GrSurfaceProxy; // to construct/copy this type. variable
89 inline GrSurfaceProxyPriv GrSurfaceProxy::priv() { return GrSurfaceProxyPriv(this); } in priv()
91 inline const GrSurfaceProxyPriv GrSurfaceProxy::priv () const { in priv()
92 return GrSurfaceProxyPriv(const_cast<GrSurfaceProxy*>(this)); in priv()
DGrSurfaceContext.h24 class GrSurfaceProxy; variable
54 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint);
56 bool copy(GrSurfaceProxy* src) { in copy()
92 virtual GrSurfaceProxy* asSurfaceProxy() = 0;
93 virtual const GrSurfaceProxy* asSurfaceProxy() const = 0;
94 virtual sk_sp<GrSurfaceProxy> asSurfaceProxyRef() = 0;
DGrContextPriv.h17 class GrSurfaceProxy; variable
34 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
76 void flush(GrSurfaceProxy*);
92 void flushSurfaceWrites(GrSurfaceProxy*);
98 void flushSurfaceIO(GrSurfaceProxy*);
108 void prepareSurfaceForExternalIO(GrSurfaceProxy*);
DGrDrawingManager.h40 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
44 sk_sp<GrTextureContext> makeTextureContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>);
75 GrSemaphoresSubmitted prepareSurfaceForExternalIO(GrSurfaceProxy*,
106 GrSemaphoresSubmitted flush(GrSurfaceProxy* proxy,
112 GrSemaphoresSubmitted internalFlush(GrSurfaceProxy*,
/external/skia/src/gpu/
DGrSurfaceProxy.cpp47 GrSurfaceProxy::GrSurfaceProxy(LazyInstantiateCallback&& callback, LazyInstantiationType lazyType, in GrSurfaceProxy() function in GrSurfaceProxy
71 GrSurfaceProxy::GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit) in GrSurfaceProxy() function in GrSurfaceProxy
86 GrSurfaceProxy::~GrSurfaceProxy() { in ~GrSurfaceProxy()
114 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl( in createSurfaceImpl()
118 SkASSERT(GrSurfaceProxy::LazyState::kNot == this->lazyInstantiationState()); in createSurfaceImpl()
172 void GrSurfaceProxy::assign(sk_sp<GrSurface> surface) { in assign()
184 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl()
211 void GrSurfaceProxy::deInstantiate() { in deInstantiate()
218 void GrSurfaceProxy::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
239 void GrSurfaceProxy::setLastOpList(GrOpList* opList) { in setLastOpList()
[all …]
DGrSurfaceProxyPriv.h73 GrSurfaceProxy::LazyInstantiationType lazyInstantiationType() const { in lazyInstantiationType()
77 void testingOnly_setLazyInstantiationType(GrSurfaceProxy::LazyInstantiationType lazyType) { in testingOnly_setLazyInstantiationType()
84 explicit GrSurfaceProxyPriv(GrSurfaceProxy* proxy) : fProxy(proxy) {} in GrSurfaceProxyPriv()
92 GrSurfaceProxy* fProxy;
94 friend class GrSurfaceProxy; // to construct/copy this type. variable
97 inline GrSurfaceProxyPriv GrSurfaceProxy::priv() { return GrSurfaceProxyPriv(this); } in priv()
99 inline const GrSurfaceProxyPriv GrSurfaceProxy::priv () const { in priv()
100 return GrSurfaceProxyPriv(const_cast<GrSurfaceProxy*>(this)); in priv()
DGrResourceAllocator.h50 void addInterval(GrSurfaceProxy*, unsigned int start, unsigned int end
55 void addInterval(GrSurfaceProxy* proxy
83 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil);
99 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) in Interval()
108 void resetTo(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) { in resetTo()
122 const GrSurfaceProxy* proxy() const { return fProxy; } in proxy()
123 GrSurfaceProxy* proxy() { return fProxy; } in proxy()
149 GrSurfaceProxy* fProxy;
DGrSurfaceContext.h24 class GrSurfaceProxy; variable
54 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint);
56 bool copy(GrSurfaceProxy* src) { in copy()
92 virtual GrSurfaceProxy* asSurfaceProxy() = 0;
93 virtual const GrSurfaceProxy* asSurfaceProxy() const = 0;
94 virtual sk_sp<GrSurfaceProxy> asSurfaceProxyRef() = 0;
DGrContextPriv.h18 class GrSurfaceProxy; variable
35 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
80 void flush(GrSurfaceProxy*);
96 void flushSurfaceWrites(GrSurfaceProxy*);
102 void flushSurfaceIO(GrSurfaceProxy*);
112 void prepareSurfaceForExternalIO(GrSurfaceProxy*);
DGrDrawingManager.h40 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
44 sk_sp<GrTextureContext> makeTextureContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>);
75 GrSemaphoresSubmitted prepareSurfaceForExternalIO(GrSurfaceProxy*,
96 GrSemaphoresSubmitted flush(GrSurfaceProxy* proxy,
102 GrSemaphoresSubmitted internalFlush(GrSurfaceProxy*,
/external/skqp/tests/
DResourceAllocatorTest.cpp35 static sk_sp<GrSurfaceProxy> make_deferred(GrProxyProvider* proxyProvider, const ProxyParams& p) { in make_deferred()
47 static sk_sp<GrSurfaceProxy> make_backend(GrContext* context, const ProxyParams& p, in make_backend()
66 sk_sp<GrSurfaceProxy> p1, sk_sp<GrSurfaceProxy> p2, in overlap_test()
88 sk_sp<GrSurfaceProxy> p1, sk_sp<GrSurfaceProxy> p2, in non_overlap_test()
145 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
185 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
200 sk_sp<GrSurfaceProxy> p1 = make_backend(ctxInfo.grContext(), t[0].fP1, &backEndTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
201 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, t[0].fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp22 static sk_sp<GrSurfaceProxy> make_wrapped_FBO0(GrProxyProvider* provider, in make_wrapped_FBO0()
33 static sk_sp<GrSurfaceProxy> make_wrapped_offscreen_rt(GrProxyProvider* provider, in make_wrapped_offscreen_rt()
40 static sk_sp<GrSurfaceProxy> make_wrapped_texture(GrProxyProvider* provider, in make_wrapped_texture()
59 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(proxyProvider, reporter, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/include/private/
DGrSurfaceProxyRef.h13 class GrSurfaceProxy; variable
19 GrSurfaceProxy* get() const { return fProxy; } in get()
37 GrSurfaceProxyRef(sk_sp<GrSurfaceProxy>, GrIOType);
41 void setProxy(sk_sp<GrSurfaceProxy>, GrIOType);
63 GrSurfaceProxy* fProxy;
DGrSurfaceProxy.h183 class GrSurfaceProxy : public GrIORefProxy {
331 static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, GrMipMapped,
336 static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, GrMipMapped,
341 GrSurfaceProxy* srcProxy);
353 GrSurfaceProxy(const GrSurfaceDesc& desc, SkBackingFit fit, SkBudgeted budgeted, uint32_t flags) in GrSurfaceProxy() function
354 : GrSurfaceProxy(nullptr, desc, fit, budgeted, flags) { in GrSurfaceProxy()
362 GrSurfaceProxy(LazyInstantiateCallback&& callback, const GrSurfaceDesc& desc,
366 GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit);
368 virtual ~GrSurfaceProxy();
DGrOpList.h34 class GrSurfaceProxy; variable
42 GrOpList(GrResourceProvider*, GrSurfaceProxy*, GrAuditTrail*);
53 GrSurfaceProxy* dst,
54 GrSurfaceProxy* src,
75 void addDependency(GrSurfaceProxy* dependedOn, const GrCaps& caps);
/external/skia/include/private/
DGrSurfaceProxyRef.h13 class GrSurfaceProxy; variable
19 GrSurfaceProxy* get() const { return fProxy; } in get()
37 GrSurfaceProxyRef(sk_sp<GrSurfaceProxy>, GrIOType);
41 void setProxy(sk_sp<GrSurfaceProxy>, GrIOType);
63 GrSurfaceProxy* fProxy;
DGrSurfaceProxy.h194 class GrSurfaceProxy : public GrIORefProxy {
348 static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, GrMipMapped,
353 static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, GrMipMapped,
358 GrSurfaceProxy* srcProxy);
370 GrSurfaceProxy(const GrSurfaceDesc& desc, SkBackingFit fit, SkBudgeted budgeted, uint32_t flags) in GrSurfaceProxy() function
371 : GrSurfaceProxy(nullptr, LazyInstantiationType::kSingleUse, in GrSurfaceProxy()
379 GrSurfaceProxy(LazyInstantiateCallback&& callback, LazyInstantiationType lazyType,
384 GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit);
386 virtual ~GrSurfaceProxy();
DGrOpList.h23 class GrSurfaceProxy; variable
31 GrOpList(GrResourceProvider*, GrSurfaceProxy*, GrAuditTrail*);
42 GrSurfaceProxy* dst,
43 GrSurfaceProxy* src,
64 void addDependency(GrSurfaceProxy* dependedOn, const GrCaps& caps);
/external/skia/tests/
DResourceAllocatorTest.cpp34 static sk_sp<GrSurfaceProxy> make_deferred(GrProxyProvider* proxyProvider, const ProxyParams& p) { in make_deferred()
46 static sk_sp<GrSurfaceProxy> make_backend(GrContext* context, const ProxyParams& p, in make_backend()
65 sk_sp<GrSurfaceProxy> p1, sk_sp<GrSurfaceProxy> p2, in overlap_test()
87 sk_sp<GrSurfaceProxy> p1, sk_sp<GrSurfaceProxy> p2, in non_overlap_test()
152 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
192 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
207 sk_sp<GrSurfaceProxy> p1 = make_backend(ctxInfo.grContext(), t[0].fP1, &backEndTex); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
208 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, t[0].fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp22 static sk_sp<GrSurfaceProxy> make_wrapped_FBO0(GrProxyProvider* provider, in make_wrapped_FBO0()
33 static sk_sp<GrSurfaceProxy> make_wrapped_offscreen_rt(GrProxyProvider* provider, in make_wrapped_offscreen_rt()
40 static sk_sp<GrSurfaceProxy> make_wrapped_texture(GrProxyProvider* provider, in make_wrapped_texture()
59 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(proxyProvider, reporter, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h18 static std::unique_ptr<GrOp> Make(GrSurfaceProxy* dst, GrSurfaceProxy* src,
40 GrCopySurfaceOp(GrSurfaceProxy* dst, GrSurfaceProxy* src, in GrCopySurfaceOp()
58 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc;
/external/skqp/src/gpu/ops/
DGrCopySurfaceOp.h18 static std::unique_ptr<GrOp> Make(GrSurfaceProxy* dst, GrSurfaceProxy* src,
40 GrCopySurfaceOp(GrSurfaceProxy* dst, GrSurfaceProxy* src, in GrCopySurfaceOp()
58 GrPendingIOResource<GrSurfaceProxy, kRead_GrIOType> fSrc;
DGrCopySurfaceOp.cpp12 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()

123456