commit | 9660d304ae51a69509e5506e1fc80178025dee7c | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Wed May 20 11:28:04 2009 -0700 |
committer | Jean-Baptiste Queru <jbq@google.com> | Wed May 20 11:28:04 2009 -0700 |
tree | 2db88e9f1a42bf5dfbbe01580a6e8071666179e9 | |
parent | 490b2ba510c0857605f4913f0fdd1c47a1d93647 [diff] [blame] |
donut snapshot
diff --git a/libs/surfaceflinger/VRamHeap.cpp b/libs/surfaceflinger/VRamHeap.cpp index 0ccd71f..238c602 100644 --- a/libs/surfaceflinger/VRamHeap.cpp +++ b/libs/surfaceflinger/VRamHeap.cpp
@@ -98,7 +98,7 @@ } } - if (flags & ISurfaceComposer::eGPU) { + if ((flags & ISurfaceComposer::eGPU) && (mFlinger->getGPU() != 0)) { // FIXME: this is msm7201A specific, where gpu surfaces may not be secure if (!(flags & ISurfaceComposer::eSecure)) { // if GPU doesn't work, we try eHardware