summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-10-17 11:32:01 -0700
committerChet Haase <chet@google.com>2012-10-17 11:32:01 -0700
commitb78ee0ef60e5323b15b4ffdc97be4d889e272b79 (patch)
treedd07b9815ba28fa2ecf13ef853e446f2cbf8ce6e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbe29d82f740fea2ed35d89bd9aa4644f4c042762 (diff)
Skip drawing offscreen objects
Previous logic in ViewRoot would schedule and perform a draw when it was requested by offscreen objects. The problem was that the logic checking for an interesection between the offscreen invalidation rectangle and the onscreen display rectangle was flawed. The fix was to use the return value from Rect.intersect() to do the right thing and skip drawing. Issue #7366568 Offscreen invalidates can cause useless work for framework Change-Id: Ie4e277c695dacee39848a8a223f0c4ee34d9bb4d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions