OSDN Git Service

gltrace: Make framebuffer contents an optional message.
authorSiva Velusamy <vsiva@google.com>
Mon, 5 Dec 2011 19:12:31 +0000 (11:12 -0800)
committerSiva Velusamy <vsiva@google.com>
Mon, 5 Dec 2011 22:13:16 +0000 (14:13 -0800)
commita8cfde8897c840ce6a491a054ade806b41df2a70
treefab25a32126e425c3140828152d659889406dbca
parent09ee98f94bbbfbb4a1e4f78565564ba4911fccd0
gltrace: Make framebuffer contents an optional message.

Currently, the contents of the FrameBuffer are sent by encoding
them as the last argument to the function call. As a result, it is
not possible to know if a message has the framebuffer encoded in it
without looking at the function type.

This patch modifies the protobuf definition to include a separate
optional framebuffer message.

Change-Id: Ief3a6950052d927ca0743e729457435b48c25a92
opengl/libs/GLES_trace/gltrace.proto
opengl/libs/GLES_trace/src/gltrace.pb.cpp
opengl/libs/GLES_trace/src/gltrace.pb.h
opengl/libs/GLES_trace/src/gltrace_fixup.cpp