android/external-libkmsxx.git
5 years agoProperty: remove now unused to_str()
Tomi Valkeinen [Sat, 4 Jun 2016 19:34:58 +0000 (22:34 +0300)]
Property: remove now unused to_str()

5 years agokmsprint: rewrite kmsprint
Tomi Valkeinen [Sun, 29 May 2016 13:53:16 +0000 (16:53 +0300)]
kmsprint: rewrite kmsprint

5 years agoadd kmsblank app
Tomi Valkeinen [Fri, 3 Jun 2016 16:42:47 +0000 (19:42 +0300)]
add kmsblank app

5 years agoutil: add helpers
Tomi Valkeinen [Fri, 3 Jun 2016 18:41:41 +0000 (21:41 +0300)]
util: add helpers

5 years agoCard: remove get_crtc_by_index
Tomi Valkeinen [Fri, 3 Jun 2016 18:29:45 +0000 (21:29 +0300)]
Card: remove get_crtc_by_index

5 years agoCard::get_object(): return nullptr if not found
Tomi Valkeinen [Fri, 3 Jun 2016 18:28:36 +0000 (21:28 +0300)]
Card::get_object(): return nullptr if not found

5 years agoVideomode: add helpers
Tomi Valkeinen [Fri, 3 Jun 2016 14:15:43 +0000 (17:15 +0300)]
Videomode: add helpers

5 years agoProperty: add getters
Tomi Valkeinen [Fri, 3 Jun 2016 13:37:17 +0000 (16:37 +0300)]
Property: add getters

5 years agoEncoder: add DPMST type
Tomi Valkeinen [Mon, 30 May 2016 18:28:05 +0000 (21:28 +0300)]
Encoder: add DPMST type

5 years agoConnector: hack fix EDID blob ID
Tomi Valkeinen [Sat, 4 Jun 2016 10:01:12 +0000 (13:01 +0300)]
Connector: hack fix EDID blob ID

5 years agotestpat: use stopwatch
Tomi Valkeinen [Sat, 4 Jun 2016 19:01:27 +0000 (22:01 +0300)]
testpat: use stopwatch

5 years agoAdd Stopwatch
Tomi Valkeinen [Sat, 4 Jun 2016 18:58:59 +0000 (21:58 +0300)]
Add Stopwatch

5 years agopy: fix AtomicReq bindings
Tomi Valkeinen [Thu, 2 Jun 2016 14:45:09 +0000 (17:45 +0300)]
py: fix AtomicReq bindings

5 years agotestpat: print FB IDs
Tomi Valkeinen [Tue, 31 May 2016 07:03:29 +0000 (10:03 +0300)]
testpat: print FB IDs

5 years agoUpdate TODO
Tomi Valkeinen [Mon, 30 May 2016 17:55:16 +0000 (20:55 +0300)]
Update TODO

5 years agoRemove 'db' from CMakeList.txt
Tomi Valkeinen [Mon, 30 May 2016 17:54:44 +0000 (20:54 +0300)]
Remove 'db' from CMakeList.txt

5 years agoRemove 'db', 'testpat' does it better
Tomi Valkeinen [Mon, 30 May 2016 10:57:46 +0000 (13:57 +0300)]
Remove 'db', 'testpat' does it better

5 years agotestpat: add page flipping mode
Tomi Valkeinen [Fri, 27 May 2016 20:06:29 +0000 (23:06 +0300)]
testpat: add page flipping mode

5 years agotestpat: atomic commit
Tomi Valkeinen [Fri, 27 May 2016 13:33:31 +0000 (16:33 +0300)]
testpat: atomic commit

5 years agotestpat: get primary plane
Tomi Valkeinen [Fri, 27 May 2016 12:11:33 +0000 (15:11 +0300)]
testpat: get primary plane

5 years agotestpat: support multiple buffers
Tomi Valkeinen [Fri, 27 May 2016 11:39:25 +0000 (14:39 +0300)]
testpat: support multiple buffers

5 years agotestpat: draw pattern separately
Tomi Valkeinen [Fri, 27 May 2016 11:28:56 +0000 (14:28 +0300)]
testpat: draw pattern separately

5 years agoAtomicReq: support 'allow_modeset'
Tomi Valkeinen [Mon, 30 May 2016 10:51:49 +0000 (13:51 +0300)]
AtomicReq: support 'allow_modeset'

5 years agoCrtc: fix get_primary_plane
Tomi Valkeinen [Fri, 27 May 2016 13:52:23 +0000 (16:52 +0300)]
Crtc: fix get_primary_plane

5 years agoCrtc: fix throw message
Tomi Valkeinen [Fri, 27 May 2016 13:48:34 +0000 (16:48 +0300)]
Crtc: fix throw message

5 years agoAdd Videomode::to_blob()
Tomi Valkeinen [Fri, 27 May 2016 13:31:09 +0000 (16:31 +0300)]
Add Videomode::to_blob()

5 years agoAtomicReq: add helper to add multiple props
Tomi Valkeinen [Fri, 27 May 2016 13:30:13 +0000 (16:30 +0300)]
AtomicReq: add helper to add multiple props

5 years agoadd missing idx for Plane & Encoder
Tomi Valkeinen [Fri, 27 May 2016 12:09:02 +0000 (15:09 +0300)]
add missing idx for Plane & Encoder

5 years agoUpdate README.md
Tomi Valkeinen [Thu, 26 May 2016 12:22:01 +0000 (15:22 +0300)]
Update README.md

5 years agopy: add set_prop()
Tomi Valkeinen [Thu, 26 May 2016 11:12:15 +0000 (14:12 +0300)]
py: add set_prop()

5 years agoparallelize drawing of test pattern
Tomi Valkeinen [Wed, 25 May 2016 14:30:07 +0000 (17:30 +0300)]
parallelize drawing of test pattern

5 years agogamma.py: show a test pattern
Tomi Valkeinen [Wed, 25 May 2016 11:51:05 +0000 (14:51 +0300)]
gamma.py: show a test pattern

5 years agoAdd a simple gamma.py test
Tomi Valkeinen [Wed, 25 May 2016 11:41:38 +0000 (14:41 +0300)]
Add a simple gamma.py test

5 years agoAdd support for DRM blobs
Tomi Valkeinen [Wed, 25 May 2016 11:34:23 +0000 (14:34 +0300)]
Add support for DRM blobs

5 years agoSplit properties from DrmObject into DrmPropObject
Tomi Valkeinen [Wed, 25 May 2016 08:37:17 +0000 (11:37 +0300)]
Split properties from DrmObject into DrmPropObject

5 years agodisable Wmissing-field-initializers when gcc <= 5.0
Tomi Valkeinen [Wed, 25 May 2016 08:17:46 +0000 (11:17 +0300)]
disable Wmissing-field-initializers when gcc <= 5.0

5 years agoRequire libdrm >= 2.4.64
Tomi Valkeinen [Wed, 25 May 2016 07:58:43 +0000 (10:58 +0300)]
Require libdrm >= 2.4.64

5 years agoUpdate README
Tomi Valkeinen [Mon, 23 May 2016 07:12:34 +0000 (10:12 +0300)]
Update README

5 years agoReorganize libkms++utils header
Tomi Valkeinen [Mon, 23 May 2016 07:05:40 +0000 (10:05 +0300)]
Reorganize libkms++utils header

5 years agoFile/dir renames
Tomi Valkeinen [Mon, 23 May 2016 06:54:08 +0000 (09:54 +0300)]
File/dir renames

5 years agoFix the rest of the py scripts
Tomi Valkeinen [Mon, 23 May 2016 06:31:08 +0000 (09:31 +0300)]
Fix the rest of the py scripts

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