summaryrefslogtreecommitdiff
path: root/kms++/src/extframebuffer.cpp
AgeCommit message (Collapse)Author
2019-11-18fbs: check params and ensure drmModeAddFB2 is passed correctly sized arraysTomi Valkeinen
Check that parameter vectors are of the same size, and match the number of planes. Extend the vectors to 4, as drmModeAddFB2() expects to get arrays of 4 elements. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reported-by: Matt Hoosier <matt.hoosier@garmin.com>
2019-11-06Split dmabuf support from ExtFramebuffer into DmabufFramebufferTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2018-09-28Add include of <cerrno> to various filesAndrew F. Davis
This is needed for building with some version of some compilers where it is not automatically included with the existing include set (clang). Signed-off-by: Andrew F. Davis <afd@ti.com>
2017-10-03Rework framebuffer classesTomi Valkeinen
Drop (I)MappedFramebuffer, as it doesn't really provide any value, and have most of the methods be present in IFramebuffer with default exception throwing implementation. This gives us simpler way to use the framebuffers, as almost always we can just use a pointer to IFramebuffer.
2017-10-03add ExtFramebuffer::prime_fdTomi Valkeinen
2017-02-10ExtFb: pass params in vectorsTomi Valkeinen
2017-02-10improve ExtFbTomi Valkeinen
Inherit MappedFramebuffer and add map()
2017-02-10ExtFb: remove legacy constructorTomi Valkeinen
2016-06-11kms++: organize into subdirsTomi Valkeinen