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:
commit
0bbd95b9be
@ -209,6 +209,8 @@ void GLTraceContext::traceGLMessage(GLMessage *msg) {
|
|||||||
|
|
||||||
GLMessage_Function func = msg->function();
|
GLMessage_Function func = msg->function();
|
||||||
if (func == GLMessage::eglSwapBuffers
|
if (func == GLMessage::eglSwapBuffers
|
||||||
|
|| func == GLMessage::eglCreateContext
|
||||||
|
|| func == GLMessage::eglMakeCurrent
|
||||||
|| func == GLMessage::glDrawArrays
|
|| func == GLMessage::glDrawArrays
|
||||||
|| func == GLMessage::glDrawElements) {
|
|| func == GLMessage::glDrawElements) {
|
||||||
mBufferedOutputStream->flush();
|
mBufferedOutputStream->flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user