diff options
author | Mathias Agopian <mathias@google.com> | 2011-06-28 19:09:31 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-06-29 15:05:41 -0700 |
commit | 698c0873cf2e07bdc7fd1e72169aee2a19fa40d7 (patch) | |
tree | cf1a8a26a6568ad5dd1fa30d238b9651e09d3800 /include/private/surfaceflinger | |
parent | 0748907d6a9a052fe54541cd7f6ec66b998fec3b (diff) | |
download | frameworks_native-698c0873cf2e07bdc7fd1e72169aee2a19fa40d7.zip frameworks_native-698c0873cf2e07bdc7fd1e72169aee2a19fa40d7.tar.gz frameworks_native-698c0873cf2e07bdc7fd1e72169aee2a19fa40d7.tar.bz2 |
SF transactions are now O(1) wrt IPC instead of O(N).
Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
Diffstat (limited to 'include/private/surfaceflinger')
-rw-r--r-- | include/private/surfaceflinger/LayerState.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/private/surfaceflinger/LayerState.h b/include/private/surfaceflinger/LayerState.h index d7fe572..d2fed41 100644 --- a/include/private/surfaceflinger/LayerState.h +++ b/include/private/surfaceflinger/LayerState.h @@ -29,6 +29,7 @@ namespace android { class Parcel; +class ISurfaceComposerClient; struct layer_state_t { @@ -68,6 +69,13 @@ struct layer_state_t { Region transparentRegion; }; +struct ComposerState { + sp<ISurfaceComposerClient> client; + layer_state_t state; + status_t write(Parcel& output) const; + status_t read(const Parcel& input); +}; + }; // namespace android #endif // ANDROID_SF_LAYER_STATE_H |