Lines Matching refs:Encoder
90 explicit Canvas(Encoder* encoder)
92 , fEncoder(encoder) {}
95 // Calls Encoder::define() when created, Encoder::undefine() when destroyed.
99 explicit AutoID(Encoder* encoder, const T& val)
100 : fEncoder(encoder)
101 , fID(encoder->define(val)) {}
112 Encoder* fEncoder;
119 explicit AutoCommonIDs(Encoder* encoder, const SkPaint& paint)
120 : fEncoder(encoder) {
152 operator Encoder::CommonIDs () const { return fIDs; }
155 Encoder* fEncoder;
156 Encoder::CommonIDs fIDs;
430 Encoder* fEncoder;
434 SkCanvas* NewCanvas(Encoder* encoder) { return new Canvas(encoder); }
438 class Decoder final : public Encoder {
626 Encoder* NewDecoder(SkCanvas* canvas) { return new Decoder(canvas); }
630 class CachingEncoder final : public Encoder {
632 explicit CachingEncoder(Encoder* wrapped) : fWrapped(wrapped) {}
636 Encoder* fEncoder;
754 Encoder* fWrapped;
757 Encoder* NewCachingEncoder(Encoder* wrapped) { return new CachingEncoder(wrapped); }