Home
last modified time | relevance | path

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

123456789

/external/skia/tests/
DClearTest.cpp17 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect()
44 sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) { in newRTC()
54 sk_sp<GrRenderTargetContext> rtContext; in clear_op_test()
82 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
92 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
93 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
103 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
104 rtContext->clear(&fullRect, kColor2, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
114 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
115 rtContext->clear(&mid1Rect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
[all …]
DRenderTargetContextTest.cpp22 static sk_sp<GrRenderTargetContext> get_rtc(GrContext* ctx) {
29 GrRenderTargetContext* rtCtx,
45 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
59 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
/external/skqp/tests/
DClearTest.cpp17 static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue, in check_rect()
44 sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) { in newRTC()
54 sk_sp<GrRenderTargetContext> rtContext; in clear_op_test()
82 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
92 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
93 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
103 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
104 rtContext->clear(&fullRect, kColor2, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
114 rtContext->clear(&fullRect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
115 rtContext->clear(&mid1Rect, kColor1, GrRenderTargetContext::CanClearFullscreen::kNo); in clear_op_test()
[all …]
DRenderTargetContextTest.cpp22 static sk_sp<GrRenderTargetContext> get_rtc(GrContext* ctx) {
29 GrRenderTargetContext* rtCtx,
45 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
59 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx));
/external/skia/src/gpu/
DGrRenderTargetContextPriv.h46 using CanClearFullscreen = GrRenderTargetContext::CanClearFullscreen;
118 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv()
127 GrRenderTargetContext* fRenderTargetContext;
129 friend class GrRenderTargetContext; // to construct/copy this type. variable
132 inline GrRenderTargetContextPriv GrRenderTargetContext::priv() { in priv()
136 inline const GrRenderTargetContextPriv GrRenderTargetContext::priv() const { in priv()
137 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.cpp54 class GrRenderTargetContext::TextTarget : public GrTextUtils::Target {
56 TextTarget(GrRenderTargetContext* renderTargetContext) in TextTarget()
85 GrRenderTargetContext* fRenderTargetContext;
137 bool GrRenderTargetContext::wasAbandoned() const { in wasAbandoned()
145 GrRenderTargetContext::GrRenderTargetContext(GrContext* context, in GrRenderTargetContext() function in GrRenderTargetContext
172 void GrRenderTargetContext::validate() const { in validate()
182 GrRenderTargetContext::~GrRenderTargetContext() { in ~GrRenderTargetContext()
186 GrTextureProxy* GrRenderTargetContext::asTextureProxy() { in asTextureProxy()
190 const GrTextureProxy* GrRenderTargetContext::asTextureProxy() const { in asTextureProxy()
194 sk_sp<GrTextureProxy> GrRenderTargetContext::asTextureProxyRef() { in asTextureProxyRef()
[all …]
DGrOnFlushResourceProvider.h22 class GrRenderTargetContext; variable
44 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0;
71 sk_sp<GrRenderTargetContext> makeRenderTargetContext(const GrSurfaceDesc&,
75 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>,
DGrBlurUtils.h17 class GrRenderTargetContext; variable
35 GrRenderTargetContext* renderTargetContext,
49 GrRenderTargetContext*,
DGrOnFlushResourceProvider.cpp15 sk_sp<GrRenderTargetContext> GrOnFlushResourceProvider::makeRenderTargetContext( in makeRenderTargetContext()
35 sk_sp<GrRenderTargetContext> renderTargetContext( in makeRenderTargetContext()
56 sk_sp<GrRenderTargetContext> GrOnFlushResourceProvider::makeRenderTargetContext( in makeRenderTargetContext()
60 sk_sp<GrRenderTargetContext> renderTargetContext( in makeRenderTargetContext()
DGrSoftwarePathRenderer.h27 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext,
34 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext,
46 GrRenderTargetContext* renderTargetContext,
/external/skqp/src/gpu/
DGrRenderTargetContextPriv.h46 using CanClearFullscreen = GrRenderTargetContext::CanClearFullscreen;
118 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) in GrRenderTargetContextPriv()
127 GrRenderTargetContext* fRenderTargetContext;
129 friend class GrRenderTargetContext; // to construct/copy this type. variable
132 inline GrRenderTargetContextPriv GrRenderTargetContext::priv() { in priv()
136 inline const GrRenderTargetContextPriv GrRenderTargetContext::priv() const { in priv()
137 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.cpp54 class GrRenderTargetContext::TextTarget : public GrTextUtils::Target {
56 TextTarget(GrRenderTargetContext* renderTargetContext) in TextTarget()
85 GrRenderTargetContext* fRenderTargetContext;
137 bool GrRenderTargetContext::wasAbandoned() const { in wasAbandoned()
145 GrRenderTargetContext::GrRenderTargetContext(GrContext* context, in GrRenderTargetContext() function in GrRenderTargetContext
170 void GrRenderTargetContext::validate() const { in validate()
180 GrRenderTargetContext::~GrRenderTargetContext() { in ~GrRenderTargetContext()
184 GrTextureProxy* GrRenderTargetContext::asTextureProxy() { in asTextureProxy()
188 const GrTextureProxy* GrRenderTargetContext::asTextureProxy() const { in asTextureProxy()
192 sk_sp<GrTextureProxy> GrRenderTargetContext::asTextureProxyRef() { in asTextureProxyRef()
[all …]
DGrOnFlushResourceProvider.h22 class GrRenderTargetContext; variable
44 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0;
72 sk_sp<GrRenderTargetContext> makeRenderTargetContext(const GrSurfaceDesc& desc,
78 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy> proxy,
DGrOnFlushResourceProvider.cpp15 sk_sp<GrRenderTargetContext> GrOnFlushResourceProvider::makeRenderTargetContext( in makeRenderTargetContext()
35 sk_sp<GrRenderTargetContext> renderTargetContext( in makeRenderTargetContext()
58 sk_sp<GrRenderTargetContext> GrOnFlushResourceProvider::makeRenderTargetContext( in makeRenderTargetContext()
62 sk_sp<GrRenderTargetContext> renderTargetContext( in makeRenderTargetContext()
DGrBlurUtils.h17 class GrRenderTargetContext; variable
35 GrRenderTargetContext* renderTargetContext,
49 GrRenderTargetContext*,
DGrSoftwarePathRenderer.h27 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext,
34 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext,
46 GrRenderTargetContext* renderTargetContext,
/external/skqp/gm/
Dwindowrectangles.cpp126 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
127 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
128 void stencilCheckerboard(GrRenderTargetContext*, bool flip);
155 bool apply(GrContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out, in apply() argument
177 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext(); in onCoverClipStack()
197 void WindowRectanglesMaskGM::visualizeAlphaMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeAlphaMask()
201 sk_sp<GrRenderTargetContext> maskRTC( in visualizeAlphaMask()
213 maskRTC->clear(nullptr, GrColorPackA4(0xff), GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
230 void WindowRectanglesMaskGM::visualizeStencilMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeStencilMask()
244 void WindowRectanglesMaskGM::stencilCheckerboard(GrRenderTargetContext* rtc, bool flip) { in stencilCheckerboard()
/external/skia/gm/
Dwindowrectangles.cpp126 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
127 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
128 void stencilCheckerboard(GrRenderTargetContext*, bool flip);
155 bool apply(GrContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out, in apply() argument
177 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext(); in onCoverClipStack()
197 void WindowRectanglesMaskGM::visualizeAlphaMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeAlphaMask()
201 sk_sp<GrRenderTargetContext> maskRTC( in visualizeAlphaMask()
213 maskRTC->clear(nullptr, GrColorPackA4(0xff), GrRenderTargetContext::CanClearFullscreen::kYes); in visualizeAlphaMask()
230 void WindowRectanglesMaskGM::visualizeStencilMask(GrContext* ctx, GrRenderTargetContext* rtc, in visualizeStencilMask()
244 void WindowRectanglesMaskGM::stencilCheckerboard(GrRenderTargetContext* rtc, bool flip) { in stencilCheckerboard()
/external/skia/site/dev/tools/
Dtracing.md42 [ 0] <skia.gpu> GrRenderTargetContext::discard id=1 #2 {
43 [ 0] } GrRenderTargetContext::discard
45 [ 1] <skia.gpu> GrRenderTargetContext::clear id=1 #4 {
46 [ 1] } GrRenderTargetContext::clear
50 [ 2] <skia.gpu> GrRenderTargetContext::drawRect id=1 #7 {
51 [ 3] <skia.gpu> GrRenderTargetContext::addDrawOp id=1 #8 {
52 [ 3] } GrRenderTargetContext::addDrawOp
53 [ 2] } GrRenderTargetContext::drawRect
/external/skqp/site/dev/tools/
Dtracing.md42 [ 0] <skia.gpu> GrRenderTargetContext::discard id=1 #2 {
43 [ 0] } GrRenderTargetContext::discard
45 [ 1] <skia.gpu> GrRenderTargetContext::clear id=1 #4 {
46 [ 1] } GrRenderTargetContext::clear
50 [ 2] <skia.gpu> GrRenderTargetContext::drawRect id=1 #7 {
51 [ 3] <skia.gpu> GrRenderTargetContext::addDrawOp id=1 #8 {
52 [ 3] } GrRenderTargetContext::addDrawOp
53 [ 2] } GrRenderTargetContext::drawRect
/external/skqp/src/gpu/text/
DGrStencilAndCoverTextContext.h34 void drawText(GrContext*, GrRenderTargetContext* rtc, const GrClip&, const SkPaint&,
37 void drawPosText(GrContext*, GrRenderTargetContext*, const GrClip&, const SkPaint&,
41 void drawTextBlob(GrContext*, GrRenderTargetContext*, const GrClip&, const SkPaint&,
57 void uncachedDrawTextBlob(GrContext*, GrRenderTargetContext* rtc,
78 void draw(GrContext*, GrRenderTargetContext*, const GrClip&, const SkMatrix&,
/external/skia/src/image/
DSkSurface_Gpu.cpp50 GrRenderTargetContext* rtc = surface->getDevice()->accessRenderTargetContext(); in prepare_rt_for_external_access()
92 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onNewImageSnapshot()
136 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onCopyOnWrite()
167 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onCharacterize()
188 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in isCompatible()
236 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onDraw()
305 sk_sp<GrRenderTargetContext> rtc) { in MakeWrappedRenderTarget()
333 sk_sp<GrRenderTargetContext> rtc(context->contextPriv().makeBackendTextureRenderTargetContext( in MakeFromBackendTexture()
408 sk_sp<GrRenderTargetContext> rtc( in MakeFromBackendRenderTarget()
483 sk_sp<GrRenderTargetContext> rtc( in MakeFromBackendTextureAsRenderTarget()
/external/skqp/src/image/
DSkSurface_Gpu.cpp50 GrRenderTargetContext* rtc = surface->getDevice()->accessRenderTargetContext(); in prepare_rt_for_external_access()
92 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onNewImageSnapshot()
132 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onCopyOnWrite()
163 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onCharacterize()
179 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in isCompatible()
208 GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext(); in onDraw()
276 sk_sp<GrRenderTargetContext> rtc) { in MakeWrappedRenderTarget()
304 sk_sp<GrRenderTargetContext> rtc(context->contextPriv().makeBackendTextureRenderTargetContext( in MakeFromBackendTexture()
381 sk_sp<GrRenderTargetContext> rtc( in MakeFromBackendRenderTarget()
452 sk_sp<GrRenderTargetContext> rtc( in MakeFromBackendTextureAsRenderTarget()

123456789