Bug 107440

Summary: 1.15.12 Can't copy (paint) recording surface to another recording surface
Product: cairo Reporter: mario.huettel
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Simple program to reproduce the bug

Description mario.huettel 2018-08-01 10:09:39 UTC
Created attachment 140910 [details]
Simple program to reproduce the bug

Hello,

I've attached a program that draws some lines to a recording surface. It then computes the size of the recording surface and prints it. This works.

After that, the program sets the surface as source and paints it onto another recording surface. This seems not to work. The computed size of the second surface is -1.

The ouput of the program is:
Size of surface: 4.000000 102.000000  at 0.000000  0.000000
Size of surface: -1.000000 -1.000000  at -8388608.000000  -8388608.000000

But it should be 2 times the same output:

Size of surface: 4.000000 102.000000  at 0.000000  0.000000
Size of surface: 4.000000 102.000000  at 0.000000  0.000000


Thank you very much.
Comment 1 GitLab Migration User 2018-08-25 13:36:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/91.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.