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:
@@ -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(",");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user