Home
last modified time | relevance | path

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

12345678910

/external/skia/tests/
DClearTest.cpp31 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect()
58 sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) { in newRTC()
70 sk_sp<GrRenderTargetContext> rtContext; in clear_op_test()
100 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
110 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
111 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
121 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
122 rtContext->clear(&fullRect, kColor2f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
132 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
133 rtContext->clear(&mid1Rect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
[all …]
DRenderTargetContextTest.cpp21 static sk_sp<GrRenderTargetContext> get_rtc(GrContext* ctx) {
28 GrRenderTargetContext* rtCtx,
44 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
58 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
/external/skqp/tests/
DClearTest.cpp31 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect()
58 sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) { in newRTC()
71 sk_sp<GrRenderTargetContext> rtContext; in clear_op_test()
101 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
111 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
112 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
122 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
123 rtContext->clear(&fullRect, kColor2f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
133 rtContext->clear(&fullRect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
134 rtContext->clear(&mid1Rect, kColor1f, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
[all …]
DRenderTargetContextTest.cpp21 static sk_sp<GrRenderTargetContext> get_rtc(GrContext* ctx) {
28 GrRenderTargetContext* rtCtx,
44 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
58 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
/external/skqp/src/gpu/
DGrRenderTargetContextPriv.h46 using CanClearFullscreen = GrRenderTargetContext::CanClearFullscreen;
111 using WillAddOpFn = GrRenderTargetContext::WillAddOpFn;
121 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv()
130 GrRenderTargetContext* fRenderTargetContext;
132 friend class GrRenderTargetContext; // to construct/copy this type. variable
135 inline GrRenderTargetContextPriv GrRenderTargetContext::priv() { in priv()
139 inline const GrRenderTargetContextPriv GrRenderTargetContext::priv() const { in priv()
140 return GrRenderTargetContextPriv(const_cast<GrRenderTargetContext*>(this)); in priv()
DGrClipStackClip.h31 bool apply(GrContext*, GrRenderTargetContext*, bool useHWAA, bool hasUserStencilSettings,
43 const GrRenderTargetContext*,
49 bool applyClipMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&,
58 GrRenderTargetContext*) const;
62 const GrRenderTargetContext*,
DGrRenderTargetContext.cpp61 class GrRenderTargetContext::TextTarget : public GrTextTarget {
63 TextTarget(GrRenderTargetContext* renderTargetContext) in TextTarget()
99 GrRenderTargetContext* fRenderTargetContext;
153 bool GrRenderTargetContext::wasAbandoned() const { in wasAbandoned()
161 GrRenderTargetContext::GrRenderTargetContext(GrContext* context, in GrRenderTargetContext() function in GrRenderTargetContext
188 void GrRenderTargetContext::validate() const { in validate()
198 GrRenderTargetContext::~GrRenderTargetContext() { in ~GrRenderTargetContext()
202 GrTextureProxy* GrRenderTargetContext::asTextureProxy() { in asTextureProxy()
206 const GrTextureProxy* GrRenderTargetContext::asTextureProxy() const { in asTextureProxy()
210 sk_sp<GrTextureProxy> GrRenderTargetContext::asTextureProxyRef() { in asTextureProxyRef()
[all …]
DGrSoftwarePathRenderer.h27 static bool GetShapeAndClipBounds(GrRenderTargetContext*,
36 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext,
43 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext,
55 GrRenderTargetContext* renderTargetContext,
DGrOnFlushResourceProvider.h21 class GrRenderTargetContext; variable
42 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0;
70 sk_sp<GrRenderTargetContext> makeRenderTargetContext(const GrSurfaceDesc&,
76 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
DGrContextPriv.h68 sk_sp<GrRenderTargetContext> makeBackendTextureRenderTargetContext(
75 sk_sp<GrRenderTargetContext> makeBackendRenderTargetRenderTargetContext(
81 sk_sp<GrRenderTargetContext> makeBackendTextureAsRenderTargetRenderTargetContext(
88 sk_sp<GrRenderTargetContext> makeVulkanSecondaryCBRenderTargetContext(
230 sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContext(
247 sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContextWithFallback(
DGrBlurUtils.h17 class GrRenderTargetContext; variable
36 GrRenderTargetContext*,
47 GrRenderTargetContext*,
/external/skia/src/gpu/
DGrRenderTargetContextPriv.h46 using CanClearFullscreen = GrRenderTargetContext::CanClearFullscreen;
117 using WillAddOpFn = GrRenderTargetContext::WillAddOpFn;
127 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv()
136 GrRenderTargetContext* fRenderTargetContext;
138 friend class GrRenderTargetContext; // to construct/copy this type. variable
141 inline GrRenderTargetContextPriv GrRenderTargetContext::priv() { in priv()
145 inline const GrRenderTargetContextPriv GrRenderTargetContext::priv() const { in priv()
146 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*,
DGrRenderTargetContext.cpp66 class GrRenderTargetContext::TextTarget : public GrTextTarget {
68 TextTarget(GrRenderTargetContext* renderTargetContext) in TextTarget()
104 GrRenderTargetContext* fRenderTargetContext;
162 GrRenderTargetContext::GrRenderTargetContext(GrRecordingContext* context, in GrRenderTargetContext() function in GrRenderTargetContext
184 void GrRenderTargetContext::validate() const { in validate()
194 GrRenderTargetContext::~GrRenderTargetContext() { in ~GrRenderTargetContext()
198 GrTextureProxy* GrRenderTargetContext::asTextureProxy() { in asTextureProxy()
202 const GrTextureProxy* GrRenderTargetContext::asTextureProxy() const { in asTextureProxy()
206 sk_sp<GrTextureProxy> GrRenderTargetContext::asTextureProxyRef() { in asTextureProxyRef()
210 GrMipMapped GrRenderTargetContext::mipMapped() const { in mipMapped()
[all …]
DGrSoftwarePathRenderer.h27 static bool GetShapeAndClipBounds(GrRenderTargetContext*,
36 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext,
43 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext,
55 GrRenderTargetContext* renderTargetContext,
DGrOnFlushResourceProvider.h21 class GrRenderTargetContext; variable
42 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0;
70 sk_sp<GrRenderTargetContext> makeRenderTargetContext(const GrSurfaceDesc&,
76 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
DGrBlurUtils.h18 class GrRenderTargetContext; variable
37 GrRenderTargetContext*,
48 GrRenderTargetContext*,
DGrContextPriv.h98 sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContext(
116 sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContextWithFallback(
143 sk_sp<GrRenderTargetContext> makeBackendTextureRenderTargetContext(
152 sk_sp<GrRenderTargetContext> makeBackendRenderTargetRenderTargetContext(
160 sk_sp<GrRenderTargetContext> makeBackendTextureAsRenderTargetRenderTargetContext(
167 sk_sp<GrRenderTargetContext> makeVulkanSecondaryCBRenderTargetContext(
/external/skqp/gm/
Dwindowrectangles.cpp125 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
126 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
127 void stencilCheckerboard(GrRenderTargetContext*, bool flip);
154 bool apply(GrContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out, in apply() argument
176 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext(); in onCoverClipStack()
195 void WindowRectanglesMaskGM::visualizeAlphaMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeAlphaMask()
201 sk_sp<GrRenderTargetContext> maskRTC( in visualizeAlphaMask()
214 maskRTC->clear(nullptr, SK_PMColor4fWHITE, GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
231 void WindowRectanglesMaskGM::visualizeStencilMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeStencilMask()
245 void WindowRectanglesMaskGM::stencilCheckerboard(GrRenderTargetContext* rtc, bool flip) { in stencilCheckerboard()
/external/skia/gm/
Dwindowrectangles.cpp127 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
128 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
129 void stencilCheckerboard(GrRenderTargetContext*, bool flip);
155 bool apply(GrRecordingContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out, in apply() argument
178 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext(); in onCoverClipStack()
202 void WindowRectanglesMaskGM::visualizeAlphaMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeAlphaMask()
208 sk_sp<GrRenderTargetContext> maskRTC( in visualizeAlphaMask()
221 maskRTC->clear(nullptr, SK_PMColor4fWHITE, GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
238 void WindowRectanglesMaskGM::visualizeStencilMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeStencilMask()
252 void WindowRectanglesMaskGM::stencilCheckerboard(GrRenderTargetContext* rtc, bool flip) { in stencilCheckerboard()
Dgm.h61 static void SK_MACRO_CONCAT(NAME,_GM_inner)(GrContext*, GrRenderTargetContext*, SkCanvas*); \
68 GrContext* GR_CONTEXT, GrRenderTargetContext* RENDER_TARGET_CONTEXT, SkCanvas* CANVAS)
76 GrContext*, GrRenderTargetContext*, SkCanvas*, SkString*); \
80 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,
/external/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
/external/skqp/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
/external/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()
127 sk_sp<GrRenderTargetContext> renderTargetContext; in convolve_gaussian_2d()
155 static sk_sp<GrRenderTargetContext> convolve_gaussian(GrRecordingContext* context, in convolve_gaussian()
175 sk_sp<GrRenderTargetContext> dstRenderTargetContext; in convolve_gaussian()
238 GrRenderTargetContext::CanClearFullscreen::kNo); in convolve_gaussian()
243 GrRenderTargetContext::CanClearFullscreen::kNo); in convolve_gaussian()
291 sk_sp<GrRenderTargetContext> dstRenderTargetContext; in decimate()
378 static sk_sp<GrRenderTargetContext> reexpand(GrRecordingContext* context, in reexpand()
379 sk_sp<GrRenderTargetContext> srcRenderTargetContext, in reexpand()
[all …]
/external/skqp/src/core/
DSkGpuBlurUtils.cpp73 static void convolve_gaussian_1d(GrRenderTargetContext* renderTargetContext, in convolve_gaussian_1d()
106 static sk_sp<GrRenderTargetContext> convolve_gaussian_2d(GrContext* context, in convolve_gaussian_2d()
125 sk_sp<GrRenderTargetContext> renderTargetContext; in convolve_gaussian_2d()
153 static sk_sp<GrRenderTargetContext> convolve_gaussian(GrContext* context, in convolve_gaussian()
173 sk_sp<GrRenderTargetContext> dstRenderTargetContext; in convolve_gaussian()
236 GrRenderTargetContext::CanClearFullscreen::kNo); in convolve_gaussian()
241 GrRenderTargetContext::CanClearFullscreen::kNo); in convolve_gaussian()
289 sk_sp<GrRenderTargetContext> dstRenderTargetContext; in decimate()
376 static sk_sp<GrRenderTargetContext> reexpand(GrContext* context, in reexpand()
377 sk_sp<GrRenderTargetContext> srcRenderTargetContext, in reexpand()
[all …]

12345678910