GL blitter: create texture for window's mask

git-svn-id: svn://kolibrios.org@4517 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2014-01-23 11:07:33 +00:00
parent 3e68853ae6
commit c7be7bd71e
4 changed files with 97 additions and 9 deletions

View File

@@ -23,9 +23,11 @@ struct render
EGLint width, height;
EGLint scr_width, scr_height;
GLuint framebuffer;
EGLImageKHR front, back, screen;
EGLImageKHR screen, front, back, mask;
GLuint tx_buffers[2];
GLuint tx_screen;
GLuint tx_mask;
void *mask_buffer;
int back_buffer;
GLuint blit_prog;
GLint sampler;