mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
b7d948af69
It's very small usually, in default Adwaita the only blurred outset shadow we have is the one for the CSD'd toplevel window.
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
|
|
|
|
#ifndef __GSK_GL_SHADOW_CACHE_H__
|
|
#define __GSK_GL_SHADOW_CACHE_H__
|
|
|
|
#include <glib.h>
|
|
#include "gskgldriverprivate.h"
|
|
#include "gskroundedrect.h"
|
|
|
|
typedef struct
|
|
{
|
|
GArray *textures;
|
|
} GskGLShadowCache;
|
|
|
|
|
|
void gsk_gl_shadow_cache_init (GskGLShadowCache *self);
|
|
void gsk_gl_shadow_cache_free (GskGLShadowCache *self,
|
|
GskGLDriver *gl_driver);
|
|
void gsk_gl_shadow_cache_begin_frame (GskGLShadowCache *self,
|
|
GskGLDriver *gl_driver);
|
|
int gsk_gl_shadow_cache_get_texture_id (GskGLShadowCache *self,
|
|
GskGLDriver *gl_driver,
|
|
const GskRoundedRect *shadow_rect,
|
|
float blur_radius);
|
|
void gsk_gl_shadow_cache_commit (GskGLShadowCache *self,
|
|
const GskRoundedRect *shadow_rect,
|
|
float blur_radius,
|
|
int texture_id);
|
|
|
|
|
|
#endif
|