Home
last modified time | relevance | path

Searched refs:GrRenderTargetContext (Results 1 – 25 of 142) sorted by relevance

123456

/third_party/flutter/skia/tests/
DClearTest.cpp35 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect()
65 sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) { in newRTC()
75 sk_sp<GrRenderTargetContext> rtContext; in clear_op_test()
105 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
115 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
116 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
126 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
127 rtContext->clear(&fullRect, kColor2f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
137 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
138 rtContext->clear(&mid1Rect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
[all …]
DRenderTargetContextTest.cpp18 static sk_sp<GrRenderTargetContext> get_rtc(GrContext* ctx) { in get_rtc()
24 GrRenderTargetContext* rtCtx, in check_instantiation_status()
40 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
54 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp29 sk_sp<GrRenderTargetContext> rtContext(context->priv().makeDeferredRenderTargetContext( in test_basic_draw_as_src()
35 GrRenderTargetContext::CanClearFullscreen::kYes); in test_basic_draw_as_src()
47 if (GrRenderTargetContext* rtc = rectContext->asRenderTargetContext()) { in test_clear()
51 GrRenderTargetContext::CanClearFullscreen::kNo); in test_clear()
73 GrRenderTargetContext::CanClearFullscreen::kNo); in test_clear()
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContextPriv.h46 using CanClearFullscreen = GrRenderTargetContext::CanClearFullscreen;
109 using WillAddOpFn = GrRenderTargetContext::WillAddOpFn;
119 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv()
128 GrRenderTargetContext* fRenderTargetContext;
130 friend class GrRenderTargetContext; // to construct/copy this type. variable
133 inline GrRenderTargetContextPriv GrRenderTargetContext::priv() { in priv()
137 inline const GrRenderTargetContextPriv GrRenderTargetContext::priv() const { in priv()
138 return GrRenderTargetContextPriv(const_cast<GrRenderTargetContext*>(this)); in priv()
DGrClipStackClip.h31 bool apply(GrRecordingContext*, GrRenderTargetContext*, bool useHWAA,
43 const GrRenderTargetContext*,
49 bool applyClipMask(GrRecordingContext*, GrRenderTargetContext*, const GrReducedClip&,
58 GrRenderTargetContext*) const;
62 const GrRenderTargetContext*,
DGrSoftwarePathRenderer.h27 static bool GetShapeAndClipBounds(GrRenderTargetContext*,
36 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext,
43 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext,
55 GrRenderTargetContext* renderTargetContext,
DGrRenderTargetContext.cpp73 class GrRenderTargetContext::TextTarget : public GrTextTarget {
75 TextTarget(GrRenderTargetContext* renderTargetContext) in TextTarget()
111 GrRenderTargetContext* fRenderTargetContext;
144 GrRenderTargetContext::GrRenderTargetContext(GrRecordingContext* context, in GrRenderTargetContext() function in GrRenderTargetContext
160 void GrRenderTargetContext::validate() const { in validate()
170 GrRenderTargetContext::~GrRenderTargetContext() { in ~GrRenderTargetContext()
174 inline GrAAType GrRenderTargetContext::chooseAAType(GrAA aa) { in chooseAAType()
186 GrTextureProxy* GrRenderTargetContext::asTextureProxy() { in asTextureProxy()
190 const GrTextureProxy* GrRenderTargetContext::asTextureProxy() const { in asTextureProxy()
194 sk_sp<GrTextureProxy> GrRenderTargetContext::asTextureProxyRef() { in asTextureProxyRef()
[all …]
DGrBlurUtils.h18 class GrRenderTargetContext; variable
37 GrRenderTargetContext*,
48 GrRenderTargetContext*,
DGrContextPriv.h100 sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContext(
119 sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContextWithFallback(
148 sk_sp<GrRenderTargetContext> makeBackendTextureRenderTargetContext(
158 sk_sp<GrRenderTargetContext> makeBackendRenderTargetRenderTargetContext(
167 sk_sp<GrRenderTargetContext> makeBackendTextureAsRenderTargetRenderTargetContext(
175 sk_sp<GrRenderTargetContext> makeVulkanSecondaryCBRenderTargetContext(
DGrOnFlushResourceProvider.h21 class GrRenderTargetContext; variable
42 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0;
69 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
DSkGpuDevice.h45 static sk_sp<SkGpuDevice> Make(GrContext*, sk_sp<GrRenderTargetContext> renderTargetContext,
68 void replaceRenderTargetContext(sk_sp<GrRenderTargetContext>, bool shouldRetainContent);
70 GrRenderTargetContext* accessRenderTargetContext() override;
136 sk_sp<GrRenderTargetContext> fRenderTargetContext;
148 SkGpuDevice(GrContext*, sk_sp<GrRenderTargetContext>, int width, int height, unsigned flags);
236 static sk_sp<GrRenderTargetContext> MakeRenderTargetContext(GrContext*,
DGrReducedClip.h18 class GrRenderTargetContext; variable
85 bool drawAlphaClipMask(GrRenderTargetContext*) const;
86 bool drawStencilClipMask(GrRecordingContext*, GrRenderTargetContext*) const;
DGrSurfaceContext.h24 class GrRenderTargetContext; variable
86 virtual GrRenderTargetContext* asRenderTargetContext() { return nullptr; } in asRenderTargetContext()
121 sk_sp<GrRenderTargetContext> rescale(const SkImageInfo& info, const SkIRect& srcRect,
DGrPathRenderer.h21 class GrRenderTargetContext; variable
115 GrRenderTargetContext* fRenderTargetContext;
147 GrRenderTargetContext* fRenderTargetContext;
DGrDrawOpTest.h20 class GrRenderTargetContext; variable
25 void GrDrawRandomOp(SkRandom*, GrRenderTargetContext*, GrPaint&&);
DGrBlurUtils.cpp36 static bool draw_mask(GrRenderTargetContext* renderTargetContext, in draw_mask()
62 GrRenderTargetContext* renderTargetContext, in sw_draw_with_mask_filter()
177 sk_sp<GrRenderTargetContext> rtContext( in create_mask_GPU()
230 static bool get_shape_and_clip_bounds(GrRenderTargetContext* renderTargetContext, in get_shape_and_clip_bounds()
250 GrRenderTargetContext* renderTargetContext, in draw_shape_with_mask_filter()
431 GrRenderTargetContext* renderTargetContext, in drawShapeWithMaskFilter()
442 GrRenderTargetContext* renderTargetContext, in drawShapeWithMaskFilter()
/third_party/flutter/skia/gm/
Dwindowrectangles.cpp152 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
153 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
154 void stencilCheckerboard(GrRenderTargetContext*, bool flip);
180 bool apply(GrRecordingContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out, in apply() argument
203 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext(); in onCoverClipStack()
227 void WindowRectanglesMaskGM::visualizeAlphaMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeAlphaMask()
231 sk_sp<GrRenderTargetContext> maskRTC(ctx->priv().makeDeferredRenderTargetContextWithFallback( in visualizeAlphaMask()
241 maskRTC->clear(nullptr, SK_PMColor4fWHITE, GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
260 void WindowRectanglesMaskGM::visualizeStencilMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeStencilMask()
274 void WindowRectanglesMaskGM::stencilCheckerboard(GrRenderTargetContext* rtc, bool flip) { in stencilCheckerboard()
Dgm.h22 class GrRenderTargetContext; variable
64 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrContext*, GrRenderTargetContext*, SkCanvas*); \
71 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS)
79 GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*); \
83 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS, \
189 virtual DrawResult onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas,
191 virtual void onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*);
214 using DrawProc = DrawResult(*)(GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*);
221 DrawResult onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas,
Dclockwise.cpp74 void onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*) override;
180 void ClockwiseGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas) { in onDraw()
181 rtc->clear(nullptr, { 0, 0, 0, 1 }, GrRenderTargetContext::CanClearFullscreen::kYes); in onDraw()
192 GrRenderTargetContext::CanClearFullscreen::kYes); in onDraw()
208 GrRenderTargetContext::CanClearFullscreen::kYes); in onDraw()
Dgm.cpp27 class GrRenderTargetContext;
126 DrawResult SimpleGpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
166 DrawResult GpuGM::onDraw(GrContext* ctx, GrRenderTargetContext* rtc, SkCanvas* canvas, in onDraw()
171 void GpuGM::onDraw(GrContext*, GrRenderTargetContext*, SkCanvas*) { in onDraw() argument
177 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext(); in onDraw()
/third_party/flutter/skia/site/dev/tools/
Dtracing.md68 [ 0] <skia.gpu> GrRenderTargetContext::discard id=1 #2 {
69 [ 0] } GrRenderTargetContext::discard
71 [ 1] <skia.gpu> GrRenderTargetContext::clear id=1 #4 {
72 [ 1] } GrRenderTargetContext::clear
76 [ 2] <skia.gpu> GrRenderTargetContext::drawRect id=1 #7 {
77 [ 3] <skia.gpu> GrRenderTargetContext::addDrawOp id=1 #8 {
78 [ 3] } GrRenderTargetContext::addDrawOp
79 [ 2] } GrRenderTargetContext::drawRect
/third_party/skia/site/docs/dev/tools/
Dtracing.md73 [ 0] <skia.gpu> GrRenderTargetContext::discard id=1 #2 {
74 [ 0] } GrRenderTargetContext::discard
76 [ 1] <skia.gpu> GrRenderTargetContext::clear id=1 #4 {
77 [ 1] } GrRenderTargetContext::clear
81 [ 2] <skia.gpu> GrRenderTargetContext::drawRect id=1 #7 {
82 [ 3] <skia.gpu> GrRenderTargetContext::addDrawOp id=1 #8 {
83 [ 3] } GrRenderTargetContext::addDrawOp
84 [ 2] } GrRenderTargetContext::drawRect
/third_party/flutter/skia/src/core/
DSkGpuBlurUtils.cpp74 static void convolve_gaussian_1d(GrRenderTargetContext* renderTargetContext, in convolve_gaussian_1d()
108 static sk_sp<GrRenderTargetContext> convolve_gaussian_2d(GrRecordingContext* context, in convolve_gaussian_2d()
124 sk_sp<GrRenderTargetContext> renderTargetContext; in convolve_gaussian_2d()
165 static sk_sp<GrRenderTargetContext> convolve_gaussian(GrRecordingContext* context, in convolve_gaussian()
184 sk_sp<GrRenderTargetContext> dstRenderTargetContext; in convolve_gaussian()
253 GrRenderTargetContext::CanClearFullscreen::kNo); in convolve_gaussian()
258 GrRenderTargetContext::CanClearFullscreen::kNo); in convolve_gaussian()
311 sk_sp<GrRenderTargetContext> dstRenderTargetContext; in decimate()
407 static sk_sp<GrRenderTargetContext> reexpand(GrRecordingContext* context, in reexpand()
408 sk_sp<GrRenderTargetContext> srcRenderTargetContext, in reexpand()
[all …]
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp54 GrRenderTargetContext* rtc = surface->getDevice()->accessRenderTargetContext(); in prepare_rt_for_external_access()
91 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onNewImageSnapshot()
157 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onCopyOnWrite()
188 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onCharacterize()
238 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onDraw()
261 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onIsCompatible()
325 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onDraw()
367 sk_sp<GrRenderTargetContext> rtc(context->priv().makeDeferredRenderTargetContext( in MakeRenderTarget()
461 sk_sp<GrRenderTargetContext> rtc(context->priv().makeBackendTextureRenderTargetContext( in MakeFromBackendTexture()
509 sk_sp<GrRenderTargetContext> rtc) { in MakeWrappedRenderTarget()
[all …]
/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp33 sk_sp<GrRenderTargetContext> rtc( in Make()
82 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in characterize()
116 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in isCompatible()
170 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in draw()

123456