summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2019-07-10 15:38:05 -0700
committerSiarhei Vishniakou <svv@google.com>2019-07-10 15:38:05 -0700
commit7507d7bc02908e4b2989559c8e9fd1c11fbfe7f0 (patch)
tree0c68da02ea62b4b8118bf218396f8773389e7bec /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc513c7036d2c61c026c830cbb9ec8bd8aaf90b87 (diff)
Refactor requestRefreshConfiguration call
Currently, it appears that requestRefreshConfiguration can only ever be called with a single configuration value. That means, we can probably switch to using an enum class for the different configuration values, and simplify some of the existing logic. But it's not super obvious from code that only 1 bit is set in this "changes" variable. Refactor it a little to make it more obvious. Bug: 137212522 Test: none Change-Id: I8d21e7ea05e0271229f72354888b722dfdaf3929
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions