diff options
| author | Mathias Agopian <mathias@google.com> | 2009-10-07 17:33:43 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-10-07 17:33:43 -0700 |
| commit | 18fc0120f59f179ab13adf9e122371f32f65a12c (patch) | |
| tree | 0ecd6a4f8de29c26d78bd66ef5bfea1c80e072c7 /include | |
| parent | c38f6f33011e5b3b2f947bf94d8b96b97e67128c (diff) | |
| parent | a2de8e31c2693d009db1f9386406758874dd1d40 (diff) | |
| download | frameworks_base-18fc0120f59f179ab13adf9e122371f32f65a12c.zip frameworks_base-18fc0120f59f179ab13adf9e122371f32f65a12c.tar.gz frameworks_base-18fc0120f59f179ab13adf9e122371f32f65a12c.tar.bz2 | |
am a2de8e31: Merge change Ie05f07df into eclair
Merge commit 'a2de8e31c2693d009db1f9386406758874dd1d40' into eclair-mr2
* commit 'a2de8e31c2693d009db1f9386406758874dd1d40':
fix [2170319] gmail bulk operation checkbox latency on passion
Diffstat (limited to 'include')
| -rw-r--r-- | include/private/ui/SharedBufferStack.h | 1 | ||||
| -rw-r--r-- | include/private/ui/SurfaceFlingerSynchro.h | 48 | ||||
| -rw-r--r-- | include/ui/SurfaceComposerClient.h | 2 |
3 files changed, 2 insertions, 49 deletions
diff --git a/include/private/ui/SharedBufferStack.h b/include/private/ui/SharedBufferStack.h index f6824d9..bbc1822 100644 --- a/include/private/ui/SharedBufferStack.h +++ b/include/private/ui/SharedBufferStack.h @@ -289,6 +289,7 @@ public: void setStatus(status_t status); status_t reallocate(); status_t assertReallocate(int buffer); + int32_t getQueuedCount() const; Region getDirtyRegion(int buffer) const; diff --git a/include/private/ui/SurfaceFlingerSynchro.h b/include/private/ui/SurfaceFlingerSynchro.h deleted file mode 100644 index 7386d33..0000000 --- a/include/private/ui/SurfaceFlingerSynchro.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -#ifndef ANDROID_SURFACE_FLINGER_SYNCHRO_H -#define ANDROID_SURFACE_FLINGER_SYNCHRO_H - -#include <stdint.h> -#include <sys/types.h> -#include <utils/Errors.h> -#include <ui/ISurfaceComposer.h> - -namespace android { - -class SurfaceFlinger; - -class SurfaceFlingerSynchro -{ -public: - // client constructor - SurfaceFlingerSynchro(const sp<ISurfaceComposer>& flinger); - ~SurfaceFlingerSynchro(); - - // signal surfaceflinger for some work - status_t signal(); - -private: - friend class SurfaceFlinger; - sp<ISurfaceComposer> mSurfaceComposer; -}; - -}; // namespace android - -#endif // ANDROID_SURFACE_FLINGER_SYNCHRO_H - diff --git a/include/ui/SurfaceComposerClient.h b/include/ui/SurfaceComposerClient.h index 8701928..777b878 100644 --- a/include/ui/SurfaceComposerClient.h +++ b/include/ui/SurfaceComposerClient.h @@ -153,7 +153,7 @@ private: SharedClient* mControl; sp<IMemoryHeap> mControlMemory; sp<ISurfaceFlingerClient> mClient; - SurfaceFlingerSynchro* mSignalServer; + sp<ISurfaceComposer> mSignalServer; }; }; // namespace android |
