summaryrefslogtreecommitdiffstats
path: root/opengl/libs/glesv2dbg.h
diff options
context:
space:
mode:
authorDavid Li <davidxli@google.com>2011-03-10 19:07:42 -0800
committerDavid Li <davidxli@google.com>2011-03-11 11:09:09 -0800
commit940c3f8b3605a2ea8c4bdd4607eff67db2e00cfc (patch)
tree84e0ba9b4497eff052cd10c9239a7cd7e9adcf47 /opengl/libs/glesv2dbg.h
parent08758fad846ed01045246bb0b87e038fc5d90793 (diff)
downloadframeworks_base-940c3f8b3605a2ea8c4bdd4607eff67db2e00cfc.zip
frameworks_base-940c3f8b3605a2ea8c4bdd4607eff67db2e00cfc.tar.gz
frameworks_base-940c3f8b3605a2ea8c4bdd4607eff67db2e00cfc.tar.bz2
GLES2Debugger: Make command exchange async to improve performance.
In message loop, use select to check for available commands from client, rather than always expecting commands in eglSwapBuffers. Change-Id: Ifc34dd77c2528c8b9c71f594e3eda4f93400cd2b Signed-off-by: David Li <davidxli@google.com>
Diffstat (limited to 'opengl/libs/glesv2dbg.h')
-rw-r--r--opengl/libs/glesv2dbg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/glesv2dbg.h b/opengl/libs/glesv2dbg.h
index b988eb7..8029dce 100644
--- a/opengl/libs/glesv2dbg.h
+++ b/opengl/libs/glesv2dbg.h
@@ -24,7 +24,7 @@ namespace android
DbgContext * CreateDbgContext(const unsigned version, const gl_hooks_t * const hooks);
void DestroyDbgContext(DbgContext * const dbg);
- void StartDebugServer(); // create and bind socket if haven't already
+ void StartDebugServer(unsigned short port); // create and bind socket if haven't already
void StopDebugServer(); // close socket if open
}; // namespace android