summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-03-13 18:04:00 -0700
committerChet Haase <chet@google.com>2013-03-14 06:24:32 -0700
commit187e1e2fc7dfb4eabdcb2c8990774bc6020fb16b (patch)
tree4828fc724e99a2fe0a812c97dac678c54cd96f07 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentde965891130bc50bd02eb6f7bac2ea177a733c2c (diff)
Ensure wallpaper creation succeeds
ImageWallpaper was sometimes querying GL for a max texture size too early (before the first call to eglMakeCurrent()). This problem caused the wallpaper to then get created in software, resulting in noticeably slower performance when the wallpaper was visible. This fix ensures that the makeCurrent happens before the query, ensuring that wallpapers of the right size actually get created instead of failing due to this error at creation time. Issue #8319960 sluggish yakju animations over launcher Change-Id: I12a3eba9f1818bdf544691e0727fe12f7e820651
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions