summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2020-08-12 01:57:49 -0700
committerTej Singh <singhtejinder@google.com>2020-08-19 01:21:08 -0700
commitcfdf67144c24f8ccbb30d883111f6bf105db6084 (patch)
treef764f9be30b5864c125be1e196c64602a3c83f16 /rs/java/android/renderscript/ProgramStore.java
parentf7c04c3abc893994c9d467e1168ea023d7c5c41e (diff)
Change condition init to return current condition
To allow initialization of conditions to work for both config creation and update, have init always fill the conditionCache with the current condition. For sliced dimensions, it should compute an OR over all dimensions, returning true if any of the dimensions are true. We can use this for setting the initial value of new combination conditions that depend on existing initial conditions, or for new metrics that depend on existing conditions. Test: atest statsd_test. Existing tests pass, will add more for the update path in the update for condition cl. Bug: 162322841 Change-Id: Ib48479269828f2e071c5c46aba1129d52d4725de
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions