summaryrefslogtreecommitdiffstats
path: root/opengl/libs/GLES_trace/src/gltrace_fixup.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 19:20:56 +0000
committerSteve Block <steveblock@google.com>2012-01-08 13:19:13 +0000
commite6f43ddce78d6846af12550ff9193c5c6fe5844b (patch)
tree34a2badff01e4bc942327a56268c62909aa7ccbb /opengl/libs/GLES_trace/src/gltrace_fixup.cpp
parent50d76ddfb00f9d461da895f5d65e8331ae331524 (diff)
downloadframeworks_native-e6f43ddce78d6846af12550ff9193c5c6fe5844b.zip
frameworks_native-e6f43ddce78d6846af12550ff9193c5c6fe5844b.tar.gz
frameworks_native-e6f43ddce78d6846af12550ff9193c5c6fe5844b.tar.bz2
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
Diffstat (limited to 'opengl/libs/GLES_trace/src/gltrace_fixup.cpp')
-rw-r--r--opengl/libs/GLES_trace/src/gltrace_fixup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/opengl/libs/GLES_trace/src/gltrace_fixup.cpp b/opengl/libs/GLES_trace/src/gltrace_fixup.cpp
index 5a439e3..5220aa4 100644
--- a/opengl/libs/GLES_trace/src/gltrace_fixup.cpp
+++ b/opengl/libs/GLES_trace/src/gltrace_fixup.cpp
@@ -51,7 +51,7 @@ unsigned getBytesPerTexel(const GLenum format, const GLenum type) {
case GL_UNSIGNED_BYTE:
break;
default:
- LOGE("GetBytesPerPixel: unknown type %x", type);
+ ALOGE("GetBytesPerPixel: unknown type %x", type);
}
switch (format) {
@@ -66,7 +66,7 @@ unsigned getBytesPerTexel(const GLenum format, const GLenum type) {
case 0x80E1: // GL_BGRA_EXT
return 4;
default:
- LOGE("GetBytesPerPixel: unknown format %x", format);
+ ALOGE("GetBytesPerPixel: unknown format %x", format);
}
return 1; // in doubt...
@@ -139,7 +139,7 @@ void fixup_glTexImage2D(GLMessage *glmsg) {
if (data != NULL) {
arg_data->add_rawbytes(data, bytesPerTexel * width * height);
} else {
- LOGE("fixup_glTexImage2D: image data is NULL.\n");
+ ALOGE("fixup_glTexImage2D: image data is NULL.\n");
arg_data->set_type(GLMessage::DataType::VOID);
// FIXME:
// This will create the texture, but it will be uninitialized.