Searched refs:GrRenderTargetContext (Results 1 - 25 of 100) sorted by relevance

1234

/external/skia/src/gpu/
H A DGrPreFlushResourceProvider.h22 class GrRenderTargetContext;
44 SkTArray<sk_sp<GrRenderTargetContext>>* results) = 0;
57 sk_sp<GrRenderTargetContext> makeRenderTargetContext(const GrSurfaceDesc& desc,
63 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy> proxy,
H A DGrBlurUtils.h17 class GrRenderTargetContext;
35 GrRenderTargetContext* renderTargetContext,
49 GrRenderTargetContext*,
H A DGrRenderTargetContextPriv.h11 #include "GrRenderTargetContext.h"
19 /** Class that adds methods to GrRenderTargetContext that are only intended for use internal to
20 Skia. This class is purely a privileged window into GrRenderTargetContext. It should never have
114 explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext)
123 GrRenderTargetContext* fRenderTargetContext;
125 friend class GrRenderTargetContext; // to construct/copy this type.
128 inline GrRenderTargetContextPriv GrRenderTargetContext::priv() {
132 inline const GrRenderTargetContextPriv GrRenderTargetContext::priv() const {
133 return GrRenderTargetContextPriv(const_cast<GrRenderTargetContext*>(this));
H A DGrContextPriv.h26 sk_sp<GrRenderTargetContext> makeWrappedRenderTargetContext(sk_sp<GrRenderTarget> rt,
45 sk_sp<GrRenderTargetContext> makeBackendTextureRenderTargetContext(
50 sk_sp<GrRenderTargetContext> makeBackendRenderTargetRenderTargetContext(
55 sk_sp<GrRenderTargetContext> makeBackendTextureAsRenderTargetRenderTargetContext(
H A DGrSoftwarePathRenderer.h25 static void DrawNonAARect(GrRenderTargetContext* renderTargetContext,
32 static void DrawAroundInvPath(GrRenderTargetContext* renderTargetContext,
H A DGrClipStackClip.h31 bool apply(GrContext*, GrRenderTargetContext*, bool useHWAA, bool hasUserStencilSettings,
42 const GrRenderTargetContext*,
57 const GrRenderTargetContext*,
H A DGrReducedClip.h16 class GrRenderTargetContext;
73 bool drawAlphaClipMask(GrRenderTargetContext*) const;
74 bool drawStencilClipMask(GrContext*, GrRenderTargetContext*) const;
H A DGrRenderTargetOpList.h74 uint32_t addOp(std::unique_ptr<GrOp> op, GrRenderTargetContext* renderTargetContext) {
78 uint32_t addOp(std::unique_ptr<GrOp> op, GrRenderTargetContext* renderTargetContext,
86 void fullClear(GrRenderTargetContext*, GrColor color);
89 void discard(GrRenderTargetContext*);
137 GrOp* recordOp(std::unique_ptr<GrOp>, GrRenderTargetContext*, GrAppliedClip* = nullptr,
143 void clearStencilClip(const GrFixedClip&, bool insideStencilMask, GrRenderTargetContext*);
H A DGrPathRenderingRenderTargetContext.h13 class GrPathRenderingRenderTargetContext : public GrRenderTargetContext {
37 typedef GrRenderTargetContext INHERITED;
H A DGrPreFlushResourceProvider.cpp13 sk_sp<GrRenderTargetContext> GrPreFlushResourceProvider::makeRenderTargetContext(
48 sk_sp<GrRenderTargetContext> GrPreFlushResourceProvider::makeRenderTargetContext(
H A DSkGr.h27 class GrRenderTargetContext;
100 GrRenderTargetContext*,
107 GrRenderTargetContext* rtc,
115 GrRenderTargetContext*,
125 GrRenderTargetContext* rtc,
136 inline bool SkPaintToGrPaintWithPrimitiveColor(GrContext* context, GrRenderTargetContext* rtc,
145 GrRenderTargetContext* rtc,
H A DGrRenderTargetContext.cpp8 #include "GrRenderTargetContext.h"
65 bool GrRenderTargetContext::wasAbandoned() const {
73 GrRenderTargetContext::GrRenderTargetContext(GrContext* context, function in class:GrRenderTargetContext
95 void GrRenderTargetContext::validate() const {
105 GrRenderTargetContext::~GrRenderTargetContext() {
110 GrRenderTarget* GrRenderTargetContext::instantiate() {
114 GrTextureProxy* GrRenderTargetContext::asTextureProxy() {
118 sk_sp<GrTextureProxy> GrRenderTargetContext
[all...]
/external/skia/tests/
H A DRenderTargetContextTest.cpp14 #include "GrRenderTargetContext.h"
18 static sk_sp<GrRenderTargetContext> get_rtc(GrContext* ctx, bool wrapped) {
32 GrRenderTargetContext* rtCtx,
47 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx, true));
51 // A deferred rtCtx's textureProxy is also deferred and GrRenderTargetContext::instantiate()
54 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx, false));
64 // Calling instantiate on a GrRenderTargetContext's textureProxy also instantiates the
65 // GrRenderTargetContext
67 sk_sp<GrRenderTargetContext> rtCtx(get_rtc(ctx, false));
82 sk_sp<GrRenderTargetContext> rtCt
[all...]
H A DDFPathRendererTest.cpp21 static void test_far_from_origin(GrContext* ctx, GrRenderTargetContext* renderTargetContext,
67 sk_sp<GrRenderTargetContext> rtc(ctx->makeRenderTargetContext(SkBackingFit::kApprox,
H A DGpuSampleLocationsTest.cpp17 #include "GrRenderTargetContext.h"
94 static void construct_dummy_pipeline(GrRenderTargetContext* dc, GrPipeline* pipeline) {
131 sk_sp<GrRenderTargetContext> bottomUps[numTestPatterns];
132 sk_sp<GrRenderTargetContext> topDowns[numTestPatterns];
150 for (GrRenderTargetContext* dc : {bottomUps[i].get(), topDowns[i].get()}) {
/external/skia/src/core/
H A DSkGpuBlurUtils.h12 #include "GrRenderTargetContext.h"
36 sk_sp<GrRenderTargetContext> GaussianBlur(GrContext* context,
/external/skia/src/gpu/text/
H A DGrAtlasTextContext.h22 class GrRenderTargetContext;
37 void drawText(GrContext*, GrRenderTargetContext*, const GrClip&, const SkPaint&,
40 void drawPosText(GrContext*, GrRenderTargetContext*, const GrClip&, const SkPaint&,
44 void drawTextBlob(GrContext*, GrRenderTargetContext*, const GrClip&, const SkPaint&,
55 inline static uint32_t ComputeScalerContextFlags(GrRenderTargetContext*);
H A DGrStencilAndCoverTextContext.h11 #include "GrRenderTargetContext.h"
34 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&,
H A DGrTextUtils.h24 class GrRenderTargetContext;
58 bool toGrPaint(GrMaskFormat, GrRenderTargetContext*, const SkMatrix& viewMatrix,
130 static void DrawTextAsPath(GrContext*, GrRenderTargetContext*, const GrClip& clip,
135 static void DrawPosTextAsPath(GrContext* context, GrRenderTargetContext* rtc,
/external/skia/src/gpu/ops/
H A DGrDefaultPathRenderer.h33 bool internalDrawPath(GrRenderTargetContext*,
H A DGrMSAAPathRenderer.h24 bool internalDrawPath(GrRenderTargetContext*,
H A DGrDrawVerticesOp.h13 #include "GrRenderTargetContext.h"
46 GrRenderTargetContext::ColorArrayType colorArrayType);
70 GrRenderTargetContext::ColorArrayType, const SkMatrix& viewMatrix,
139 GrRenderTargetContext::ColorArrayType fColorArrayType;
H A DGrDrawVerticesOp.cpp17 GrRenderTargetContext::ColorArrayType colorArrayType) {
23 colorArrayType = GrRenderTargetContext::ColorArrayType::kPremulGrColor;
39 std::move(vertices), primType, color, GrRenderTargetContext::ColorArrayType::kSkColor,
45 GrRenderTargetContext::ColorArrayType colorArrayType,
94 fColorArrayType = GrRenderTargetContext::ColorArrayType::kPremulGrColor;
125 color.fType = (fColorArrayType == GrRenderTargetContext::ColorArrayType::kPremulGrColor)
386 GrRenderTargetContext::ColorArrayType colorArrayType =
387 random->nextBool() ? GrRenderTargetContext::ColorArrayType::kPremulGrColor
388 : GrRenderTargetContext::ColorArrayType::kSkColor;
/external/skia/gm/
H A Dwindowrectangles.cpp15 # include "GrRenderTargetContext.h"
127 void visualizeAlphaMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
128 void visualizeStencilMask(GrContext*, GrRenderTargetContext*, const GrReducedClip&, GrPaint&&);
129 void stencilCheckerboard(GrRenderTargetContext*, bool flip);
159 bool apply(GrContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out,
172 bool apply(GrContext*, GrRenderTargetContext*, bool, bool, GrAppliedClip* out,
181 GrRenderTargetContext* rtc = canvas->internal_private_accessTopLayerRenderTargetContext();
200 void WindowRectanglesMaskGM::visualizeAlphaMask(GrContext* ctx, GrRenderTargetContext* rtc,
204 sk_sp<GrRenderTargetContext> maskRTC(
234 void WindowRectanglesMaskGM::visualizeStencilMask(GrContext* ctx, GrRenderTargetContext* rt
[all...]
/external/skia/include/core/
H A DSkMaskFilter.h21 class GrRenderTargetContext;
119 GrRenderTargetContext* renderTargetContext,
130 GrRenderTargetContext* renderTargetContext,

Completed in 947 milliseconds

1234