diff options
author | Mathias Agopian <mathias@google.com> | 2011-07-19 15:24:46 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-07-19 15:24:46 -0700 |
commit | 97c602c5af5f3ffd69009bf496d86347b71a2b4c (patch) | |
tree | 2ce4b7b59ebb267abc76d9f8d3987beae24fda5c /services/surfaceflinger/SurfaceTextureLayer.h | |
parent | 933389f75814bb62e8153528f9cff2cb329b77df (diff) | |
download | frameworks_native-97c602c5af5f3ffd69009bf496d86347b71a2b4c.zip frameworks_native-97c602c5af5f3ffd69009bf496d86347b71a2b4c.tar.gz frameworks_native-97c602c5af5f3ffd69009bf496d86347b71a2b4c.tar.bz2 |
implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation"
Bug: 4487161
Change-Id: I883f34efe542c2a566d04966f873374f40c50092
Diffstat (limited to 'services/surfaceflinger/SurfaceTextureLayer.h')
-rw-r--r-- | services/surfaceflinger/SurfaceTextureLayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceTextureLayer.h b/services/surfaceflinger/SurfaceTextureLayer.h index 7faff54..29a9cbe 100644 --- a/services/surfaceflinger/SurfaceTextureLayer.h +++ b/services/surfaceflinger/SurfaceTextureLayer.h @@ -45,6 +45,9 @@ public: virtual status_t setBufferCount(int bufferCount); protected: + virtual status_t queueBuffer(int buf, int64_t timestamp, + uint32_t* outWidth, uint32_t* outHeight, uint32_t* outTransform); + virtual status_t dequeueBuffer(int *buf, uint32_t w, uint32_t h, uint32_t format, uint32_t usage); }; |