android/external-libkmsxx.git
5 years agosplit py files
Tomi Valkeinen [Sun, 22 May 2016 20:14:38 +0000 (23:14 +0300)]
split py files

5 years agoupdate readme
Tomi Valkeinen [Sun, 22 May 2016 19:34:13 +0000 (22:34 +0300)]
update readme

5 years agoAutomatically use -flto
Tomi Valkeinen [Sun, 22 May 2016 19:22:37 +0000 (22:22 +0300)]
Automatically use -flto

5 years agoimprove build type
Tomi Valkeinen [Sun, 22 May 2016 18:51:52 +0000 (21:51 +0300)]
improve build type

5 years agoCleanup AtomicReq::commit
Tomi Valkeinen [Sun, 22 May 2016 12:42:14 +0000 (15:42 +0300)]
Cleanup AtomicReq::commit

5 years agoUse pybind11 instead of SWIG
Tomi Valkeinen [Fri, 20 May 2016 19:09:35 +0000 (22:09 +0300)]
Use pybind11 instead of SWIG

5 years agoRemove swig helpers
Tomi Valkeinen [Sun, 22 May 2016 12:36:49 +0000 (15:36 +0300)]
Remove swig helpers

5 years agoAdd Crtc::get_primary_plane
Tomi Valkeinen [Mon, 23 May 2016 06:39:01 +0000 (09:39 +0300)]
Add Crtc::get_primary_plane

5 years agotestpat: Fix undefined function compilation error
Laurent Pinchart [Fri, 20 May 2016 15:46:23 +0000 (18:46 +0300)]
testpat: Fix undefined function compilation error

std::strerror() is defined in the cstring header. Include it directly as
it might not be included indirectly with all compiler versions.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
5 years agoadd kmsmodeview.py
Tomi Valkeinen [Wed, 18 May 2016 18:48:49 +0000 (21:48 +0300)]
add kmsmodeview.py

5 years agofb: fix a few wrong types
Tomi Valkeinen [Wed, 18 May 2016 18:13:18 +0000 (21:13 +0300)]
fb: fix a few wrong types

5 years agotestpat: add dmt & cea parameters
Tomi Valkeinen [Mon, 16 May 2016 10:37:57 +0000 (13:37 +0300)]
testpat: add dmt & cea parameters

5 years agokmsxx: add modedb
Tomi Valkeinen [Mon, 16 May 2016 09:11:06 +0000 (12:11 +0300)]
kmsxx: add modedb

5 years agotestpat: fix crtc regexp
Tomi Valkeinen [Mon, 16 May 2016 08:11:26 +0000 (11:11 +0300)]
testpat: fix crtc regexp

5 years agoUpdate TODO
Tomi Valkeinen [Wed, 11 May 2016 18:12:49 +0000 (21:12 +0300)]
Update TODO

5 years agopy: fix videomode list
Tomi Valkeinen [Mon, 9 May 2016 11:39:30 +0000 (14:39 +0300)]
py: fix videomode list

5 years agokmscapture: separate step to enable streaming
Tomi Valkeinen [Tue, 26 Apr 2016 10:02:56 +0000 (13:02 +0300)]
kmscapture: separate step to enable streaming

5 years agokmacapture: atomic modesetting support
Tomi Valkeinen [Tue, 26 Apr 2016 08:54:40 +0000 (11:54 +0300)]
kmacapture: atomic modesetting support

5 years agokmscapture: cleanups
Tomi Valkeinen [Tue, 26 Apr 2016 07:42:06 +0000 (10:42 +0300)]
kmscapture: cleanups

5 years agokmscapture: cleanups & signedness fixes
Tomi Valkeinen [Tue, 26 Apr 2016 06:42:49 +0000 (09:42 +0300)]
kmscapture: cleanups & signedness fixes

5 years agokmscapture: rename
Tomi Valkeinen [Tue, 26 Apr 2016 06:30:44 +0000 (09:30 +0300)]
kmscapture: rename

5 years agokmscapture: use enum class
Tomi Valkeinen [Tue, 26 Apr 2016 06:29:29 +0000 (09:29 +0300)]
kmscapture: use enum class

5 years agokmscube: remove unused field
Tomi Valkeinen [Mon, 25 Apr 2016 14:25:20 +0000 (17:25 +0300)]
kmscube: remove unused field

5 years agokmscube: fix wrong uses of class Framebuffer
Tomi Valkeinen [Mon, 25 Apr 2016 14:24:39 +0000 (17:24 +0300)]
kmscube: fix wrong uses of class Framebuffer

5 years agokmscapture: Clang doesn't like variable len arrays, use vector
Tomi Valkeinen [Mon, 25 Apr 2016 14:16:06 +0000 (17:16 +0300)]
kmscapture: Clang doesn't like variable len arrays, use vector

5 years agoVideomode is a struct, not class, so declare it as one
Tomi Valkeinen [Mon, 25 Apr 2016 09:00:05 +0000 (12:00 +0300)]
Videomode is a struct, not class, so declare it as one

5 years agokmscube: check errors
Tomi Valkeinen [Fri, 22 Apr 2016 13:13:59 +0000 (16:13 +0300)]
kmscube: check errors

5 years agodepend on python 3.x, not 3.4
Tomi Valkeinen [Thu, 21 Apr 2016 18:37:04 +0000 (21:37 +0300)]
depend on python 3.x, not 3.4

5 years agokmscube: improve the x11 mainloop
Tomi Valkeinen [Wed, 20 Apr 2016 09:17:39 +0000 (12:17 +0300)]
kmscube: improve the x11 mainloop

5 years agokmscube: hacking
Tomi Valkeinen [Tue, 19 Apr 2016 19:31:06 +0000 (22:31 +0300)]
kmscube: hacking

5 years agokmscube: fix resource leaks & freeing
Tomi Valkeinen [Tue, 19 Apr 2016 18:40:21 +0000 (21:40 +0300)]
kmscube: fix resource leaks & freeing

5 years agokmscube: quick hack for fullscreen
Tomi Valkeinen [Tue, 19 Apr 2016 14:19:34 +0000 (17:19 +0300)]
kmscube: quick hack for fullscreen

5 years agokmscube: wayland
Tomi Valkeinen [Sat, 16 Apr 2016 19:43:55 +0000 (22:43 +0300)]
kmscube: wayland

5 years agoadd -Wextra & fix warnings
Tomi Valkeinen [Sat, 16 Apr 2016 19:26:47 +0000 (22:26 +0300)]
add -Wextra & fix warnings

5 years agokmscube: split into parts
Tomi Valkeinen [Sat, 16 Apr 2016 19:16:44 +0000 (22:16 +0300)]
kmscube: split into parts

5 years agokmscube: support X
Tomi Valkeinen [Sat, 16 Apr 2016 17:56:22 +0000 (20:56 +0300)]
kmscube: support X

5 years agokmscube: disable plane
Tomi Valkeinen [Mon, 11 Apr 2016 09:25:39 +0000 (12:25 +0300)]
kmscube: disable plane

5 years agoatomicreq: add commit_sync()
Tomi Valkeinen [Mon, 11 Apr 2016 16:11:09 +0000 (19:11 +0300)]
atomicreq: add commit_sync()

5 years agokmscube: check for free bufs
Tomi Valkeinen [Mon, 11 Apr 2016 09:11:14 +0000 (12:11 +0300)]
kmscube: check for free bufs

5 years agokmscube: support null egl
Tomi Valkeinen [Fri, 8 Apr 2016 19:57:18 +0000 (22:57 +0300)]
kmscube: support null egl

5 years agokmscube: big restructure
Tomi Valkeinen [Fri, 8 Apr 2016 18:55:10 +0000 (21:55 +0300)]
kmscube: big restructure

5 years agokmscube: separate swap_buffers
Tomi Valkeinen [Fri, 8 Apr 2016 17:41:19 +0000 (20:41 +0300)]
kmscube: separate swap_buffers

5 years agoadd ExtFramebuffer ctr for fds
Tomi Valkeinen [Sat, 26 Mar 2016 13:12:11 +0000 (15:12 +0200)]
add ExtFramebuffer ctr for fds

5 years agocard: add drop_master
Tomi Valkeinen [Sat, 26 Mar 2016 13:07:39 +0000 (15:07 +0200)]
card: add drop_master

5 years agofix a few cppcheck warnings
Tomi Valkeinen [Thu, 24 Mar 2016 19:35:46 +0000 (21:35 +0200)]
fix a few cppcheck warnings

5 years agokmscube: clean up esUtil
Tomi Valkeinen [Thu, 24 Mar 2016 19:19:01 +0000 (21:19 +0200)]
kmscube: clean up esUtil

5 years agofbtestpat: use extcpuframebuffer
Tomi Valkeinen [Thu, 24 Mar 2016 15:05:39 +0000 (17:05 +0200)]
fbtestpat: use extcpuframebuffer

5 years agoAdd ExtCPUFramebuffer
Tomi Valkeinen [Thu, 24 Mar 2016 15:05:23 +0000 (17:05 +0200)]
Add ExtCPUFramebuffer

5 years agoclean up code formatting
Tomi Valkeinen [Wed, 23 Mar 2016 19:31:14 +0000 (21:31 +0200)]
clean up code formatting

5 years agohackfix py compilation on 64 bit pc
Tomi Valkeinen [Wed, 23 Mar 2016 19:20:18 +0000 (21:20 +0200)]
hackfix py compilation on 64 bit pc

5 years agoREADME: update about env variables
Tomi Valkeinen [Sun, 20 Mar 2016 08:49:53 +0000 (10:49 +0200)]
README: update about env variables

5 years agoAdd LTO option
Tomi Valkeinen [Sun, 20 Mar 2016 08:47:56 +0000 (10:47 +0200)]
Add LTO option

5 years agolibkmstest: remove dependency to libdrm
Tomi Valkeinen [Fri, 18 Mar 2016 13:51:11 +0000 (15:51 +0200)]
libkmstest: remove dependency to libdrm

5 years agopy: add transparency key and alpha tests
Tomi Valkeinen [Thu, 17 Mar 2016 16:47:47 +0000 (18:47 +0200)]
py: add transparency key and alpha tests

5 years agoAdd RGB::rgb888()
Tomi Valkeinen [Thu, 17 Mar 2016 16:47:31 +0000 (18:47 +0200)]
Add RGB::rgb888()

5 years agoAtomicReq: add sync commit
Tomi Valkeinen [Thu, 17 Mar 2016 16:47:01 +0000 (18:47 +0200)]
AtomicReq: add sync commit

5 years agoUse globbing to add .py test files
Tomi Valkeinen [Thu, 17 Mar 2016 13:07:57 +0000 (15:07 +0200)]
Use globbing to add .py test files

5 years agotests: kmscapture: simple v4l2 capture test tool
Peter Ujfalusi [Tue, 15 Mar 2016 14:09:30 +0000 (16:09 +0200)]
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.

5 years agodumbframebuffer: fix throw linefeed in in prime_fd
Peter Ujfalusi [Tue, 3 Nov 2015 08:16:06 +0000 (10:16 +0200)]
dumbframebuffer: fix throw linefeed in in prime_fd

5 years agoadd public PixelFormatInfo
Tomi Valkeinen [Wed, 16 Mar 2016 10:18:12 +0000 (12:18 +0200)]
add public PixelFormatInfo

5 years agoAdd IMappedFramebuffer and remove MappedBuffer
Tomi Valkeinen [Tue, 15 Mar 2016 09:46:09 +0000 (11:46 +0200)]
Add IMappedFramebuffer and remove MappedBuffer

5 years agokmsview: scale down to fit into screen
Tomi Valkeinen [Wed, 9 Mar 2016 09:55:52 +0000 (11:55 +0200)]
kmsview: scale down to fit into screen

5 years agokmsview: support multiple planes
Tomi Valkeinen [Wed, 9 Mar 2016 08:55:50 +0000 (10:55 +0200)]
kmsview: support multiple planes

5 years agokmsview: show multiple frames
Tomi Valkeinen [Wed, 9 Mar 2016 08:29:23 +0000 (10:29 +0200)]
kmsview: show multiple frames

5 years agolibkmstest: color & draw_rect
Tomi Valkeinen [Tue, 8 Mar 2016 13:27:27 +0000 (15:27 +0200)]
libkmstest: color & draw_rect

5 years agopy improvements
Tomi Valkeinen [Tue, 8 Mar 2016 11:49:00 +0000 (13:49 +0200)]
py improvements

5 years agocrtc: add disable_plane()
Tomi Valkeinen [Tue, 8 Mar 2016 11:48:47 +0000 (13:48 +0200)]
crtc: add disable_plane()

5 years agofbtestpat: fix stride
Tomi Valkeinen [Tue, 8 Mar 2016 09:22:11 +0000 (11:22 +0200)]
fbtestpat: fix stride

5 years agoadd ob::set_prop_value()
Tomi Valkeinen [Tue, 8 Mar 2016 08:54:33 +0000 (10:54 +0200)]
add ob::set_prop_value()

5 years agoadd *.patch to gitignore
Tomi Valkeinen [Tue, 8 Mar 2016 08:54:14 +0000 (10:54 +0200)]
add *.patch to gitignore

5 years agokmscube: fix atomic FB_ID set for crtc
Tomi Valkeinen [Mon, 15 Feb 2016 08:16:17 +0000 (10:16 +0200)]
kmscube: fix atomic FB_ID set for crtc

5 years agodb: fix atomic FB_ID set for crtc
Tomi Valkeinen [Mon, 15 Feb 2016 08:06:47 +0000 (10:06 +0200)]
db: fix atomic FB_ID set for crtc

5 years agoadd fbtestpat
Tomi Valkeinen [Sun, 7 Feb 2016 08:29:20 +0000 (10:29 +0200)]
add fbtestpat

5 years agoadd MappedBuffer & co
Tomi Valkeinen [Sun, 7 Feb 2016 08:27:47 +0000 (10:27 +0200)]
add MappedBuffer & co

5 years agoAdd definition to DRM_CLIENT_CAP_ATOMIC undef case
Alejandro Hernandez [Fri, 22 Jan 2016 14:35:28 +0000 (09:35 -0500)]
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>
5 years agotestpat: show video mode Hz
Tomi Valkeinen [Tue, 12 Jan 2016 12:54:26 +0000 (14:54 +0200)]
testpat: show video mode Hz

5 years agolibkms: fix Connector::get_default_mode when no modes
Tomi Valkeinen [Tue, 12 Jan 2016 12:53:04 +0000 (14:53 +0200)]
libkms: fix Connector::get_default_mode when no modes

5 years agodb: use the configured mode, not default
Tomi Valkeinen [Mon, 7 Dec 2015 19:01:43 +0000 (21:01 +0200)]
db: use the configured mode, not default

5 years agotestpat: support interlace
Tomi Valkeinen [Mon, 7 Dec 2015 18:06:22 +0000 (20:06 +0200)]
testpat: support interlace

5 years agolibkms: add 'ilace' param for Connector::get_mode()
Tomi Valkeinen [Mon, 7 Dec 2015 18:06:09 +0000 (20:06 +0200)]
libkms: add 'ilace' param for Connector::get_mode()

5 years agoDumbFB: fix dumb buffer alloc for omap NV12
Tomi Valkeinen [Fri, 8 Jan 2016 13:54:15 +0000 (15:54 +0200)]
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.

6 years agoREADME: add notes about test tools
Tomi Valkeinen [Mon, 30 Nov 2015 13:33:11 +0000 (15:33 +0200)]
README: add notes about test tools

6 years agoremove lua bindings
Tomi Valkeinen [Mon, 30 Nov 2015 13:23:58 +0000 (15:23 +0200)]
remove lua bindings

6 years agoREADME: add LIBKMS_ENABLE_KMSCUBE
Tomi Valkeinen [Mon, 30 Nov 2015 13:22:36 +0000 (15:22 +0200)]
README: add LIBKMS_ENABLE_KMSCUBE

6 years agoremove the old cmdoptions.h
Tomi Valkeinen [Thu, 26 Nov 2015 16:08:29 +0000 (18:08 +0200)]
remove the old cmdoptions.h

6 years agokmsprint: use the new option parser
Tomi Valkeinen [Thu, 26 Nov 2015 16:07:36 +0000 (18:07 +0200)]
kmsprint: use the new option parser

6 years agotestpat: big rewrite
Tomi Valkeinen [Wed, 18 Nov 2015 20:15:43 +0000 (22:15 +0200)]
testpat: big rewrite

6 years agolibkmstest: add Option & OptionSet
Tomi Valkeinen [Sun, 25 Oct 2015 19:10:14 +0000 (21:10 +0200)]
libkmstest: add Option & OptionSet

6 years agoDumbFB: don't unmap if not mapped
Tomi Valkeinen [Thu, 26 Nov 2015 09:32:27 +0000 (11:32 +0200)]
DumbFB: don't unmap if not mapped

6 years agoMerge branch 'kmscube'
Tomi Valkeinen [Wed, 18 Nov 2015 20:50:40 +0000 (22:50 +0200)]
Merge branch 'kmscube'

6 years agoAdd kmscube
Tomi Valkeinen [Fri, 2 Oct 2015 18:34:50 +0000 (21:34 +0300)]
Add kmscube

6 years agokmstest: remove unused color_convert
Tomi Valkeinen [Wed, 18 Nov 2015 20:47:36 +0000 (22:47 +0200)]
kmstest: remove unused color_convert

6 years agofix pykms
Tomi Valkeinen [Wed, 18 Nov 2015 20:47:21 +0000 (22:47 +0200)]
fix pykms

6 years agoCard: support opening specific drm device
Tomi Valkeinen [Wed, 18 Nov 2015 20:09:11 +0000 (22:09 +0200)]
Card: support opening specific drm device

6 years agoFb: collect fbs and destroy them in card's destructor
Tomi Valkeinen [Tue, 17 Nov 2015 21:39:57 +0000 (23:39 +0200)]
Fb: collect fbs and destroy them in card's destructor

6 years agoConnector: prettier connector names
Tomi Valkeinen [Fri, 13 Nov 2015 20:18:33 +0000 (22:18 +0200)]
Connector: prettier connector names

6 years agoConnector: add get_mode(xres, yres, refresh)
Tomi Valkeinen [Fri, 13 Nov 2015 17:26:02 +0000 (19:26 +0200)]
Connector: add get_mode(xres, yres, refresh)

6 years agoVideomode cleanup
Tomi Valkeinen [Fri, 13 Nov 2015 17:24:52 +0000 (19:24 +0200)]
Videomode cleanup

6 years agolibkmstest: disable draw perf prints
Tomi Valkeinen [Fri, 13 Nov 2015 12:55:35 +0000 (14:55 +0200)]
libkmstest: disable draw perf prints

6 years agolibkmstest: add EXIT()
Tomi Valkeinen [Thu, 12 Nov 2015 19:48:35 +0000 (21:48 +0200)]
libkmstest: add EXIT()