2021-10-07 03:15:25 +00:00
|
|
|
/* gskglrenderjobprivate.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
|
|
|
|
*/
|
|
|
|
|
2023-03-31 19:11:10 +00:00
|
|
|
#pragma once
|
2021-10-07 03:15:25 +00:00
|
|
|
|
|
|
|
#include "gskgltypesprivate.h"
|
|
|
|
|
|
|
|
GskGLRenderJob *gsk_gl_render_job_new (GskGLDriver *driver,
|
|
|
|
const graphene_rect_t *viewport,
|
2023-04-02 02:54:19 +00:00
|
|
|
float scale,
|
2021-10-07 03:15:25 +00:00
|
|
|
const cairo_region_t *region,
|
2022-02-22 07:27:42 +00:00
|
|
|
guint framebuffer,
|
2023-11-14 20:45:47 +00:00
|
|
|
gboolean clear_framebuffer);
|
2021-10-07 03:15:25 +00:00
|
|
|
void gsk_gl_render_job_free (GskGLRenderJob *job);
|
|
|
|
void gsk_gl_render_job_render (GskGLRenderJob *job,
|
|
|
|
GskRenderNode *root);
|
|
|
|
void gsk_gl_render_job_render_flipped (GskGLRenderJob *job,
|
|
|
|
GskRenderNode *root);
|
|
|
|
|