Home
last modified time | relevance | path

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

/external/skia/tests/
DGrPipelineDynamicStateTest.cpp124 GrScissorTest scissorTest, in Make()
132 GrPipelineDynamicStateTestOp(GrScissorTest scissorTest, sk_sp<const GrBuffer> vbuff) in GrPipelineDynamicStateTestOp()
173 if (fScissorTest == GrScissorTest::kEnabled) { in onExecute()
180 GrScissorTest fScissorTest;
230 for (GrScissorTest scissorTest : {GrScissorTest::kEnabled, GrScissorTest::kDisabled}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
240 if (GrScissorTest::kEnabled == scissorTest) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
249 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()
DGrMeshTest.cpp390 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrc); in drawMesh()
/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()
DGrCCStroker.h43 float strokeDevWidth, GrScissorTest,
70 GrScissorTest fScissorTest;
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()
DGrCCPerFlushResources.h125 GrScissorTest*, SkIRect* clippedPathIBounds,
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp29 GrScissorTest enableScissorInAtlas; in renderDeviceSpacePathInAtlas()
33 enableScissorInAtlas = GrScissorTest::kDisabled; in renderDeviceSpacePathInAtlas()
36 enableScissorInAtlas = GrScissorTest::kEnabled; in renderDeviceSpacePathInAtlas()
51 GrScissorTest scissorTest, SkIVector* devToAtlasOffset) { in placeRenderedPathInAtlas()
75 GrScissorTest enableScissorInAtlas, in enqueueRenderedPath()
78 if (enableScissorInAtlas == GrScissorTest::kDisabled) { in enqueueRenderedPath()
DGrCCPerFlushResources.h44 GrOnFlushResourceProvider*, const SkIRect& clippedPathIBounds, GrScissorTest,
49 const SkMatrix& pathToAtlasMatrix, GrScissorTest enableScissorInAtlas,
/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.h80 GrPipeline(GrScissorTest scissor,
89 GrPipeline(GrScissorTest,
DGrPipeline.cpp73 GrPipeline::GrPipeline(GrScissorTest scissorTest, in GrPipeline()
81 if (GrScissorTest::kEnabled == scissorTest) { in GrPipeline()
/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/skqp/samplecode/
DSampleCCPRGeometry.cpp336 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus); in onExecute()
377 SkStrokeRec(p), p.getStrokeWidth(), GrScissorTest::kDisabled, in onExecute()
/external/skia/src/gpu/gl/
DGrGLGpu.h401 this->flushScissorTest(GrScissorTest(scissorState.enabled())); in flushScissor()
406 void flushScissorTest(GrScissorTest);
DGrGLGpu.cpp1367 this->flushScissorTest(GrScissorTest::kDisabled); in onCreateTexture()
1757 void GrGLGpu::flushScissorTest(GrScissorTest scissorTest) { in flushScissorTest()
1758 if (GrScissorTest::kEnabled == scissorTest) { in flushScissorTest()
1863 this->flushScissorTest(GrScissorTest(programInfo.pipeline().isScissorTestEnabled())); in flushGLState()
1999 this->flushScissorTest(GrScissorTest::kDisabled); in beginCommandBuffer()
2363 this->flushScissorTest(GrScissorTest::kDisabled); in resolveRenderFBOs()
3357 this->flushScissorTest(GrScissorTest::kDisabled); in copySurfaceAsDraw()
3408 this->flushScissorTest(GrScissorTest::kDisabled); in copySurfaceAsBlitFramebuffer()
3490 this->flushScissorTest(GrScissorTest::kDisabled); in onRegenerateMipMapLevels()
/external/skia/gm/
Dtessellation.cpp307 GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrc, in onExecute()
/external/skqp/include/private/
DGrTypesPriv.h238 enum class GrScissorTest : bool { enum
/external/skia/include/private/
DGrTypesPriv.h158 enum class GrScissorTest : bool { enum