Home
last modified time | relevance | path

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

12345678

/external/skia/src/gpu/ganesh/
DGrSurfaceProxyView.cpp15 bool GrSurfaceProxyView::operator==(const GrSurfaceProxyView& view) const { in operator ==()
20 skgpu::Mipmapped GrSurfaceProxyView::mipmapped() const { in mipmapped()
27 GrTextureProxy* GrSurfaceProxyView::asTextureProxy() const { in asTextureProxy()
34 sk_sp<GrTextureProxy> GrSurfaceProxyView::asTextureProxyRef() const { in asTextureProxyRef()
38 GrRenderTargetProxy* GrSurfaceProxyView::asRenderTargetProxy() const { in asRenderTargetProxy()
45 sk_sp<GrRenderTargetProxy> GrSurfaceProxyView::asRenderTargetProxyRef() const { in asRenderTargetProxyRef()
49 void GrSurfaceProxyView::concatSwizzle(skgpu::Swizzle swizzle) { in concatSwizzle()
53 GrSurfaceProxyView GrSurfaceProxyView::makeSwizzle(skgpu::Swizzle swizzle) const& { in makeSwizzle()
57 GrSurfaceProxyView GrSurfaceProxyView::makeSwizzle(skgpu::Swizzle swizzle) && { in makeSwizzle()
61 void GrSurfaceProxyView::reset() { *this = {}; } in reset()
[all …]
DGrSurfaceProxyView.h34 class GrSurfaceProxyView {
36 GrSurfaceProxyView() = default;
38 GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy, GrSurfaceOrigin origin, skgpu::Swizzle swizzle) in GrSurfaceProxyView() function
42 explicit GrSurfaceProxyView(sk_sp<GrSurfaceProxy> proxy) in GrSurfaceProxyView() function
45 GrSurfaceProxyView(GrSurfaceProxyView&& view) = default;
46 GrSurfaceProxyView(const GrSurfaceProxyView&) = default;
50 GrSurfaceProxyView& operator=(const GrSurfaceProxyView&) = default;
51 GrSurfaceProxyView& operator=(GrSurfaceProxyView&& view) = default;
53 bool operator==(const GrSurfaceProxyView& view) const;
54 bool operator!=(const GrSurfaceProxyView& other) const { return !(*this == other); }
[all …]
DGrThreadSafeCache.h88 GrSurfaceProxyView find(const skgpu::UniqueKey&) SK_EXCLUDES(fSpinLock);
89 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> findWithData(
92 GrSurfaceProxyView add(
93 const skgpu::UniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
94 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> addWithData(
95 const skgpu::UniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
97 GrSurfaceProxyView findOrAdd(const skgpu::UniqueKey&,
98 const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
99 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> findOrAddWithData(
100 const skgpu::UniqueKey&, const GrSurfaceProxyView&) SK_EXCLUDES(fSpinLock);
[all …]
DGrThreadSafeCache.cpp113 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::internalFind( in internalFind()
133 GrSurfaceProxyView GrThreadSafeCache::find(const skgpu::UniqueKey& key) { in find()
136 GrSurfaceProxyView view; in find()
141 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::findWithData( in findWithData()
149 const GrSurfaceProxyView& view) { in getEntry()
198 std::tuple<GrSurfaceProxyView, sk_sp<SkData>> GrThreadSafeCache::internalAdd( in internalAdd()
200 const GrSurfaceProxyView& view) { in internalAdd()
211 GrSurfaceProxyView GrThreadSafeCache::add(const skgpu::UniqueKey& key, in add()
212 const GrSurfaceProxyView& view) { in add()
215 GrSurfaceProxyView newView; in add()
[all …]
DSurfaceFillContext.h20 GrSurfaceProxyView readView,
21 GrSurfaceProxyView writeView,
102 bool blitTexture(GrSurfaceProxyView,
114 const GrSurfaceProxyView& writeSurfaceView() const { return fWriteView; } in writeSurfaceView()
132 GrSurfaceProxyView fWriteView;
DSkGr.h36 class GrSurfaceProxyView; variable
162 GrSurfaceProxyView GrCopyBaseMipMapToView(GrRecordingContext*,
163 GrSurfaceProxyView,
174 std::tuple<GrSurfaceProxyView, GrColorType>
184 std::tuple<GrSurfaceProxyView, GrColorType> GrMakeUncachedBitmapProxyView(
DGrAHardwareBufferImageGenerator.h15 class GrSurfaceProxyView; variable
48 GrSurfaceProxyView onGenerateTexture(GrRecordingContext*, const SkImageInfo&,
53 GrSurfaceProxyView makeView(GrRecordingContext* context);
DGrRecordingContextPriv.cpp66 GrSurfaceProxyView readView, in makeSC()
87 GrSurfaceProxyView writeView(readView.refProxy(), readView.origin(), writeSwizzle); in makeSC()
146 GrSurfaceProxyView view(std::move(proxy), origin, swizzle); in makeSC()
191 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in makeSFC()
192 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in makeSFC()
251 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in makeSFC()
252 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in makeSFC()
337 GrSurfaceProxyView readView( proxy, origin, readSwizzle); in makeSFCFromBackendTexture()
338 GrSurfaceProxyView writeView(std::move(proxy), origin, writeSwizzle); in makeSFCFromBackendTexture()
DGrYUVATextureProxies.h16 class GrSurfaceProxyView; variable
34 GrSurfaceProxyView[SkYUVAInfo::kMaxPlanes],
60 GrSurfaceProxyView makeView(int i) const { in makeView()
DGrAHardwareBufferImageGenerator.cpp84 GrSurfaceProxyView GrAHardwareBufferImageGenerator::makeView(GrRecordingContext* context) { in makeView()
190 return GrSurfaceProxyView(std::move(texProxy), fSurfaceOrigin, readSwizzle); in makeView()
193 GrSurfaceProxyView GrAHardwareBufferImageGenerator::onGenerateTexture( in onGenerateTexture()
199 GrSurfaceProxyView texProxyView = this->makeView(context); in onGenerateTexture()
215 return GrSurfaceProxyView::Copy(context, in onGenerateTexture()
DGrDstProxyView.h48 const GrSurfaceProxyView& proxyView() const { return fProxyView; } in proxyView()
50 void setProxyView(GrSurfaceProxyView view) { in setProxyView()
64 GrSurfaceProxyView fProxyView;
DGrDynamicAtlas.h16 class GrSurfaceProxyView; variable
61 GrSurfaceProxyView readView(const GrCaps&) const;
62 GrSurfaceProxyView writeView(const GrCaps&) const;
/external/skia/src/gpu/ganesh/effects/
DGrTextureEffect.h26 GrSurfaceProxyView,
36 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView, SkAlphaType,
53 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView,
68 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView,
88 GrSurfaceProxyView,
107 const GrSurfaceProxyView& view() const { return fView; } in view()
161 GrSurfaceProxyView fView;
168 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
DGrDistanceFieldGeoProc.h22 class GrSurfaceProxyView; variable
75 const GrSurfaceProxyView* views, in Make()
89 const GrSurfaceProxyView* views, in Make()
105 void addNewViews(const GrSurfaceProxyView* views, int numViews, GrSamplerState);
115 const GrSurfaceProxyView* views,
154 const GrSurfaceProxyView* views, int numActiveViews, in Make()
167 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
177 const GrSurfaceProxyView* views,
225 const GrSurfaceProxyView* views, in Make()
242 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
[all …]
DGrBicubicEffect.h17 class GrSurfaceProxyView; variable
47 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView view,
56 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView view,
69 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view,
83 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view,
DGrBitmapTextGeoProc.h23 class GrSurfaceProxyView; variable
39 const GrSurfaceProxyView* views, in Make()
56 void addNewViews(const GrSurfaceProxyView*, int numActiveViews, GrSamplerState);
67 const GrSurfaceProxyView* views, int numViews, GrSamplerState params,
DGrShadowGeoProc.h17 class GrSurfaceProxyView; variable
25 static GrGeometryProcessor* Make(SkArenaAlloc* arena, const GrSurfaceProxyView& lutView) { in Make()
45 GrRRectShadowGeoProc(const GrSurfaceProxyView& lutView);
/external/skia/src/image/
DSkImage_Base.h43 class GrSurfaceProxyView; variable
121 std::tuple<GrSurfaceProxyView, GrColorType> asView(
224 static GrSurfaceProxyView CopyView(GrRecordingContext*,
225 GrSurfaceProxyView src,
231 GrSurfaceProxyView,
246 static GrSurfaceProxyView FindOrMakeCachedMipmappedView(GrRecordingContext*,
247 GrSurfaceProxyView,
253 virtual std::tuple<GrSurfaceProxyView, GrColorType> onAsView(
DSkImage_Gpu.h56 GrSurfaceProxyView view,
60 GrSurfaceProxyView volatileSrc,
108 GrSurfaceProxyView volatileSrc,
114 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
125 GrSurfaceProxyView makeView(GrRecordingContext*) const;
DSkImage_Lazy.h32 class GrSurfaceProxyView; variable
98 GrSurfaceProxyView lockTextureProxyView(GrRecordingContext*,
113 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
123 GrSurfaceProxyView textureProxyViewFromPlanes(GrRecordingContext*, skgpu::Budgeted) const;
/external/skia/src/gpu/ganesh/ops/
DGrMeshDrawOp.h41 const GrSurfaceProxyView& writeView, in createProgramInfo()
102 const GrSurfaceProxyView& writeView,
114 const GrSurfaceProxyView& writeView,
122 const GrSurfaceProxyView& writeView, in onPrePrepare()
/external/skia/gm/
Dgpu_blur_utils.cpp25 static GrSurfaceProxyView blur(GrRecordingContext* ctx, in blur()
26 GrSurfaceProxyView src, in blur()
50 static GrSurfaceProxyView slow_blur(GrRecordingContext* rContext, in slow_blur()
51 GrSurfaceProxyView src, in slow_blur()
57 auto tileInto = [rContext](GrSurfaceProxyView src, in slow_blur()
65 return GrSurfaceProxyView{}; in slow_blur()
128 GrSurfaceProxyView make_src_image(GrRecordingContext* rContext, in make_src_image()
188 GrSurfaceProxyView src = make_src_image(rContext, {60, 60}); in run()
376 GrSurfaceProxyView src, in do_very_large_blur_gm()
402 GrSurfaceProxyView result = b(rContext, src, dstB, srcB, sigX, sigY, tm); in do_very_large_blur_gm()
/external/skia/tests/
DTextureOpTest.cpp89 const GrSurfaceProxyView& proxyView, bool isAA) { in create_op()
123 GrSurfaceProxyView proxyViewA(create_proxy(dContext), in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
126 GrSurfaceProxyView proxyViewB(create_proxy(dContext), in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
129 GrSurfaceProxyView proxyViewC(create_proxy(dContext), in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DProcessorTest.cpp121 const GrSurfaceProxyView& writeView, in onCreateProgramInfo()
128 const GrSurfaceProxyView& writeView, in onPrePrepareDraws()
150 static std::unique_ptr<GrFragmentProcessor> Make(const SkTArray<GrSurfaceProxyView>& views) { in Make()
166 TestFP(const SkTArray<GrSurfaceProxyView>& views) in TestFP()
168 for (const GrSurfaceProxyView& view : views) { in TestFP()
228 SkTArray<GrSurfaceProxyView> views; in DEF_GANESH_TEST_FOR_ALL_CONTEXTS()
391 GrSurfaceProxyView view, in make()
427 static GrSurfaceProxyView make_input_texture(GrRecordingContext* context, in make_input_texture()
451 static bool log_texture_view(GrDirectContext* dContext, GrSurfaceProxyView src, SkString* dst) { in log_texture_view()
609 GrSurfaceProxyView inputTexture1 = in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/external/skia/tools/gpu/
DProxyUtils.cpp55 GrSurfaceProxyView MakeTextureProxyViewFromData(GrDirectContext* dContext, in MakeTextureProxyViewFromData()
84 GrSurfaceProxyView view(proxy, origin, swizzle); in MakeTextureProxyViewFromData()
98 const GrSurfaceProxyView& writeView, in CreateProgramInfo()

12345678