diff options
author | Stan Iliev <stani@google.com> | 2018-10-19 15:26:08 -0400 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2018-10-23 20:37:44 +0000 |
commit | aa0a33180edeadb6e08d5c23eed006bd74d26670 (patch) | |
tree | eba64ebffdb2c075e5b68d9324bfc4c48f33cd23 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8884cfc13ef7a8848a41094e4452c7a72a62c908 (diff) |
Use bilerp sampling when drawing TextureView with non-translate matrix
Draw TextureView with bilerp sampling, when the matrix is not
integer translate or identity. For example scaling matrix or
translation on X by 0.4f will draw with GL_LINEAR on OpenGL pipeline.
Translation on X by 3.0f will draw TextureView with GL_NEAREST.
Bug: 117890671
Test: ran camera app
Change-Id: I3acd710ff2cb4ee7b14dd4b7d9227842187130c9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions