summaryrefslogtreecommitdiff
path: root/opengl/libs/glesv2dbg.h
diff options
context:
space:
mode:
author David Li <davidxli@google.com> 2011-03-28 10:39:28 -0700
committer David Li <davidxli@google.com> 2011-04-12 15:56:10 -0700
commitce30eb8a90a1ac458e15e773057a8a73b0918ae6 (patch)
tree4d05f2d2d27641e264d59249355597d4c2a4d3a7 /opengl/libs/glesv2dbg.h
parent2e3ede527d8a972795a49ffc7eef4ead391107ec (diff)
GLES2Dbg: change GLES2_dbg to shared library
Change-Id: I493e9bff431bd939f4e80e1e9c614dd557307fa2 Signed-off-by: David Li <davidxli@google.com>
Diffstat (limited to 'opengl/libs/glesv2dbg.h')
-rw-r--r--opengl/libs/glesv2dbg.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/opengl/libs/glesv2dbg.h b/opengl/libs/glesv2dbg.h
index 8029dcedf933..2d3a0f60bcd8 100644
--- a/opengl/libs/glesv2dbg.h
+++ b/opengl/libs/glesv2dbg.h
@@ -13,20 +13,24 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-
+
#ifndef _GLESV2_DBG_H_
#define _GLESV2_DBG_H_
+#include <pthread.h>
+
namespace android
{
- struct DbgContext;
-
- DbgContext * CreateDbgContext(const unsigned version, const gl_hooks_t * const hooks);
- void DestroyDbgContext(DbgContext * const dbg);
-
- void StartDebugServer(unsigned short port); // create and bind socket if haven't already
- void StopDebugServer(); // close socket if open
-
+struct DbgContext;
+
+DbgContext * CreateDbgContext(const pthread_key_t EGLThreadLocalStorageKey,
+ const unsigned version, const gl_hooks_t * const hooks);
+
+void DestroyDbgContext(DbgContext * const dbg);
+
+void StartDebugServer(unsigned short port); // create and bind socket if haven't already
+void StopDebugServer(); // close socket if open
+
}; // namespace android
#endif // #ifndef _GLESV2_DBG_H_