From ccde199f7ce916e42a45b5a50e937d9c17904da2 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 13 Aug 2009 17:29:02 -0700 Subject: 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. --- libs/surfaceflinger/Layer.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/surfaceflinger/Layer.cpp') diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index 8c0b40d9e4..ac4bf7ba4f 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; -- cgit v1.2.3-59-g8ed1b