Centralize buffer-related ressources in surface object and avoid dynamic indexes

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-25 10:44:44 +02:00
parent 27c8a97901
commit f872e345d0
11 changed files with 115 additions and 119 deletions
-3
View File
@@ -43,9 +43,6 @@ struct object_buffer {
void *data;
unsigned int size;
void *map;
unsigned int map_size;
};
VAStatus SunxiCedrusCreateBuffer(VADriverContextP context,