After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719900 - ClutterStageCogl: Clip in the right coordinate system
ClutterStageCogl: Clip in the right coordinate system
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-12-05 13:00 UTC by Owen Taylor
Modified: 2013-12-05 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ClutterStageCogl: Clip in the right coordinate system (1.73 KB, patch)
2013-12-05 13:00 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2013-12-05 13:00:21 UTC
Our clip coordinates are relative to the stage, not model-view
transformed. cogl_framebuffer_push_rectangle_clip() was accidentally
used instead of cogl_framebuffer_push_scissor_clip() when porting
to the framebuffer clip API.
Comment 1 Owen Taylor 2013-12-05 13:00:23 UTC
Created attachment 263585 [details] [review]
ClutterStageCogl: Clip in the right coordinate system
Comment 2 Emmanuele Bassi (:ebassi) 2013-12-05 13:29:49 UTC
Review of attachment 263585 [details] [review]:

damn, copy and paste thinko.

nice catch.
Comment 3 Owen Taylor 2013-12-05 13:38:43 UTC
Attachment 263585 [details] pushed as 97dcb10 - ClutterStageCogl: Clip in the right coordinate system