Home
last modified time | relevance | path

Searched refs:GrSurfaceProxyView (Results 1 – 25 of 194) sorted by relevance

12345678

/third_party/skia/src/gpu/
DGrSurfaceProxyView.h18 class GrSurfaceProxyView {
20 GrSurfaceProxyView() = default;
22 GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy, GrSurfaceOrigin origin, GrSwizzle swizzle) in GrSurfaceProxyView() function
26 explicit GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy) in GrSurfaceProxyView() function
29 GrSurfaceProxyView(GrSurfaceProxyView&& view) = default;
30 GrSurfaceProxyView(const GrSurfaceProxyView&) = default;
34 GrSurfaceProxyView& operator=(const GrSurfaceProxyView&) = default;
35 GrSurfaceProxyView& operator=(GrSurfaceProxyView&& view) = default;
37 bool operator==(const GrSurfaceProxyView& view) const {
42 bool operator!=(const GrSurfaceProxyView& other) const { return !(*this == other); }
[all …]
DGrThreadSafeCache.h87 GrSurfaceProxyView find(const GrUniqueKey&) SK_EXCLUDES(fSpinLock);
88 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> findWithData(
91 GrSurfaceProxyView add(const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
92 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> addWithData(
93 const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
95 GrSurfaceProxyView findOrAdd(const GrUniqueKey&,
96 const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
97 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> findOrAddWithData(
98 const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
184 static std::tuple<GrSurfaceProxyView, sk_sp<Trampoline>> CreateLazyView(GrDirectContext*,
[all …]
DGrThreadSafeCache.cpp110 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::internalFind( in internalFind()
130 GrSurfaceProxyView GrThreadSafeCache::find(const GrUniqueKey& key) { in find()
133 GrSurfaceProxyView view; in find()
138 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::findWithData( in findWithData()
146 const GrSurfaceProxyView& view) { in getEntry()
195 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::internalAdd( in internalAdd()
197 const GrSurfaceProxyView& view) { in internalAdd()
208 GrSurfaceProxyView GrThreadSafeCache::add(const GrUniqueKey& key, const GrSurfaceProxyView& view) { in add()
211 GrSurfaceProxyView newView; in add()
216 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::addWithData( in addWithData()
[all …]
DGrRecordingContextPriv.cpp69 std::unique_ptr<skgpu::SurfaceContext> GrRecordingContextPriv::makeSC(GrSurfaceProxyView readView, in makeSC()
91 GrSurfaceProxyView writeView(readView.refProxy(), readView.origin(), writeSwizzle); in makeSC()
148 GrSurfaceProxyView view(std::move(proxy), origin, swizzle); in makeSC()
190 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in makeSFC()
191 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in makeSFC()
250 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in makeSFC()
251 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in makeSFC()
345 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in makeSFCFromBackendTexture()
346 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in makeSFCFromBackendTexture()
DGrAHardwareBufferImageGenerator.h15 class GrSurfaceProxyView; variable
45 GrSurfaceProxyView onGenerateTexture(GrRecordingContext*, const SkImageInfo&, const SkIPoint&,
52 GrSurfaceProxyView makeView(GrRecordingContext* context);
DGrDstProxyView.h48 const GrSurfaceProxyView& proxyView() const { return fProxyView; } in proxyView()
50 void setProxyView(GrSurfaceProxyView view) { in setProxyView()
62 GrSurfaceProxyView fProxyView;
DGrAHardwareBufferImageGenerator.cpp83 GrSurfaceProxyView GrAHardwareBufferImageGenerator::makeView(GrRecordingContext* context) { in makeView()
182 return GrSurfaceProxyView(std::move(texProxy), fSurfaceOrigin, readSwizzle); in makeView()
185 GrSurfaceProxyView GrAHardwareBufferImageGenerator::onGenerateTexture( in onGenerateTexture()
191 GrSurfaceProxyView texProxyView = this->makeView(context); in onGenerateTexture()
209 return GrSurfaceProxyView::Copy(context, std::move(texProxyView), mipMapped, subset, in onGenerateTexture()
DGrYUVATextureProxies.h16 class GrSurfaceProxyView; variable
34 GrSurfaceProxyView[SkYUVAInfo::kMaxPlanes],
60 GrSurfaceProxyView makeView(int i) const { in makeView()
DSurfaceFillContext.h98 virtual bool blitTexture(GrSurfaceProxyView,
106 GrSurfaceProxyView readView, in SurfaceFillContext()
107 GrSurfaceProxyView writeView, in SurfaceFillContext()
121 GrSurfaceProxyView fWriteView;
DSkGr.h165 GrSurfaceProxyView GrCopyBaseMipMapToView(GrRecordingContext*,
166 GrSurfaceProxyView,
177 std::tuple<GrSurfaceProxyView, GrColorType>
186 std::tuple<GrSurfaceProxyView, GrColorType>
/third_party/skia/src/image/
DSkImage_Base.h95 std::tuple<GrSurfaceProxyView, GrColorType> asView(
175 static GrSurfaceProxyView CopyView(GrRecordingContext*,
176 GrSurfaceProxyView src,
181 GrSurfaceProxyView,
196 static GrSurfaceProxyView FindOrMakeCachedMipmappedView(GrRecordingContext*,
197 GrSurfaceProxyView,
203 virtual std::tuple<GrSurfaceProxyView, GrColorType> onAsView(
235 inline GrSurfaceProxyView SkImage_Base::CopyView(GrRecordingContext* context, in CopyView()
236 GrSurfaceProxyView src, in CopyView()
242 return GrSurfaceProxyView::Copy(context, in CopyView()
DSkImage_Gpu.h28 GrSurfaceProxyView view,
32 GrSurfaceProxyView volatileSrc,
80 GrSurfaceProxyView volatileSrc,
86 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
97 GrSurfaceProxyView makeView(GrRecordingContext*) const;
DSkImage_Lazy.h57 GrSurfaceProxyView lockTextureProxyView(GrRecordingContext*,
71 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
81 GrSurfaceProxyView textureProxyViewFromPlanes(GrRecordingContext*, SkBudgeted) const;
/third_party/skia/src/gpu/effects/
DGrTextureEffect.h23 GrSurfaceProxyView,
33 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView, SkAlphaType,
50 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView,
65 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView,
85 GrSurfaceProxyView,
104 const GrSurfaceProxyView& view() const { return fView; } in view()
158 GrSurfaceProxyView fView;
165 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
DGrDistanceFieldGeoProc.h67 const GrSurfaceProxyView* views, in Make()
81 const GrSurfaceProxyView* views, in Make()
97 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState);
107 const GrSurfaceProxyView* views,
151 const GrSurfaceProxyView* views, int numActiveViews, in Make()
163 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
175 const GrSurfaceProxyView* views,
226 const GrSurfaceProxyView* views, in Make()
243 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
252 GrDistanceFieldLCDTextGeoProc(const GrShaderCaps& caps, const GrSurfaceProxyView* views,
DGrBitmapTextGeoProc.h17 class GrSurfaceProxyView; variable
36 const GrSurfaceProxyView* views, in Make()
52 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
62 const GrSurfaceProxyView* views, int numViews, GrSamplerState params,
DGrBicubicEffect.h43 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView view,
52 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView view,
65 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view,
79 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view,
DGrShadowGeoProc.h16 class GrSurfaceProxyView; variable
24 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrSurfaceProxyView& lutView) { in Make()
44 GrRRectShadowGeoProc(const GrSurfaceProxyView& lutView);
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.h26 class GrSurfaceProxyView; variable
34 GrSurfaceProxyView readView,
35 GrSurfaceProxyView writeView,
43 bool blitTexture(GrSurfaceProxyView view,
60 const GrSurfaceProxyView& writeSurfaceView() const { return fWriteView; } in writeSurfaceView()
/third_party/skia/src/gpu/ops/
DGrMeshDrawOp.h39 const GrSurfaceProxyView& writeView, in createProgramInfo()
100 const GrSurfaceProxyView& writeView,
112 const GrSurfaceProxyView& writeView,
120 const GrSurfaceProxyView& writeView, in onPrePrepare()
/third_party/skia/gm/
Dgpu_blur_utils.cpp24 static GrSurfaceProxyView blur(GrRecordingContext* ctx, in blur()
25 GrSurfaceProxyView src, in blur()
49 static GrSurfaceProxyView slow_blur(GrRecordingContext* rContext, in slow_blur()
50 GrSurfaceProxyView src, in slow_blur()
56 auto tileInto = [rContext](GrSurfaceProxyView src, in slow_blur()
64 return GrSurfaceProxyView{}; in slow_blur()
127 GrSurfaceProxyView make_src_image(GrRecordingContext* rContext, in make_src_image()
187 GrSurfaceProxyView src = make_src_image(rContext, {60, 60}); in run()
377 GrSurfaceProxyView src, in do_very_large_blur_gm()
403 GrSurfaceProxyView result = b(rContext, src, dstB, srcB, sigX, sigY, tm); in do_very_large_blur_gm()
/third_party/skia/src/core/
DSkSpecialImage.cpp52 virtual GrSurfaceProxyView onView(GrRecordingContext* context) const = 0;
110 GrSurfaceProxyView SkSpecialImage::view(GrRecordingContext* context) const { in view()
218 GrSurfaceProxyView onView(GrRecordingContext* context) const override { in onView()
323 static sk_sp<SkImage> wrap_proxy_in_image(GrRecordingContext* context, GrSurfaceProxyView view, in wrap_proxy_in_image()
335 uint32_t uniqueID, GrSurfaceProxyView view, GrColorType ct, in SkSpecialImage_Gpu()
376 GrSurfaceProxyView onView(GrRecordingContext* context) const override { return fView; } in onView()
422 auto subsetView = GrSurfaceProxyView::Copy(fContext, fView, GrMipmapped::kNo, *subset, in onAsImage()
454 GrSurfaceProxyView fView;
465 GrSurfaceProxyView view, in MakeDeferredFromGpu()
/third_party/skia/tests/
DTextureOpTest.cpp53 const GrSurfaceProxyView& proxyView, bool isAA) { in create_op()
88 GrSurfaceProxyView proxyViewA(create_proxy(dContext), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
91 GrSurfaceProxyView proxyViewB(create_proxy(dContext), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 GrSurfaceProxyView proxyViewC(create_proxy(dContext), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProcessorTest.cpp66 const GrSurfaceProxyView& writeView, in onCreateProgramInfo()
73 const GrSurfaceProxyView& writeView, in onPrePrepareDraws()
95 static std::unique_ptr<GrFragmentProcessor> Make(const SkTArray<GrSurfaceProxyView>& views) { in Make()
111 TestFP(const SkTArray<GrSurfaceProxyView>& views) in TestFP()
113 for (const GrSurfaceProxyView& view : views) { in TestFP()
165 SkTArray<GrSurfaceProxyView> views; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
329 GrSurfaceProxyView view, in make()
365 static GrSurfaceProxyView make_input_texture(GrRecordingContext* context, in make_input_texture()
389 static bool log_texture_view(GrDirectContext* dContext, GrSurfaceProxyView src, SkString* dst) { in log_texture_view()
542 GrSurfaceProxyView inputTexture1 = in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/third_party/skia/include/core/
DSkImageGenerator.h18 class GrSurfaceProxyView; variable
146 GrSurfaceProxyView generateTexture(GrRecordingContext*, const SkImageInfo& info,
182 virtual GrSurfaceProxyView onGenerateTexture(GrRecordingContext*, const SkImageInfo&,

12345678