This repository was archived by the owner on Apr 3, 2020. It is now read-only.
Commit 034ad53
committed
Merge to M46 for BUG=510252
Add ycbcr_422 support in image factory.
BUG=524582
[email protected]
Review URL: https://codereview.chromium.org/1308643003
Cr-Commit-Position: refs/heads/master@{#345959}
(cherry picked from commit 3055ce7)
media: Remove SkCanvasVideoRenderer cache invalidation.
When VideoFrame carries one native texture, with a GL_TEXTURE_2D target,
we assumed we could avoid caching the created SkImage, since we just used
the texture directly for drawing.
Unfortunately if we're drawing to a software canvas we need to read the pixels
back from the texture, and that is expensive.
Keeping the same SkImage allows Skia to cache the expensive operation.
BUG=521531
Review URL: https://codereview.chromium.org/1320613003
Cr-Commit-Position: refs/heads/master@{#345799}
(cherry picked from commit 771b5cf)
BUG=510252
Review URL: https://codereview.chromium.org/1327513003 .
Cr-Commit-Position: refs/branch-heads/2490@{#201}
Cr-Branched-From: 7790a35-refs/heads/master@{#344925}1 parent 320e32b commit 034ad53
File tree
2 files changed
+5
-12
lines changed- gpu/command_buffer/service
- media/blink
2 files changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | | - | |
81 | | - | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | | - | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 130 | | |
137 | 131 | | |
138 | 132 | | |
| |||
388 | 382 | | |
389 | 383 | | |
390 | 384 | | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 385 | | |
395 | 386 | | |
396 | 387 | | |
| |||
0 commit comments