diff options
| author | Mathias Agopian <mathias@google.com> | 2010-12-07 19:38:17 -0800 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2010-12-08 16:13:59 -0800 |
| commit | d2112306330ce0c162bee4b864991962ca2b655a (patch) | |
| tree | d169f93867e853220c40d38826fe81b4a1ad9eff /services/surfaceflinger/tests/surface/surface.cpp | |
| parent | ff3c470778a69d262470e9707fce58dd485c6cc9 (diff) | |
| download | frameworks_base-d2112306330ce0c162bee4b864991962ca2b655a.zip frameworks_base-d2112306330ce0c162bee4b864991962ca2b655a.tar.gz frameworks_base-d2112306330ce0c162bee4b864991962ca2b655a.tar.bz2 | |
remove support for PUSH_BUFFER surfaces and overlays
the same functionality is now supported through
the h/w composer HAL, and YUV support in the GPU.
Change-Id: I8146605449954b8e8fd7f78810b7d873c2d8f5bf
Diffstat (limited to 'services/surfaceflinger/tests/surface/surface.cpp')
| -rw-r--r-- | services/surfaceflinger/tests/surface/surface.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/services/surfaceflinger/tests/surface/surface.cpp b/services/surfaceflinger/tests/surface/surface.cpp index b4de4b4..194fbb6 100644 --- a/services/surfaceflinger/tests/surface/surface.cpp +++ b/services/surfaceflinger/tests/surface/surface.cpp @@ -10,8 +10,6 @@ #include <surfaceflinger/ISurface.h> #include <surfaceflinger/SurfaceComposerClient.h> -#include <ui/Overlay.h> - using namespace android; int main(int argc, char** argv) @@ -23,7 +21,6 @@ int main(int argc, char** argv) // create a client to surfaceflinger sp<SurfaceComposerClient> client = new SurfaceComposerClient(); - // create pushbuffer surface sp<SurfaceControl> surfaceControl = client->createSurface( getpid(), 0, 160, 240, PIXEL_FORMAT_RGB_565); client->openTransaction(); |
