0469dd6d55
This patch provides a framework for tracing GLES 1.0 and 2.0 functions. It is missing a lot of features, but here are the things it accomplishes: - Stop building the glesv2dbg library, and build the glestrace library instead. - Replace the hooks for glesv2dbg with the ones for glestrace. - Add the basics for the trace library. Currently, this traces all GL functions, but not all required data is sent for all the functions. As a result, it will not be possible to reconstruct the entire GL state on the host side. The files gltrace.pb.* and gltrace_api.* are both generated using the tools/genapi.py script. Change-Id: Id60a468f7278657f008bc6ea1df01f9bdfecfdd3
15 lines
745 B
Plaintext
15 lines
745 B
Plaintext
TODO:
|
|
- Context - Currently, we don't do anything regarding the contexts that are created.
|
|
Need to maintain more state regarding contexts, and figure out what happens in the
|
|
presence of multiple contexts.
|
|
|
|
- Transport: Each GLMessage is sent via a socket as soon as the message is received.
|
|
i.e., there is no buffering of messages. Buffering should improve performance.
|
|
|
|
- Initialization: On first connection, send some basic information that includes:
|
|
1. version of the trace library
|
|
2. implementation dependent GL state variables such as # of vertex arrays etc.
|
|
|
|
- eglSwapBuffers: The images are lzf compressed, but there is no mode that transfers
|
|
only the differences from the previous images.
|