summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2019-10-03 12:36:59 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-11-15 06:15:28 +0000
commitf7add6e51872f161a72874d515a85fec4eafedd6 (patch)
tree5550d5b3144db346f898d6b3286d57d682a9e850 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent1722028514ca6582a917e78a05f0594d82b2d4ea (diff)
Validate wallpaper dimension while generating crop
If dimensions of cropped wallpaper exceed max texture size that GPU can support, it will cause sysui keep crashing because it can not initialize egl with an appropriate surface. Bug: 120847476. Test: Write a custom app to set a 8000x800 bitmap as wallpaper. Test: The cropped file will be 29600x2960 and make sysui keep crashing. Test: After applyed this cl, wallpaper will use fallback. Test: Sysui will not keep crashing any more. Change-Id: Icdc6292191d1e966c52640f4c1a5a154dfba45d3 (cherry picked from commit 32c6a7c691b0d91085c1ed13fe6f1c473c94b4c8)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions