From 64e89a8aff9a45a491f1d7064a655b9021fe644a Mon Sep 17 00:00:00 2001 From: Fred Quintana Date: Tue, 11 Aug 2009 20:49:35 -0700 Subject: Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050. --- libs/ui/FramebufferNativeWindow.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libs/ui/FramebufferNativeWindow.cpp') diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp index 90b51634c60c..f6c666df4263 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -132,7 +132,6 @@ FramebufferNativeWindow::FramebufferNativeWindow() android_native_window_t::lockBuffer = lockBuffer; android_native_window_t::queueBuffer = queueBuffer; android_native_window_t::query = query; - android_native_window_t::perform = perform; } FramebufferNativeWindow::~FramebufferNativeWindow() @@ -236,18 +235,6 @@ int FramebufferNativeWindow::query(android_native_window_t* window, return BAD_VALUE; } -int FramebufferNativeWindow::perform(android_native_window_t* window, - int operation, ...) -{ - switch (operation) { - case NATIVE_WINDOW_SET_USAGE: - break; - default: - return NAME_NOT_FOUND; - } - return NO_ERROR; -} - // ---------------------------------------------------------------------------- }; // namespace android // ---------------------------------------------------------------------------- -- cgit v1.2.3-59-g8ed1b