summaryrefslogtreecommitdiff
path: root/include/sway/desktop/fx_renderer/fx_stencilbuffer.h
blob: 157c0282e3ce0c1d7416551df4722b1dcba64be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef FX_STENCILBUFFER_H
#define FX_STENCILBUFFER_H

#include <GLES2/gl2.h>
#include <stdbool.h>
#include <wlr/render/wlr_texture.h>

struct fx_stencilbuffer {
	GLuint rb;
	int width;
	int height;
};

struct fx_stencilbuffer fx_stencilbuffer_create();

void fx_stencilbuffer_release(struct fx_stencilbuffer *stencil_buffer);

#endif