Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2010 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 | |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 17 | #ifndef ANDROID_HWUI_SNAPSHOT_H |
| 18 | #define ANDROID_HWUI_SNAPSHOT_H |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 19 | |
| 20 | #include <GLES2/gl2.h> |
| 21 | #include <GLES2/gl2ext.h> |
| 22 | |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 23 | #include <utils/LinearAllocator.h> |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 24 | #include <utils/RefBase.h> |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 25 | #include <ui/Region.h> |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 26 | |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 27 | #include <SkRegion.h> |
Romain Guy | 079ba2c | 2010-07-16 14:12:24 -0700 | [diff] [blame] | 28 | |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 29 | #include "ClipArea.h" |
Romain Guy | dda57020 | 2010-07-06 11:39:32 -0700 | [diff] [blame] | 30 | #include "Layer.h" |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 31 | #include "Matrix.h" |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 32 | #include "Outline.h" |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 33 | #include "Rect.h" |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 34 | #include "utils/Macros.h" |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 35 | |
| 36 | namespace android { |
| 37 | namespace uirenderer { |
| 38 | |
| 39 | /** |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 40 | * Temporary structure holding information for a single outline clip. |
| 41 | * |
| 42 | * These structures are treated as immutable once created, and only exist for a single frame, which |
| 43 | * is why they may only be allocated with a LinearAllocator. |
| 44 | */ |
| 45 | class RoundRectClipState { |
| 46 | public: |
| 47 | /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/ |
| 48 | static void* operator new(size_t size, LinearAllocator& allocator) { |
| 49 | return allocator.alloc(size); |
| 50 | } |
| 51 | |
| 52 | bool areaRequiresRoundRectClip(const Rect& rect) const { |
| 53 | return rect.intersects(dangerRects[0]) |
| 54 | || rect.intersects(dangerRects[1]) |
| 55 | || rect.intersects(dangerRects[2]) |
| 56 | || rect.intersects(dangerRects[3]); |
| 57 | } |
| 58 | |
Chris Craik | e83cbd4 | 2014-09-03 17:52:24 -0700 | [diff] [blame] | 59 | bool highPriority; |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 60 | Matrix4 matrix; |
| 61 | Rect dangerRects[4]; |
Chris Craik | af4d04c | 2014-07-29 12:50:14 -0700 | [diff] [blame] | 62 | Rect innerRect; |
| 63 | float radius; |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 64 | }; |
| 65 | |
Chris Craik | fca52b75 | 2015-04-28 11:45:59 -0700 | [diff] [blame] | 66 | class ProjectionPathMask { |
| 67 | public: |
| 68 | /** static void* operator new(size_t size); PURPOSELY OMITTED, allocator only **/ |
| 69 | static void* operator new(size_t size, LinearAllocator& allocator) { |
| 70 | return allocator.alloc(size); |
| 71 | } |
| 72 | |
| 73 | const SkPath* projectionMask; |
| 74 | Matrix4 projectionMaskTransform; |
| 75 | }; |
| 76 | |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 77 | /** |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 78 | * A snapshot holds information about the current state of the rendering |
| 79 | * surface. A snapshot is usually created whenever the user calls save() |
| 80 | * and discarded when the user calls restore(). Once a snapshot is created, |
| 81 | * it can hold information for deferred rendering. |
| 82 | * |
| 83 | * Each snapshot has a link to a previous snapshot, indicating the previous |
| 84 | * state of the renderer. |
| 85 | */ |
| 86 | class Snapshot: public LightRefBase<Snapshot> { |
| 87 | public: |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 88 | |
| 89 | Snapshot(); |
| 90 | Snapshot(const sp<Snapshot>& s, int saveFlags); |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 91 | |
| 92 | /** |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 93 | * Various flags set on ::flags. |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 94 | */ |
| 95 | enum Flags { |
| 96 | /** |
| 97 | * Indicates that the clip region was modified. When this |
| 98 | * snapshot is restored so must the clip. |
| 99 | */ |
| 100 | kFlagClipSet = 0x1, |
| 101 | /** |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 102 | * Indicates that this snapshot was created when saving |
| 103 | * a new layer. |
| 104 | */ |
Romain Guy | 079ba2c | 2010-07-16 14:12:24 -0700 | [diff] [blame] | 105 | kFlagIsLayer = 0x2, |
Romain Guy | f86ef57 | 2010-07-01 11:05:42 -0700 | [diff] [blame] | 106 | /** |
Romain Guy | eb99356 | 2010-10-05 18:14:38 -0700 | [diff] [blame] | 107 | * Indicates that this snapshot is a special type of layer |
| 108 | * backed by an FBO. This flag only makes sense when the |
| 109 | * flag kFlagIsLayer is also set. |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 110 | * |
| 111 | * Viewport has been modified to fit the new Fbo, and must be |
| 112 | * restored when this snapshot is restored. |
Romain Guy | eb99356 | 2010-10-05 18:14:38 -0700 | [diff] [blame] | 113 | */ |
| 114 | kFlagIsFboLayer = 0x4, |
| 115 | /** |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 116 | * Indicates that this snapshot or an ancestor snapshot is |
| 117 | * an FBO layer. |
| 118 | */ |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 119 | kFlagFboTarget = 0x8, |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | /** |
Romain Guy | f607bdc | 2010-09-10 19:20:06 -0700 | [diff] [blame] | 123 | * Modifies the current clip with the new clip rectangle and |
| 124 | * the specified operation. The specified rectangle is transformed |
| 125 | * by this snapshot's trasnformation. |
Romain Guy | 3d58c03 | 2010-07-14 16:34:53 -0700 | [diff] [blame] | 126 | */ |
Romain Guy | f607bdc | 2010-09-10 19:20:06 -0700 | [diff] [blame] | 127 | bool clip(float left, float top, float right, float bottom, |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 128 | SkRegion::Op op = SkRegion::kIntersect_Op); |
Romain Guy | f607bdc | 2010-09-10 19:20:06 -0700 | [diff] [blame] | 129 | |
| 130 | /** |
| 131 | * Modifies the current clip with the new clip rectangle and |
| 132 | * the specified operation. The specified rectangle is considered |
| 133 | * already transformed. |
| 134 | */ |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 135 | bool clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op); |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 136 | |
| 137 | /** |
Romain Guy | 8ce0030 | 2013-01-15 18:51:42 -0800 | [diff] [blame] | 138 | * Modifies the current clip with the specified region and operation. |
| 139 | * The specified region is considered already transformed. |
| 140 | */ |
| 141 | bool clipRegionTransformed(const SkRegion& region, SkRegion::Op op); |
| 142 | |
| 143 | /** |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 144 | * Modifies the current clip with the specified path and operation. |
| 145 | */ |
| 146 | bool clipPath(const SkPath& path, SkRegion::Op op); |
| 147 | |
| 148 | /** |
Romain Guy | d27977d | 2010-07-14 19:18:51 -0700 | [diff] [blame] | 149 | * Sets the current clip. |
| 150 | */ |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 151 | void setClip(float left, float top, float right, float bottom); |
Romain Guy | 079ba2c | 2010-07-16 14:12:24 -0700 | [diff] [blame] | 152 | |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 153 | /** |
| 154 | * Returns the current clip in local coordinates. The clip rect is |
| 155 | * transformed by the inverse transform matrix. |
| 156 | */ |
Ben Cheng | 1a49868 | 2014-05-17 15:37:26 -0700 | [diff] [blame] | 157 | ANDROID_API const Rect& getLocalClip(); |
Chris Craik | 3f085429 | 2014-04-15 16:18:08 -0700 | [diff] [blame] | 158 | |
| 159 | /** |
| 160 | * Returns the current clip in render target coordinates. |
| 161 | */ |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 162 | const Rect& getRenderTargetClip() { return mClipArea->getClipRect(); } |
| 163 | |
| 164 | /* |
| 165 | * Accessor functions so that the clip area can stay private |
| 166 | */ |
| 167 | bool clipIsEmpty() const { return mClipArea->isEmpty(); } |
| 168 | const Rect& getClipRect() const { return mClipArea->getClipRect(); } |
| 169 | const SkRegion& getClipRegion() const { return mClipArea->getClipRegion(); } |
| 170 | bool clipIsSimple() const { return mClipArea->isSimple(); } |
| 171 | const ClipArea& getClipArea() const { return *mClipArea; } |
Romain Guy | 959c91f | 2010-08-11 19:35:53 -0700 | [diff] [blame] | 172 | |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 173 | /** |
| 174 | * Resets the clip to the specified rect. |
| 175 | */ |
| 176 | void resetClip(float left, float top, float right, float bottom); |
Romain Guy | 959c91f | 2010-08-11 19:35:53 -0700 | [diff] [blame] | 177 | |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 178 | /** |
| 179 | * Resets the current transform to a pure 3D translation. |
| 180 | */ |
| 181 | void resetTransform(float x, float y, float z); |
Romain Guy | 8aef54f | 2010-09-01 15:13:49 -0700 | [diff] [blame] | 182 | |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 183 | void initializeViewport(int width, int height) { |
| 184 | mViewportData.initialize(width, height); |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 185 | mClipAreaRoot.setViewportDimensions(width, height); |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 186 | } |
| 187 | |
| 188 | int getViewportWidth() const { return mViewportData.mWidth; } |
| 189 | int getViewportHeight() const { return mViewportData.mHeight; } |
| 190 | const Matrix4& getOrthoMatrix() const { return mViewportData.mOrthoMatrix; } |
| 191 | |
Chris Craik | 69e5adf | 2014-08-14 13:34:01 -0700 | [diff] [blame] | 192 | const Vector3& getRelativeLightCenter() const { return mRelativeLightCenter; } |
| 193 | void setRelativeLightCenter(const Vector3& lightCenter) { mRelativeLightCenter = lightCenter; } |
| 194 | |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 195 | /** |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 196 | * Sets (and replaces) the current clipping outline |
Chris Craik | e83cbd4 | 2014-09-03 17:52:24 -0700 | [diff] [blame] | 197 | * |
| 198 | * If the current round rect clip is high priority, the incoming clip is ignored. |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 199 | */ |
Chris Craik | e83cbd4 | 2014-09-03 17:52:24 -0700 | [diff] [blame] | 200 | void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds, |
| 201 | float radius, bool highPriority); |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 202 | |
| 203 | /** |
Chris Craik | fca52b75 | 2015-04-28 11:45:59 -0700 | [diff] [blame] | 204 | * Sets (and replaces) the current projection mask |
| 205 | */ |
| 206 | void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path); |
| 207 | |
| 208 | /** |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 209 | * Indicates whether this snapshot should be ignored. A snapshot |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 210 | * is typically ignored if its layer is invisible or empty. |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 211 | */ |
| 212 | bool isIgnored() const; |
Romain Guy | af636eb | 2010-12-09 17:47:21 -0800 | [diff] [blame] | 213 | |
Romain Guy | 8b55f37 | 2010-08-18 17:10:07 -0700 | [diff] [blame] | 214 | /** |
Romain Guy | a3dc55f | 2012-09-28 13:55:44 -0700 | [diff] [blame] | 215 | * Indicates whether the current transform has perspective components. |
| 216 | */ |
| 217 | bool hasPerspectiveTransform() const; |
| 218 | |
| 219 | /** |
Chris Craik | fca52b75 | 2015-04-28 11:45:59 -0700 | [diff] [blame] | 220 | * Fills outTransform with the current, total transform to screen space, |
| 221 | * across layer boundaries. |
| 222 | */ |
| 223 | void buildScreenSpaceTransform(Matrix4* outTransform) const; |
| 224 | |
| 225 | /** |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 226 | * Dirty flags. |
| 227 | */ |
| 228 | int flags; |
| 229 | |
| 230 | /** |
| 231 | * Previous snapshot. |
| 232 | */ |
| 233 | sp<Snapshot> previous; |
| 234 | |
| 235 | /** |
Romain Guy | 8ce0030 | 2013-01-15 18:51:42 -0800 | [diff] [blame] | 236 | * A pointer to the currently active layer. |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 237 | * |
| 238 | * This snapshot does not own the layer, this pointer must not be freed. |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 239 | */ |
Romain Guy | dda57020 | 2010-07-06 11:39:32 -0700 | [diff] [blame] | 240 | Layer* layer; |
Romain Guy | f86ef57 | 2010-07-01 11:05:42 -0700 | [diff] [blame] | 241 | |
Romain Guy | 8aef54f | 2010-09-01 15:13:49 -0700 | [diff] [blame] | 242 | /** |
Romain Guy | 421458a | 2011-11-21 15:14:37 -0800 | [diff] [blame] | 243 | * Target FBO used for rendering. Set to 0 when rendering directly |
| 244 | * into the framebuffer. |
Romain Guy | eb99356 | 2010-10-05 18:14:38 -0700 | [diff] [blame] | 245 | */ |
| 246 | GLuint fbo; |
| 247 | |
| 248 | /** |
Romain Guy | dbc26d2 | 2010-10-11 17:58:29 -0700 | [diff] [blame] | 249 | * Indicates that this snapshot is invisible and nothing should be drawn |
Romain Guy | af636eb | 2010-12-09 17:47:21 -0800 | [diff] [blame] | 250 | * inside it. This flag is set only when the layer clips drawing to its |
| 251 | * bounds and is passed to subsequent snapshots. |
Romain Guy | dbc26d2 | 2010-10-11 17:58:29 -0700 | [diff] [blame] | 252 | */ |
| 253 | bool invisible; |
| 254 | |
| 255 | /** |
Romain Guy | af636eb | 2010-12-09 17:47:21 -0800 | [diff] [blame] | 256 | * If set to true, the layer will not be composited. This is similar to |
| 257 | * invisible but this flag is not passed to subsequent snapshots. |
| 258 | */ |
| 259 | bool empty; |
| 260 | |
| 261 | /** |
Romain Guy | 8aef54f | 2010-09-01 15:13:49 -0700 | [diff] [blame] | 262 | * Local transformation. Holds the current translation, scale and |
| 263 | * rotation values. |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 264 | * |
| 265 | * This is a reference to a matrix owned by this snapshot or another |
| 266 | * snapshot. This pointer must not be freed. See ::mTransformRoot. |
Romain Guy | 8aef54f | 2010-09-01 15:13:49 -0700 | [diff] [blame] | 267 | */ |
| 268 | mat4* transform; |
| 269 | |
| 270 | /** |
Romain Guy | f219da5 | 2011-01-16 12:54:25 -0800 | [diff] [blame] | 271 | * The ancestor layer's dirty region. |
Romain Guy | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 272 | * |
| 273 | * This is a reference to a region owned by a layer. This pointer must |
| 274 | * not be freed. |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 275 | */ |
| 276 | Region* region; |
| 277 | |
Chet Haase | db8c9a6 | 2012-03-21 18:54:18 -0700 | [diff] [blame] | 278 | /** |
| 279 | * Current alpha value. This value is 1 by default, but may be set by a DisplayList which |
| 280 | * has translucent rendering in a non-overlapping View. This value will be used by |
| 281 | * the renderer to set the alpha in the current color being used for ensuing drawing |
| 282 | * operations. The value is inherited by child snapshots because the same value should |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 283 | * be applied to descendants of the current DisplayList (for example, a TextView contains |
Chet Haase | db8c9a6 | 2012-03-21 18:54:18 -0700 | [diff] [blame] | 284 | * the base alpha value which should be applied to the child DisplayLists used for drawing |
| 285 | * the actual text). |
| 286 | */ |
| 287 | float alpha; |
| 288 | |
Chris Craik | deeda3d | 2014-05-05 19:09:33 -0700 | [diff] [blame] | 289 | /** |
| 290 | * Current clipping round rect. |
| 291 | * |
| 292 | * Points to data not owned by the snapshot, and may only be replaced by subsequent RR clips, |
| 293 | * never modified. |
| 294 | */ |
| 295 | const RoundRectClipState* roundRectClipState; |
| 296 | |
Chris Craik | fca52b75 | 2015-04-28 11:45:59 -0700 | [diff] [blame] | 297 | /** |
| 298 | * Current projection masking path - used exclusively to mask tessellated circles. |
| 299 | */ |
| 300 | const ProjectionPathMask* projectionPathMask; |
| 301 | |
Chris Craik | 5f80362 | 2013-03-21 14:39:04 -0700 | [diff] [blame] | 302 | void dump() const; |
| 303 | |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 304 | private: |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 305 | struct ViewportData { |
Chris Craik | 9241975 | 2014-05-15 13:21:28 -0700 | [diff] [blame] | 306 | ViewportData() : mWidth(0), mHeight(0) {} |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 307 | void initialize(int width, int height) { |
| 308 | mWidth = width; |
| 309 | mHeight = height; |
| 310 | mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1); |
| 311 | } |
| 312 | |
| 313 | /* |
| 314 | * Width and height of current viewport. |
| 315 | * |
| 316 | * The viewport is always defined to be (0, 0, width, height). |
| 317 | */ |
| 318 | int mWidth; |
| 319 | int mHeight; |
| 320 | /** |
| 321 | * Contains the current orthographic, projection matrix. |
| 322 | */ |
| 323 | mat4 mOrthoMatrix; |
| 324 | }; |
| 325 | |
Romain Guy | 8aef54f | 2010-09-01 15:13:49 -0700 | [diff] [blame] | 326 | mat4 mTransformRoot; |
Romain Guy | 079ba2c | 2010-07-16 14:12:24 -0700 | [diff] [blame] | 327 | |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 328 | ClipArea mClipAreaRoot; |
| 329 | ClipArea* mClipArea; |
| 330 | Rect mLocalClip; |
| 331 | |
Chris Craik | a64a2be | 2014-05-14 14:17:01 -0700 | [diff] [blame] | 332 | ViewportData mViewportData; |
Chris Craik | 69e5adf | 2014-08-14 13:34:01 -0700 | [diff] [blame] | 333 | Vector3 mRelativeLightCenter; |
Romain Guy | 967e2bf | 2012-02-07 17:04:34 -0800 | [diff] [blame] | 334 | |
Romain Guy | 5cbbce5 | 2010-06-27 22:59:20 -0700 | [diff] [blame] | 335 | }; // class Snapshot |
| 336 | |
| 337 | }; // namespace uirenderer |
| 338 | }; // namespace android |
| 339 | |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 340 | #endif // ANDROID_HWUI_SNAPSHOT_H |