From 97c602c5af5f3ffd69009bf496d86347b71a2b4c Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 19 Jul 2011 15:24:46 -0700 Subject: implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" Bug: 4487161 Change-Id: I883f34efe542c2a566d04966f873374f40c50092 --- services/surfaceflinger/SurfaceTextureLayer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'services/surfaceflinger/SurfaceTextureLayer.h') 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); }; -- cgit v1.1