am c21fc05a: Merge "gltrace: flush trace buffer on createContext & makeCurrent" into jb-mr1-dev

* commit 'c21fc05af75ee746e29f48b6d231127ee000f7ed':
  gltrace: flush trace buffer on createContext & makeCurrent
This commit is contained in:
Siva Velusamy 2012-08-16 16:29:05 -07:00 committed by Android Git Automerger
commit 0bbd95b9be

View File

@ -209,6 +209,8 @@ void GLTraceContext::traceGLMessage(GLMessage *msg) {
GLMessage_Function func = msg->function();
if (func == GLMessage::eglSwapBuffers
|| func == GLMessage::eglCreateContext
|| func == GLMessage::eglMakeCurrent
|| func == GLMessage::glDrawArrays
|| func == GLMessage::glDrawElements) {
mBufferedOutputStream->flush();