diff options
author | Mathias Agopian <mathias@google.com> | 2009-04-30 14:43:18 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-04-30 14:43:18 -0700 |
commit | fa6eda01a9f3df0102ce6a65302c8674cc9c7e50 (patch) | |
tree | a0c1b31bd8e162132c54a2ef8521b3ed6cf8cad1 /libs/surfaceflinger/Layer.cpp | |
parent | d504605919a62902e10cd13536390ffce84a3326 (diff) | |
parent | 072868a4d33740ee023b7364dcb38f4fc14bd8b0 (diff) | |
download | frameworks_base-fa6eda01a9f3df0102ce6a65302c8674cc9c7e50.zip frameworks_base-fa6eda01a9f3df0102ce6a65302c8674cc9c7e50.tar.gz frameworks_base-fa6eda01a9f3df0102ce6a65302c8674cc9c7e50.tar.bz2 |
Merge commit 'goog/master' into merge_master
Conflicts:
libs/surfaceflinger/Layer.cpp
libs/surfaceflinger/SurfaceFlinger.cpp
opengl/libagl/egl.cpp
opengl/libs/EGL/egl.cpp
opengl/libs/GLES_CM/gl.cpp
opengl/libs/GLES_CM/gl_api.in
opengl/libs/gl_entries.in
opengl/libs/tools/glapigen
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
-rw-r--r-- | libs/surfaceflinger/Layer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index 182fbb2..8a7d467 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -118,7 +118,7 @@ status_t Layer::setBuffers( Client* client, if (flags & ISurfaceComposer::eSecure) bufferFlags |= Buffer::SECURE; - + /* FIXME we need this code for msm7201A if (bufferFlags & Buffer::GPU) { // FIXME: this is msm7201A specific, as its GPU only supports // BGRA_8888. @@ -126,6 +126,7 @@ status_t Layer::setBuffers( Client* client, format = PIXEL_FORMAT_BGRA_8888; } } + */ mSecure = (bufferFlags & Buffer::SECURE) ? true : false; mNeedsBlending = (info.h_alpha - info.l_alpha) > 0; |