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 | 317a6280cc109e873646e4652be1582d870eedfd (patch) | |
tree | 3b6d41d465282970f498e172b81ed0ee83e3183e /libs/surfaceflinger | |
parent | 81655243a6a373cfde1e689970eeb62af19622d1 (diff) | |
download | frameworks_base-317a6280cc109e873646e4652be1582d870eedfd.zip frameworks_base-317a6280cc109e873646e4652be1582d870eedfd.tar.gz frameworks_base-317a6280cc109e873646e4652be1582d870eedfd.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')
-rw-r--r-- | libs/surfaceflinger/Layer.cpp | 3 | ||||
-rw-r--r-- | libs/surfaceflinger/LayerBitmap.h | 2 |
2 files changed, 0 insertions, 5 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; diff --git a/libs/surfaceflinger/LayerBitmap.h b/libs/surfaceflinger/LayerBitmap.h index 48ee553..87e8f42 100644 --- a/libs/surfaceflinger/LayerBitmap.h +++ b/libs/surfaceflinger/LayerBitmap.h @@ -53,7 +53,6 @@ class Buffer : public SurfaceBuffer public: enum { DONT_CLEAR = 0x00000001, - GPU = 0x00000002, SECURE = 0x00000004 }; @@ -98,7 +97,6 @@ class LayerBitmap public: enum { DONT_CLEAR = Buffer::DONT_CLEAR, - GPU = Buffer::GPU, SECURE = Buffer::SECURE }; LayerBitmap(); |