Commit 099df4a
Revert^2 "Remove mipmaps from SkBitmap's implementation"
This reverts commit 6a69295.
Reland "Remove mipmaps from SkBitmap's implementation"
This reverts commit 6a69295.
Reason for revert: Was not the culprit (see http://b/480815083#comment56)
Original change's description:
> Revert "Remove mipmaps from SkBitmap's implementation"
>
> This reverts commit 7e79e4a.
>
> Reason for revert: speculative fix for b/480815083, reverting to
> create a canary for checking. Edit: very clear candidate for b/479634079
>
> Original change's description:
> > Remove mipmaps from SkBitmap's implementation
> >
> > This pushes them down into SkImage_Raster and makes a Ganesh-specific
> > class to hold a bitmap and the mips.
> >
> > Suggested Review order:
> > - SkImage_Raster to see mips put there
> > - SkDraw, SkBitmapDevice, SkGlyphRunPainter, src/core/SkOverdrawCanvas to see CPU backend changes to thread mips in to image shader
> > - GrBitmap to see new Ganesh-specific class and SkGr.h for the internal API change.
> > - The rest of src/gpu/ganesh to see it being used.
> > - gm/showmiplevels.cpp (which I broke and then puzzled about what
> > it was supposed to look like and then *why* it was supposed to
> > look that way and I decided to write it down).
> > - All other changes in any order
> >
> > Change-Id: I93a36df817e5a607305786118b6f443aec166374
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1132776
> > Reviewed-by: Greg Daniel <egdaniel@google.com>
> > Auto-Submit: Kaylee Lubick <kjlubick@google.com>
> > Commit-Queue: Greg Daniel <egdaniel@google.com>
>
> Change-Id: I663686051f267f323d3775b70ccdbb618825e9dd
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1171276
> Auto-Submit: Noelle Scobie <nscobie@google.com>
> Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
> Commit-Queue: Ben Wagner <bungeman@google.com>
> Reviewed-by: Ben Wagner <bungeman@google.com>
Change-Id: I8bfe4bfda6466405d49a98e9c493264763d89efb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1182996
Owners-Override: Kaylee Lubick <kjlubick@google.com>
Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
Commit-Queue: Kaylee Lubick <kjlubick@google.com>1 parent 257d042 commit 099df4a
File tree
46 files changed
+462
-249
lines changed- gm
- gn
- include/core
- src
- android
- codec
- core
- gpu/ganesh
- effects
- gradients
- image
- ops
- image
- xps
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+462
-249
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | | - | |
193 | | - | |
194 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
198 | | - | |
199 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
87 | 89 | | |
88 | | - | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
42 | 61 | | |
43 | 62 | | |
44 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
45 | 67 | | |
46 | 68 | | |
47 | 69 | | |
| |||
76 | 98 | | |
77 | 99 | | |
78 | 100 | | |
79 | | - | |
80 | | - | |
81 | 101 | | |
82 | | - | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
138 | | - | |
139 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| 432 | + | |
| 433 | + | |
432 | 434 | | |
433 | 435 | | |
434 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
1241 | 1240 | | |
1242 | 1241 | | |
1243 | 1242 | | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
1249 | | - | |
1250 | | - | |
| 1243 | + | |
| 1244 | + | |
1251 | 1245 | | |
1252 | 1246 | | |
1253 | 1247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
743 | 744 | | |
744 | 745 | | |
745 | 746 | | |
746 | | - | |
| 747 | + | |
747 | 748 | | |
748 | 749 | | |
749 | 750 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 51 | + | |
59 | 52 | | |
60 | 53 | | |
61 | 54 | | |
| |||
65 | 58 | | |
66 | 59 | | |
67 | 60 | | |
68 | | - | |
69 | | - | |
| 61 | + | |
70 | 62 | | |
71 | 63 | | |
72 | 64 | | |
| |||
75 | 67 | | |
76 | 68 | | |
77 | 69 | | |
78 | | - | |
79 | | - | |
| 70 | + | |
80 | 71 | | |
81 | 72 | | |
82 | 73 | | |
| |||
92 | 83 | | |
93 | 84 | | |
94 | 85 | | |
95 | | - | |
96 | 86 | | |
97 | 87 | | |
98 | 88 | | |
| |||
0 commit comments