/external/skia/docs/examples/ |
D | Region_op_2.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds.fLeft + frame * drawBounds.width(), drawBounds.fTop, 16 drawBounds.fRight, drawBounds.fBottom, SkRegion::kReverseDifference_Op);
|
D | Region_op_4.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds)); 17 drawBounds.inset(frame * drawBounds.width() / 2, 0); 18 rectRegion.op(drawBounds, opRegion, SkRegion::kIntersect_Op);
|
D | Region_op_5.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds)); 17 drawBounds.inset(frame * drawBounds.width() / 2, 0); 18 rectRegion.op(opRegion, drawBounds, SkRegion::kUnion_Op);
|
D | Region_op_6.cpp | 16 SkIRect drawBounds = {0, 0, 128, 128}; 17 opRegion.setPath(opPath, SkRegion(drawBounds)); 18 xRegion.setPath(xPath, SkRegion(drawBounds)); 19 drawBounds.inset(frame * drawBounds.width() / 2, 0); 20 rectRegion.setRect(drawBounds);
|
D | Region_contains_3.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 xRegion.setPath(xPath, SkRegion(drawBounds)); 16 testRegion.setPath(testPath, SkRegion(drawBounds)); 17 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_op_1.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_op_3.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds));
|
D | Region_contains_2.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_writeToMemory.cpp | 12 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds));
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 44 const SkISize& drawBounds) in AtlasOp() argument 47 this->setBounds(SkRect::MakeIWH(drawBounds.width(), drawBounds.height()), in AtlasOp() 62 int endInstance, const SkISize& drawBounds) { in Make() argument 66 baseInstance, endInstance, drawBounds); in Make() 88 int baseInstance, int endInstance, const SkISize& drawBounds) in CopyAtlasOp() argument 89 : AtlasOp(ClassID(), std::move(resources), drawBounds) in CopyAtlasOp() 107 const SkISize& drawBounds) { in Make() argument 111 drawBounds); in Make() 126 StrokeBatchID strokeBatchID, const SkISize& drawBounds) in RenderAtlasOp() argument 127 : AtlasOp(ClassID(), std::move(resources), drawBounds) in RenderAtlasOp() [all …]
|
D | GrCCStroker.h | 58 void drawStrokes(GrOpFlushState*, BatchID, const SkIRect& drawBounds) const; 98 int startScissorSubBatch, const SkIRect& drawBounds) const; 100 GrPipeline&, const SkIRect& drawBounds) const; 106 const SkIRect& drawBounds) const;
|
D | GrCCFiller.cpp | 463 const SkIRect& drawBounds) const { in drawFills() 474 &PrimitiveTallies::fTriangles, drawBounds); in drawFills() 479 &PrimitiveTallies::fWeightedTriangles, drawBounds); in drawFills() 484 &PrimitiveTallies::fQuadratics, drawBounds); in drawFills() 489 &PrimitiveTallies::fCubics, drawBounds); in drawFills() 494 &PrimitiveTallies::fConics, drawBounds); in drawFills() 501 const SkIRect& drawBounds) const { in drawPrimitives() 522 fScissorRectScratchBuffer.push_back().setXYWH(0, 0, drawBounds.width(), in drawPrimitives() 523 drawBounds.height()); in drawPrimitives() 552 SkRect::Make(drawBounds)); in drawPrimitives()
|
D | GrCCStroker.cpp | 676 const SkIRect& drawBounds) const { in drawStrokes() 695 this->appendStrokeMeshesToBuffers(0, batch, startIndices, startScissorSubBatch, drawBounds); in drawStrokes() 698 this->flushBufferedMeshesAsStrokes(linearProc, flushState, pipeline, drawBounds); in drawStrokes() 703 this->appendStrokeMeshesToBuffers(i, batch, startIndices, startScissorSubBatch, drawBounds); in drawStrokes() 707 this->flushBufferedMeshesAsStrokes(cubicProc, flushState, pipeline, drawBounds); in drawStrokes() 713 flushState, pipeline, triProc, batch, startIndices, startScissorSubBatch, drawBounds); in drawStrokes() 718 flushState, pipeline, conicProc, batch, startIndices, startScissorSubBatch, drawBounds); in drawStrokes() 724 const SkIRect& drawBounds) const { in appendStrokeMeshesToBuffers() 739 fScissorsBuffer.push_back(drawBounds); in appendStrokeMeshesToBuffers() 762 const SkIRect& drawBounds) const { in flushBufferedMeshesAsStrokes() [all …]
|
D | GrCCFiller.h | 48 void drawFills(GrOpFlushState*, BatchID, const SkIRect& drawBounds) const; 100 const SkIRect& drawBounds) const;
|
D | GrCCCoverageProcessor.cpp | 234 const SkRect& drawBounds) const { in draw() 238 cmdBuff->draw(*this, pipeline, nullptr, &dynamicStateArrays, meshes, meshCount, drawBounds); in draw() 245 drawBounds); in draw()
|
/external/skqp/docs/ |
D | SkRegion_Reference.bmh | 1101 SkIRect drawBounds = {0, 0, 128, 128}; 1102 xRegion.setPath(xPath, SkRegion(drawBounds)); 1103 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op); 1130 SkIRect drawBounds = {0, 0, 128, 128}; 1131 xRegion.setPath(xPath, SkRegion(drawBounds)); 1132 testRegion.setPath(testPath, SkRegion(drawBounds)); 1133 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op); 1388 SkIRect drawBounds = {0, 0, 128, 128}; 1389 xRegion.setPath(xPath, SkRegion(drawBounds)); 1390 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op); [all …]
|
/external/skia/src/gpu/ |
D | GrStencilClip.h | 52 PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const final { in preApply() argument 54 return this->INHERITED::preApply(drawBounds, aa); in preApply() 56 return fFixedClip.preApply(drawBounds, aa); in preApply()
|
D | GrFixedClip.cpp | 17 GrClip::PreClipResult GrFixedClip::preApply(const SkRect& drawBounds, GrAA aa) const { in preApply() argument 18 SkIRect pixelBounds = GetPixelIBounds(drawBounds, aa); in preApply()
|
D | GrOpFlushState.h | 195 void bindPipelineAndScissorClip(const GrProgramInfo& programInfo, const SkRect& drawBounds) { in bindPipelineAndScissorClip() argument 198 this->bindPipeline(programInfo, drawBounds); in bindPipelineAndScissorClip() 218 void bindPipeline(const GrProgramInfo& programInfo, const SkRect& drawBounds) { in bindPipeline() argument 219 fOpsRenderPass->bindPipeline(programInfo, drawBounds); in bindPipeline()
|
D | GrOpsRenderPass.h | 54 void bindPipeline(const GrProgramInfo&, const SkRect& drawBounds); 179 virtual bool onBindPipeline(const GrProgramInfo&, const SkRect& drawBounds) = 0;
|
D | GrClipStack.cpp | 412 Draw(const SkRect& drawBounds, GrAA aa) in Draw() argument 413 : fBounds(GrClip::GetPixelIBounds(drawBounds, aa, BoundsType::kExterior)) in Draw() 416 fOriginalBounds = drawBounds.makeInset(GrClip::kBoundsTolerance, GrClip::kBoundsTolerance); in Draw() 418 fOriginalBounds = drawBounds; in Draw() 750 GrClipStack::Mask::Mask(const SaveRecord& current, const SkIRect& drawBounds) in Mask() argument 751 : fBounds(drawBounds) in Mask() 762 builder[1] = SkToS16(drawBounds.fLeft) | (SkToS16(drawBounds.fRight) << 16); in Mask() 763 builder[2] = SkToS16(drawBounds.fTop) | (SkToS16(drawBounds.fBottom) << 16); in Mask() 769 bool GrClipStack::Mask::appliesToDraw(const SaveRecord& current, const SkIRect& drawBounds) const { in appliesToDraw() 773 return fGenID == current.genID() && fBounds.contains(drawBounds); in appliesToDraw()
|
D | GrClip.h | 84 virtual PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const { in preApply() argument 85 SkIRect pixelBounds = GetPixelIBounds(drawBounds, aa); in preApply()
|
/external/skqp/tools/viewer/ |
D | NIMASlide.cpp | 168 bool drawBounds = SkToBool(fRenderFlags & kBounds_RenderFlag); in renderGUI() local 170 ImGui::Checkbox("Draw Bounds", &drawBounds); in renderGUI() 171 if (drawBounds) { in renderGUI()
|
/external/skia/gm/ |
D | fontmgr.cpp | 247 SkRect drawBounds = min; in show_bounds() local 248 drawBounds.join(fontBounds); in show_bounds() 251 canvas->translate(x - drawBounds.left(), y); in show_bounds() 323 return drawBounds; in show_bounds() 355 SkRect drawBounds = show_bounds(canvas, font, x, y, color, fLabelBounds); in onDraw() local 356 x += drawBounds.width() + 20; in onDraw()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 475 SkRect drawBounds = SkRect::Make(devPathBounds).makeOffset(-translateX, -translateY); in addDFPathToAtlas() local 476 drawBounds.fLeft /= scale; in addDFPathToAtlas() 477 drawBounds.fTop /= scale; in addDFPathToAtlas() 478 drawBounds.fRight /= scale; in addDFPathToAtlas() 479 drawBounds.fBottom /= scale; in addDFPathToAtlas() 483 drawBounds, SK_DistanceFieldPad, shapeData); in addDFPathToAtlas() 546 SkRect drawBounds = SkRect::Make(devPathBounds).makeOffset(-translateX, -translateY); in addBMPathToAtlas() local 550 drawBounds, 0, shapeData); in addBMPathToAtlas()
|