diff options
author | Jason Sams <rjsams@android.com> | 2009-11-24 12:26:35 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-11-24 12:26:35 -0800 |
commit | 9dab667e03632181e487a04a8a170b3fa0bd5037 (patch) | |
tree | 801dac7a03b27058d8247f9d8034df252c897f16 /libs/rs/rsContext.cpp | |
parent | 99f7b56fbea7e3e112fd0b570818b42a8ebd4ef5 (diff) | |
download | frameworks_base-9dab667e03632181e487a04a8a170b3fa0bd5037.zip frameworks_base-9dab667e03632181e487a04a8a170b3fa0bd5037.tar.gz frameworks_base-9dab667e03632181e487a04a8a170b3fa0bd5037.tar.bz2 |
Force a crash under conditions where white square bug in all apps is likely to occur.
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r-- | libs/rs/rsContext.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 08ed725..52074ca 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -726,6 +726,24 @@ void Context::deinitToClient() mIO.mToClient.shutdown(); } +void Context::dumpDebug() const +{ + LOGE("RS Context debug %p", this); + LOGE("RS Context debug"); + + LOGE(" EGL ver %i %i", mEGL.mMajorVersion, mEGL.mMinorVersion); + LOGE(" EGL context %p surface %p, w=%i h=%i Display=%p", mEGL.mContext, + mEGL.mSurface, mEGL.mWidth, mEGL.mHeight, mEGL.mDisplay); + LOGE(" GL vendor: %s", mGL.mVendor); + LOGE(" GL renderer: %s", mGL.mRenderer); + LOGE(" GL Version: %s", mGL.mVersion); + LOGE(" GL Extensions: %s", mGL.mExtensions); + LOGE(" GL int Versions %i %i", mGL.mMajorVersion, mGL.mMinorVersion); + LOGE(" RS width %i, height %i", mWidth, mHeight); + LOGE(" RS running %i, exit %i, useDepth %i, paused %i", mRunning, mExit, mUseDepth, mPaused); + LOGE(" RS pThreadID %li, nativeThreadID %i", mThreadId, mNativeThreadId); + +} /////////////////////////////////////////////////////////////////////////////////////////// // |