Home
last modified time | relevance | path

Searched refs:scissorTest (Results 1 – 13 of 13) sorted by relevance

/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp114 GrScissorTest scissorTest, in Make() argument
118 return pool->allocate<GrPipelineDynamicStateTestOp>(scissorTest, std::move(vbuff)); in Make()
124 GrPipelineDynamicStateTestOp(GrScissorTest scissorTest, sk_sp<const GrBuffer> vbuff) in GrPipelineDynamicStateTestOp() argument
126 , fScissorTest(scissorTest) in GrPipelineDynamicStateTestOp()
208 for (GrScissorTest scissorTest : {GrScissorTest::kEnabled, GrScissorTest::kDisabled}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
212 GrPipelineDynamicStateTestOp::Make(context, scissorTest, vbuff)); 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/tests/
DGrPipelineDynamicStateTest.cpp124 GrScissorTest scissorTest, in Make() argument
126 return GrOp::Make<GrPipelineDynamicStateTestOp>(context, scissorTest, std::move(vbuff)); in Make()
132 GrPipelineDynamicStateTestOp(GrScissorTest scissorTest, sk_sp<const GrBuffer> vbuff) in GrPipelineDynamicStateTestOp() argument
134 , fScissorTest(scissorTest) in GrPipelineDynamicStateTestOp()
230 for (GrScissorTest scissorTest : {GrScissorTest::kEnabled, GrScissorTest::kDisabled}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
232 rtc->addDrawOp(GrPipelineDynamicStateTestOp::Make(dContext, scissorTest, vbuff)); 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/src/gpu/ccpr/
DGrCCFiller.h57 PathInfo(GrScissorTest scissorTest, const SkIVector& devToAtlasOffset) in PathInfo() argument
58 : fScissorTest(scissorTest), fDevToAtlasOffset(devToAtlasOffset) {} in PathInfo()
60 GrScissorTest scissorTest() const { return fScissorTest; } in scissorTest() function
DGrCCPerFlushResources.cpp361 GrScissorTest scissorTest; in renderShapeInAtlas() local
363 if (!this->placeRenderedPathInAtlas(clipIBounds, *devIBounds, &scissorTest, &clippedPathIBounds, in renderShapeInAtlas()
371 fFiller.parseDeviceSpaceFill(path, fLocalDevPtsBuffer.begin(), scissorTest, in renderShapeInAtlas()
378 scissorTest, clippedPathIBounds, *devToAtlasOffset); in renderShapeInAtlas()
392 GrScissorTest scissorTest; in renderDeviceSpacePathInAtlas() local
394 if (!this->placeRenderedPathInAtlas(clipIBounds, devPathIBounds, &scissorTest, in renderDeviceSpacePathInAtlas()
399 fFiller.parseDeviceSpaceFill(devPath, SkPathPriv::PointData(devPath), scissorTest, in renderDeviceSpacePathInAtlas()
406 GrScissorTest* scissorTest, in placeRenderedPathInAtlas() argument
411 *scissorTest = GrScissorTest::kDisabled; in placeRenderedPathInAtlas()
413 *scissorTest = GrScissorTest::kEnabled; in placeRenderedPathInAtlas()
DGrCCFiller.cpp36 GrScissorTest scissorTest, const SkIRect& clippedDevIBounds, in parseDeviceSpaceFill() argument
96 fPathInfos.emplace_back(scissorTest, devToAtlasOffset); in parseDeviceSpaceFill()
107 fTotalPrimitiveCounts[(int)scissorTest] += currPathPrimitiveCounts; in parseDeviceSpaceFill()
109 if (GrScissorTest::kEnabled == scissorTest) { in parseDeviceSpaceFill()
357 currIndices = &instanceIndices[(int)nextPathInfo->scissorTest()]; in prepareToDraw()
DGrCCStroker.cpp281 GrScissorTest scissorTest, in parseDeviceSpaceStroke() argument
297 if (GrScissorTest::kEnabled == scissorTest) { in parseDeviceSpaceStroke()
311 fPathInfos.push_back() = {devToAtlasOffset, strokeDevWidth/2, scissorTest}; in parseDeviceSpaceStroke()
/external/skqp/src/gpu/
DGrPipeline.cpp98 GrPipeline::GrPipeline(GrScissorTest scissorTest, SkBlendMode blendmode) in GrPipeline() argument
105 if (GrScissorTest::kEnabled == scissorTest) { in GrPipeline()
/external/skia/src/gpu/
DGrPipeline.cpp73 GrPipeline::GrPipeline(GrScissorTest scissorTest, in GrPipeline() argument
81 if (GrScissorTest::kEnabled == scissorTest) { in GrPipeline()
/external/angle/src/tests/perf_tests/
DTracePerfTest.cpp1229 GLboolean scissorTest = GL_FALSE; in drawBenchmark() local
1230 glGetBooleanv(GL_SCISSOR_TEST, &scissorTest); in drawBenchmark()
1232 if (scissorTest) in drawBenchmark()
1254 if (scissorTest) in drawBenchmark()
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp51 GrScissorTest scissorTest, SkIVector* devToAtlasOffset) { in placeRenderedPathInAtlas() argument
/external/angle/src/libANGLE/renderer/gl/
DStateManagerGL.h80 bool scissorTest; member
DStateManagerGL.cpp2630 get(GL_SCISSOR_TEST, &state->scissorTest); in syncFromNativeContext()
2631 if (mScissorTestEnabled != static_cast<bool>(state->scissorTest)) in syncFromNativeContext()
2633 mScissorTestEnabled = state->scissorTest; in syncFromNativeContext()
2807 setScissorTestEnabled(state->scissorTest); in restoreNativeContext()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1757 void GrGLGpu::flushScissorTest(GrScissorTest scissorTest) { in flushScissorTest() argument
1758 if (GrScissorTest::kEnabled == scissorTest) { in flushScissorTest()