swayfx/include/sway/desktop/fx_renderer/fx_stencilbuffer.h

19 lines
335 B
C
Raw Normal View History

#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