diff options
author | Steve Block <steveblock@google.com> | 2012-01-05 23:22:43 +0000 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2012-01-19 14:44:59 -0800 |
commit | a51f0e707f1f3142358aa919ea60ad2842803139 (patch) | |
tree | 3a4bea403affd07f7611fe13da8cbf64a61ee3e3 /libs/hwui | |
parent | 933e85615059b85a87747da57288384541cc56da (diff) | |
download | frameworks_base-a51f0e707f1f3142358aa919ea60ad2842803139.zip frameworks_base-a51f0e707f1f3142358aa919ea60ad2842803139.tar.gz frameworks_base-a51f0e707f1f3142358aa919ea60ad2842803139.tar.bz2 |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/Caches.cpp | 2 | ||||
-rw-r--r-- | libs/hwui/LayerRenderer.cpp | 6 | ||||
-rw-r--r-- | libs/hwui/ShapeCache.h | 2 | ||||
-rw-r--r-- | libs/hwui/TextureCache.cpp | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp index c4fecb6..b6b35ea 100644 --- a/libs/hwui/Caches.cpp +++ b/libs/hwui/Caches.cpp @@ -50,7 +50,7 @@ Caches::Caches(): Singleton<Caches>(), mInitialized(false) { GLint maxTextureUnits; glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &maxTextureUnits); if (maxTextureUnits < REQUIRED_TEXTURE_UNITS_COUNT) { - LOGW("At least %d texture units are required!", REQUIRED_TEXTURE_UNITS_COUNT); + ALOGW("At least %d texture units are required!", REQUIRED_TEXTURE_UNITS_COUNT); } glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize); diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp index 1fd9b54..60c9d60 100644 --- a/libs/hwui/LayerRenderer.cpp +++ b/libs/hwui/LayerRenderer.cpp @@ -184,14 +184,14 @@ Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque GLuint fbo = Caches::getInstance().fboCache.get(); if (!fbo) { - LOGW("Could not obtain an FBO"); + ALOGW("Could not obtain an FBO"); return NULL; } glActiveTexture(GL_TEXTURE0); Layer* layer = Caches::getInstance().layerCache.get(width, height); if (!layer) { - LOGW("Could not obtain a layer"); + ALOGW("Could not obtain a layer"); return NULL; } @@ -338,7 +338,7 @@ bool LayerRenderer::copyLayer(Layer* layer, SkBitmap* bitmap) { GLuint fbo = caches.fboCache.get(); if (!fbo) { - LOGW("Could not obtain an FBO"); + ALOGW("Could not obtain an FBO"); return false; } diff --git a/libs/hwui/ShapeCache.h b/libs/hwui/ShapeCache.h index 1d7ac5e..b019af3 100644 --- a/libs/hwui/ShapeCache.h +++ b/libs/hwui/ShapeCache.h @@ -503,7 +503,7 @@ PathTexture* ShapeCache<Entry>::addTexture(const Entry& entry, const SkPath *pat const uint32_t height = uint32_t(pathHeight + offset * 2.0 + 0.5); if (width > mMaxTextureSize || height > mMaxTextureSize) { - LOGW("Shape %s too large to be rendered into a texture", mName); + ALOGW("Shape %s too large to be rendered into a texture", mName); return NULL; } diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp index c031c19..5b8854b 100644 --- a/libs/hwui/TextureCache.cpp +++ b/libs/hwui/TextureCache.cpp @@ -125,7 +125,7 @@ Texture* TextureCache::get(SkBitmap* bitmap) { if (!texture) { if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) { - LOGW("Bitmap too large to be uploaded into a texture"); + ALOGW("Bitmap too large to be uploaded into a texture"); return NULL; } @@ -244,7 +244,7 @@ void TextureCache::generateTexture(SkBitmap* bitmap, Texture* texture, bool rege texture->blend = !bitmap->isOpaque(); break; default: - LOGW("Unsupported bitmap config: %d", bitmap->getConfig()); + ALOGW("Unsupported bitmap config: %d", bitmap->getConfig()); break; } |