replicant-frameworks_native/opengl/libs/GLES_trace/src
Siva Velusamy 50129e4ae2 gltrace: Send vertex attribute data after glDraw() call.
This patch enables tracing of vertex attribute data that
is specified using glVertexAttribPointer().

At the time the glVertexAttribPointer() call is made, we
only receive a pointer in client space, without any indication
of the size (# of attributes). This size is known only at
the time of the glDraw() call.

This patch generates a new message glVertexAttribPointerData()
when a draw call is issued that contains the vertex attribute
data.

A glDrawArrays() call directly gives the size of data to copy.
A glDrawElements() call gives the indices to copy. In such a
case, all data between the min & max indices drawn are copied
and sent to the host. To support glDrawElements() with an
element array buffer, this patch also adds state that maintains
a copy of all element array buffers.

Change-Id: I434da794a0aa9ada8e7474e219ffb1d79b183ecf
2012-03-01 17:41:53 -08:00
..
gltrace_api.cpp gltrace: Make code 64-bit safe. 2012-02-27 12:08:47 -08:00
gltrace_api.h update GLES headers and add support for corresponding new extensions. 2012-01-28 20:41:35 -08:00
gltrace_context.cpp gltrace: Send vertex attribute data after glDraw() call. 2012-03-01 17:41:53 -08:00
gltrace_context.h gltrace: Send vertex attribute data after glDraw() call. 2012-03-01 17:41:53 -08:00
gltrace_egl.cpp gltrace: add user settings to control data captured. 2012-01-04 12:50:13 -08:00
gltrace_egl.h gltrace: transport buffering and context management 2012-01-04 11:38:37 -08:00
gltrace_eglapi.cpp gltrace: Use Unix Domain Socket rather than INET Socket 2012-01-27 17:24:18 -08:00
gltrace_fixup.cpp gltrace: Send vertex attribute data after glDraw() call. 2012-03-01 17:41:53 -08:00
gltrace_fixup.h gltrace: Make code 64-bit safe. 2012-02-27 12:08:47 -08:00
gltrace_hooks.cpp
gltrace_hooks.h
gltrace_transport.cpp gltrace: Use Unix Domain Socket rather than INET Socket 2012-01-27 17:24:18 -08:00
gltrace_transport.h gltrace: Use Unix Domain Socket rather than INET Socket 2012-01-27 17:24:18 -08:00
gltrace.pb.cpp gltrace: Send vertex attribute data after glDraw() call. 2012-03-01 17:41:53 -08:00
gltrace.pb.h gltrace: Send vertex attribute data after glDraw() call. 2012-03-01 17:41:53 -08:00