Home
last modified time | relevance | path

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

12345678910>>...12

/external/skia/src/gpu/
DGrRecordingContext.cpp28 GrRecordingContext::ProgramData::ProgramData(std::unique_ptr<const GrProgramDesc> desc, in ProgramData()
34 GrRecordingContext::ProgramData::ProgramData(ProgramData&& other) in ProgramData()
39 GrRecordingContext::ProgramData::~ProgramData() = default;
41 GrRecordingContext::GrRecordingContext(sk_sp<GrContextThreadSafeProxy> proxy, bool ddlRecording) in GrRecordingContext() function in GrRecordingContext
48 GrRecordingContext::~GrRecordingContext() { in ~GrRecordingContext()
52 int GrRecordingContext::maxSurfaceSampleCountForColorType(SkColorType colorType) const { in maxSurfaceSampleCountForColorType()
59 bool GrRecordingContext::init() { in init()
88 void GrRecordingContext::abandonContext() { in abandonContext()
94 GrDrawingManager* GrRecordingContext::drawingManager() { in drawingManager()
98 void GrRecordingContext::destroyDrawingManager() { in destroyDrawingManager()
[all …]
DGrRecordingContextPriv.h33 GrRecordingContext* asRecordingContext() { return fContext->asRecordingContext(); } in asRecordingContext()
49 GrRecordingContext::Arenas arenas() { return fContext->arenas(); } in arenas()
51 GrRecordingContext::OwnedArenas&& detachArenas() { return fContext->detachArenas(); } in detachArenas()
57 void detachProgramData(SkTArray<GrRecordingContext::ProgramData>* dst) { in detachProgramData()
82 AutoSuppressWarningMessages(GrRecordingContext* context) : fContext(context) { in AutoSuppressWarningMessages()
89 GrRecordingContext* fContext;
104 GrRecordingContext::Stats* stats() { in stats()
109 using DMSAAStats = GrRecordingContext::DMSAAStats;
118 static sk_sp<GrRecordingContext> MakeDDL(sk_sp<GrContextThreadSafeProxy>);
121 explicit GrRecordingContextPriv(GrRecordingContext* context) : fContext(context) {} in GrRecordingContextPriv()
[all …]
DSkGr.h29 class GrRecordingContext; variable
86 bool SkPaintToGrPaint(GrRecordingContext*,
93 bool SkPaintToGrPaintNoShader(GrRecordingContext*,
102 bool SkPaintToGrPaintReplaceShader(GrRecordingContext*,
111 bool SkPaintToGrPaintWithBlend(GrRecordingContext*,
120 bool SkPaintToGrPaintWithBlendReplaceShader(GrRecordingContext* context,
132 inline bool SkPaintToGrPaintWithPrimitiveColor(GrRecordingContext* context, in SkPaintToGrPaintWithPrimitiveColor()
143 bool SkPaintToGrPaintWithTexture(GrRecordingContext*,
184 sk_sp<GrSurfaceProxy> GrCopyBaseMipMapToTextureProxy(GrRecordingContext*,
192 GrSurfaceProxyView GrCopyBaseMipMapToView(GrRecordingContext*,
[all …]
DGrClipStackClip.h31 Effect apply(GrRecordingContext*, GrSurfaceDrawContext*, GrAAType aaType,
35 sk_sp<GrTextureProxy> testingOnly_createClipMask(GrRecordingContext*) const;
39 static bool PathNeedsSWRenderer(GrRecordingContext* context,
47 bool applyClipMask(GrRecordingContext*, GrSurfaceDrawContext*, const GrReducedClip&,
52 GrSurfaceProxyView createAlphaClipMask(GrRecordingContext*, const GrReducedClip&) const;
55 GrSurfaceProxyView createSoftwareClipMask(GrRecordingContext*, const GrReducedClip&,
58 static bool UseSWOnlyPath(GrRecordingContext*,
DGrSurfaceContext.h27 class GrRecordingContext; variable
45 static std::unique_ptr<GrSurfaceContext> Make(GrRecordingContext*,
51 static std::unique_ptr<GrSurfaceContext> Make(GrRecordingContext*,
63 static std::unique_ptr<GrSurfaceContext> Make(GrRecordingContext*,
75 GrSurfaceContext(GrRecordingContext*, GrSurfaceProxyView readView, const GrColorInfo&);
79 GrRecordingContext* recordingContext() { return fContext; } in recordingContext()
214 GrRecordingContext* fContext;
DGrDDLContext.cpp21 class GrDDLContext final : public GrRecordingContext {
111 using INHERITED = GrRecordingContext;
114 sk_sp<GrRecordingContext> GrRecordingContextPriv::MakeDDL(sk_sp<GrContextThreadSafeProxy> proxy) { in MakeDDL()
115 sk_sp<GrRecordingContext> context(new GrDDLContext(std::move(proxy))); in MakeDDL()
DGrBlurUtils.h15 class GrRecordingContext; variable
36 void drawShapeWithMaskFilter(GrRecordingContext*,
47 void drawShapeWithMaskFilter(GrRecordingContext*,
DGrDrawOpTest.h19 class GrRecordingContext; variable
30 GrRecordingContext* context, \
34 GrRecordingContext*, GrSurfaceDrawContext*, int)
/external/skia/src/image/
DSkImage_Base.h96 GrRecordingContext* context,
108 std::unique_ptr<GrFragmentProcessor> asFragmentProcessor(GrRecordingContext*,
122 virtual bool onPinAsTexture(GrRecordingContext*) const { return false; } in onPinAsTexture() argument
123 virtual void onUnpinAsTexture(GrRecordingContext*) const {} in onUnpinAsTexture() argument
124 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*,
/external/skqp/src/gpu/
DGrRecordingContextPriv.h26 explicit GrRecordingContextPriv(GrRecordingContext* context) : fContext(context) {} in GrRecordingContextPriv()
34 GrRecordingContext* fContext;
36 friend class GrRecordingContext; // to construct/copy this type. variable
39 inline GrRecordingContextPriv GrRecordingContext::priv() { return GrRecordingContextPriv(this); } in priv()
41 inline const GrRecordingContextPriv GrRecordingContext::priv () const { in priv()
42 return GrRecordingContextPriv(const_cast<GrRecordingContext*>(this)); in priv()
DGrRecordingContext.cpp10 GrRecordingContext::GrRecordingContext(GrBackendApi backend, uint32_t uniqueID) in GrRecordingContext() function in GrRecordingContext
14 GrRecordingContext::~GrRecordingContext() { } in ~GrRecordingContext()
/external/skia/src/gpu/ops/
DGrOvalOpFactory.h16 class GrRecordingContext; variable
29 static GrOp::Owner MakeCircleOp(GrRecordingContext*,
36 static GrOp::Owner MakeOvalOp(GrRecordingContext*,
43 static GrOp::Owner MakeCircularRRectOp(GrRecordingContext*,
50 static GrOp::Owner MakeRRectOp(GrRecordingContext*,
57 static GrOp::Owner MakeArcOp(GrRecordingContext*,
DGrFillRectOp.h18 class GrRecordingContext; variable
33 static GrOp::Owner Make(GrRecordingContext* context,
43 static GrOp::Owner MakeNonAARect(GrRecordingContext* context,
53 GrRecordingContext*,
68 static GrOp::Owner MakeOp(GrRecordingContext*,
DGrStrokeRectOp.h16 class GrRecordingContext; variable
29 GrOp::Owner Make(GrRecordingContext* context,
39 GrOp::Owner MakeNested(GrRecordingContext* context,
DGrClearOp.h16 class GrRecordingContext; variable
23 static GrOp::Owner MakeColor(GrRecordingContext* context,
27 static GrOp::Owner MakeStencilClip(GrRecordingContext* context,
53 void onPrePrepare(GrRecordingContext*, const GrSurfaceProxyView& writeView, GrAppliedClip*, in onPrePrepare() argument
/external/skqp/include/private/
DGrRecordingContext.h15 class SK_API GrRecordingContext : public GrImageContext {
17 ~GrRecordingContext() override;
26 GrRecordingContext(GrBackendApi backend, uint32_t uniqueID);
28 GrRecordingContext* asRecordingContext() override { return this; } in asRecordingContext()
/external/skia/include/core/
DSkSurface.h35 class GrRecordingContext; variable
209 static sk_sp<SkSurface> MakeFromBackendTexture(GrRecordingContext* context,
243 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrRecordingContext* context,
299 static sk_sp<SkSurface> MakeFromCAMetalLayer(GrRecordingContext* context,
326 static sk_sp<SkSurface> MakeFromMTKView(GrRecordingContext* context,
362 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted,
389 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted, in MakeRenderTarget()
409 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted, in MakeRenderTarget()
425 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context,
498 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.h56 const SkTArray<GrRecordingContext::ProgramData>& fProgramData;
92 const SkTArray<GrRecordingContext::ProgramData>& programData() const { in programData()
110 GrRecordingContext::OwnedArenas fArenas;
113 SkTArray<GrRecordingContext::ProgramData> fProgramData;
/external/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;
/external/skia/tools/gpu/
DTestOps.h26 GrOp::Owner MakeRect(GrRecordingContext*,
36 GrOp::Owner MakeRect(GrRecordingContext*,
46 GrOp::Owner MakeRect(GrRecordingContext*, GrPaint&&, const SkRect& rect);
/external/skia/gm/
Dgm.h23 class GrRecordingContext; variable
66 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrRecordingContext*, GrSurfaceDrawContext*, \
74 GrRecordingContext* GR_CONTEXT, GrSurfaceDrawContext* RENDER_TARGET_CONTEXT, \
83 GrRecordingContext*, GrSurfaceDrawContext*, SkCanvas*, SkString*); \
87 GrRecordingContext* GR_CONTEXT, GrSurfaceDrawContext* RENDER_TARGET_CONTEXT, \
214 virtual DrawResult onDraw(GrRecordingContext*, GrSurfaceDrawContext*, SkCanvas*,
216 virtual void onDraw(GrRecordingContext*, GrSurfaceDrawContext*, SkCanvas*);
239 using DrawProc = DrawResult (*)(GrRecordingContext*, GrSurfaceDrawContext*,
247 DrawResult onDraw(GrRecordingContext* ctx, GrSurfaceDrawContext* rtc, SkCanvas* canvas,

12345678910>>...12