commit | 790d5132620d86813380d3df251e80dd2b41a409 | [log] [tgz] |
---|---|---|
author | cblume <cblume@chromium.org> | Mon Feb 29 11:13:29 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Feb 29 11:13:29 2016 -0800 |
tree | d2d37a00140b9bf2b88a0d248e09bf67759c2fb9 | |
parent | c58487e088fb7803b7b5fc5348c99d4a717c72df [diff] |
This CL adds glTexStorage support. For us to take advantage of immutable texture storage, we would need to know in advance that the texture will not be changing allocated size. In some cases we cannot know this in advance: we will sometimes later need mipmaps to be allocated and generated. However, in the cases where we know in advance that we are allocating mipmaps we can take advantage of immutable storage. BUG=476416 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1570173004 Review URL: https://codereview.chromium.org/1570173004