mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
40 lines
2.0 KiB
C
40 lines
2.0 KiB
C
|
/* gsknglrenderjobprivate.h
|
||
|
*
|
||
|
* Copyright 2020 Christian Hergert <chergert@redhat.com>
|
||
|
*
|
||
|
* 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.1 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 program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||
|
*/
|
||
|
|
||
|
#ifndef __GSK_NGL_RENDER_JOB_H__
|
||
|
#define __GSK_NGL_RENDER_JOB_H__
|
||
|
|
||
|
#include "gskngltypesprivate.h"
|
||
|
|
||
|
GskNglRenderJob *gsk_ngl_render_job_new (GskNglDriver *driver,
|
||
|
const graphene_rect_t *viewport,
|
||
|
float scale_factor,
|
||
|
const cairo_region_t *region,
|
||
|
guint framebuffer);
|
||
|
void gsk_ngl_render_job_free (GskNglRenderJob *job);
|
||
|
void gsk_ngl_render_job_render (GskNglRenderJob *job,
|
||
|
GskRenderNode *root);
|
||
|
void gsk_ngl_render_job_render_flipped (GskNglRenderJob *job,
|
||
|
GskRenderNode *root);
|
||
|
void gsk_ngl_render_job_set_debug_fallback (GskNglRenderJob *job,
|
||
|
gboolean debug_fallback);
|
||
|
|
||
|
#endif /* __GSK_NGL_RENDER_JOB_H__ */
|