diff options
author | Chia-I Wu <[email protected]> | 2011-08-04 11:49:42 +0900 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-08-21 02:01:50 +0800 |
commit | b71a7a2f37ec3693b8f3a7f1acb0c59ed076f104 (patch) | |
tree | 2e9260d51249517d1814ea3393686617e79d305c /src/gallium/state_trackers/egl/android | |
parent | 5ce2dc692f9ffe801d96f45e5be972d2fe1855f8 (diff) |
st/egl: improve error logging
This helps diagnose problems in EGL initialization.
Diffstat (limited to 'src/gallium/state_trackers/egl/android')
-rw-r--r-- | src/gallium/state_trackers/egl/android/native_android.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/android/native_android.cpp b/src/gallium/state_trackers/egl/android/native_android.cpp index 2d7ae8b58bd..9d2d51fd6d1 100644 --- a/src/gallium/state_trackers/egl/android/native_android.cpp +++ b/src/gallium/state_trackers/egl/android/native_android.cpp @@ -24,7 +24,7 @@ * DEALINGS IN THE SOFTWARE. */ -#define LOG_TAG "MESA-EGL" +#define LOG_TAG "EGL-GALLIUM" #include <cutils/log.h> #include <cutils/properties.h> #include <hardware/gralloc.h> @@ -599,7 +599,8 @@ android_display_init_drm(struct native_display *ndpy) return TRUE; } else { - LOGE("failed to create DRM screen"); + LOGW("failed to create DRM screen"); + LOGW("will fall back to other EGL drivers if any"); return FALSE; } } |