commit | 6bddf463752b6a999c8e20d6b3f86b9b53714fd8 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon May 17 16:23:53 2021 +0000 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 17 16:24:11 2021 +0000 |
tree | cbd9ce0e7f8d8d58452fb730f17313c153f096c8 | |
parent | bdf3bb7b5f708f40219d5999d432466f28bf5f1c [diff] |
Revert "Use SkImage_Raster's unique ID to cache textures." This reverts commit 8005007e9879f2778189e6505d70c3b2ce83452c. Reason for revert: text drop outs on D3D??? https://gold.skia.org/diff?test=xfermodes&left=1521937fb71ceb0615e8d369096ac180&right=b262b21be69db7b55b46106c0f60e9d7 Original change's description: > Use SkImage_Raster's unique ID to cache textures. > > SkImages can share SkBitmaps and have different unique IDs/mipmap > status. Currently we cache the texture version using the bitmap's > unique ID. Instead use the image's ID so different images produce > different textures (e.g. mipped and nonmipped). > > Bug: skia:11983 > Change-Id: Ic37564186f675277e5a9de1bcf36b40a19c3a3de > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/407356 > Commit-Queue: Brian Salomon <bsalomon@google.com> > Reviewed-by: Robert Phillips <robertphillips@google.com> TBR=bsalomon@google.com,robertphillips@google.com Change-Id: I39422295840ecdf363d3541380e7a25ab91a198b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:11983 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/409298 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>