trace_dump_call_begin("pipe_context", "create_sampler_state");
trace_dump_arg(ptr, pipe);
- trace_dump_arg(ptr, state);
+ trace_dump_arg(sampler_state, state);
result = pipe->create_sampler_state(pipe, state);;
- trace_dump_ret(sampler_state, result);
+ trace_dump_ret(ptr, result);
trace_dump_call_end();
trace_dump_arg(ptr, pipe);
trace_dump_arg(uint, flags);
- trace_dump_arg(ptr, fence);
pipe->flush(pipe, flags, fence);;
+ if(fence)
+ trace_dump_ret(ptr, *fence);
+
trace_dump_call_end();
}
{
struct trace_winsys *tr_ws = trace_winsys(_winsys);
struct pipe_winsys *winsys = tr_ws->winsys;
-
+
trace_dump_call_begin("pipe_winsys", "flush_frontbuffer");
trace_dump_arg(ptr, winsys);
trace_dump_arg(ptr, surface);
+ /* XXX: hide, as there is nothing we can do with this
trace_dump_arg(ptr, context_private);
+ */
winsys->flush_frontbuffer(winsys, surface, context_private);
static struct pipe_buffer *
trace_winsys_user_buffer_create(struct pipe_winsys *_winsys,
- void *ptr,
- unsigned bytes)
+ void *data,
+ unsigned size)
{
struct trace_winsys *tr_ws = trace_winsys(_winsys);
struct pipe_winsys *winsys = tr_ws->winsys;
trace_dump_call_begin("pipe_winsys", "user_buffer_create");
trace_dump_arg(ptr, winsys);
- trace_dump_arg(ptr, ptr);
- trace_dump_arg(uint, bytes);
+ trace_dump_arg_begin("data");
+ trace_dump_bytes(data, size);
+ trace_dump_arg_end();
+ trace_dump_arg(uint, size);
- result = winsys->user_buffer_create(winsys, ptr, bytes);
+ result = winsys->user_buffer_create(winsys, data, size);
trace_dump_ret(ptr, result);