]> git.tdb.fi Git - gldbg.git/blobdiff - flavors/gl/source/inspector.h
Query implementation limits on process startup
[gldbg.git] / flavors / gl / source / inspector.h
index 91e2a46e817911dc78518d8e508ed820e388c3b6..3088a75d39590e0aa39e68db76b54a087baa4f5e 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of gldbg
-Copyright © 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
 #ifndef INSPECTOR_H_
 #define INSPECTOR_H_
 
@@ -14,16 +7,28 @@ Distributed under the GPL
 class Inspector: public RegisteredTool<Inspector>
 {
 private:
+       GlDbg &gldbg;
        GlState state;
+       GlDecoder *decoder;
+       int query_state;
 
 public:
        Inspector(GlDbg &);
 
        virtual void decode(const char *, unsigned);
+       virtual void process_started();
+       virtual void process_stopped(int);
+
 private:
+       static void gldBreak(void *, unsigned short, unsigned char);
+
+       void print_indented(const std::string &, unsigned);
+
        void cmd_state(const std::string &);
        void cmd_texture(const std::string &);
        void cmd_buffer(const std::string &);
+       void cmd_shader(const std::string &);
+       void cmd_program(const std::string &);
 };
 
 #endif