mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
c29237c75d
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.
12 lines
298 B
C
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
|
|
|