Home
last modified time | relevance | path

Searched refs:GrRecordingContext (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/third_party/skia/src/gpu/
DGrRecordingContext.cpp30 GrRecordingContext::ProgramData::ProgramData(std::unique_ptr<const GrProgramDesc> desc, in ProgramData()
36 GrRecordingContext::ProgramData::ProgramData(ProgramData&& other) in ProgramData()
41 GrRecordingContext::ProgramData::~ProgramData() = default;
43 GrRecordingContext::GrRecordingContext(sk_sp<GrContextThreadSafeProxy> proxy, bool ddlRecording) in GrRecordingContext() function in GrRecordingContext
50 GrRecordingContext::~GrRecordingContext() { in ~GrRecordingContext()
56 int GrRecordingContext::maxSurfaceSampleCountForColorType(SkColorType colorType) const { in maxSurfaceSampleCountForColorType()
63 bool GrRecordingContext::init() { in init()
96 void GrRecordingContext::abandonContext() { in abandonContext()
102 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager()
106 void GrRecordingContext::destroyDrawingManager() { in destroyDrawingManager()
[all …]
DGrRecordingContextPriv.h30 GrRecordingContext* context() { return static_cast<GrRecordingContext*>(fContext); } in context()
31 const GrRecordingContext* context() const { in context()
32 return static_cast<const GrRecordingContext*>(fContext); in context()
44 GrRecordingContext::Arenas arenas() { return this->context()->arenas(); } in arenas()
46 GrRecordingContext::OwnedArenas&& detachArenas() { return this->context()->detachArenas(); } in detachArenas()
52 void detachProgramData(SkTArray<GrRecordingContext::ProgramData>* dst) { in detachProgramData()
77 AutoSuppressWarningMessages(GrRecordingContext* context) : fContext(context) { in AutoSuppressWarningMessages()
84 GrRecordingContext* fContext;
99 GrRecordingContext::Stats* stats() { in stats()
104 using DMSAAStats = GrRecordingContext::DMSAAStats;
[all …]
DSkGr.h29 class GrRecordingContext; variable
86 bool SkPaintToGrPaint(GrRecordingContext*,
95 bool SkPaintToGrPaintReplaceShader(GrRecordingContext*,
104 bool SkPaintToGrPaintWithBlend(GrRecordingContext*,
115 inline bool SkPaintToGrPaintWithPrimitiveColor(GrRecordingContext* context, in SkPaintToGrPaintWithPrimitiveColor()
157 sk_sp<GrSurfaceProxy> GrCopyBaseMipMapToTextureProxy(GrRecordingContext*,
165 GrSurfaceProxyView GrCopyBaseMipMapToView(GrRecordingContext*,
178 GrMakeCachedBitmapProxyView(GrRecordingContext*,
187 GrMakeUncachedBitmapProxyView(GrRecordingContext*,
DGrDrawingManager.h33 class GrRecordingContext; variable
113 GrRecordingContext* getContext() { return fContext; } in getContext()
166 GrDrawingManager(GrRecordingContext*,
170 GrDrawingManager(GrRecordingContext*, bool reduceOpsTaskSplitting);
206 friend class GrRecordingContext; // access to: ctor variable
212 GrRecordingContext* fContext;
/third_party/skia/src/image/
DSkImage_Base.h96 GrRecordingContext* context,
108 std::unique_ptr<GrFragmentProcessor> asFragmentProcessor(GrRecordingContext*,
125 virtual bool onPinAsTexture(GrRecordingContext*) const { return false; } in onPinAsTexture() argument
126 virtual void onUnpinAsTexture(GrRecordingContext*) const {} in onUnpinAsTexture() argument
127 virtual bool isPinnedOnContext(GrRecordingContext*) const { return false; } in isPinnedOnContext() argument
155 virtual bool onIsValid(GrRecordingContext*) const = 0;
172 static GrSurfaceProxyView CopyView(GrRecordingContext*,
177 static std::unique_ptr<GrFragmentProcessor> MakeFragmentProcessorFromView(GrRecordingContext*,
193 static GrSurfaceProxyView FindOrMakeCachedMipmappedView(GrRecordingContext*,
201 GrRecordingContext*,
[all …]
DSkImage_Gpu.h19 class GrRecordingContext; variable
31 static sk_sp<SkImage> MakeWithVolatileSrc(sk_sp<GrRecordingContext> rContext,
84 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
88 std::unique_ptr<GrFragmentProcessor> onAsFragmentProcessor(GrRecordingContext*,
95 GrSurfaceProxyView makeView(GrRecordingContext*) const;
115 sk_sp<GrSurfaceProxy> chooseProxy(GrRecordingContext* context) SK_EXCLUDES(fLock);
DSkImage_Lazy.h52 bool onIsValid(GrRecordingContext*) const override;
57 GrSurfaceProxyView lockTextureProxyView(GrRecordingContext*,
71 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
74 std::unique_ptr<GrFragmentProcessor> onAsFragmentProcessor(GrRecordingContext*,
81 GrSurfaceProxyView textureProxyViewFromPlanes(GrRecordingContext*, SkBudgeted) const;
DSkImage_GpuYUVA.h17 class GrRecordingContext; variable
47 bool setupMipmapsForPlanes(GrRecordingContext*) const;
52 std::tuple<GrSurfaceProxyView, GrColorType> onAsView(GrRecordingContext*,
56 std::unique_ptr<GrFragmentProcessor> onAsFragmentProcessor(GrRecordingContext*,
/third_party/flutter/skia/src/gpu/
DGrRecordingContext.cpp26 GrRecordingContext::GrRecordingContext(GrBackendApi backend, in GrRecordingContext() function in GrRecordingContext
33 GrRecordingContext::~GrRecordingContext() { } in ~GrRecordingContext()
40 GrRecordingContext* context = reinterpret_cast<GrRecordingContext*>(data); in textblobcache_overbudget_CB()
54 bool GrRecordingContext::init(sk_sp<const GrCaps> caps, sk_sp<GrSkSLFPFactoryCache> cache) { in init()
69 void GrRecordingContext::setupDrawingManager(bool sortOpLists, bool reduceOpListSplitting) { in setupDrawingManager()
107 void GrRecordingContext::abandonContext() { in abandonContext()
114 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager()
118 sk_sp<GrOpMemoryPool> GrRecordingContext::refOpMemoryPool() { in refOpMemoryPool()
130 GrOpMemoryPool* GrRecordingContext::opMemoryPool() { in opMemoryPool()
134 GrTextBlobCache* GrRecordingContext::getTextBlobCache() { in getTextBlobCache()
[all …]
DGrClipStackClip.h31 bool apply(GrRecordingContext*, GrRenderTargetContext*, bool useHWAA,
40 static bool PathNeedsSWRenderer(GrRecordingContext* context,
49 bool applyClipMask(GrRecordingContext*, GrRenderTargetContext*, const GrReducedClip&,
54 sk_sp<GrTextureProxy> createAlphaClipMask(GrRecordingContext*, const GrReducedClip&) const;
57 sk_sp<GrTextureProxy> createSoftwareClipMask(GrRecordingContext*, const GrReducedClip&,
60 static bool UseSWOnlyPath(GrRecordingContext*,
DSkGr.h31 class GrRecordingContext; variable
82 bool SkPaintToGrPaint(GrRecordingContext*,
89 bool SkPaintToGrPaintNoShader(GrRecordingContext*,
97 bool SkPaintToGrPaintReplaceShader(GrRecordingContext*,
105 bool SkPaintToGrPaintWithXfermode(GrRecordingContext*,
116 inline bool SkPaintToGrPaintWithPrimitiveColor(GrRecordingContext* context, in SkPaintToGrPaintWithPrimitiveColor()
126 bool SkPaintToGrPaintWithTexture(GrRecordingContext*,
188 sk_sp<GrTextureProxy> GrRefCachedBitmapTextureProxy(GrRecordingContext*,
196 sk_sp<GrTextureProxy> GrCopyBaseMipMapToTextureProxy(GrRecordingContext*,
DGrRecordingContextPriv.h31 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext()
123 explicit GrRecordingContextPriv(GrRecordingContext* context) : fContext(context) {} in GrRecordingContextPriv()
131 GrRecordingContext* fContext;
133 friend class GrRecordingContext; // to construct/copy this type. variable
136 inline GrRecordingContextPriv GrRecordingContext::priv() { return GrRecordingContextPriv(this); } in priv()
138 inline const GrRecordingContextPriv GrRecordingContext::priv () const { in priv()
139 return GrRecordingContextPriv(const_cast<GrRecordingContext*>(this)); in priv()
DGrTextureProducer.h18 class GrRecordingContext; variable
118 GrTextureProducer(GrRecordingContext* context, int width, int height, in GrTextureProducer()
164 static sk_sp<GrTextureProxy> CopyOnGpu(GrRecordingContext*,
184 GrRecordingContext* context() const { return fContext; } in context()
191 GrRecordingContext* fContext;
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.h17 class GrRecordingContext; variable
30 static GrOp::Owner MakeCircleOp(GrRecordingContext*,
37 static GrOp::Owner MakeOvalOp(GrRecordingContext*,
44 static GrOp::Owner MakeCircularRRectOp(GrRecordingContext*,
51 static GrOp::Owner MakeRRectOp(GrRecordingContext*,
58 static GrOp::Owner MakeArcOp(GrRecordingContext*,
DFillRectOp.h20 class GrRecordingContext; variable
39 static GrOp::Owner Make(GrRecordingContext*,
49 static GrOp::Owner MakeNonAARect(GrRecordingContext*,
59 GrRecordingContext*,
74 static GrOp::Owner MakeOp(GrRecordingContext*,
DAtlasPathRenderer.h20 class GrRecordingContext; variable
29 static bool IsSupported(GrRecordingContext*);
32 static sk_sp<AtlasPathRenderer> Make(GrRecordingContext* rContext);
79 bool addPathToAtlas(GrRecordingContext*,
/third_party/flutter/skia/src/gpu/ops/
DGrOvalOpFactory.h16 class GrRecordingContext; variable
29 static std::unique_ptr<GrDrawOp> MakeCircleOp(GrRecordingContext*,
36 static std::unique_ptr<GrDrawOp> MakeOvalOp(GrRecordingContext*,
43 static std::unique_ptr<GrDrawOp> MakeCircularRRectOp(GrRecordingContext*,
50 static std::unique_ptr<GrDrawOp> MakeRRectOp(GrRecordingContext*,
57 static std::unique_ptr<GrDrawOp> MakeArcOp(GrRecordingContext*,
DGrFillRectOp.h17 class GrRecordingContext; variable
30 std::unique_ptr<GrDrawOp> Make(GrRecordingContext* context,
40 std::unique_ptr<GrDrawOp> MakeNonAARect(GrRecordingContext* context,
48 std::unique_ptr<GrDrawOp> MakeSet(GrRecordingContext* context,
/third_party/flutter/skia/src/core/
DSkSpecialImage.h16 class GrRecordingContext; variable
63 sk_sp<SkSpecialImage> makeTextureImage(GrRecordingContext*);
70 static sk_sp<SkSpecialImage> MakeFromImage(GrRecordingContext*,
81 static sk_sp<SkSpecialImage> MakeDeferredFromGpu(GrRecordingContext*,
135 GrRecordingContext* getContext() const;
144 sk_sp<GrTextureProxy> asTextureProxyRef(GrRecordingContext*) const;
/third_party/flutter/skia/src/image/
DSkImage_Base.h19 class GrRecordingContext; variable
59 virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrRecordingContext*) const { return nullptr; } in asTextureProxyRef() argument
60 virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrRecordingContext*, const GrSamplerState&,
62 virtual sk_sp<GrTextureProxy> refPinnedTextureProxy(GrRecordingContext*, in refPinnedTextureProxy() argument
76 virtual sk_sp<SkImage> onMakeSubset(GrRecordingContext*, const SkIRect&) const = 0;
101 virtual sk_sp<SkImage> onMakeColorTypeAndColorSpace(GrRecordingContext*,
/third_party/skia/include/core/
DSkSurface.h37 class GrRecordingContext; variable
212 static sk_sp<SkSurface> MakeFromBackendTexture(GrRecordingContext* context,
246 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrRecordingContext* context,
281 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted,
308 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted, in MakeRenderTarget()
333 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted, in MakeRenderTarget()
354 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context,
406 static sk_sp<SkSurface> MakeFromCAMetalLayer(GrRecordingContext* context,
433 static sk_sp<SkSurface> MakeFromMTKView(GrRecordingContext* context,
512 GrRecordingContext* recordingContext();
DSkImageGenerator.h17 class GrRecordingContext; variable
58 bool isValid(GrRecordingContext* context) const { in isValid()
146 GrSurfaceProxyView generateTexture(GrRecordingContext*, const SkImageInfo& info,
176 virtual bool onIsValid(GrRecordingContext*) const { return true; } in onIsValid() argument
182 virtual GrSurfaceProxyView onGenerateTexture(GrRecordingContext*, const SkImageInfo&,
DSkDeferredDisplayList.h55 const SkTArray<GrRecordingContext::ProgramData>& fProgramData;
91 const SkTArray<GrRecordingContext::ProgramData>& programData() const { in programData()
101 GrRecordingContext::OwnedArenas fArenas;
104 SkTArray<GrRecordingContext::ProgramData> fProgramData;
/third_party/skia/src/core/
DSkSpecialImage.h22 class GrRecordingContext; variable
73 static sk_sp<SkSpecialImage> MakeFromImage(GrRecordingContext*,
84 static sk_sp<SkSpecialImage> MakeDeferredFromGpu(GrRecordingContext*,
139 GrRecordingContext* getContext() const;
148 GrSurfaceProxyView view(GrRecordingContext*) const;
/third_party/skia/gm/
Dgm.h23 class GrRecordingContext; variable
66 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrRecordingContext*, SkCanvas*); \
71 void SK_MACRO_CONCAT(NAME,_GM_inner)(GrRecordingContext* GR_CONTEXT, SkCanvas* CANVAS)
78 GrRecordingContext*, SkCanvas*, SkString*); \
82 GrRecordingContext* GR_CONTEXT, SkCanvas* CANVAS, SkString* ERR_MSG)
209 virtual DrawResult onDraw(GrRecordingContext*, SkCanvas*, SkString* errorMsg);
210 virtual void onDraw(GrRecordingContext*, SkCanvas*);
234 using DrawProc = DrawResult (*)(GrRecordingContext*, SkCanvas*, SkString* errorMsg);
242 DrawResult onDraw(GrRecordingContext*, SkCanvas*, SkString* errorMsg) override;

12345678910>>...18