Romain Guy | fb8b763 | 2010-08-23 21:05:08 -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_CACHES_H |
| 18 | #define ANDROID_HWUI_CACHES_H |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 19 | |
Romain Guy | a2341a9 | 2010-09-08 18:04:33 -0700 | [diff] [blame] | 20 | #ifndef LOG_TAG |
| 21 | #define LOG_TAG "OpenGLRenderer" |
| 22 | #endif |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 23 | |
| 24 | #include <utils/Singleton.h> |
| 25 | |
Romain Guy | 7953745 | 2011-10-12 13:48:51 -0700 | [diff] [blame] | 26 | #include <cutils/compiler.h> |
| 27 | |
Romain Guy | 746b740 | 2010-10-26 16:27:31 -0700 | [diff] [blame] | 28 | #include "Extensions.h" |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 29 | #include "FontRenderer.h" |
| 30 | #include "GammaFontRenderer.h" |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 31 | #include "TextureCache.h" |
| 32 | #include "LayerCache.h" |
| 33 | #include "GradientCache.h" |
| 34 | #include "PatchCache.h" |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 35 | #include "ProgramCache.h" |
Romain Guy | 01d58e4 | 2011-01-19 21:54:02 -0800 | [diff] [blame] | 36 | #include "ShapeCache.h" |
Romain Guy | ff26a0c | 2011-01-20 11:35:46 -0800 | [diff] [blame] | 37 | #include "PathCache.h" |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 38 | #include "TextDropShadowCache.h" |
Romain Guy | e2d345e | 2010-09-24 18:39:22 -0700 | [diff] [blame] | 39 | #include "FboCache.h" |
Chet Haase | 5c13d89 | 2010-10-08 08:37:55 -0700 | [diff] [blame] | 40 | #include "ResourceCache.h" |
Romain Guy | 211efea | 2012-07-31 21:16:07 -0700 | [diff] [blame] | 41 | #include "Dither.h" |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 42 | |
| 43 | namespace android { |
| 44 | namespace uirenderer { |
| 45 | |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 46 | /////////////////////////////////////////////////////////////////////////////// |
| 47 | // Globals |
| 48 | /////////////////////////////////////////////////////////////////////////////// |
| 49 | |
| 50 | #define REQUIRED_TEXTURE_UNITS_COUNT 3 |
| 51 | |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 52 | #define REGION_MESH_QUAD_COUNT 512 |
| 53 | |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 54 | // Generates simple and textured vertices |
| 55 | #define FV(x, y, u, v) { { x, y }, { u, v } } |
| 56 | |
| 57 | // This array is never used directly but used as a memcpy source in the |
| 58 | // OpenGLRenderer constructor |
| 59 | static const TextureVertex gMeshVertices[] = { |
| 60 | FV(0.0f, 0.0f, 0.0f, 0.0f), |
| 61 | FV(1.0f, 0.0f, 1.0f, 0.0f), |
| 62 | FV(0.0f, 1.0f, 0.0f, 1.0f), |
| 63 | FV(1.0f, 1.0f, 1.0f, 1.0f) |
| 64 | }; |
| 65 | static const GLsizei gMeshStride = sizeof(TextureVertex); |
Chet Haase | 5b0200b | 2011-04-13 17:58:08 -0700 | [diff] [blame] | 66 | static const GLsizei gVertexStride = sizeof(Vertex); |
| 67 | static const GLsizei gAlphaVertexStride = sizeof(AlphaVertex); |
Chet Haase | 99585ad | 2011-05-02 15:00:16 -0700 | [diff] [blame] | 68 | static const GLsizei gAAVertexStride = sizeof(AAVertex); |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 69 | static const GLsizei gMeshTextureOffset = 2 * sizeof(float); |
Chet Haase | 99585ad | 2011-05-02 15:00:16 -0700 | [diff] [blame] | 70 | static const GLsizei gVertexAAWidthOffset = 2 * sizeof(float); |
| 71 | static const GLsizei gVertexAALengthOffset = 3 * sizeof(float); |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 72 | static const GLsizei gMeshCount = 4; |
| 73 | |
Romain Guy | a1d3c91 | 2011-12-13 14:55:06 -0800 | [diff] [blame] | 74 | static const GLenum gTextureUnits[] = { |
| 75 | GL_TEXTURE0, |
| 76 | GL_TEXTURE1, |
| 77 | GL_TEXTURE2 |
| 78 | }; |
| 79 | |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 80 | /////////////////////////////////////////////////////////////////////////////// |
| 81 | // Debug |
| 82 | /////////////////////////////////////////////////////////////////////////////// |
| 83 | |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 84 | struct CacheLogger { |
| 85 | CacheLogger() { |
Romain Guy | d6b2a00 | 2011-06-17 17:45:59 -0700 | [diff] [blame] | 86 | INIT_LOGD("Creating OpenGL renderer caches"); |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 87 | } |
| 88 | }; // struct CacheLogger |
| 89 | |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 90 | /////////////////////////////////////////////////////////////////////////////// |
| 91 | // Caches |
| 92 | /////////////////////////////////////////////////////////////////////////////// |
| 93 | |
Romain Guy | bb0acdf | 2012-03-05 13:44:35 -0800 | [diff] [blame] | 94 | class DisplayList; |
| 95 | |
Romain Guy | 7953745 | 2011-10-12 13:48:51 -0700 | [diff] [blame] | 96 | class ANDROID_API Caches: public Singleton<Caches> { |
Chet Haase | dd78cca | 2010-10-22 18:59:26 -0700 | [diff] [blame] | 97 | Caches(); |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 98 | |
| 99 | friend class Singleton<Caches>; |
| 100 | |
Romain Guy | e190aa6 | 2010-11-10 19:01:29 -0800 | [diff] [blame] | 101 | CacheLogger mLogger; |
Romain Guy | 9bca479 | 2010-10-25 18:42:25 -0700 | [diff] [blame] | 102 | |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 103 | public: |
Romain Guy | bdf7609 | 2011-07-18 15:00:43 -0700 | [diff] [blame] | 104 | enum FlushMode { |
Romain Guy | 6d7475d | 2011-07-27 16:28:21 -0700 | [diff] [blame] | 105 | kFlushMode_Layers = 0, |
| 106 | kFlushMode_Moderate, |
Romain Guy | bdf7609 | 2011-07-18 15:00:43 -0700 | [diff] [blame] | 107 | kFlushMode_Full |
| 108 | }; |
| 109 | |
| 110 | /** |
Romain Guy | dfa1046 | 2012-05-12 16:18:58 -0700 | [diff] [blame] | 111 | * Initialize caches. |
Romain Guy | 8ff6b9e | 2011-11-09 20:10:18 -0800 | [diff] [blame] | 112 | */ |
| 113 | void init(); |
| 114 | |
| 115 | /** |
Romain Guy | bdf7609 | 2011-07-18 15:00:43 -0700 | [diff] [blame] | 116 | * Flush the cache. |
| 117 | * |
| 118 | * @param mode Indicates how much of the cache should be flushed |
| 119 | */ |
| 120 | void flush(FlushMode mode); |
| 121 | |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 122 | /** |
Romain Guy | 8ff6b9e | 2011-11-09 20:10:18 -0800 | [diff] [blame] | 123 | * Destroys all resources associated with this cache. This should |
| 124 | * be called after a flush(kFlushMode_Full). |
| 125 | */ |
| 126 | void terminate(); |
| 127 | |
| 128 | /** |
Romain Guy | e190aa6 | 2010-11-10 19:01:29 -0800 | [diff] [blame] | 129 | * Indicates whether the renderer is in debug mode. |
| 130 | * This debug mode provides limited information to app developers. |
| 131 | */ |
| 132 | DebugLevel getDebugLevel() const { |
| 133 | return mDebugLevel; |
| 134 | } |
| 135 | |
| 136 | /** |
Romain Guy | fe48f65 | 2010-11-11 15:36:56 -0800 | [diff] [blame] | 137 | * Call this on each frame to ensure that garbage is deleted from |
| 138 | * GPU memory. |
| 139 | */ |
| 140 | void clearGarbage(); |
| 141 | |
| 142 | /** |
Romain Guy | ada830f | 2011-01-13 12:13:20 -0800 | [diff] [blame] | 143 | * Can be used to delete a layer from a non EGL thread. |
Romain Guy | 57066eb | 2011-01-12 12:53:32 -0800 | [diff] [blame] | 144 | */ |
Romain Guy | ada830f | 2011-01-13 12:13:20 -0800 | [diff] [blame] | 145 | void deleteLayerDeferred(Layer* layer); |
Romain Guy | 57066eb | 2011-01-12 12:53:32 -0800 | [diff] [blame] | 146 | |
Romain Guy | bb0acdf | 2012-03-05 13:44:35 -0800 | [diff] [blame] | 147 | /* |
| 148 | * Can be used to delete a display list from a non EGL thread. |
| 149 | */ |
| 150 | void deleteDisplayListDeferred(DisplayList* layer); |
| 151 | |
Romain Guy | 57066eb | 2011-01-12 12:53:32 -0800 | [diff] [blame] | 152 | /** |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 153 | * Binds the VBO used to render simple textured quads. |
| 154 | */ |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 155 | bool bindMeshBuffer(); |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 156 | |
| 157 | /** |
| 158 | * Binds the specified VBO if needed. |
| 159 | */ |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 160 | bool bindMeshBuffer(const GLuint buffer); |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 161 | |
| 162 | /** |
| 163 | * Unbinds the VBO used to render simple textured quads. |
| 164 | */ |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 165 | bool unbindMeshBuffer(); |
| 166 | |
Romain Guy | 15bc643 | 2011-12-13 13:11:32 -0800 | [diff] [blame] | 167 | bool bindIndicesBuffer(const GLuint buffer); |
| 168 | bool unbindIndicesBuffer(); |
| 169 | |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 170 | /** |
| 171 | * Binds an attrib to the specified float vertex pointer. |
| 172 | * Assumes a stride of gMeshStride and a size of 2. |
| 173 | */ |
| 174 | void bindPositionVertexPointer(bool force, GLuint slot, GLvoid* vertices, |
| 175 | GLsizei stride = gMeshStride); |
| 176 | |
| 177 | /** |
| 178 | * Binds an attrib to the specified float vertex pointer. |
| 179 | * Assumes a stride of gMeshStride and a size of 2. |
| 180 | */ |
| 181 | void bindTexCoordsVertexPointer(bool force, GLuint slot, GLvoid* vertices); |
| 182 | |
| 183 | /** |
| 184 | * Resets the vertex pointers. |
| 185 | */ |
| 186 | void resetVertexPointers(); |
| 187 | void resetTexCoordsVertexPointer(); |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 188 | |
Romain Guy | 15bc643 | 2011-12-13 13:11:32 -0800 | [diff] [blame] | 189 | void enableTexCoordsVertexArray(); |
| 190 | void disbaleTexCoordsVertexArray(); |
| 191 | |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 192 | /** |
Romain Guy | a1d3c91 | 2011-12-13 14:55:06 -0800 | [diff] [blame] | 193 | * Activate the specified texture unit. The texture unit must |
| 194 | * be specified using an integer number (0 for GL_TEXTURE0 etc.) |
| 195 | */ |
| 196 | void activeTexture(GLuint textureUnit); |
| 197 | |
| 198 | /** |
Romain Guy | 8f85e80 | 2011-12-14 19:23:32 -0800 | [diff] [blame] | 199 | * Sets the scissor for the current surface. |
| 200 | */ |
Romain Guy | 8a4ac61 | 2012-07-17 17:32:48 -0700 | [diff] [blame] | 201 | bool setScissor(GLint x, GLint y, GLint width, GLint height); |
Romain Guy | 8f85e80 | 2011-12-14 19:23:32 -0800 | [diff] [blame] | 202 | |
| 203 | /** |
Romain Guy | 82bc7a7 | 2012-01-03 14:13:39 -0800 | [diff] [blame] | 204 | * Resets the scissor state. |
| 205 | */ |
| 206 | void resetScissor(); |
| 207 | |
Romain Guy | 8a4ac61 | 2012-07-17 17:32:48 -0700 | [diff] [blame] | 208 | bool enableScissor(); |
| 209 | bool disableScissor(); |
Romain Guy | 586cae3 | 2012-07-13 15:28:31 -0700 | [diff] [blame] | 210 | void setScissorEnabled(bool enabled); |
| 211 | |
Romain Guy | 82bc7a7 | 2012-01-03 14:13:39 -0800 | [diff] [blame] | 212 | /** |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 213 | * Returns the mesh used to draw regions. Calling this method will |
| 214 | * bind a VBO of type GL_ELEMENT_ARRAY_BUFFER that contains the |
| 215 | * indices for the region mesh. |
| 216 | */ |
| 217 | TextureVertex* getRegionMesh(); |
| 218 | |
Romain Guy | c15008e | 2010-11-10 11:59:15 -0800 | [diff] [blame] | 219 | /** |
| 220 | * Displays the memory usage of each cache and the total sum. |
| 221 | */ |
| 222 | void dumpMemoryUsage(); |
Chet Haase | 9c1e23b | 2011-03-24 10:51:31 -0700 | [diff] [blame] | 223 | void dumpMemoryUsage(String8& log); |
Romain Guy | c15008e | 2010-11-10 11:59:15 -0800 | [diff] [blame] | 224 | |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 225 | bool blend; |
| 226 | GLenum lastSrcMode; |
| 227 | GLenum lastDstMode; |
| 228 | Program* currentProgram; |
Romain Guy | 586cae3 | 2012-07-13 15:28:31 -0700 | [diff] [blame] | 229 | bool scissorEnabled; |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 230 | |
Romain Guy | 746b740 | 2010-10-26 16:27:31 -0700 | [diff] [blame] | 231 | // VBO to draw with |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 232 | GLuint meshBuffer; |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 233 | |
Romain Guy | 746b740 | 2010-10-26 16:27:31 -0700 | [diff] [blame] | 234 | // GL extensions |
| 235 | Extensions extensions; |
| 236 | |
| 237 | // Misc |
| 238 | GLint maxTextureSize; |
Romain Guy | 4ff0cf4 | 2012-08-06 14:51:10 -0700 | [diff] [blame^] | 239 | bool debugLayersUpdates; |
Romain Guy | 746b740 | 2010-10-26 16:27:31 -0700 | [diff] [blame] | 240 | |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 241 | TextureCache textureCache; |
| 242 | LayerCache layerCache; |
| 243 | GradientCache gradientCache; |
| 244 | ProgramCache programCache; |
| 245 | PathCache pathCache; |
Romain Guy | 01d58e4 | 2011-01-19 21:54:02 -0800 | [diff] [blame] | 246 | RoundRectShapeCache roundRectShapeCache; |
| 247 | CircleShapeCache circleShapeCache; |
Romain Guy | c1cd9ba3 | 2011-01-23 14:18:41 -0800 | [diff] [blame] | 248 | OvalShapeCache ovalShapeCache; |
| 249 | RectShapeCache rectShapeCache; |
Romain Guy | 8b2f526 | 2011-01-23 16:15:02 -0800 | [diff] [blame] | 250 | ArcShapeCache arcShapeCache; |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 251 | PatchCache patchCache; |
| 252 | TextDropShadowCache dropShadowCache; |
Romain Guy | e2d345e | 2010-09-24 18:39:22 -0700 | [diff] [blame] | 253 | FboCache fboCache; |
Chet Haase | 5c13d89 | 2010-10-08 08:37:55 -0700 | [diff] [blame] | 254 | ResourceCache resourceCache; |
Romain Guy | 211efea | 2012-07-31 21:16:07 -0700 | [diff] [blame] | 255 | Dither dither; |
Romain Guy | 29d8997 | 2010-09-22 16:10:57 -0700 | [diff] [blame] | 256 | |
Romain Guy | b1d0a4e | 2012-07-13 18:25:35 -0700 | [diff] [blame] | 257 | GammaFontRenderer* fontRenderer; |
| 258 | |
Romain Guy | dfa1046 | 2012-05-12 16:18:58 -0700 | [diff] [blame] | 259 | // Debug methods |
Romain Guy | 13631f3 | 2012-01-30 17:41:55 -0800 | [diff] [blame] | 260 | PFNGLINSERTEVENTMARKEREXTPROC eventMark; |
| 261 | PFNGLPUSHGROUPMARKEREXTPROC startMark; |
| 262 | PFNGLPOPGROUPMARKEREXTPROC endMark; |
| 263 | |
Romain Guy | dfa1046 | 2012-05-12 16:18:58 -0700 | [diff] [blame] | 264 | PFNGLLABELOBJECTEXTPROC setLabel; |
| 265 | PFNGLGETOBJECTLABELEXTPROC getLabel; |
| 266 | |
Romain Guy | e190aa6 | 2010-11-10 19:01:29 -0800 | [diff] [blame] | 267 | private: |
Romain Guy | b1d0a4e | 2012-07-13 18:25:35 -0700 | [diff] [blame] | 268 | void initFont(); |
Romain Guy | dfa1046 | 2012-05-12 16:18:58 -0700 | [diff] [blame] | 269 | void initExtensions(); |
| 270 | void initConstraints(); |
Romain Guy | 4ff0cf4 | 2012-08-06 14:51:10 -0700 | [diff] [blame^] | 271 | void initProperties(); |
Romain Guy | dfa1046 | 2012-05-12 16:18:58 -0700 | [diff] [blame] | 272 | |
| 273 | static void eventMarkNull(GLsizei length, const GLchar* marker) { } |
| 274 | static void startMarkNull(GLsizei length, const GLchar* marker) { } |
Romain Guy | 13631f3 | 2012-01-30 17:41:55 -0800 | [diff] [blame] | 275 | static void endMarkNull() { } |
| 276 | |
Romain Guy | dfa1046 | 2012-05-12 16:18:58 -0700 | [diff] [blame] | 277 | static void setLabelNull(GLenum type, uint object, GLsizei length, |
| 278 | const char* label) { } |
| 279 | static void getLabelNull(GLenum type, uint object, GLsizei bufferSize, |
| 280 | GLsizei* length, char* label) { |
| 281 | if (length) *length = 0; |
| 282 | if (label) *label = '\0'; |
| 283 | } |
| 284 | |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 285 | GLuint mCurrentBuffer; |
Romain Guy | 15bc643 | 2011-12-13 13:11:32 -0800 | [diff] [blame] | 286 | GLuint mCurrentIndicesBuffer; |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 287 | void* mCurrentPositionPointer; |
| 288 | void* mCurrentTexCoordsPointer; |
| 289 | |
Romain Guy | 15bc643 | 2011-12-13 13:11:32 -0800 | [diff] [blame] | 290 | bool mTexCoordsArrayEnabled; |
| 291 | |
Romain Guy | a1d3c91 | 2011-12-13 14:55:06 -0800 | [diff] [blame] | 292 | GLuint mTextureUnit; |
| 293 | |
Romain Guy | 8f85e80 | 2011-12-14 19:23:32 -0800 | [diff] [blame] | 294 | GLint mScissorX; |
| 295 | GLint mScissorY; |
| 296 | GLint mScissorWidth; |
| 297 | GLint mScissorHeight; |
| 298 | |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 299 | // Used to render layers |
| 300 | TextureVertex* mRegionMesh; |
| 301 | GLuint mRegionMeshIndices; |
| 302 | |
| 303 | mutable Mutex mGarbageLock; |
| 304 | Vector<Layer*> mLayerGarbage; |
Romain Guy | bb0acdf | 2012-03-05 13:44:35 -0800 | [diff] [blame] | 305 | Vector<DisplayList*> mDisplayListGarbage; |
Romain Guy | f3a910b4 | 2011-12-12 20:35:21 -0800 | [diff] [blame] | 306 | |
Romain Guy | e190aa6 | 2010-11-10 19:01:29 -0800 | [diff] [blame] | 307 | DebugLevel mDebugLevel; |
Romain Guy | 8ff6b9e | 2011-11-09 20:10:18 -0800 | [diff] [blame] | 308 | bool mInitialized; |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 309 | }; // class Caches |
| 310 | |
| 311 | }; // namespace uirenderer |
Romain Guy | fb8b763 | 2010-08-23 21:05:08 -0700 | [diff] [blame] | 312 | }; // namespace android |
| 313 | |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 314 | #endif // ANDROID_HWUI_CACHES_H |