summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2011-04-04 18:03:10 -0700
committerTeng-Hui Zhu <ztenghui@google.com>2011-04-04 18:03:10 -0700
commit7e03c379b83d3947f8927ebc4d6f7ca30e1cc53c (patch)
treee2c66fd7ff1672caf1c2401605878a79afefe0d1
parent9a9dfdf630fff8588f6b9fd75d55d67c4e95507e (diff)
downloadexternal_webkit-7e03c379b83d3947f8927ebc4d6f7ca30e1cc53c.zip
external_webkit-7e03c379b83d3947f8927ebc4d6f7ca30e1cc53c.tar.gz
external_webkit-7e03c379b83d3947f8927ebc4d6f7ca30e1cc53c.tar.bz2
debug message improvement
Change-Id: I1fe64246778fb7b51f8ea1aa23942639199cc38e
-rw-r--r--WebCore/platform/graphics/android/GLUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/GLUtils.cpp b/WebCore/platform/graphics/android/GLUtils.cpp
index 23bf525..19be5c7 100644
--- a/WebCore/platform/graphics/android/GLUtils.cpp
+++ b/WebCore/platform/graphics/android/GLUtils.cpp
@@ -375,8 +375,8 @@ void GLUtils::updateTextureWithBitmap(GLuint texture, int x, int y, SkBitmap& bi
bitmap.unlockPixels();
if (GLUtils::checkGlError("glTexSubImage2D")) {
XLOG("GL ERROR: glTexSubImage2D parameters are : bitmap.width() %d, bitmap.height() %d,"
- " internalformat 0x%x, type 0x%x, bitmap.getPixels() %p",
- bitmap.width(), bitmap.height(), internalformat, type, bitmap.getPixels());
+ " x %d, y %d, internalformat 0x%x, type 0x%x, bitmap.getPixels() %p",
+ bitmap.width(), bitmap.height(), x, y, internalformat, type, bitmap.getPixels());
}
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filter);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter);