Home
last modified time | relevance | path

Searched refs:GLAPISpec (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLAPISpec.java32 public class GLAPISpec { class
36 private static Map<String, GLAPISpec> sApiSpecs;
42 private GLAPISpec(String glFunction, GLDataTypeSpec returnType, List<GLDataTypeSpec> args) { in GLAPISpec() method in GLAPISpec
60 public static Map<String, GLAPISpec> getSpecs() { in getSpecs()
62 sApiSpecs = parseApiSpecs(GLAPISpec.class.getResourceAsStream(GL_SPECS_FILE)); in getSpecs()
68 private static Map<String, GLAPISpec> parseApiSpecs(InputStream specFile) { in parseApiSpecs()
70 Map<String, GLAPISpec> specs = new HashMap<String, GLAPISpec>(400); in parseApiSpecs()
87 GLAPISpec spec = parseLine(line); in parseApiSpecs()
107 static GLAPISpec parseLine(String line) { in parseLine()
132 return new GLAPISpec(func, new GLDataTypeSpec(retType, null), glArgs); in parseLine()
DGLMessageFormatter.java34 private Map<String, GLAPISpec> mAPISpecs;
37 public GLMessageFormatter(Map<String, GLAPISpec> specs) { in GLMessageFormatter()
42 GLAPISpec apiSpec = mAPISpecs.get(glMessage.getFunction().toString()); in formatGLMessage()
50 private String formatReturnValue(GLAPISpec apiSpec, GLMessage glMessage) { in formatReturnValue()
62 private String formatCall(GLAPISpec apiSpec, GLMessage glMessage) { in formatCall()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/
DGLMessageFormatterTest.java47 Map<String, GLAPISpec> specs = new HashMap<String, GLAPISpec>(API_SPECS.size());
50 GLAPISpec spec = GLAPISpec.parseLine(specString);
DGLAPISpecTest.java38 GLAPISpec spec = GLAPISpec.parseLine(createSpec(returnType, funcName, args)); in testParser()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceFileParserTask.java21 import com.android.ide.eclipse.gltrace.format.GLAPISpec;
47 new GLMessageFormatter(GLAPISpec.getSpecs());