diff options
| author | 2009-04-27 18:50:06 -0700 | |
|---|---|---|
| committer | 2009-04-27 18:50:06 -0700 | |
| commit | 0c6b5f6ec38b14add24c44360aa60d91ab61ff34 (patch) | |
| tree | 3011653554fcbadf48896278846231199f5a8bcf /libs/surfaceflinger/VRamHeap.cpp | |
| parent | 17f213bc528cf296e133e9ec9c9e0ce5dce41781 (diff) | |
fix 1803886 android15 Translucent GLSurfaceView demo does not display properly
Diffstat (limited to 'libs/surfaceflinger/VRamHeap.cpp')
| -rw-r--r-- | libs/surfaceflinger/VRamHeap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/VRamHeap.cpp b/libs/surfaceflinger/VRamHeap.cpp index 0ccd71f0b844..238c602e8684 100644 --- a/libs/surfaceflinger/VRamHeap.cpp +++ b/libs/surfaceflinger/VRamHeap.cpp @@ -98,7 +98,7 @@ sp<MemoryDealer> SurfaceHeapManager::createHeap( } } - 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 |