kmacapture: atomic modesetting support
kmscapture: cleanups
kmscapture: cleanups & signedness fixes
kmscapture: rename
kmscapture: use enum class
kmscube: remove unused field
kmscube: fix wrong uses of class Framebuffer
kmscapture: Clang doesn't like variable len arrays, use vector
Videomode is a struct, not class, so declare it as one
kmscube: check errors
depend on python 3.x, not 3.4
kmscube: improve the x11 mainloop
kmscube: hacking
kmscube: fix resource leaks & freeing
kmscube: quick hack for fullscreen
kmscube: wayland
add -Wextra & fix warnings
kmscube: split into parts
kmscube: support X
kmscube: disable plane
atomicreq: add commit_sync()
kmscube: check for free bufs
kmscube: support null egl
kmscube: big restructure
kmscube: separate swap_buffers
add ExtFramebuffer ctr for fds
card: add drop_master
fix a few cppcheck warnings
kmscube: clean up esUtil
fbtestpat: use extcpuframebuffer
Add ExtCPUFramebuffer
clean up code formatting
hackfix py compilation on 64 bit pc
README: update about env variables
Add LTO option
libkmstest: remove dependency to libdrm
py: add transparency key and alpha tests
Add RGB::rgb888()
AtomicReq: add sync commit
Use globbing to add .py test files
tests: kmscapture: simple v4l2 capture test tool
Simple tool on top of libkms to display video from attached V4L cameras.
w/o parameter the kmscapture will try to use all cameras. With -s/--single
cmd line parameter it can be forced to open only /dev/video0.
The camera resolution is chosen based on the screen resolution, number of
cameras and the supported resolutions by the camera itself.
By default the buffer is provided by DRM. This can be changed with the
--buffer-type=v4l, so the buffer is provided by the V4L layer.
Simple tool on top of libkms to display video from attached V4L cameras.
w/o parameter the kmscapture will try to use all cameras. With -s/--single
cmd line parameter it can be forced to open only /dev/video0.
The camera resolution is chosen based on the screen resolution, number of
cameras and the supported resolutions by the camera itself.
By default the buffer is provided by DRM. This can be changed with the
--buffer-type=v4l, so the buffer is provided by the V4L layer.
dumbframebuffer: fix throw linefeed in in prime_fd
add public PixelFormatInfo
Add IMappedFramebuffer and remove MappedBuffer
kmsview: scale down to fit into screen
kmsview: support multiple planes
kmsview: show multiple frames
libkmstest: color & draw_rect
py improvements
crtc: add disable_plane()
fbtestpat: fix stride
add ob::set_prop_value()
add *.patch to gitignore
kmscube: fix atomic FB_ID set for crtc
db: fix atomic FB_ID set for crtc
add fbtestpat
add MappedBuffer & co
Add definition to DRM_CLIENT_CAP_ATOMIC undef case
This patch adds a missing DRM_MODE_ATOMIC_NONBLOCK
definiton for cases were the kernel supports atomic
modesetting but the libdrm version used does not.
Without this patch a "'DRM_MODE_ATOMIC_NONBLOCK' was
not declared in this scope" error is seen when
trying compile the library
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
This patch adds a missing DRM_MODE_ATOMIC_NONBLOCK
definiton for cases were the kernel supports atomic
modesetting but the libdrm version used does not.
Without this patch a "'DRM_MODE_ATOMIC_NONBLOCK' was
not declared in this scope" error is seen when
trying compile the library
Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>
testpat: show video mode Hz
libkms: fix Connector::get_default_mode when no modes
db: use the configured mode, not default
testpat: support interlace
libkms: add 'ilace' param for Connector::get_mode()
DumbFB: fix dumb buffer alloc for omap NV12
Dividing the bitspp with xsub works better than dividing the width, as
otherwise the buffer stride will get aligned easily quite a bit. This is
somewhat OMAP specific fix/work-around, but then, it's not clear how
NV12 buffer sizes should be calculated anyway.
Dividing the bitspp with xsub works better than dividing the width, as
otherwise the buffer stride will get aligned easily quite a bit. This is
somewhat OMAP specific fix/work-around, but then, it's not clear how
NV12 buffer sizes should be calculated anyway.
README: add notes about test tools
remove lua bindings
README: add LIBKMS_ENABLE_KMSCUBE
remove the old cmdoptions.h
kmsprint: use the new option parser
testpat: big rewrite
libkmstest: add Option & OptionSet
DumbFB: don't unmap if not mapped
Merge branch 'kmscube'
Add kmscube
kmstest: remove unused color_convert
fix pykms
Card: support opening specific drm device
Fb: collect fbs and destroy them in card's destructor
Connector: prettier connector names
Connector: add get_mode(xres, yres, refresh)
Videomode cleanup
libkmstest: disable draw perf prints
libkmstest: add EXIT()
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