diff options
author | Stan Iliev <stani@google.com> | 2018-10-25 16:28:27 -0400 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2018-10-25 16:28:27 -0400 |
commit | 402fff12596fdf6cc270f5ce74029563a863127d (patch) | |
tree | 148af9f68abcd2202092a72d483d2e5424a7f46a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5fb899d15b8ef9ea89bd92cd9934c240724985cc (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: Passed CtsViewTestCases and CtsUiRenderingTestCases
Change-Id: I72033410c8b0ab637c2e6b816ac9b04434286fbb
Merged-In: I3acd710ff2cb4ee7b14dd4b7d9227842187130c9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions