diff options
author | Stan Iliev <stani@google.com> | 2018-09-10 14:48:38 -0400 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2018-09-11 20:45:23 +0000 |
commit | 93ac4012f2453e9a68a554ebba266f3ddd03d9f0 (patch) | |
tree | 9440b3d5f7164b6f4473f71502d38d94b051ffb3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 9b5c03973eaf01fde6ebc9d266aaa4fc0a3fc63d (diff) |
DO NOT MERGE: Use GL_LINEAR filter when drawing scaled TextureView
Use GL_LINEAR instead of GL_NEAREST sampling, when drawing
a TextureView, which has a buffer size that does not match
layer size.
Scale SkImage to layer size with a matrix, instead of
passing wrong size to MakeFromTexture.
This CL must not be merged in master, becase this issue has
been fixed already by ag/4936023.
Bug: 114324288
Test: Passed CtsViewTestCases and CtsUiRenderingTestCases
Test: Ran apps using scaled TextureView including Instagram
Change-Id: I9ee659d08998c932d8b708a64f3c879ab696fd9e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions