VIGS: Moved context operations and glFinish to batch_start/batch_end
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Fri, 5 Jul 2013 07:42:23 +0000 (11:42 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Fri, 5 Jul 2013 07:42:23 +0000 (11:42 +0400)
commita9655479129ddc0bc61b130775709aed657c6354
tree62b655443c579f4a89cd54d26c9d43ccd5a4a0d6
parent2f334e4f26d03aa5a1019eaf6e7a02127d7cde96
VIGS: Moved context operations and glFinish to batch_start/batch_end

It's quite frequent for X server to group several blits
into one batch, so we should call glFinish once for
whole batch instead of for every operation
hw/vigs_backend.h
hw/vigs_gl_backend.c
hw/vigs_server.c
hw/vigs_server.h
hw/vigs_sw_backend.c