diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-01-07 11:04:46 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-01-07 11:04:46 -0500 |
commit | a614d906eb7d2f52fea2d99757578c294fc898b4 (patch) | |
tree | 304bff2c29dc0e0865b3a81cb9eea8e221a15c6d /WebKit/android/plugins/PluginDebugAndroid.cpp | |
parent | f5cff985b7f6ab5d60f57f56b5ce6abb46322f31 (diff) | |
download | external_webkit-a614d906eb7d2f52fea2d99757578c294fc898b4.zip external_webkit-a614d906eb7d2f52fea2d99757578c294fc898b4.tar.gz external_webkit-a614d906eb7d2f52fea2d99757578c294fc898b4.tar.bz2 |
Add additional debugging for plugins.
Change-Id: Ie4437e0b62a16ee7e9d1b6fc605554ecc161cc6c
Diffstat (limited to 'WebKit/android/plugins/PluginDebugAndroid.cpp')
-rw-r--r-- | WebKit/android/plugins/PluginDebugAndroid.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebKit/android/plugins/PluginDebugAndroid.cpp b/WebKit/android/plugins/PluginDebugAndroid.cpp index 0388d4b..3958714 100644 --- a/WebKit/android/plugins/PluginDebugAndroid.cpp +++ b/WebKit/android/plugins/PluginDebugAndroid.cpp @@ -108,6 +108,10 @@ void anp_logPluginEvent(void* npp, const ANPEvent* evt, int16_t returnVal, int e npp, elapsedTime, evt->data.draw.data.bitmap.format, evt->data.draw.clip.left, evt->data.draw.clip.top, evt->data.draw.clip.right, evt->data.draw.clip.bottom); + } else if (evt->data.draw.model == kOpenGL_ANPDrawingModel) { + anp_logPlugin("%p EVENT::DRAW openGL time=%d dimensions=[%d,%d]", + npp, elapsedTime, evt->data.draw.data.surface.width, + evt->data.draw.data.surface.height); } else { anp_logPlugin("%p EVENT::DRAW unknown drawing model", npp); } |