OSDN Git Service

Don't use shader disk cache on emulator
authorLingfeng Yang <lfy@google.com>
Wed, 24 Jan 2018 18:40:18 +0000 (10:40 -0800)
committerLingfeng Yang <lfy@google.com>
Wed, 24 Jan 2018 20:21:46 +0000 (12:21 -0800)
commit3a9f223dd1fe6a74e6bcf9a1080280034043409c
treefca32b3b7b9490abadab526e64b2be71f7dc57f9
parent1a68be0f0defb679a246352c30921bb011f2d5cb
Don't use shader disk cache on emulator

bug: 71900691

Emulator user might switch renderers, migrate a snapshot to a different
machine with a different shader binary format, etc.

Plus, program binaries don't seem to work so well on some desktop GPUs.

Change-Id: I0c6239acbd556097494aa903d6603c963d3141cb
libs/hwui/Properties.cpp
libs/hwui/Properties.h
libs/hwui/pipeline/skia/ShaderCache.cpp