commit | aa0a33180edeadb6e08d5c23eed006bd74d26670 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Fri Oct 19 15:26:08 2018 -0400 |
committer | Stan Iliev <stani@google.com> | Tue Oct 23 20:37:44 2018 +0000 |
tree | eba64ebffdb2c075e5b68d9324bfc4c48f33cd23 | |
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