diff options
author | Mathias Agopian <mathias@google.com> | 2009-08-13 17:29:02 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-08-13 18:19:32 -0700 |
commit | ccde199f7ce916e42a45b5a50e937d9c17904da2 (patch) | |
tree | 5c2898152809f167bf29fbb723c027c49730e463 /libs/surfaceflinger/Layer.cpp | |
parent | 400f18045af0fc39f95c7e5736808648d19b28b4 (diff) | |
download | frameworks_native-ccde199f7ce916e42a45b5a50e937d9c17904da2.zip frameworks_native-ccde199f7ce916e42a45b5a50e937d9c17904da2.tar.gz frameworks_native-ccde199f7ce916e42a45b5a50e937d9c17904da2.tar.bz2 |
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.
this also ripples into the window manager API by making some constant there deprecated as well.
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
-rw-r--r-- | libs/surfaceflinger/Layer.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index 8c0b40d..ac4bf7b 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -109,9 +109,6 @@ status_t Layer::setBuffers( uint32_t w, uint32_t h, if (err) return err; uint32_t bufferFlags = 0; - if (flags & ISurfaceComposer::eGPU) - bufferFlags |= Buffer::GPU; - if (flags & ISurfaceComposer::eSecure) bufferFlags |= Buffer::SECURE; |