gtk/gsk/gpu/gskgpumipmapopprivate.h
Benjamin Otte c29237c75d gpu: Add support for texture-scale nodes
This adds GSK_GPU_IMAGE_CAN_MIPMAP and GSK_GPU_IMAGE_MIPMAP flags and
support to ensure_image() and image creation functions for creating a
mipmapped image.

Mipmaps are created using the new mipmap op that uses
glGenerateMipmap() on GL and equivalent blit ops on Vulkan.

This is then used to ensure the image is mipmapped when rendering it
with a texture-scale node.
2024-01-07 07:22:51 +01:00

12 lines
298 B
C

#pragma once
#include "gskgpuopprivate.h"
G_BEGIN_DECLS
void gsk_gpu_mipmap_op (GskGpuFrame *frame,
GskGpuImage *image);
G_END_DECLS