Lines Matching refs:Level
23 * SkMipMap will generate mipmap levels when given a base mipmap level image.
26 * being the first mipmap level which was generated. Said another way, it does
27 * not include the base level in its range.
43 // This does not include the base mipmap level that the user provided when
47 // Determines the size of a given mipmap level.
48 // |level| is an index into the generated mipmap levels. It does not include
49 // the base level. So index 0 represents mipmap level 1.
50 static SkISize ComputeLevelSize(int baseWidth, int baseHeight, int level);
52 struct Level {
57 bool extractLevel(const SkSize& scale, Level*) const;
60 // include the base mipmap level).
64 // the base level. So index 0 represents mipmap level 1.
65 bool getLevel(int index, Level*) const;
69 fLevels = (Level*)newData; // could be nullptr
74 Level* fLevels; // managed by the baseclass, may be null due to onDataChanged.