Home
last modified time | relevance | path

Searched refs:Lattice (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/flutter/skia/gm/
Dlattice.cpp131 SkCanvas::Lattice lattice; in onDrawHelper()
174 SkCanvas::Lattice::RectType flags[36]; in onDrawHelper()
175 sk_bzero(flags, 36 * sizeof(SkCanvas::Lattice::RectType)); in onDrawHelper()
176 flags[4] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
177 flags[9] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
178 flags[12] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
179 flags[19] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
182 = SkCanvas::Lattice::kFixedColor; in onDrawHelper()
295 SkCanvas::Lattice lattice; in onDrawHelper()
302 SkCanvas::Lattice::RectType flags[9]; in onDrawHelper()
[all …]
/third_party/skia/gm/
Dlattice.cpp133 SkCanvas::Lattice lattice; in onDrawHelper()
176 SkCanvas::Lattice::RectType flags[36]; in onDrawHelper()
177 sk_bzero(flags, 36 * sizeof(SkCanvas::Lattice::RectType)); in onDrawHelper()
178 flags[4] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
179 flags[9] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
180 flags[12] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
181 flags[19] = SkCanvas::Lattice::kTransparent; in onDrawHelper()
184 = SkCanvas::Lattice::kFixedColor; in onDrawHelper()
304 SkCanvas::Lattice lattice; in onDrawHelper()
311 SkCanvas::Lattice::RectType flags[9]; in onDrawHelper()
[all …]
/third_party/flutter/skia/src/core/
DSkCanvasPriv.cpp39 bool SkCanvasPriv::ReadLattice(SkReadBuffer& buffer, SkCanvas::Lattice* lattice) { in ReadLattice()
48 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount); in ReadLattice()
55 size_t SkCanvasPriv::WriteLattice(void* buffer, const SkCanvas::Lattice& lattice) { in WriteLattice()
59 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice()
79 void SkCanvasPriv::WriteLattice(SkWriteBuffer& buffer, const SkCanvas::Lattice& lattice) { in WriteLattice()
DSkCanvasPriv.h34 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*);
36 static void WriteLattice(SkWriteBuffer&, const SkCanvas::Lattice&);
40 static size_t WriteLattice(void* storage, const SkCanvas::Lattice&);
DSkLatticeIter.h24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice);
26 SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst);
68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes;
DSkLatticeIter.cpp26 bool SkLatticeIter::Valid(int width, int height, const SkCanvas::Lattice& lattice) { in Valid()
114 SkLatticeIter::SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst) { in SkLatticeIter()
172 const SkCanvas::Lattice::RectType* flags = lattice.fRectTypes; in SkLatticeIter()
194 fColors[i] = SkCanvas::Lattice::kFixedColor == *flags ? *colors : 0; in SkLatticeIter()
202 if (SkCanvas::Lattice::kTransparent == fRectTypes[j]) { in SkLatticeIter()
273 && SkToBool(SkCanvas::Lattice::kTransparent == fRectTypes[currRect])) { in next()
281 && SkToBool(SkCanvas::Lattice::kFixedColor == fRectTypes[currRect]); in next()
DSkOverdrawCanvas.cpp173 void SkOverdrawCanvas::onDrawImageLattice(const SkImage* image, const Lattice& lattice, in onDrawImageLattice()
176 Lattice latticePlusBounds = lattice; in onDrawImageLattice()
209 void SkOverdrawCanvas::onDrawBitmapLattice(const SkBitmap& bitmap, const Lattice& lattice, in onDrawBitmapLattice()
DSkRecorder.h98 void onDrawImageLattice(const SkImage*, const Lattice& lattice, const SkRect& dst,
100 void onDrawBitmapLattice(const SkBitmap&, const Lattice& lattice, const SkRect& dst,
/third_party/skia/src/core/
DSkLatticeIter.h24 static bool Valid(int imageWidth, int imageHeight, const SkCanvas::Lattice& lattice);
26 SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst);
68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes;
DSkCanvasPriv.cpp42 bool SkCanvasPriv::ReadLattice(SkReadBuffer& buffer, SkCanvas::Lattice* lattice) { in ReadLattice()
51 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount); in ReadLattice()
58 size_t SkCanvasPriv::WriteLattice(void* buffer, const SkCanvas::Lattice& lattice) { in WriteLattice()
62 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice()
82 void SkCanvasPriv::WriteLattice(SkWriteBuffer& buffer, const SkCanvas::Lattice& lattice) { in WriteLattice()
DSkLatticeIter.cpp26 bool SkLatticeIter::Valid(int width, int height, const SkCanvas::Lattice& lattice) { in Valid()
114 SkLatticeIter::SkLatticeIter(const SkCanvas::Lattice& lattice, const SkRect& dst) { in SkLatticeIter()
172 const SkCanvas::Lattice::RectType* flags = lattice.fRectTypes; in SkLatticeIter()
194 fColors[i] = SkCanvas::Lattice::kFixedColor == *flags ? *colors : 0; in SkLatticeIter()
202 if (SkCanvas::Lattice::kTransparent == fRectTypes[j]) { in SkLatticeIter()
273 && SkToBool(SkCanvas::Lattice::kTransparent == fRectTypes[currRect])) { in next()
281 && SkToBool(SkCanvas::Lattice::kFixedColor == fRectTypes[currRect]); in next()
DSkCanvasPriv.h46 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*);
48 static void WriteLattice(SkWriteBuffer&, const SkCanvas::Lattice&);
52 static size_t WriteLattice(void* storage, const SkCanvas::Lattice&);
/third_party/flutter/skia/docs/examples/
DCanvas_drawBitmapLattice.cpp26 SkCanvas::Lattice::RectType fillTypes[3][3]; in draw()
28 fillTypes[1][1] = SkCanvas::Lattice::kTransparent; in draw()
30 SkCanvas::Lattice lattice = { xDivs, yDivs, fillTypes[0], SK_ARRAY_COUNT(xDivs), in draw()
/third_party/flutter/skia/include/utils/
DSkNoDrawCanvas.h69 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, in onDrawImageLattice() argument
71 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&, in onDrawBitmapLattice() argument
DSkNWayCanvas.h58 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
60 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override;
DSkPaintFilterCanvas.h68 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
75 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&,
/third_party/flutter/skia/include/core/
DSkOverdrawCanvas.h45 void onDrawImageLattice(const SkImage*, const Lattice&, const SkRect&, const SkPaint*) override;
50 void onDrawBitmapLattice(const SkBitmap&, const Lattice&, const SkRect&,
DSkCanvasVirtualEnforcer.h51 void onDrawImageLattice(const SkImage* image, const SkCanvas::Lattice& lattice,
77 void onDrawBitmapLattice(const SkBitmap& bitmap, const SkCanvas::Lattice& lattice,
/third_party/flutter/skia/src/gpu/ops/
DGrLatticeOp.cpp394 SkCanvas::Lattice lattice; in GR_DRAW_OP_TEST_DEFINE()
400 std::unique_ptr<SkCanvas::Lattice::RectType[]> flags; in GR_DRAW_OP_TEST_DEFINE()
439 flags.reset(new SkCanvas::Lattice::RectType[n]); in GR_DRAW_OP_TEST_DEFINE()
442 flags[i] = random->nextBool() ? SkCanvas::Lattice::kTransparent in GR_DRAW_OP_TEST_DEFINE()
443 : SkCanvas::Lattice::kDefault; in GR_DRAW_OP_TEST_DEFINE()
/third_party/flutter/skia/tools/debugger/
DDebugCanvas.h146 const Lattice&,
156 const Lattice& lattice,
DDrawCommand.h103 static void MakeJsonLattice(SkJSONWriter&, const SkCanvas::Lattice& lattice);
241 const SkCanvas::Lattice& lattice,
250 SkCanvas::Lattice fLattice;
316 const SkCanvas::Lattice& lattice,
325 SkCanvas::Lattice fLattice;
/third_party/skia/src/gpu/ops/
DLatticeOp.cpp454 SkCanvas::Lattice lattice; in GR_DRAW_OP_TEST_DEFINE()
460 std::unique_ptr<SkCanvas::Lattice::RectType[]> flags; in GR_DRAW_OP_TEST_DEFINE()
504 flags.reset(new SkCanvas::Lattice::RectType[n]); in GR_DRAW_OP_TEST_DEFINE()
507 flags[i] = random->nextBool() ? SkCanvas::Lattice::kTransparent in GR_DRAW_OP_TEST_DEFINE()
508 : SkCanvas::Lattice::kDefault; in GR_DRAW_OP_TEST_DEFINE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCalledValuePropagation.cpp374 CVPLatticeFunc Lattice; in runCVP() local
375 SparseSolver<CVPLatticeKey, CVPLatticeVal> Solver(&Lattice); in runCVP()
391 for (Instruction *C : Lattice.getIndirectCalls()) { in runCVP()
/third_party/flutter/skia/src/gpu/
DSkGpuDevice.h103 void drawImageLattice(const SkImage*, const SkCanvas::Lattice&,
105 void drawBitmapLattice(const SkBitmap&, const SkCanvas::Lattice&,
/third_party/flutter/skia/bench/
DDrawLatticeBench.cpp57 SkCanvas::Lattice fLattice;

1234