summaryrefslogtreecommitdiffstats
path: root/include/gui/ISurfaceTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/ISurfaceTexture.h')
-rw-r--r--include/gui/ISurfaceTexture.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/gui/ISurfaceTexture.h b/include/gui/ISurfaceTexture.h
index 50626a0..b31fdaf 100644
--- a/include/gui/ISurfaceTexture.h
+++ b/include/gui/ISurfaceTexture.h
@@ -83,6 +83,7 @@ protected:
// and height of the window and current transform applied to buffers,
// respectively.
virtual status_t queueBuffer(int slot, int64_t timestamp,
+ const Rect& crop, int scalingMode, uint32_t transform,
uint32_t* outWidth, uint32_t* outHeight, uint32_t* outTransform) = 0;
// cancelBuffer indicates that the client does not wish to fill in the
@@ -90,10 +91,6 @@ protected:
// the server.
virtual void cancelBuffer(int slot) = 0;
- virtual status_t setCrop(const Rect& reg) = 0;
- virtual status_t setTransform(uint32_t transform) = 0;
- virtual status_t setScalingMode(int mode) = 0;
-
// query retrieves some information for this surface
// 'what' tokens allowed are that of android_natives.h
virtual int query(int what, int* value) = 0;