blob: 5367663201bbf05d2620e3f0dd77b7ce09b684c2 [file] [log] [blame]
Romain Guyfb8b7632010-08-23 21:05:08 -07001/*
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 Guy5b3b3522010-10-27 18:57:51 -070017#ifndef ANDROID_HWUI_CACHES_H
18#define ANDROID_HWUI_CACHES_H
Romain Guyfb8b7632010-08-23 21:05:08 -070019
Romain Guya2341a92010-09-08 18:04:33 -070020#ifndef LOG_TAG
21 #define LOG_TAG "OpenGLRenderer"
22#endif
Romain Guyfb8b7632010-08-23 21:05:08 -070023
Romain Guy3b748a42013-04-17 18:54:38 -070024#include <GLES3/gl3.h>
25
26#include <utils/KeyedVector.h>
Romain Guyfb8b7632010-08-23 21:05:08 -070027#include <utils/Singleton.h>
Romain Guy3b748a42013-04-17 18:54:38 -070028#include <utils/Vector.h>
Romain Guyfb8b7632010-08-23 21:05:08 -070029
Romain Guy79537452011-10-12 13:48:51 -070030#include <cutils/compiler.h>
31
Romain Guy5dc7fa72013-03-11 20:48:31 -070032#include "thread/TaskProcessor.h"
33#include "thread/TaskManager.h"
34
Romain Guy3b748a42013-04-17 18:54:38 -070035#include "AssetAtlas.h"
Leon Scroggins III0fa2bd62014-05-05 12:50:38 -040036#include "Extensions.h"
Romain Guy03750a02010-10-18 14:06:08 -070037#include "FontRenderer.h"
38#include "GammaFontRenderer.h"
Romain Guyfb8b7632010-08-23 21:05:08 -070039#include "TextureCache.h"
40#include "LayerCache.h"
Romain Guy8d4aeb72013-02-12 16:08:55 -080041#include "RenderBufferCache.h"
Romain Guyfb8b7632010-08-23 21:05:08 -070042#include "GradientCache.h"
43#include "PatchCache.h"
Romain Guyfb8b7632010-08-23 21:05:08 -070044#include "ProgramCache.h"
Romain Guyff26a0c2011-01-20 11:35:46 -080045#include "PathCache.h"
Romain Guyfb8b7632010-08-23 21:05:08 -070046#include "TextDropShadowCache.h"
Romain Guye2d345e2010-09-24 18:39:22 -070047#include "FboCache.h"
Chet Haase5c13d892010-10-08 08:37:55 -070048#include "ResourceCache.h"
Romain Guy0baaac52012-08-31 20:31:01 -070049#include "Stencil.h"
Romain Guy211efea2012-07-31 21:16:07 -070050#include "Dither.h"
Romain Guyfb8b7632010-08-23 21:05:08 -070051
52namespace android {
53namespace uirenderer {
54
Romain Guy03750a02010-10-18 14:06:08 -070055///////////////////////////////////////////////////////////////////////////////
56// Globals
57///////////////////////////////////////////////////////////////////////////////
58
Romain Guy8aa195d2013-06-04 18:00:09 -070059// GL ES 2.0 defines that at least 16 texture units must be supported
Romain Guy03750a02010-10-18 14:06:08 -070060#define REQUIRED_TEXTURE_UNITS_COUNT 3
61
Romain Guy31e08e92013-06-18 15:53:53 -070062// Maximum number of quads that pre-allocated meshes can draw
63static const uint32_t gMaxNumberOfQuads = 2048;
Romain Guy5b3b3522010-10-27 18:57:51 -070064
Romain Guy03750a02010-10-18 14:06:08 -070065// Generates simple and textured vertices
Romain Guy3380cfd2013-08-15 16:57:57 -070066#define FV(x, y, u, v) { x, y, u, v }
Romain Guy03750a02010-10-18 14:06:08 -070067
68// This array is never used directly but used as a memcpy source in the
69// OpenGLRenderer constructor
70static const TextureVertex gMeshVertices[] = {
71 FV(0.0f, 0.0f, 0.0f, 0.0f),
72 FV(1.0f, 0.0f, 1.0f, 0.0f),
73 FV(0.0f, 1.0f, 0.0f, 1.0f),
74 FV(1.0f, 1.0f, 1.0f, 1.0f)
75};
76static const GLsizei gMeshStride = sizeof(TextureVertex);
Chet Haase5b0200b2011-04-13 17:58:08 -070077static const GLsizei gVertexStride = sizeof(Vertex);
78static const GLsizei gAlphaVertexStride = sizeof(AlphaVertex);
Romain Guy03750a02010-10-18 14:06:08 -070079static const GLsizei gMeshTextureOffset = 2 * sizeof(float);
Chris Craik6ebdc112012-08-31 18:24:33 -070080static const GLsizei gVertexAlphaOffset = 2 * sizeof(float);
Chet Haase99585ad2011-05-02 15:00:16 -070081static const GLsizei gVertexAAWidthOffset = 2 * sizeof(float);
82static const GLsizei gVertexAALengthOffset = 3 * sizeof(float);
Romain Guy03750a02010-10-18 14:06:08 -070083static const GLsizei gMeshCount = 4;
84
Romain Guy8aa195d2013-06-04 18:00:09 -070085// Must define as many texture units as specified by REQUIRED_TEXTURE_UNITS_COUNT
Romain Guya1d3c912011-12-13 14:55:06 -080086static const GLenum gTextureUnits[] = {
87 GL_TEXTURE0,
88 GL_TEXTURE1,
89 GL_TEXTURE2
90};
91
Romain Guy03750a02010-10-18 14:06:08 -070092///////////////////////////////////////////////////////////////////////////////
93// Debug
94///////////////////////////////////////////////////////////////////////////////
95
Romain Guyfb8b7632010-08-23 21:05:08 -070096struct CacheLogger {
97 CacheLogger() {
Romain Guyd6b2a002011-06-17 17:45:59 -070098 INIT_LOGD("Creating OpenGL renderer caches");
Romain Guyfb8b7632010-08-23 21:05:08 -070099 }
100}; // struct CacheLogger
101
Romain Guy03750a02010-10-18 14:06:08 -0700102///////////////////////////////////////////////////////////////////////////////
103// Caches
104///////////////////////////////////////////////////////////////////////////////
105
John Recke18264b2014-03-12 13:56:30 -0700106class RenderNode;
Romain Guybb0acdf2012-03-05 13:44:35 -0800107
Romain Guy79537452011-10-12 13:48:51 -0700108class ANDROID_API Caches: public Singleton<Caches> {
Chet Haasedd78cca2010-10-22 18:59:26 -0700109 Caches();
Romain Guyfb8b7632010-08-23 21:05:08 -0700110
111 friend class Singleton<Caches>;
112
Romain Guye190aa62010-11-10 19:01:29 -0800113 CacheLogger mLogger;
Romain Guy9bca4792010-10-25 18:42:25 -0700114
Romain Guyfb8b7632010-08-23 21:05:08 -0700115public:
Romain Guybdf76092011-07-18 15:00:43 -0700116 enum FlushMode {
Romain Guy6d7475d2011-07-27 16:28:21 -0700117 kFlushMode_Layers = 0,
118 kFlushMode_Moderate,
Romain Guybdf76092011-07-18 15:00:43 -0700119 kFlushMode_Full
120 };
121
122 /**
Romain Guydfa10462012-05-12 16:18:58 -0700123 * Initialize caches.
Romain Guy8ff6b9e2011-11-09 20:10:18 -0800124 */
Romain Guy3b748a42013-04-17 18:54:38 -0700125 bool init();
Romain Guy8ff6b9e2011-11-09 20:10:18 -0800126
127 /**
Romain Guy5bb3c732012-11-29 17:52:58 -0800128 * Initialize global system properties.
129 */
130 bool initProperties();
131
132 /**
Romain Guybdf76092011-07-18 15:00:43 -0700133 * Flush the cache.
134 *
135 * @param mode Indicates how much of the cache should be flushed
136 */
137 void flush(FlushMode mode);
138
Romain Guy5b3b3522010-10-27 18:57:51 -0700139 /**
Romain Guy8ff6b9e2011-11-09 20:10:18 -0800140 * Destroys all resources associated with this cache. This should
141 * be called after a flush(kFlushMode_Full).
142 */
143 void terminate();
144
145 /**
Romain Guye190aa62010-11-10 19:01:29 -0800146 * Indicates whether the renderer is in debug mode.
147 * This debug mode provides limited information to app developers.
148 */
149 DebugLevel getDebugLevel() const {
150 return mDebugLevel;
151 }
152
153 /**
Romain Guy627c6fd2013-08-21 11:53:18 -0700154 * Returns a non-premultiplied ARGB color for the specified
155 * amount of overdraw (1 for 1x, 2 for 2x, etc.)
156 */
157 uint32_t getOverdrawColor(uint32_t amount) const;
158
159 /**
Romain Guyfe48f652010-11-11 15:36:56 -0800160 * Call this on each frame to ensure that garbage is deleted from
161 * GPU memory.
162 */
163 void clearGarbage();
164
165 /**
Romain Guyada830f2011-01-13 12:13:20 -0800166 * Can be used to delete a layer from a non EGL thread.
Romain Guy57066eb2011-01-12 12:53:32 -0800167 */
Romain Guyada830f2011-01-13 12:13:20 -0800168 void deleteLayerDeferred(Layer* layer);
Romain Guy57066eb2011-01-12 12:53:32 -0800169
170 /**
Romain Guy5b3b3522010-10-27 18:57:51 -0700171 * Binds the VBO used to render simple textured quads.
172 */
Romain Guyf3a910b42011-12-12 20:35:21 -0800173 bool bindMeshBuffer();
Romain Guy5b3b3522010-10-27 18:57:51 -0700174
175 /**
176 * Binds the specified VBO if needed.
177 */
Romain Guyf3a910b42011-12-12 20:35:21 -0800178 bool bindMeshBuffer(const GLuint buffer);
Romain Guy5b3b3522010-10-27 18:57:51 -0700179
180 /**
181 * Unbinds the VBO used to render simple textured quads.
182 */
Romain Guyf3a910b42011-12-12 20:35:21 -0800183 bool unbindMeshBuffer();
184
Romain Guy3b748a42013-04-17 18:54:38 -0700185 /**
186 * Binds a global indices buffer that can draw up to
Romain Guy31e08e92013-06-18 15:53:53 -0700187 * gMaxNumberOfQuads quads.
Romain Guy3b748a42013-04-17 18:54:38 -0700188 */
ztenghui63d41ab2014-02-14 13:13:41 -0800189 bool bindQuadIndicesBuffer();
190 bool bindShadowIndicesBuffer();
Romain Guy15bc6432011-12-13 13:11:32 -0800191 bool unbindIndicesBuffer();
192
Romain Guyf3a910b42011-12-12 20:35:21 -0800193 /**
Romain Guycf51a412013-04-08 19:40:31 -0700194 * Binds the specified buffer as the current GL unpack pixel buffer.
195 */
196 bool bindPixelBuffer(const GLuint buffer);
197
198 /**
199 * Resets the current unpack pixel buffer to 0 (default value.)
200 */
201 bool unbindPixelBuffer();
202
203 /**
Romain Guyf3a910b42011-12-12 20:35:21 -0800204 * Binds an attrib to the specified float vertex pointer.
205 * Assumes a stride of gMeshStride and a size of 2.
206 */
ztenghui55bfb4e2013-12-03 10:38:55 -0800207 void bindPositionVertexPointer(bool force, const GLvoid* vertices, GLsizei stride = gMeshStride);
Romain Guyf3a910b42011-12-12 20:35:21 -0800208
209 /**
210 * Binds an attrib to the specified float vertex pointer.
211 * Assumes a stride of gMeshStride and a size of 2.
212 */
ztenghui55bfb4e2013-12-03 10:38:55 -0800213 void bindTexCoordsVertexPointer(bool force, const GLvoid* vertices, GLsizei stride = gMeshStride);
Romain Guyf3a910b42011-12-12 20:35:21 -0800214
215 /**
216 * Resets the vertex pointers.
217 */
218 void resetVertexPointers();
219 void resetTexCoordsVertexPointer();
Romain Guy03750a02010-10-18 14:06:08 -0700220
Romain Guy15bc6432011-12-13 13:11:32 -0800221 void enableTexCoordsVertexArray();
Romain Guyff316ec2013-02-13 18:39:43 -0800222 void disableTexCoordsVertexArray();
Romain Guy15bc6432011-12-13 13:11:32 -0800223
Romain Guy5b3b3522010-10-27 18:57:51 -0700224 /**
Romain Guya1d3c912011-12-13 14:55:06 -0800225 * Activate the specified texture unit. The texture unit must
226 * be specified using an integer number (0 for GL_TEXTURE0 etc.)
227 */
228 void activeTexture(GLuint textureUnit);
229
230 /**
Chris Craik9ab2d182013-07-22 16:16:06 -0700231 * Invalidate the cached value of the active texture unit.
232 */
233 void resetActiveTexture();
234
235 /**
Romain Guy8aa195d2013-06-04 18:00:09 -0700236 * Binds the specified texture as a GL_TEXTURE_2D texture.
Romain Guybe1b1272013-06-06 14:02:54 -0700237 * All texture bindings must be performed with this method or
238 * bindTexture(GLenum, GLuint).
Romain Guy8aa195d2013-06-04 18:00:09 -0700239 */
240 void bindTexture(GLuint texture);
241
242 /**
Romain Guybe1b1272013-06-06 14:02:54 -0700243 * Binds the specified texture with the specified render target.
244 * All texture bindings must be performed with this method or
245 * bindTexture(GLuint).
Romain Guy8aa195d2013-06-04 18:00:09 -0700246 */
247 void bindTexture(GLenum target, GLuint texture);
248
249 /**
Romain Guybe1b1272013-06-06 14:02:54 -0700250 * Deletes the specified texture and clears it from the cache
251 * of bound textures.
252 * All textures must be deleted using this method.
253 */
254 void deleteTexture(GLuint texture);
255
256 /**
Romain Guy8aa195d2013-06-04 18:00:09 -0700257 * Signals that the cache of bound textures should be cleared.
258 * Other users of the context may have altered which textures are bound.
259 */
260 void resetBoundTextures();
261
262 /**
Romain Guy8f85e802011-12-14 19:23:32 -0800263 * Sets the scissor for the current surface.
264 */
Romain Guy8a4ac612012-07-17 17:32:48 -0700265 bool setScissor(GLint x, GLint y, GLint width, GLint height);
Romain Guy8f85e802011-12-14 19:23:32 -0800266
267 /**
Romain Guy82bc7a72012-01-03 14:13:39 -0800268 * Resets the scissor state.
269 */
270 void resetScissor();
271
Romain Guy8a4ac612012-07-17 17:32:48 -0700272 bool enableScissor();
273 bool disableScissor();
Romain Guy586cae32012-07-13 15:28:31 -0700274 void setScissorEnabled(bool enabled);
275
Romain Guyef359272013-01-31 19:07:29 -0800276 void startTiling(GLuint x, GLuint y, GLuint width, GLuint height, bool discard);
Romain Guy85ef80d2012-09-13 20:26:50 -0700277 void endTiling();
278
Romain Guy82bc7a72012-01-03 14:13:39 -0800279 /**
Romain Guy5b3b3522010-10-27 18:57:51 -0700280 * Returns the mesh used to draw regions. Calling this method will
281 * bind a VBO of type GL_ELEMENT_ARRAY_BUFFER that contains the
282 * indices for the region mesh.
283 */
284 TextureVertex* getRegionMesh();
285
Romain Guyc15008e2010-11-10 11:59:15 -0800286 /**
287 * Displays the memory usage of each cache and the total sum.
288 */
289 void dumpMemoryUsage();
Chet Haase9c1e23b2011-03-24 10:51:31 -0700290 void dumpMemoryUsage(String8& log);
Romain Guyc15008e2010-11-10 11:59:15 -0800291
Romain Guy54c1a642012-09-27 17:55:46 -0700292 bool hasRegisteredFunctors();
293 void registerFunctors(uint32_t functorCount);
294 void unregisterFunctors(uint32_t functorCount);
295
Romain Guyfb8b7632010-08-23 21:05:08 -0700296 bool blend;
297 GLenum lastSrcMode;
298 GLenum lastDstMode;
299 Program* currentProgram;
Romain Guy586cae32012-07-13 15:28:31 -0700300 bool scissorEnabled;
Romain Guyfb8b7632010-08-23 21:05:08 -0700301
Romain Guy0f6675332013-03-01 14:31:04 -0800302 bool drawDeferDisabled;
303 bool drawReorderDisabled;
304
Romain Guy746b7402010-10-26 16:27:31 -0700305 // VBO to draw with
Romain Guy03750a02010-10-18 14:06:08 -0700306 GLuint meshBuffer;
Romain Guy03750a02010-10-18 14:06:08 -0700307
Romain Guy746b7402010-10-26 16:27:31 -0700308 // Misc
309 GLint maxTextureSize;
Romain Guy3ff0bfd2013-02-25 14:15:37 -0800310
311 // Debugging
Romain Guy4ff0cf42012-08-06 14:51:10 -0700312 bool debugLayersUpdates;
Romain Guy7c450aa2012-09-21 19:15:00 -0700313 bool debugOverdraw;
Romain Guy746b7402010-10-26 16:27:31 -0700314
Romain Guy3ff0bfd2013-02-25 14:15:37 -0800315 enum StencilClipDebug {
316 kStencilHide,
317 kStencilShowHighlight,
318 kStencilShowRegion
319 };
320 StencilClipDebug debugStencilClip;
321
Romain Guyfb8b7632010-08-23 21:05:08 -0700322 TextureCache textureCache;
323 LayerCache layerCache;
Romain Guy8d4aeb72013-02-12 16:08:55 -0800324 RenderBufferCache renderBufferCache;
Romain Guyfb8b7632010-08-23 21:05:08 -0700325 GradientCache gradientCache;
326 ProgramCache programCache;
327 PathCache pathCache;
328 PatchCache patchCache;
329 TextDropShadowCache dropShadowCache;
Romain Guye2d345e2010-09-24 18:39:22 -0700330 FboCache fboCache;
Chet Haase5c13d892010-10-08 08:37:55 -0700331 ResourceCache resourceCache;
Romain Guy29d89972010-09-22 16:10:57 -0700332
Romain Guyb1d0a4e2012-07-13 18:25:35 -0700333 GammaFontRenderer* fontRenderer;
334
Romain Guy5dc7fa72013-03-11 20:48:31 -0700335 TaskManager tasks;
336
Romain Guy0baaac52012-08-31 20:31:01 -0700337 Dither dither;
Romain Guy0baaac52012-08-31 20:31:01 -0700338 Stencil stencil;
Romain Guy0baaac52012-08-31 20:31:01 -0700339
Romain Guy3b748a42013-04-17 18:54:38 -0700340 AssetAtlas assetAtlas;
341
Romain Guyf9f00162013-05-09 11:50:12 -0700342 bool gpuPixelBuffersEnabled;
343
Romain Guydfa10462012-05-12 16:18:58 -0700344 // Debug methods
Romain Guy13631f32012-01-30 17:41:55 -0800345 PFNGLINSERTEVENTMARKEREXTPROC eventMark;
346 PFNGLPUSHGROUPMARKEREXTPROC startMark;
347 PFNGLPOPGROUPMARKEREXTPROC endMark;
348
Romain Guydfa10462012-05-12 16:18:58 -0700349 PFNGLLABELOBJECTEXTPROC setLabel;
350 PFNGLGETOBJECTLABELEXTPROC getLabel;
351
Chris Craikba9b6132013-12-15 17:10:19 -0800352 // TEMPORARY properties
353 void initTempProperties();
354 void setTempProperty(const char* name, const char* value);
ztenghuicc3c2562014-01-17 10:34:10 -0800355
Chris Craikf5be3ca2014-04-30 18:20:03 -0700356 float propertyLightDiameter;
357 float propertyLightPosY;
358 float propertyLightPosZ;
359 float propertyAmbientRatio;
ztenghuief94c6f2014-02-13 17:09:45 -0800360 int propertyAmbientShadowStrength;
361 int propertySpotShadowStrength;
Chris Craikba9b6132013-12-15 17:10:19 -0800362
Romain Guye190aa62010-11-10 19:01:29 -0800363private:
Romain Guy627c6fd2013-08-21 11:53:18 -0700364 enum OverdrawColorSet {
365 kColorSet_Default = 0,
366 kColorSet_Deuteranomaly
367 };
368
Romain Guyb1d0a4e2012-07-13 18:25:35 -0700369 void initFont();
Romain Guydfa10462012-05-12 16:18:58 -0700370 void initExtensions();
371 void initConstraints();
Romain Guyf9f00162013-05-09 11:50:12 -0700372 void initStaticProperties();
Romain Guydfa10462012-05-12 16:18:58 -0700373
ztenghui63d41ab2014-02-14 13:13:41 -0800374 bool bindIndicesBufferInternal(const GLuint buffer);
375
Romain Guydfa10462012-05-12 16:18:58 -0700376 static void eventMarkNull(GLsizei length, const GLchar* marker) { }
377 static void startMarkNull(GLsizei length, const GLchar* marker) { }
Romain Guy13631f32012-01-30 17:41:55 -0800378 static void endMarkNull() { }
379
Romain Guydfa10462012-05-12 16:18:58 -0700380 static void setLabelNull(GLenum type, uint object, GLsizei length,
381 const char* label) { }
382 static void getLabelNull(GLenum type, uint object, GLsizei bufferSize,
383 GLsizei* length, char* label) {
384 if (length) *length = 0;
385 if (label) *label = '\0';
386 }
387
Romain Guyf3a910b42011-12-12 20:35:21 -0800388 GLuint mCurrentBuffer;
Romain Guy15bc6432011-12-13 13:11:32 -0800389 GLuint mCurrentIndicesBuffer;
Romain Guycf51a412013-04-08 19:40:31 -0700390 GLuint mCurrentPixelBuffer;
ztenghui55bfb4e2013-12-03 10:38:55 -0800391 const void* mCurrentPositionPointer;
Chris Craik16b897c2012-09-27 13:10:56 -0700392 GLsizei mCurrentPositionStride;
ztenghui55bfb4e2013-12-03 10:38:55 -0800393 const void* mCurrentTexCoordsPointer;
Romain Guyff316ec2013-02-13 18:39:43 -0800394 GLsizei mCurrentTexCoordsStride;
Romain Guyf3a910b42011-12-12 20:35:21 -0800395
Romain Guy15bc6432011-12-13 13:11:32 -0800396 bool mTexCoordsArrayEnabled;
397
Romain Guya1d3c912011-12-13 14:55:06 -0800398 GLuint mTextureUnit;
399
Romain Guy8f85e802011-12-14 19:23:32 -0800400 GLint mScissorX;
401 GLint mScissorY;
402 GLint mScissorWidth;
403 GLint mScissorHeight;
404
Romain Guy3bbacf22013-02-06 16:51:04 -0800405 Extensions& mExtensions;
406
Romain Guyf3a910b42011-12-12 20:35:21 -0800407 // Used to render layers
408 TextureVertex* mRegionMesh;
Romain Guy3b748a42013-04-17 18:54:38 -0700409
410 // Global index buffer
411 GLuint mMeshIndices;
ztenghui63d41ab2014-02-14 13:13:41 -0800412 GLuint mShadowStripsIndices;
Romain Guyf3a910b42011-12-12 20:35:21 -0800413
414 mutable Mutex mGarbageLock;
415 Vector<Layer*> mLayerGarbage;
416
Romain Guye190aa62010-11-10 19:01:29 -0800417 DebugLevel mDebugLevel;
Romain Guy8ff6b9e2011-11-09 20:10:18 -0800418 bool mInitialized;
Romain Guy54c1a642012-09-27 17:55:46 -0700419
420 uint32_t mFunctorsCount;
Romain Guy8aa195d2013-06-04 18:00:09 -0700421
422 GLuint mBoundTextures[REQUIRED_TEXTURE_UNITS_COUNT];
Romain Guy627c6fd2013-08-21 11:53:18 -0700423
424 OverdrawColorSet mOverdrawDebugColorSet;
Romain Guyfb8b7632010-08-23 21:05:08 -0700425}; // class Caches
426
427}; // namespace uirenderer
Romain Guyfb8b7632010-08-23 21:05:08 -0700428}; // namespace android
429
Romain Guy5b3b3522010-10-27 18:57:51 -0700430#endif // ANDROID_HWUI_CACHES_H