commit | e5286e0b37abe4d0db67a6b3d87b2d5a12a70ab3 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Thu Jan 14 09:24:09 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jan 14 09:24:09 2016 -0800 |
tree | 506ce530275a41ca0561e0d00b3d535c58366b4e | |
parent | fe09119dd2acb43bb9986e6edeef3a480b539473 [diff] |
Beginning of support for texture rectangles. Adds support for importing a RECTANGLE texture into Skia via GrTexureProvider::wrapBackendTexture(). Tests read/writing pixels, copySurface, and clear. Does not add support for texturing from a RECTANGLE texture as the coords will be incorrectly normalized. BUG=skia:3868 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1583863002 Review URL: https://codereview.chromium.org/1583863002