/third_party/flutter/skia/tests/ |
D | ClearTest.cpp | 35 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 …]
|
D | RenderTargetContextTest.cpp | 18 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()
|
D | RectangleTextureTest.cpp | 29 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/ |
D | GrRenderTargetContextPriv.h | 46 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()
|
D | GrClipStackClip.h | 31 bool apply(GrRecordingContext*, GrRenderTargetContext*, bool useHWAA, 43 const GrRenderTargetContext*, 49 bool applyClipMask(GrRecordingContext*, GrRenderTargetContext*, const GrReducedClip&, 58 GrRenderTargetContext*) const; 62 const GrRenderTargetContext*,
|
D | GrSoftwarePathRenderer.h | 27 static bool GetShapeAndClipBounds(GrRenderTargetContext*, 36 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext, 43 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext, 55 GrRenderTargetContext* renderTargetContext,
|
D | GrRenderTargetContext.cpp | 73 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 …]
|
D | GrBlurUtils.h | 18 class GrRenderTargetContext; variable 37 GrRenderTargetContext*, 48 GrRenderTargetContext*,
|
D | GrContextPriv.h | 100 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(
|
D | GrOnFlushResourceProvider.h | 21 class GrRenderTargetContext; variable 42 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0; 69 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
|
D | SkGpuDevice.h | 45 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*,
|
D | GrReducedClip.h | 18 class GrRenderTargetContext; variable 85 bool drawAlphaClipMask(GrRenderTargetContext*) const; 86 bool drawStencilClipMask(GrRecordingContext*, GrRenderTargetContext*) const;
|
D | GrSurfaceContext.h | 24 class GrRenderTargetContext; variable 86 virtual GrRenderTargetContext* asRenderTargetContext() { return nullptr; } in asRenderTargetContext() 121 sk_sp<GrRenderTargetContext> rescale(const SkImageInfo& info, const SkIRect& srcRect,
|
D | GrPathRenderer.h | 21 class GrRenderTargetContext; variable 115 GrRenderTargetContext* fRenderTargetContext; 147 GrRenderTargetContext* fRenderTargetContext;
|
D | GrDrawOpTest.h | 20 class GrRenderTargetContext; variable 25 void GrDrawRandomOp(SkRandom*, GrRenderTargetContext*, GrPaint&&);
|
D | GrBlurUtils.cpp | 36 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/ |
D | windowrectangles.cpp | 152 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()
|
D | gm.h | 22 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,
|
D | clockwise.cpp | 74 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()
|
D | gm.cpp | 27 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/ |
D | tracing.md | 68 [ 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/ |
D | tracing.md | 73 [ 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/ |
D | SkGpuBlurUtils.cpp | 74 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/ |
D | SkSurface_Gpu.cpp | 54 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/ |
D | GrVkSecondaryCBDrawContext.cpp | 33 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()
|