Home
last modified time | relevance | path

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

12345678

/external/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.h88 GrSurfaceProxyView find(const GrUniqueKey&) SK_EXCLUDES(fSpinLock);
89 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> findWithData(
92 GrSurfaceProxyView add(const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
93 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> addWithData(
94 const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
96 GrSurfaceProxyView findOrAdd(const GrUniqueKey&,
97 const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
98 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> findOrAddWithData(
99 const GrUniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
185 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 …]
DGrAHardwareBufferImageGenerator.h15 class GrSurfaceProxyView; variable
45 GrSurfaceProxyView onGenerateTexture(GrRecordingContext*, const SkImageInfo&, const SkIPoint&,
52 GrSurfaceProxyView makeView(GrRecordingContext* context);
DGrSurfaceFillContext.h27 class GrSurfaceProxyView; variable
44 GrSurfaceProxyView readView,
45 GrSurfaceProxyView writeView,
190 bool blitTexture(GrSurfaceProxyView view, const SkIRect& srcRect, const SkIPoint& dstPoint);
205 const GrSurfaceProxyView& writeSurfaceView() const { return fWriteView; } in writeSurfaceView()
243 GrSurfaceProxyView fWriteView;
DGrYUVATextureProxies.h16 class GrSurfaceProxyView; variable
34 GrSurfaceProxyView[SkYUVAInfo::kMaxPlanes],
60 GrSurfaceProxyView makeView(int i) const { in makeView()
DGrSurfaceFillContext.cpp113 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in Make()
114 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in Make()
160 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in Make()
161 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in Make()
243 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in MakeFromBackendTexture()
244 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in MakeFromBackendTexture()
258 GrSurfaceProxyView readView, in GrSurfaceFillContext()
259 GrSurfaceProxyView writeView, in GrSurfaceFillContext()
438 bool GrSurfaceFillContext::blitTexture(GrSurfaceProxyView view, in blitTexture()
DGrAHardwareBufferImageGenerator.cpp83 GrSurfaceProxyView GrAHardwareBufferImageGenerator::makeView(GrRecordingContext* context) { in makeView()
193 return GrSurfaceProxyView(std::move(texProxy), fSurfaceOrigin, readSwizzle); in makeView()
196 GrSurfaceProxyView GrAHardwareBufferImageGenerator::onGenerateTexture( in onGenerateTexture()
202 GrSurfaceProxyView texProxyView = this->makeView(context); in onGenerateTexture()
220 return GrSurfaceProxyView::Copy(context, std::move(texProxyView), mipMapped, subset, in onGenerateTexture()
DSkGr.h192 GrSurfaceProxyView GrCopyBaseMipMapToView(GrRecordingContext*,
193 GrSurfaceProxyView,
204 std::tuple<GrSurfaceProxyView, GrColorType>
213 std::tuple<GrSurfaceProxyView, GrColorType>
/external/skia/src/image/
DSkImage_Base.h95 std::tuple<GrSurfaceProxyView, GrColorType> asView(
172 static GrSurfaceProxyView CopyView(GrRecordingContext*,
173 GrSurfaceProxyView src,
178 GrSurfaceProxyView,
193 static GrSurfaceProxyView FindOrMakeCachedMipmappedView(GrRecordingContext*,
194 GrSurfaceProxyView,
200 virtual std::tuple<GrSurfaceProxyView, GrColorType> onAsView(
232 inline GrSurfaceProxyView SkImage_Base::CopyView(GrRecordingContext* context, in CopyView()
233 GrSurfaceProxyView src, in CopyView()
239 return GrSurfaceProxyView::Copy(context, in CopyView()
DSkImage_Gpu.h28 GrSurfaceProxyView view,
32 GrSurfaceProxyView volatileSrc,
78 GrSurfaceProxyView volatileSrc,
84 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
95 GrSurfaceProxyView makeView(GrRecordingContext*) const;
DSkImage_Lazy.h57 GrSurfaceProxyView lockTextureProxyView(GrRecordingContext*,
71 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
81 GrSurfaceProxyView textureProxyViewFromPlanes(GrRecordingContext*, SkBudgeted) const;
/external/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()
157 GrSurfaceProxyView fView;
164 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
DGrDistanceFieldGeoProc.h63 const GrSurfaceProxyView* views, in Make()
77 const GrSurfaceProxyView* views, in Make()
103 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState);
111 const GrSurfaceProxyView* views,
151 const GrSurfaceProxyView* views, int numActiveViews, in Make()
170 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
180 const GrSurfaceProxyView* views,
227 const GrSurfaceProxyView* views, in Make()
252 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
259 GrDistanceFieldLCDTextGeoProc(const GrShaderCaps& caps, const GrSurfaceProxyView* views,
DGrBitmapTextGeoProc.h17 class GrSurfaceProxyView; variable
32 const GrSurfaceProxyView* views, in Make()
58 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
66 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()
42 GrRRectShadowGeoProc(const GrSurfaceProxyView& lutView);
/external/skia/src/gpu/ops/
DGrMeshDrawOp.h43 const GrSurfaceProxyView& writeView, in createProgramInfo()
108 const GrSurfaceProxyView& writeView,
120 const GrSurfaceProxyView& writeView,
127 const GrSurfaceProxyView& writeView, in onPrePrepare()
227 virtual const GrSurfaceProxyView& writeView() const = 0;
/external/skia/gm/
Dgpu_blur_utils.cpp19 static GrSurfaceProxyView blur(GrRecordingContext* ctx, in blur()
20 GrSurfaceProxyView src, in blur()
44 static GrSurfaceProxyView slow_blur(GrRecordingContext* ctx, in slow_blur()
45 GrSurfaceProxyView src, in slow_blur()
51 auto tileInto = [ctx](GrSurfaceProxyView src, in slow_blur()
59 return GrSurfaceProxyView{}; in slow_blur()
122 GrSurfaceProxyView make_src_image(GrRecordingContext* rContext, in make_src_image()
177 GrSurfaceProxyView src = make_src_image(rContext, {60, 60}); in run()
352 GrSurfaceProxyView src, in do_very_large_blur_gm()
372 GrSurfaceProxyView result = b(rContext, src, dstB, srcB, sigX, sigY, tm); in do_very_large_blur_gm()
/external/skia/tests/
DTextureOpTest.cpp51 const GrSurfaceProxyView& proxyView, bool isAA) { in create_op()
86 GrSurfaceProxyView proxyViewA(create_proxy(dContext), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
89 GrSurfaceProxyView proxyViewB(create_proxy(dContext), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 GrSurfaceProxyView proxyViewC(create_proxy(dContext), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/core/
DSkImageGenerator.h18 class GrSurfaceProxyView; variable
146 GrSurfaceProxyView generateTexture(GrRecordingContext*, const SkImageInfo& info,
182 virtual GrSurfaceProxyView onGenerateTexture(GrRecordingContext*, const SkImageInfo&,
/external/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()
DSkMaskFilterBase.h32 class GrSurfaceProxyView; variable
130 virtual GrSurfaceProxyView filterMaskGPU(GrRecordingContext*,
131 GrSurfaceProxyView srcView,
/external/skia/tools/gpu/
DProxyUtils.cpp52 GrSurfaceProxyView MakeTextureProxyViewFromData(GrDirectContext* dContext, in MakeTextureProxyViewFromData()
80 GrSurfaceProxyView view(proxy, origin, swizzle); in MakeTextureProxyViewFromData()
93 const GrSurfaceProxyView& writeView, in CreateProgramInfo()
DProxyUtils.h26 GrSurfaceProxyView MakeTextureProxyViewFromData(GrDirectContext*,
33 const GrSurfaceProxyView& writeView,

12345678