Home
last modified time | relevance | path

Searched refs:GrBatch (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/src/gpu/
DGrBatchTest.h15 class GrBatch; variable
26 typedef GrBatch* (*BatchTestFunc)(SkRandom* random, GrContext* context);
28 GrBatch* Batch##__Test(SkRandom* random, GrContext* context)
30 extern GrBatch* Batch##__Test(SkRandom*, GrContext* context);
34 friend GrBatch* Batch##__Test(SkRandom* random, GrContext* context);
36 GrBatch* GrRandomBatch(SkRandom*, GrContext*);
DGrBatch.cpp39 int32_t GrBatch::gCurrBatchClassID = GrBatch::kIllegalBatchClassID;
41 void* GrBatch::operator new(size_t size) { in operator new()
45 void GrBatch::operator delete(void* target) { in operator delete()
49 void* GrBatch::InstancedHelper::init(GrBatchTarget* batchTarget, GrPrimitiveType primType, in init()
76 void* GrBatch::QuadHelper::init(GrBatchTarget* batchTarget, size_t vertexStride, int quadsToDraw) { in init()
DGrBatch.h40 class GrBatch : public SkRefCnt {
42 SK_DECLARE_INST_COUNT(GrBatch) in SK_DECLARE_INST_COUNT() argument
43 GrBatch() : fClassID(kIllegalBatchClassID), fNumberOfDraws(0) { SkDEBUGCODE(fUsed = false;) } in SK_DECLARE_INST_COUNT()
44 virtual ~GrBatch() {} in ~GrBatch()
56 bool combineIfPossible(GrBatch* that) { in combineIfPossible()
64 virtual bool onCombineIfPossible(GrBatch*) = 0;
DGrProcOptInfo.h14 class GrBatch; variable
37 void calcColorWithBatch(const GrBatch*, const GrFragmentStage*, int stagecount);
38 void calcCoverageWithBatch(const GrBatch*, const GrFragmentStage*, int stagecount);
DGrRectBatch.h13 class GrBatch; variable
23 GrBatch* Create(GrColor color,
DGrPipelineBuilder.h26 class GrBatch; variable
371 const GrProcOptInfo& colorProcInfo(const GrBatch* batch) const { in colorProcInfo()
376 const GrProcOptInfo& coverageProcInfo(const GrBatch* batch) const { in coverageProcInfo()
403 void calcColorInvariantOutput(const GrBatch*) const;
404 void calcCoverageInvariantOutput(const GrBatch*) const;
DGrRectBatch.cpp40 class RectBatch : public GrBatch {
52 static GrBatch* Create(const Geometry& geometry) { in Create()
180 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
223 GrBatch* Create(GrColor color, in Create()
DGrTestBatch.h18 class GrTestBatch : public GrBatch {
79 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
DGrOvalRenderer.cpp648 class CircleBatch : public GrBatch {
659 static GrBatch* Create(const Geometry& geometry) { return SkNEW_ARGS(CircleBatch, (geometry)); } in Create()
766 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
805 static GrBatch* create_circle_batch(GrColor color, in create_circle_batch()
862 SkAutoTUnref<GrBatch> batch(create_circle_batch(color, viewMatrix, useCoverageAA, circle, in drawCircle()
869 class EllipseBatch : public GrBatch {
882 static GrBatch* Create(const Geometry& geometry) { in Create()
995 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
1034 static GrBatch* create_ellipse_batch(GrColor color, in create_ellipse_batch()
1128 SkAutoTUnref<GrBatch> batch(create_ellipse_batch(color, viewMatrix, useCoverageAA, ellipse, in drawEllipse()
[all …]
DGrProcOptInfo.cpp15 void GrProcOptInfo::calcColorWithBatch(const GrBatch* batch, in calcColorWithBatch()
24 void GrProcOptInfo::calcCoverageWithBatch(const GrBatch* batch, in calcCoverageWithBatch()
DGrAARectRenderer.cpp48 class AAFillRectBatch : public GrBatch {
57 static GrBatch* Create(const Geometry& geometry) { in Create()
180 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
332 SkAutoTUnref<GrBatch> batch(AAFillRectBatch::Create(geometry)); in geometryFillAARect()
401 class AAStrokeRectBatch : public GrBatch {
412 static GrBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix) { in Create()
630 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
801 SkAutoTUnref<GrBatch> batch(AAStrokeRectBatch::Create(geometry, viewMatrix)); in geometryStrokeAARect()
DGrDrawTarget.h68 void drawBatch(GrPipelineBuilder*, GrBatch*);
259 const GrBatch* batch, const SkRect* devBounds,
284 virtual void onDrawBatch(GrBatch*, const PipelineInfo&) = 0;
DGrInOrderDrawBuffer.h87 void onDrawBatch(GrBatch*, const PipelineInfo&) override;
127 State* SK_WARN_UNUSED_RESULT setupPipelineAndShouldDraw(GrBatch*,
DGrPipelineBuilder.cpp147 void GrPipelineBuilder::calcColorInvariantOutput(const GrBatch* batch) const { in calcColorInvariantOutput()
152 void GrPipelineBuilder::calcCoverageInvariantOutput(const GrBatch* batch) const { in calcCoverageInvariantOutput()
DGrInOrderDrawBuffer.cpp23 void GrInOrderDrawBuffer::onDrawBatch(GrBatch* batch, in onDrawBatch()
174 GrInOrderDrawBuffer::setupPipelineAndShouldDraw(GrBatch* batch, in setupPipelineAndShouldDraw()
DGrInOrderCommandBuilder.h20 Cmd* recordDrawBatch(State*, GrBatch*) override;
DGrReorderCommandBuilder.h20 Cmd* recordDrawBatch(State*, GrBatch*) override;
DGrBatchTest.cpp48 GrBatch* GrRandomBatch(SkRandom* random, GrContext* context) { in GrRandomBatch()
DGrReorderCommandBuilder.cpp17 GrTargetCommands::Cmd* GrReorderCommandBuilder::recordDrawBatch(State* state, GrBatch* batch) { in recordDrawBatch()
DGrDefaultPathRenderer.cpp214 class DefaultPathBatch : public GrBatch {
222 static GrBatch* Create(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix, in Create()
395 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
700 SkAutoTUnref<GrBatch> batch(DefaultPathBatch::Create(geometry, newCoverage, viewMatrix, in internalDrawPath()
DGrTargetCommands.h227 DrawBatch(State* state, GrBatch* batch, GrBatchTarget* batchTarget) in DrawBatch()
238 SkAutoTUnref<GrBatch> fBatch;
DGrCommandBuilder.h31 virtual Cmd* recordDrawBatch(State*, GrBatch*) = 0;
DGrAAHairLinePathRenderer.cpp677 class AAHairlineBatch : public GrBatch {
687 static GrBatch* Create(const Geometry& geometry) { in Create()
739 bool onCombineIfPossible(GrBatch* t) override { in onCombineIfPossible()
972 static GrBatch* create_hairline_batch(GrColor color, in create_hairline_batch()
1004 SkAutoTUnref<GrBatch> batch(create_hairline_batch(color, viewMatrix, path, stroke, in onDrawPath()
/external/skia/gm/
Dconvexpolyeffect.cpp38 static GrBatch* Create(const GrGeometryProcessor* gp, const Geometry& geo) { in Create()
195 SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry)); in onDraw()
244 SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry)); in onDraw()
Dbeziereffects.cpp40 static GrBatch* Create(const GrGeometryProcessor* gp, const Geometry& geo, in Create()
229 SkAutoTUnref<GrBatch> batch( in onDraw()
374 SkAutoTUnref<GrBatch> batch( in onDraw()
439 static GrBatch* Create(const GrGeometryProcessor* gp, const Geometry& geo, in Create()
613 SkAutoTUnref<GrBatch> batch(BezierQuadTestBatch::Create(gp, geometry, DevToUV)); in onDraw()

12