mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 09:00:42 -05:00
28a898a22f
CoglFrameInfo is a frame info container associated with a single onscreen framebuffer. The clutter stage will eventually support drawing a stage frame with multiple onscreen framebuffers, thus needs its own frame info container. This patch introduces a new stage signal 'presented' and a accompaning ClutterFrameInfo and adapts the stage windows and past onscreen frame callbacks users to use the signal and new info container. https://bugzilla.gnome.org/show_bug.cgi?id=768976
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* 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 __CLUTTER_MUTTER_H__
|
|
#define __CLUTTER_MUTTER_H__
|
|
|
|
#define __CLUTTER_H_INSIDE__
|
|
|
|
#include "clutter-backend.h"
|
|
#include "clutter-macros.h"
|
|
#include "clutter-stage-view.h"
|
|
#include "cogl/clutter-stage-cogl.h"
|
|
#include "x11/clutter-stage-x11.h"
|
|
|
|
CLUTTER_AVAILABLE_IN_MUTTER
|
|
void clutter_set_custom_backend_func (ClutterBackend *(* func) (void));
|
|
|
|
CLUTTER_AVAILABLE_IN_MUTTER
|
|
gboolean _clutter_get_sync_to_vblank (void);
|
|
|
|
CLUTTER_AVAILABLE_IN_MUTTER
|
|
int64_t clutter_stage_get_frame_counter (ClutterStage *stage);
|
|
|
|
#undef __CLUTTER_H_INSIDE__
|
|
|
|
#endif /* __CLUTTER_MUTTER_H__ */
|