mirror of
https://github.com/brl/mutter.git
synced 2024-12-04 22:00:42 -05:00
1abd930c56
MetaRendererViewNative is a MetaRendererView which contains logic specific to views of the native backend. It will be used by following commits. In the future, per-view logic from MetaRendererNative can be moved to MetaRendererViewNative where it makes more sense to have it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2855>
42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
/*
|
|
* Copyright (C) 2016 Red Hat Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef META_RENDERER_VIEW_H
|
|
#define META_RENDERER_VIEW_H
|
|
|
|
#include "backends/meta-monitor-manager-private.h"
|
|
#include "backends/meta-stage-impl-private.h"
|
|
#include "backends/meta-stage-view-private.h"
|
|
|
|
#define META_TYPE_RENDERER_VIEW (meta_renderer_view_get_type ())
|
|
META_EXPORT_TEST
|
|
G_DECLARE_DERIVABLE_TYPE (MetaRendererView, meta_renderer_view,
|
|
META, RENDERER_VIEW,
|
|
MetaStageView)
|
|
|
|
struct _MetaRendererViewClass
|
|
{
|
|
MetaStageViewClass parent_class;
|
|
};
|
|
|
|
MetaMonitorTransform meta_renderer_view_get_transform (MetaRendererView *view);
|
|
|
|
META_EXPORT_TEST
|
|
MetaCrtc *meta_renderer_view_get_crtc (MetaRendererView *view);
|
|
|
|
#endif /* META_RENDERER_VIEW_H */
|