st/mesa: add support for GL_EXT_window_rectangles
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 11 Jun 2016 20:52:17 +0000 (16:52 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 18 Jun 2016 17:38:30 +0000 (13:38 -0400)
commitd1bdc1238a39469e6760758876e8832019795a54
tree2df6f5e0242f36cff0168f8ac1b85b071672ee7d
parent07fcb06fe0220a51ad20b6b8a70512071999182c
st/mesa: add support for GL_EXT_window_rectangles

Make sure to pass the requisite information in draws, blits, and clears
that work on the context's draw buffer.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/Makefile.sources
src/mesa/state_tracker/st_atom.c
src/mesa/state_tracker/st_atom.h
src/mesa/state_tracker/st_atom_scissor.c
src/mesa/state_tracker/st_cb_blit.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_scissor.c [new file with mode: 0644]
src/mesa/state_tracker/st_scissor.h [new file with mode: 0644]