[cairo] Question regarding cairo-trace for map-to-image and unmap-image

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 27 04:29:20 PST 2012


On Tue, 27 Nov 2012 11:42:53 +0000 (GMT), Dongyeon Kim <dy5.kim at samsung.com> wrote:
> Hello,
> 
> I have a working cairo sample that uses map-to-image to map gl surface to image surface, and unmaps afterwards.
> I have created a trace file for the sample using cairo-trace, but when I try to run the trace file using cairo-perf-trace, I get the following error.
> 
> [  0]      egl   cairo_gl_map_to_image.5695 Error during replay, line 30: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
> [ # ]    image: pixman 0.26.0
> [  0]    image   cairo_gl_map_to_image.5695 Error during replay, line 30: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
> [ # ]  image16: pixman 0.26.0
> [  0]  image16   cairo_gl_map_to_image.5695 Error during replay, line 30: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
> 
> It seems that when trying to run unmap-image from script it is not getting the right parameters.

Whoops, the operand emission for map-to-image and unmap-image was plain
broken. Please try again with:

commit 376d39121c0d4eba8f0a22be71f782ce18e50923
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Nov 27 12:25:56 2012 +0000

    trace: Fix operand emission for map-to-image and unmap-image
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list