Home
last modified time | relevance | path

Searched refs:GrScissorTest (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/tests/
DGrPipelineDynamicStateTest.cpp117 GrScissorTest scissorTest, in Make()
127 GrPipelineDynamicStateTestOp(GrScissorTest scissorTest, sk_sp<const GrBuffer> vbuff) in GrPipelineDynamicStateTestOp()
157 GrScissorTest fScissorTest;
210 for (GrScissorTest scissorTest : {GrScissorTest::kEnabled, GrScissorTest::kDisabled}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
221 if (GrScissorTest::kEnabled == scissorTest) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
230 GrScissorTest::kEnabled == scissorTest ? "enabled" : "disabled", x, y, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp114 GrScissorTest scissorTest, in Make()
124 GrPipelineDynamicStateTestOp(GrScissorTest scissorTest, sk_sp<const GrBuffer> vbuff) in GrPipelineDynamicStateTestOp()
153 GrScissorTest fScissorTest;
208 for (GrScissorTest scissorTest : {GrScissorTest::kEnabled, GrScissorTest::kDisabled}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 if (GrScissorTest::kEnabled == scissorTest) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
228 GrScissorTest::kEnabled == scissorTest ? "enabled" : "disabled", x, y, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/ccpr/
DGrCCFiller.h34 void parseDeviceSpaceFill(const SkPath&, const SkPoint* deviceSpacePts, GrScissorTest,
57 PathInfo(GrScissorTest scissorTest, const SkIVector& devToAtlasOffset) in PathInfo()
60 GrScissorTest scissorTest() const { return fScissorTest; } in scissorTest()
77 GrScissorTest fScissorTest;
DGrCCStroker.cpp281 GrScissorTest scissorTest, in parseDeviceSpaceStroke()
290 fBatches.emplace_back(&fTalliesAllocator, *fInstanceCounts[(int)GrScissorTest::kDisabled], in parseDeviceSpaceStroke()
292 fInstanceCounts[(int)GrScissorTest::kDisabled] = fBatches.back().fNonScissorEndInstances; in parseDeviceSpaceStroke()
297 if (GrScissorTest::kEnabled == scissorTest) { in parseDeviceSpaceStroke()
300 &fTalliesAllocator, *fInstanceCounts[(int)GrScissorTest::kEnabled], in parseDeviceSpaceStroke()
303 fInstanceCounts[(int)GrScissorTest::kEnabled] = in parseDeviceSpaceStroke()
687 startIndices[(int)GrScissorTest::kDisabled] = (!batchID) in drawStrokes()
689 startIndices[(int)GrScissorTest::kEnabled] = (!startScissorSubBatch) in drawStrokes()
692 GrPipeline pipeline(GrScissorTest::kEnabled, SkBlendMode::kPlus); in drawStrokes()
731 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers()
[all …]
DGrCCFiller.cpp36 GrScissorTest scissorTest, const SkIRect& clippedDevIBounds, in parseDeviceSpaceFill()
109 if (GrScissorTest::kEnabled == scissorTest) { in parseDeviceSpaceFill()
110 fScissorSubBatches.push_back() = {fTotalPrimitiveCounts[(int)GrScissorTest::kEnabled], in parseDeviceSpaceFill()
214 PrimitiveTallies batchTotalCounts = fTotalPrimitiveCounts[(int)GrScissorTest::kDisabled] - in closeCurrentBatch()
216 batchTotalCounts += fTotalPrimitiveCounts[(int)GrScissorTest::kEnabled] - in closeCurrentBatch()
221 fTotalPrimitiveCounts[(int)GrScissorTest::kDisabled], in closeCurrentBatch()
289 fTotalPrimitiveCounts[(int)GrScissorTest::kDisabled]); in prepareToDraw()
470 GrPipeline pipeline(GrScissorTest::kEnabled, SkBlendMode::kPlus); in drawFills()
519 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].*instanceType + in drawPrimitives()
529 int baseScissorInstance = fBaseInstances[(int)GrScissorTest::kEnabled].*instanceType; in drawPrimitives()
DGrCCPerFlushResources.cpp81 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrc); in onExecute()
364 GrScissorTest scissorTest; in renderShapeInAtlas()
395 GrScissorTest scissorTest; in renderDeviceSpacePathInAtlas()
409 GrScissorTest* scissorTest, in placeRenderedPathInAtlas()
414 *scissorTest = GrScissorTest::kDisabled; in placeRenderedPathInAtlas()
416 *scissorTest = GrScissorTest::kEnabled; in placeRenderedPathInAtlas()
DGrCCStroker.h43 float strokeDevWidth, GrScissorTest,
70 GrScissorTest fScissorTest;
DGrCCPerFlushResources.h125 GrScissorTest*, SkIRect* clippedPathIBounds,
/external/skqp/src/gpu/ccpr/
DGrCCFiller.h34 void parseDeviceSpaceFill(const SkPath&, const SkPoint* deviceSpacePts, GrScissorTest,
57 PathInfo(GrScissorTest scissorTest, const SkIVector& devToAtlasOffset) in PathInfo()
60 GrScissorTest scissorTest() const { return fScissorTest; } in scissorTest()
77 GrScissorTest fScissorTest;
DGrCCStroker.cpp281 GrScissorTest scissorTest, in parseDeviceSpaceStroke()
290 fBatches.emplace_back(&fTalliesAllocator, *fInstanceCounts[(int)GrScissorTest::kDisabled], in parseDeviceSpaceStroke()
292 fInstanceCounts[(int)GrScissorTest::kDisabled] = fBatches.back().fNonScissorEndInstances; in parseDeviceSpaceStroke()
297 if (GrScissorTest::kEnabled == scissorTest) { in parseDeviceSpaceStroke()
300 &fTalliesAllocator, *fInstanceCounts[(int)GrScissorTest::kEnabled], in parseDeviceSpaceStroke()
303 fInstanceCounts[(int)GrScissorTest::kEnabled] = in parseDeviceSpaceStroke()
687 startIndices[(int)GrScissorTest::kDisabled] = (!batchID) in drawStrokes()
689 startIndices[(int)GrScissorTest::kEnabled] = (!startScissorSubBatch) in drawStrokes()
692 GrPipeline pipeline(GrScissorTest::kEnabled, SkBlendMode::kPlus); in drawStrokes()
731 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].fStrokes[numSegmentsLog2]; in appendStrokeMeshesToBuffers()
[all …]
DGrCCFiller.cpp36 GrScissorTest scissorTest, const SkIRect& clippedDevIBounds, in parseDeviceSpaceFill()
109 if (GrScissorTest::kEnabled == scissorTest) { in parseDeviceSpaceFill()
110 fScissorSubBatches.push_back() = {fTotalPrimitiveCounts[(int)GrScissorTest::kEnabled], in parseDeviceSpaceFill()
214 PrimitiveTallies batchTotalCounts = fTotalPrimitiveCounts[(int)GrScissorTest::kDisabled] - in closeCurrentBatch()
216 batchTotalCounts += fTotalPrimitiveCounts[(int)GrScissorTest::kEnabled] - in closeCurrentBatch()
221 fTotalPrimitiveCounts[(int)GrScissorTest::kDisabled], in closeCurrentBatch()
289 fTotalPrimitiveCounts[(int)GrScissorTest::kDisabled]); in prepareToDraw()
470 GrPipeline pipeline(GrScissorTest::kEnabled, SkBlendMode::kPlus); in drawFills()
519 int baseInstance = fBaseInstances[(int)GrScissorTest::kDisabled].*instanceType + in drawPrimitives()
529 int baseScissorInstance = fBaseInstances[(int)GrScissorTest::kEnabled].*instanceType; in drawPrimitives()
DGrCCPerFlushResources.cpp78 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrc); in onExecute()
361 GrScissorTest scissorTest; in renderShapeInAtlas()
392 GrScissorTest scissorTest; in renderDeviceSpacePathInAtlas()
406 GrScissorTest* scissorTest, in placeRenderedPathInAtlas()
411 *scissorTest = GrScissorTest::kDisabled; in placeRenderedPathInAtlas()
413 *scissorTest = GrScissorTest::kEnabled; in placeRenderedPathInAtlas()
DGrCCStroker.h43 float strokeDevWidth, GrScissorTest,
70 GrScissorTest fScissorTest;
DGrCCPerFlushResources.h125 GrScissorTest*, SkIRect* clippedPathIBounds,
/external/skqp/src/gpu/
DGrPipeline.cpp98 GrPipeline::GrPipeline(GrScissorTest scissorTest, SkBlendMode blendmode) in GrPipeline()
105 if (GrScissorTest::kEnabled == scissorTest) { in GrPipeline()
DGrPipeline.h96 GrPipeline(GrScissorTest, SkBlendMode);
/external/skia/src/gpu/
DGrPipeline.cpp98 GrPipeline::GrPipeline(GrScissorTest scissorTest, SkBlendMode blendmode, uint32_t flags, in GrPipeline()
106 if (GrScissorTest::kEnabled == scissorTest) { in GrPipeline()
DGrPipeline.h96 GrPipeline(GrScissorTest, SkBlendMode, uint32_t flags = 0,
/external/skia/gm/
Dfwidth_squircle.cpp146 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrcOver); in onExecute()
Dclockwise.cpp128 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus); in onExecute()
Dsamplelocations.cpp193 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrcOver, in onExecute()
/external/skqp/gm/
Dfwidth_squircle.cpp149 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrcOver); in onExecute()
Dclockwise.cpp124 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus); in onExecute()
/external/skia/samplecode/
DSampleCCPRGeometry.cpp339 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus); in onExecute()
379 SkStrokeRec(p), p.getStrokeWidth(), GrScissorTest::kDisabled, in onExecute()
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp336 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus); in onExecute()
377 SkStrokeRec(p), p.getStrokeWidth(), GrScissorTest::kDisabled, in onExecute()

12