diff options
| author | 2008-12-19 08:31:54 -0800 | |
|---|---|---|
| committer | 2008-12-19 08:31:54 -0800 | |
| commit | 772a89695f179b51d16b26c1b0d946aa3e850e70 (patch) | |
| tree | 9a9fdadd1301625f875a3c126c986c79e3363ac4 /libs/ui/EGLNativeWindowSurface.cpp | |
| parent | d34e59679f6a98e9e67ef4bd18da6e5a86d386bc (diff) | |
| parent | e09fd9e819c23dc90bca68375645e15544861330 (diff) | |
Merge commit 'remotes/korg/cupcake'
Conflicts:
	core/java/com/android/internal/app/AlertController.java
	core/res/res/values/strings.xml
	media/java/android/media/AudioSystem.java
	services/java/com/android/server/LocationManagerService.java
Diffstat (limited to 'libs/ui/EGLNativeWindowSurface.cpp')
| -rw-r--r-- | libs/ui/EGLNativeWindowSurface.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/libs/ui/EGLNativeWindowSurface.cpp b/libs/ui/EGLNativeWindowSurface.cpp index 0b6afc0462..d55fb7090f 100644 --- a/libs/ui/EGLNativeWindowSurface.cpp +++ b/libs/ui/EGLNativeWindowSurface.cpp @@ -163,7 +163,12 @@ void EGLNativeWindowSurface::connect()          egl_native_window_t::format = info.format;          egl_native_window_t::base   = intptr_t(info.base);          egl_native_window_t::offset = intptr_t(info.bits) - intptr_t(info.base); -        egl_native_window_t::memory_type = mSurface->getMemoryType(); +        // FIXME: egl_native_window_t::memory_type used to be set from +        // mSurface, but we wanted to break this dependency. We set it to +        // GPU because the software rendered doesn't care, but the h/w +        // accelerator needs it. Eventually, this value should go away +        // completely, since memory will be managed by OpenGL. +        egl_native_window_t::memory_type = NATIVE_MEMORY_TYPE_GPU;           egl_native_window_t::fd = 0;      }  } |