summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2016-04-22 11:08:45 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2016-05-31 15:31:48 +0200
commit7be235c1247a8cf51f55938ef05cb41708924b8f (patch)
tree345df874c292fb5cfcb00c53d95520b0e9f60142 /NEWS
parent303b380d728bc870c399ba46525854d323f894e7 (diff)
lib: Actually use provided size when creating BO
When reworking igt_create_fb_with_bo_size to use igt_create_bo_with_dimensions, we mistakenly stopped acknowledging non-zero size parameters. To fix this, we move the core of the code to create_bo_for_fb and teach it to use the GEM APIs when a size is passed. igt_create_bo_with_dimensions ends up calling just create_bo_for_fb with a zero size because now the later is more generic than the former. Also, create_bo_for_fb now returns the handle of the BO that was created, as there's no point anymore in having it be a parameter passed by reference. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions