GLES2Dbg: code gen for frame

Also loading *.gles2dbg dump files.

Change-Id: I87e5ae6fda22b3cad920d2a06671efef5adb2e8a
Signed-off-by: David Li <davidxli@google.com>
This commit is contained in:
David Li
2011-04-11 11:11:32 -07:00
parent 1768bb7806
commit 7ec777341e
16 changed files with 2565 additions and 446 deletions

View File

@@ -67,15 +67,15 @@ public abstract class MessageParser {
String[] GetList()
{
assert args.charAt(0) == '[';
assert args.charAt(0) == '{';
String arg = args;
args = args.substring(args.indexOf(']') + 1);
args = args.substring(args.lastIndexOf('}') + 1);
int comma = args.indexOf(',');
if (comma >= 0)
args = args.substring(comma + 1).trim();
else
args = null;
arg = arg.substring(1, arg.indexOf(']')).trim();
arg = arg.substring(1, arg.lastIndexOf('}')).trim();
return arg.split(",");
}