| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2008 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| Mathias Agopian | 9cce325 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 17 | #ifndef ANDROID_SF_LAYER_STATE_H |
| 18 | #define ANDROID_SF_LAYER_STATE_H |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 19 | |
| 20 | #include <stdint.h> |
| 21 | #include <sys/types.h> |
| 22 | |
| 23 | #include <utils/Errors.h> |
| 24 | |
| Robert Carr | 0d48072 | 2017-01-10 16:42:54 -0800 | [diff] [blame] | 25 | #include <gui/IGraphicBufferProducer.h> |
| Peiyong Lin | d378863 | 2018-09-18 16:01:31 -0700 | [diff] [blame] | 26 | #include <math/mat4.h> |
| Robert Carr | 2c358bf | 2018-08-08 15:58:15 -0700 | [diff] [blame] | 27 | |
| 28 | #ifndef NO_INPUT |
| 29 | #include <input/InputWindow.h> |
| 30 | #endif |
| 31 | |
| Evan Rosky | 1f6d6d5 | 2018-12-06 10:47:26 -0800 | [diff] [blame] | 32 | #include <gui/LayerMetadata.h> |
| chaviw | 13fdc49 | 2017-06-27 12:40:18 -0700 | [diff] [blame] | 33 | #include <math/vec3.h> |
| Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 34 | #include <ui/GraphicTypes.h> |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 35 | #include <ui/Rect.h> |
| 36 | #include <ui/Region.h> |
| Mathias Agopian | 9cce325 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 37 | |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 38 | namespace android { |
| 39 | |
| 40 | class Parcel; |
| Mathias Agopian | 698c087 | 2011-06-28 19:09:31 -0700 | [diff] [blame] | 41 | class ISurfaceComposerClient; |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 42 | |
| Marissa Wall | 947d34e | 2019-03-29 14:03:53 -0700 | [diff] [blame] | 43 | struct client_cache_t { |
| 44 | wp<IBinder> token = nullptr; |
| 45 | uint64_t id; |
| 46 | |
| 47 | bool operator==(const client_cache_t& other) const { return id == other.id; } |
| 48 | |
| 49 | bool isValid() const { return token != nullptr; } |
| Marissa Wall | 78b7220 | 2019-03-15 14:58:34 -0700 | [diff] [blame] | 50 | }; |
| 51 | |
| Andy McFadden | 4125a4f | 2014-01-29 17:17:11 -0800 | [diff] [blame] | 52 | /* |
| 53 | * Used to communicate layer information between SurfaceFlinger and its clients. |
| 54 | */ |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 55 | struct layer_state_t { |
| Mathias Agopian | 3165cc2 | 2012-08-08 19:42:09 -0700 | [diff] [blame] | 56 | enum { |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 57 | eLayerHidden = 0x01, // SURFACE_HIDDEN in SurfaceControl.java |
| 58 | eLayerOpaque = 0x02, // SURFACE_OPAQUE |
| 59 | eLayerSecure = 0x80, // SECURE |
| Mathias Agopian | 3165cc2 | 2012-08-08 19:42:09 -0700 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | enum { |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 63 | ePositionChanged = 0x00000001, |
| 64 | eLayerChanged = 0x00000002, |
| 65 | eSizeChanged = 0x00000004, |
| 66 | eAlphaChanged = 0x00000008, |
| 67 | eMatrixChanged = 0x00000010, |
| 68 | eTransparentRegionChanged = 0x00000020, |
| 69 | eFlagsChanged = 0x00000040, |
| 70 | eLayerStackChanged = 0x00000080, |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 71 | eCropChanged_legacy = 0x00000100, |
| 72 | eDeferTransaction_legacy = 0x00000200, |
| Vishnu Nair | dcce0e2 | 2018-08-23 08:35:19 -0700 | [diff] [blame] | 73 | eOverrideScalingModeChanged = 0x00000400, |
| 74 | eGeometryAppliesWithResize = 0x00000800, |
| 75 | eReparentChildren = 0x00001000, |
| 76 | eDetachChildren = 0x00002000, |
| 77 | eRelativeLayerChanged = 0x00004000, |
| 78 | eReparent = 0x00008000, |
| 79 | eColorChanged = 0x00010000, |
| 80 | eDestroySurface = 0x00020000, |
| 81 | eTransformChanged = 0x00040000, |
| 82 | eTransformToDisplayInverseChanged = 0x00080000, |
| 83 | eCropChanged = 0x00100000, |
| 84 | eBufferChanged = 0x00200000, |
| 85 | eAcquireFenceChanged = 0x00400000, |
| 86 | eDataspaceChanged = 0x00800000, |
| 87 | eHdrMetadataChanged = 0x01000000, |
| 88 | eSurfaceDamageRegionChanged = 0x02000000, |
| 89 | eApiChanged = 0x04000000, |
| 90 | eSidebandStreamChanged = 0x08000000, |
| Peiyong Lin | d378863 | 2018-09-18 16:01:31 -0700 | [diff] [blame] | 91 | eColorTransformChanged = 0x10000000, |
| Marissa Wall | 3dad52d | 2019-03-22 14:03:19 -0700 | [diff] [blame] | 92 | eHasListenerCallbacksChanged = 0x20000000, |
| Robert Carr | 2c358bf | 2018-08-08 15:58:15 -0700 | [diff] [blame] | 93 | eInputInfoChanged = 0x40000000, |
| Lucas Dupin | 1b6531c | 2018-07-05 17:18:21 -0700 | [diff] [blame] | 94 | eCornerRadiusChanged = 0x80000000, |
| Marissa Wall | 861616d | 2018-10-22 12:52:23 -0700 | [diff] [blame] | 95 | eFrameChanged = 0x1'00000000, |
| Marissa Wall | ebc2c05 | 2019-01-16 19:16:55 -0800 | [diff] [blame] | 96 | eCachedBufferChanged = 0x2'00000000, |
| Valerie Hau | dd0b757 | 2019-01-29 14:59:27 -0800 | [diff] [blame] | 97 | eBackgroundColorChanged = 0x4'00000000, |
| 98 | eMetadataChanged = 0x8'00000000, |
| Peiyong Lin | c502cb7 | 2019-03-01 15:00:23 -0800 | [diff] [blame] | 99 | eColorSpaceAgnosticChanged = 0x10'00000000, |
| Mathias Agopian | 3165cc2 | 2012-08-08 19:42:09 -0700 | [diff] [blame] | 100 | }; |
| 101 | |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 102 | layer_state_t() |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 103 | : what(0), |
| 104 | x(0), |
| 105 | y(0), |
| 106 | z(0), |
| 107 | w(0), |
| 108 | h(0), |
| 109 | layerStack(0), |
| 110 | alpha(0), |
| 111 | flags(0), |
| 112 | mask(0), |
| 113 | reserved(0), |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 114 | crop_legacy(Rect::INVALID_RECT), |
| Lucas Dupin | 1b6531c | 2018-07-05 17:18:21 -0700 | [diff] [blame] | 115 | cornerRadius(0.0f), |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 116 | frameNumber_legacy(0), |
| Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 117 | overrideScalingMode(-1), |
| 118 | transform(0), |
| 119 | transformToDisplayInverse(false), |
| 120 | crop(Rect::INVALID_RECT), |
| Marissa Wall | 861616d | 2018-10-22 12:52:23 -0700 | [diff] [blame] | 121 | frame(Rect::INVALID_RECT), |
| Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 122 | dataspace(ui::Dataspace::UNKNOWN), |
| 123 | surfaceDamageRegion(), |
| Peiyong Lin | d378863 | 2018-09-18 16:01:31 -0700 | [diff] [blame] | 124 | api(-1), |
| Valerie Hau | ed54efa | 2019-01-11 20:03:14 -0800 | [diff] [blame] | 125 | colorTransform(mat4()), |
| Marissa Wall | 3dad52d | 2019-03-22 14:03:19 -0700 | [diff] [blame] | 126 | hasListenerCallbacks(false), |
| Valerie Hau | dd0b757 | 2019-01-29 14:59:27 -0800 | [diff] [blame] | 127 | bgColorAlpha(0), |
| Peiyong Lin | c502cb7 | 2019-03-01 15:00:23 -0800 | [diff] [blame] | 128 | bgColorDataspace(ui::Dataspace::UNKNOWN), |
| 129 | colorSpaceAgnostic(false) { |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 130 | matrix.dsdx = matrix.dtdy = 1.0f; |
| 131 | matrix.dsdy = matrix.dtdx = 0.0f; |
| Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 132 | hdrMetadata.validTypes = 0; |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 133 | } |
| 134 | |
| Robert Carr | 2c5f6d2 | 2017-09-26 12:30:35 -0700 | [diff] [blame] | 135 | void merge(const layer_state_t& other); |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 136 | status_t write(Parcel& output) const; |
| 137 | status_t read(const Parcel& input); |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 138 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 139 | struct matrix22_t { |
| 140 | float dsdx{0}; |
| 141 | float dtdx{0}; |
| 142 | float dtdy{0}; |
| 143 | float dsdy{0}; |
| 144 | }; |
| 145 | sp<IBinder> surface; |
| Garfield Tan | 8a3083e | 2018-12-03 13:21:07 -0800 | [diff] [blame] | 146 | uint64_t what; |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 147 | float x; |
| 148 | float y; |
| 149 | int32_t z; |
| 150 | uint32_t w; |
| 151 | uint32_t h; |
| 152 | uint32_t layerStack; |
| 153 | float alpha; |
| 154 | uint8_t flags; |
| 155 | uint8_t mask; |
| 156 | uint8_t reserved; |
| 157 | matrix22_t matrix; |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 158 | Rect crop_legacy; |
| Lucas Dupin | 1b6531c | 2018-07-05 17:18:21 -0700 | [diff] [blame] | 159 | float cornerRadius; |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 160 | sp<IBinder> barrierHandle_legacy; |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 161 | sp<IBinder> reparentHandle; |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 162 | uint64_t frameNumber_legacy; |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 163 | int32_t overrideScalingMode; |
| Robert Carr | 0d48072 | 2017-01-10 16:42:54 -0800 | [diff] [blame] | 164 | |
| Marissa Wall | f58c14b | 2018-07-24 10:50:43 -0700 | [diff] [blame] | 165 | sp<IGraphicBufferProducer> barrierGbp_legacy; |
| Robert Carr | 0d48072 | 2017-01-10 16:42:54 -0800 | [diff] [blame] | 166 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 167 | sp<IBinder> relativeLayerHandle; |
| Robert Carr | db66e62 | 2017-04-10 16:55:57 -0700 | [diff] [blame] | 168 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 169 | sp<IBinder> parentHandleForChild; |
| chaviw | 0617894 | 2017-07-27 10:25:59 -0700 | [diff] [blame] | 170 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 171 | half3 color; |
| chaviw | 13fdc49 | 2017-06-27 12:40:18 -0700 | [diff] [blame] | 172 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 173 | // non POD must be last. see write/read |
| 174 | Region transparentRegion; |
| Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 175 | |
| 176 | uint32_t transform; |
| 177 | bool transformToDisplayInverse; |
| 178 | Rect crop; |
| Marissa Wall | 861616d | 2018-10-22 12:52:23 -0700 | [diff] [blame] | 179 | Rect frame; |
| Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 180 | sp<GraphicBuffer> buffer; |
| 181 | sp<Fence> acquireFence; |
| 182 | ui::Dataspace dataspace; |
| 183 | HdrMetadata hdrMetadata; |
| 184 | Region surfaceDamageRegion; |
| 185 | int32_t api; |
| 186 | sp<NativeHandle> sidebandStream; |
| Peiyong Lin | d378863 | 2018-09-18 16:01:31 -0700 | [diff] [blame] | 187 | mat4 colorTransform; |
| Marissa Wall | c837b5e | 2018-10-12 10:04:44 -0700 | [diff] [blame] | 188 | |
| Marissa Wall | 3dad52d | 2019-03-22 14:03:19 -0700 | [diff] [blame] | 189 | bool hasListenerCallbacks; |
| Robert Carr | 2c358bf | 2018-08-08 15:58:15 -0700 | [diff] [blame] | 190 | #ifndef NO_INPUT |
| 191 | InputWindowInfo inputInfo; |
| 192 | #endif |
| Marissa Wall | ebc2c05 | 2019-01-16 19:16:55 -0800 | [diff] [blame] | 193 | |
| Marissa Wall | 947d34e | 2019-03-29 14:03:53 -0700 | [diff] [blame] | 194 | client_cache_t cachedBuffer; |
| Valerie Hau | ed54efa | 2019-01-11 20:03:14 -0800 | [diff] [blame] | 195 | |
| Evan Rosky | 1f6d6d5 | 2018-12-06 10:47:26 -0800 | [diff] [blame] | 196 | LayerMetadata metadata; |
| Valerie Hau | dd0b757 | 2019-01-29 14:59:27 -0800 | [diff] [blame] | 197 | |
| 198 | // The following refer to the alpha, and dataspace, respectively of |
| 199 | // the background color layer |
| 200 | float bgColorAlpha; |
| 201 | ui::Dataspace bgColorDataspace; |
| Peiyong Lin | c502cb7 | 2019-03-01 15:00:23 -0800 | [diff] [blame] | 202 | |
| 203 | // A color space agnostic layer means the color of this layer can be |
| 204 | // interpreted in any color space. |
| 205 | bool colorSpaceAgnostic; |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 206 | }; |
| 207 | |
| Mathias Agopian | 698c087 | 2011-06-28 19:09:31 -0700 | [diff] [blame] | 208 | struct ComposerState { |
| 209 | sp<ISurfaceComposerClient> client; |
| 210 | layer_state_t state; |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 211 | status_t write(Parcel& output) const; |
| 212 | status_t read(const Parcel& input); |
| Mathias Agopian | 698c087 | 2011-06-28 19:09:31 -0700 | [diff] [blame] | 213 | }; |
| 214 | |
| Mathias Agopian | 8b33f03 | 2012-07-24 20:43:54 -0700 | [diff] [blame] | 215 | struct DisplayState { |
| Mathias Agopian | 3165cc2 | 2012-08-08 19:42:09 -0700 | [diff] [blame] | 216 | enum { |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 217 | eOrientationDefault = 0, |
| 218 | eOrientation90 = 1, |
| 219 | eOrientation180 = 2, |
| 220 | eOrientation270 = 3, |
| 221 | eOrientationUnchanged = 4, |
| 222 | eOrientationSwapMask = 0x01 |
| Mathias Agopian | 3165cc2 | 2012-08-08 19:42:09 -0700 | [diff] [blame] | 223 | }; |
| 224 | |
| Mathias Agopian | e57f292 | 2012-08-09 16:29:12 -0700 | [diff] [blame] | 225 | enum { |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 226 | eSurfaceChanged = 0x01, |
| 227 | eLayerStackChanged = 0x02, |
| 228 | eDisplayProjectionChanged = 0x04, |
| 229 | eDisplaySizeChanged = 0x08 |
| Mathias Agopian | e57f292 | 2012-08-09 16:29:12 -0700 | [diff] [blame] | 230 | }; |
| 231 | |
| Pablo Ceballos | 60d6922 | 2015-08-07 14:47:20 -0700 | [diff] [blame] | 232 | DisplayState(); |
| Robert Carr | 2c5f6d2 | 2017-09-26 12:30:35 -0700 | [diff] [blame] | 233 | void merge(const DisplayState& other); |
| Pablo Ceballos | 60d6922 | 2015-08-07 14:47:20 -0700 | [diff] [blame] | 234 | |
| Mathias Agopian | e57f292 | 2012-08-09 16:29:12 -0700 | [diff] [blame] | 235 | uint32_t what; |
| 236 | sp<IBinder> token; |
| Andy McFadden | 2adaf04 | 2012-12-18 09:49:45 -0800 | [diff] [blame] | 237 | sp<IGraphicBufferProducer> surface; |
| Mathias Agopian | e57f292 | 2012-08-09 16:29:12 -0700 | [diff] [blame] | 238 | uint32_t layerStack; |
| Chia-I Wu | ff79ef8 | 2018-08-22 15:27:32 -0700 | [diff] [blame] | 239 | |
| 240 | // These states define how layers are projected onto the physical display. |
| 241 | // |
| 242 | // Layers are first clipped to `viewport'. They are then translated and |
| 243 | // scaled from `viewport' to `frame'. Finally, they are rotated according |
| 244 | // to `orientation', `width', and `height'. |
| 245 | // |
| 246 | // For example, assume viewport is Rect(0, 0, 200, 100), frame is Rect(20, |
| 247 | // 10, 420, 210), and the size of the display is WxH. When orientation is |
| 248 | // 0, layers will be scaled by a factor of 2 and translated by (20, 10). |
| 249 | // When orientation is 1, layers will be additionally rotated by 90 |
| 250 | // degrees around the origin clockwise and translated by (W, 0). |
| Mathias Agopian | e57f292 | 2012-08-09 16:29:12 -0700 | [diff] [blame] | 251 | uint32_t orientation; |
| 252 | Rect viewport; |
| 253 | Rect frame; |
| Chia-I Wu | ff79ef8 | 2018-08-22 15:27:32 -0700 | [diff] [blame] | 254 | |
| Michael Wright | 1f6078a | 2014-06-26 16:01:02 -0700 | [diff] [blame] | 255 | uint32_t width, height; |
| Chia-I Wu | ff79ef8 | 2018-08-22 15:27:32 -0700 | [diff] [blame] | 256 | |
| Mathias Agopian | e57f292 | 2012-08-09 16:29:12 -0700 | [diff] [blame] | 257 | status_t write(Parcel& output) const; |
| 258 | status_t read(const Parcel& input); |
| Mathias Agopian | 8b33f03 | 2012-07-24 20:43:54 -0700 | [diff] [blame] | 259 | }; |
| 260 | |
| chaviw | 273171b | 2018-12-26 11:46:30 -0800 | [diff] [blame] | 261 | struct InputWindowCommands { |
| 262 | struct TransferTouchFocusCommand { |
| 263 | sp<IBinder> fromToken; |
| 264 | sp<IBinder> toToken; |
| 265 | }; |
| 266 | |
| 267 | std::vector<TransferTouchFocusCommand> transferTouchFocusCommands; |
| chaviw | 291d88a | 2019-02-14 10:33:58 -0800 | [diff] [blame] | 268 | bool syncInputWindows{false}; |
| chaviw | 273171b | 2018-12-26 11:46:30 -0800 | [diff] [blame] | 269 | |
| 270 | void merge(const InputWindowCommands& other); |
| 271 | void clear(); |
| 272 | void write(Parcel& output) const; |
| 273 | void read(const Parcel& input); |
| 274 | }; |
| 275 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 276 | static inline int compare_type(const ComposerState& lhs, const ComposerState& rhs) { |
| Robert Carr | 4cdc58f | 2017-08-23 14:22:20 -0700 | [diff] [blame] | 277 | if (lhs.client < rhs.client) return -1; |
| 278 | if (lhs.client > rhs.client) return 1; |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 279 | if (lhs.state.surface < rhs.state.surface) return -1; |
| 280 | if (lhs.state.surface > rhs.state.surface) return 1; |
| Robert Carr | 4cdc58f | 2017-08-23 14:22:20 -0700 | [diff] [blame] | 281 | return 0; |
| 282 | } |
| 283 | |
| Marissa Wall | 1130324 | 2018-07-26 13:36:24 -0700 | [diff] [blame] | 284 | static inline int compare_type(const DisplayState& lhs, const DisplayState& rhs) { |
| Robert Carr | 4cdc58f | 2017-08-23 14:22:20 -0700 | [diff] [blame] | 285 | return compare_type(lhs.token, rhs.token); |
| 286 | } |
| 287 | |
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 288 | }; // namespace android |
| 289 | |
| Mathias Agopian | 9cce325 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 290 | #endif // ANDROID_SF_LAYER_STATE_H |