mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
renderer-view: Add view transform getter
This will later be used by the nested backend to emulate per CRTC rendering. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
d38c4c1f2d
commit
8a29c51b73
@ -51,6 +51,12 @@ meta_renderer_view_get_logical_monitor (MetaRendererView *view)
|
||||
return view->logical_monitor;
|
||||
}
|
||||
|
||||
MetaMonitorTransform
|
||||
meta_renderer_view_get_transform (MetaRendererView *view)
|
||||
{
|
||||
return view->transform;
|
||||
}
|
||||
|
||||
static void
|
||||
meta_renderer_view_get_offscreen_transformation_matrix (ClutterStageView *view,
|
||||
CoglMatrix *matrix)
|
||||
|
@ -28,4 +28,6 @@ G_DECLARE_FINAL_TYPE (MetaRendererView, meta_renderer_view,
|
||||
|
||||
MetaLogicalMonitor *meta_renderer_view_get_logical_monitor (MetaRendererView *view);
|
||||
|
||||
MetaMonitorTransform meta_renderer_view_get_transform (MetaRendererView *view);
|
||||
|
||||
#endif /* META_RENDERER_VIEW_H */
|
||||
|
Loading…
Reference in New Issue
Block a user