VIGS: Add framebuffer and temporary texture pool 68/19568/1
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 15 Apr 2014 11:24:31 +0000 (15:24 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Tue, 15 Apr 2014 11:54:48 +0000 (15:54 +0400)
commitb47e44375996667d0dd0b64b3ee0f6fe183ca2c4
tree42f2806bef6b5a5373ad7411a4c742e67b4e2a87
parentc52332476b1351975b3776eaf322e6b9323c277c
VIGS: Add framebuffer and temporary texture pool

In order not to waste host GPU resources we now
have 2 OpenGL object pools - for temporary textures
and for framebuffers. These used to be allocated for
every surface, but now we allocate only one object
per distinct format, i.e. one
object per (width, height, format) tuple

Change-Id: Ie63e571045a2477043e8e08da3a50765523e54fc
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
hw/vigs/Makefile.objs
hw/vigs/vigs_gl_backend.c
hw/vigs/vigs_gl_backend.h
hw/vigs/vigs_gl_pool.c [new file with mode: 0644]
hw/vigs/vigs_gl_pool.h [new file with mode: 0644]