libkmstest: add FAIL()
dumbfb: move prime_fd() and fix its return type
dumbfb: lazy mmap
connector: consider UNKNOWNCONNECTION as connected
libkms++: dumbframebuffer: Get file descriptor for the FB
v4l linux needs file descriptor instead of handle.
v4l linux needs file descriptor instead of handle.
card: fix has_atomic if libdrm does not have atomic support
If libdrm was missing DRM_CLIENT_CAP_ATOMIC, but the driver still
supported atomic modesetting, m_has_atomic was set to true. The end
result was that test apps thought they can use atomic modesetting, but
it wasn't functional in the libkmsxx.
If libdrm was missing DRM_CLIENT_CAP_ATOMIC, but the driver still
supported atomic modesetting, m_has_atomic was set to true. The end
result was that test apps thought they can use atomic modesetting, but
it wasn't functional in the libkmsxx.
db: print slowest frame time
AtomicReq: use nonblocking commit
pixelformat: add undefined
dumbfb: improve exception texts
remove print_short
card: use object vectors
card: use vectors with get_xxxs() methods
card: collect obs to vectors
card: add get_plane()
card: add get_crtcs()
Add AR24 & AB24 formats
add missing <stdexcept> includes
db: disable plane support for now
ExtFramebuffer: add alternative constructor
add Card::get_connector(id)
dumbfb: add offset
dumbfb: add num_planes
dumbfb: expose handle
pykms: add iact.py
pykms: use -builtin
pykms: add swig vectors for basic libkms types
README: add env variables
Add tests/kmsprint
tests/testpat: Add -m flag
Add simple command line option parser and a tester for it
libkms++/property: Add const std::string to_str(uint64_t val) const
libkms++/drmobject: Add const std::map<uint32_t, uint64_t>& get_prop_map() const
libkms++/plane: Add methods for getting details of the DRM object
libkms++/encoder: Add methods for getting details of the DRM object
libkms++/crtc: Add methods for getting details of the DRM object
libkms++/connector: Add methods for getting details of the DRM object
8 years agolibkms++/pixelformats.h: Add static inline std::string PixelFormatToFourCC(PixelFormat f)
libkms++/pixelformats.h: Add static inline std::string PixelFormatToFourCC(PixelFormat f)
db: use a plane
db: refactor
add CMY and WB to test pattern
db: print fps
add kmsview
libkms: Add Plane::supports_format
TODO: remove YUV bug
testpat: add NV12/NV21 support
testpat: rewrite the pixel drawing
testpat: cleanup and fix drawing yuv pixels
Add support for YVYU and VYUY
Fix exception string.
libkmstest: cleanup colors and add xbgr8888 support
Add XBGR8888 format
don't enable lua by default
test: FAIL_IF & ASSERT cleanup
TODO: cleanup done items
DumbFB: clean up format_info code
use PixelFormat all around
add PixelFormat support to DumbFramebuffer
add PixelFormat
use strings instead of char*
py: add db test
db: use PageFlipHandler
add PageFlipHandler
db: cleanup atomic req use
atomicreq: add a shortcut
card: use string for get_prop()
cleanup connector strings
Connector: store current encoder instead of crtc
Also fixes a crash when there is no current encoder
Also fixes a crash when there is no current encoder
save & restore mode
use friend class and hide methods
Add DrmObject::set_id()
libkmstest: cleanup headers
libkmstest: move color bar code to libkmstest
libkmstest: add FAIL_IF()
Add ExtFramebuffer
Add ExtFramebuffer for cases where the buffer have been allocated
externally.
Add ExtFramebuffer for cases where the buffer have been allocated
externally.
Add DumbFramebuffer
Move the current Framebuffer to DumbFramebuffer, and make a simple
Framebuffer as its super class.
Move the current Framebuffer to DumbFramebuffer, and make a simple
Framebuffer as its super class.
move test.h to libkmstest
move test utils to libkmstest library
fb: remove unneeded #include
Allow disabling universal planes with LIBKMSXX_DISABLE_UNIVERSAL_PLANES
add README
add options to turn off py/lua build
Make Encoder:get_crtc() return 0 if no crtc
Allow disabling atomic modeset with LIBKMSXX_DISABLE_ATOMIC
Add Crtc::page_flip()
cmake: add (commented out) lines for static libc
Relax cmake minumum version to 2.8 from 3.0. Seems to work fine.
If no universal planes, plane_type() returns always PlaneType::Overlay.
Add has_has_universal_planes().
Merge branch 'master' of git://github.com/jsarha/kmsxx
Add std::string support to swig for lua and python.
Add Connector::get_mode(const std::string &mode), remove const char * variant
There is no need to convert exception strings to .c_str().
Add rest of missing Card exceptions.
TODO additions
Proper exception strings to Card::Card()
Proper exception string to DrmObject::get_prop_value()
Make Connector::connected() const
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Add get_mode(const char *mode) to Connector class.
Add Card::get_connected_pipelines()