diff options
author | 2010-05-21 17:24:35 -0700 | |
---|---|---|
committer | 2010-05-24 18:26:01 -0700 | |
commit | 2be352adab7f11646fda7c0240e496bbb37f7bd1 (patch) | |
tree | e7a168546a256cd4f7c57261690796cf527ae8a2 /libs/surfaceflinger/LayerBase.cpp | |
parent | 57d89899c9fb978a1c097f298aa94c5db1f61bb6 (diff) |
added the notion of fixed-size buffers
the new native_window_set_buffers_geometry allows
to specify a size and format for all buffers to be
dequeued. the buffer will be scalled to the window's
size.
Change-Id: I2c378b85c88d29cdd827a5f319d5c704d79ba381
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index 63b9520e03af..51673ffc36c4 100644 --- a/libs/surfaceflinger/LayerBase.cpp +++ b/libs/surfaceflinger/LayerBase.cpp @@ -616,7 +616,8 @@ status_t LayerBaseClient::Surface::onTransact( return BnSurface::onTransact(code, data, reply, flags); } -sp<GraphicBuffer> LayerBaseClient::Surface::requestBuffer(int index, int usage) +sp<GraphicBuffer> LayerBaseClient::Surface::requestBuffer(int bufferIdx, + uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { return NULL; } |