android/external-libkmsxx.git
7 years agotests/testpat: Add -m flag
Jyri Sarha [Tue, 20 Oct 2015 13:56:42 +0000 (16:56 +0300)]
tests/testpat: Add -m flag

7 years agoAdd simple command line option parser and a tester for it
Jyri Sarha [Tue, 20 Oct 2015 13:55:13 +0000 (16:55 +0300)]
Add simple command line option parser and a tester for it

7 years agolibkms++/property: Add const std::string to_str(uint64_t val) const
Jyri Sarha [Tue, 20 Oct 2015 13:50:57 +0000 (16:50 +0300)]
libkms++/property: Add const std::string to_str(uint64_t val) const

7 years agolibkms++/drmobject: Add const std::map<uint32_t, uint64_t>& get_prop_map() const
Jyri Sarha [Tue, 20 Oct 2015 13:48:58 +0000 (16:48 +0300)]
libkms++/drmobject: Add const std::map<uint32_t, uint64_t>& get_prop_map() const

7 years agolibkms++/plane: Add methods for getting details of the DRM object
Jyri Sarha [Tue, 20 Oct 2015 13:48:08 +0000 (16:48 +0300)]
libkms++/plane: Add methods for getting details of the DRM object

7 years agolibkms++/encoder: Add methods for getting details of the DRM object
Jyri Sarha [Tue, 20 Oct 2015 13:47:46 +0000 (16:47 +0300)]
libkms++/encoder: Add methods for getting details of the DRM object

7 years agolibkms++/crtc: Add methods for getting details of the DRM object
Jyri Sarha [Tue, 20 Oct 2015 13:47:11 +0000 (16:47 +0300)]
libkms++/crtc: Add methods for getting details of the DRM object

7 years agolibkms++/connector: Add methods for getting details of the DRM object
Jyri Sarha [Tue, 20 Oct 2015 13:46:01 +0000 (16:46 +0300)]
libkms++/connector: Add methods for getting details of the DRM object

7 years agolibkms++/pixelformats.h: Add static inline std::string PixelFormatToFourCC(PixelFormat f)
Jyri Sarha [Tue, 20 Oct 2015 13:49:40 +0000 (16:49 +0300)]
libkms++/pixelformats.h: Add static inline std::string PixelFormatToFourCC(PixelFormat f)

7 years agodb: use a plane
Tomi Valkeinen [Sat, 10 Oct 2015 19:53:35 +0000 (22:53 +0300)]
db: use a plane

7 years agodb: refactor
Tomi Valkeinen [Sat, 10 Oct 2015 19:39:33 +0000 (22:39 +0300)]
db: refactor

7 years agoadd CMY and WB to test pattern
Tomi Valkeinen [Sat, 10 Oct 2015 19:04:56 +0000 (22:04 +0300)]
add CMY and WB to test pattern

7 years agodb: print fps
Tomi Valkeinen [Fri, 9 Oct 2015 12:16:13 +0000 (15:16 +0300)]
db: print fps

7 years agoadd kmsview
Tomi Valkeinen [Fri, 9 Oct 2015 09:34:23 +0000 (12:34 +0300)]
add kmsview

7 years agolibkms: Add Plane::supports_format
Tomi Valkeinen [Fri, 9 Oct 2015 09:32:38 +0000 (12:32 +0300)]
libkms: Add Plane::supports_format

7 years agoTODO: remove YUV bug
Tomi Valkeinen [Thu, 8 Oct 2015 20:00:33 +0000 (23:00 +0300)]
TODO: remove YUV bug

7 years agotestpat: add NV12/NV21 support
Tomi Valkeinen [Thu, 8 Oct 2015 19:56:14 +0000 (22:56 +0300)]
testpat: add NV12/NV21 support

7 years agotestpat: rewrite the pixel drawing
Tomi Valkeinen [Thu, 8 Oct 2015 19:37:33 +0000 (22:37 +0300)]
testpat: rewrite the pixel drawing

7 years agotestpat: cleanup and fix drawing yuv pixels
Tomi Valkeinen [Thu, 8 Oct 2015 19:17:00 +0000 (22:17 +0300)]
testpat: cleanup and fix drawing yuv pixels

7 years agoAdd support for YVYU and VYUY
Tomi Valkeinen [Thu, 8 Oct 2015 16:12:24 +0000 (19:12 +0300)]
Add support for YVYU and VYUY

7 years agoFix exception string.
Jyri Sarha [Fri, 2 Oct 2015 09:55:44 +0000 (12:55 +0300)]
Fix exception string.

7 years agolibkmstest: cleanup colors and add xbgr8888 support
Tomi Valkeinen [Wed, 7 Oct 2015 07:30:23 +0000 (10:30 +0300)]
libkmstest: cleanup colors and add xbgr8888 support

7 years agoAdd XBGR8888 format
Tomi Valkeinen [Wed, 7 Oct 2015 07:29:51 +0000 (10:29 +0300)]
Add XBGR8888 format

7 years agodon't enable lua by default
Tomi Valkeinen [Tue, 6 Oct 2015 17:58:57 +0000 (20:58 +0300)]
don't enable lua by default

7 years agotest: FAIL_IF & ASSERT cleanup
Tomi Valkeinen [Tue, 6 Oct 2015 17:57:07 +0000 (20:57 +0300)]
test: FAIL_IF & ASSERT cleanup

7 years agoTODO: cleanup done items
Tomi Valkeinen [Mon, 5 Oct 2015 18:35:02 +0000 (21:35 +0300)]
TODO: cleanup done items

7 years agoDumbFB: clean up format_info code
Tomi Valkeinen [Sat, 3 Oct 2015 20:33:27 +0000 (23:33 +0300)]
DumbFB: clean up format_info code

7 years agouse PixelFormat all around
Tomi Valkeinen [Sat, 3 Oct 2015 20:29:18 +0000 (23:29 +0300)]
use PixelFormat all around

7 years agoadd PixelFormat support to DumbFramebuffer
Tomi Valkeinen [Sat, 3 Oct 2015 20:26:58 +0000 (23:26 +0300)]
add PixelFormat support to DumbFramebuffer

7 years agoadd PixelFormat
Tomi Valkeinen [Sat, 3 Oct 2015 20:26:06 +0000 (23:26 +0300)]
add PixelFormat

7 years agouse strings instead of char*
Tomi Valkeinen [Sat, 3 Oct 2015 19:52:46 +0000 (22:52 +0300)]
use strings instead of char*

7 years agopy: add db test
Tomi Valkeinen [Sat, 3 Oct 2015 18:14:55 +0000 (21:14 +0300)]
py: add db test

7 years agodb: use PageFlipHandler
Tomi Valkeinen [Sat, 3 Oct 2015 18:13:44 +0000 (21:13 +0300)]
db: use PageFlipHandler

7 years agoadd PageFlipHandler
Tomi Valkeinen [Sat, 3 Oct 2015 18:13:06 +0000 (21:13 +0300)]
add PageFlipHandler

7 years agodb: cleanup atomic req use
Tomi Valkeinen [Sat, 3 Oct 2015 18:26:25 +0000 (21:26 +0300)]
db: cleanup atomic req use

7 years agoatomicreq: add a shortcut
Tomi Valkeinen [Sat, 3 Oct 2015 18:24:34 +0000 (21:24 +0300)]
atomicreq: add a shortcut

7 years agocard: use string for get_prop()
Tomi Valkeinen [Sat, 3 Oct 2015 18:23:44 +0000 (21:23 +0300)]
card: use string for get_prop()

7 years agocleanup connector strings
Tomi Valkeinen [Sat, 3 Oct 2015 15:05:55 +0000 (18:05 +0300)]
cleanup connector strings

7 years agoConnector: store current encoder instead of crtc
Tomi Valkeinen [Sat, 3 Oct 2015 14:54:37 +0000 (17:54 +0300)]
Connector: store current encoder instead of crtc

Also fixes a crash when there is no current encoder

7 years agosave & restore mode
Tomi Valkeinen [Fri, 2 Oct 2015 20:23:54 +0000 (23:23 +0300)]
save & restore mode

7 years agouse friend class and hide methods
Tomi Valkeinen [Sat, 3 Oct 2015 08:27:26 +0000 (11:27 +0300)]
use friend class and hide methods

7 years agoAdd DrmObject::set_id()
Tomi Valkeinen [Sat, 3 Oct 2015 14:45:41 +0000 (17:45 +0300)]
Add DrmObject::set_id()

7 years agolibkmstest: cleanup headers
Tomi Valkeinen [Fri, 2 Oct 2015 19:19:51 +0000 (22:19 +0300)]
libkmstest: cleanup headers

7 years agolibkmstest: move color bar code to libkmstest
Tomi Valkeinen [Fri, 2 Oct 2015 19:03:51 +0000 (22:03 +0300)]
libkmstest: move color bar code to libkmstest

7 years agolibkmstest: add FAIL_IF()
Tomi Valkeinen [Fri, 2 Oct 2015 18:34:38 +0000 (21:34 +0300)]
libkmstest: add FAIL_IF()

7 years agoAdd ExtFramebuffer
Tomi Valkeinen [Fri, 2 Oct 2015 18:27:55 +0000 (21:27 +0300)]
Add ExtFramebuffer

Add ExtFramebuffer for cases where the buffer have been allocated
externally.

7 years agoAdd DumbFramebuffer
Tomi Valkeinen [Fri, 2 Oct 2015 18:27:43 +0000 (21:27 +0300)]
Add DumbFramebuffer

Move the current Framebuffer to DumbFramebuffer, and make a simple
Framebuffer as its super class.

7 years agomove test.h to libkmstest
Tomi Valkeinen [Thu, 1 Oct 2015 18:49:43 +0000 (21:49 +0300)]
move test.h to libkmstest

7 years agomove test utils to libkmstest library
Tomi Valkeinen [Thu, 1 Oct 2015 18:44:49 +0000 (21:44 +0300)]
move test utils to libkmstest library

7 years agofb: remove unneeded #include
Tomi Valkeinen [Thu, 1 Oct 2015 18:26:57 +0000 (21:26 +0300)]
fb: remove unneeded #include

7 years agoAllow disabling universal planes with LIBKMSXX_DISABLE_UNIVERSAL_PLANES
Tomi Valkeinen [Thu, 1 Oct 2015 16:42:13 +0000 (19:42 +0300)]
Allow disabling universal planes with LIBKMSXX_DISABLE_UNIVERSAL_PLANES

7 years agoadd README
Tomi Valkeinen [Thu, 1 Oct 2015 08:40:36 +0000 (11:40 +0300)]
add README

7 years agoadd options to turn off py/lua build
Tomi Valkeinen [Wed, 30 Sep 2015 19:38:28 +0000 (22:38 +0300)]
add options to turn off py/lua build

7 years agoMake Encoder:get_crtc() return 0 if no crtc
Tomi Valkeinen [Wed, 30 Sep 2015 18:50:14 +0000 (21:50 +0300)]
Make Encoder:get_crtc() return 0 if no crtc

7 years agoAllow disabling atomic modeset with LIBKMSXX_DISABLE_ATOMIC
Tomi Valkeinen [Wed, 30 Sep 2015 14:49:37 +0000 (17:49 +0300)]
Allow disabling atomic modeset with LIBKMSXX_DISABLE_ATOMIC

7 years agoAdd Crtc::page_flip()
Tomi Valkeinen [Tue, 29 Sep 2015 19:40:44 +0000 (22:40 +0300)]
Add Crtc::page_flip()

7 years agocmake: add (commented out) lines for static libc
Tomi Valkeinen [Wed, 30 Sep 2015 10:43:35 +0000 (13:43 +0300)]
cmake: add (commented out) lines for static libc

7 years agoRelax cmake minumum version to 2.8 from 3.0. Seems to work fine.
Jyri Sarha [Thu, 1 Oct 2015 09:52:09 +0000 (12:52 +0300)]
Relax cmake minumum version to 2.8 from 3.0. Seems to work fine.

7 years agoIf no universal planes, plane_type() returns always PlaneType::Overlay.
Jyri Sarha [Thu, 1 Oct 2015 09:27:12 +0000 (12:27 +0300)]
If no universal planes, plane_type() returns always PlaneType::Overlay.

7 years agoAdd has_has_universal_planes().
Jyri Sarha [Thu, 1 Oct 2015 09:20:47 +0000 (12:20 +0300)]
Add has_has_universal_planes().

7 years agoMerge branch 'master' of git://github.com/jsarha/kmsxx
Tomi Valkeinen [Wed, 30 Sep 2015 14:02:35 +0000 (17:02 +0300)]
Merge branch 'master' of git://github.com/jsarha/kmsxx

7 years agoAdd std::string support to swig for lua and python.
Jyri Sarha [Wed, 30 Sep 2015 11:34:52 +0000 (14:34 +0300)]
Add std::string support to swig for lua and python.

7 years agoAdd Connector::get_mode(const std::string &mode), remove const char * variant
Jyri Sarha [Wed, 30 Sep 2015 08:40:11 +0000 (11:40 +0300)]
Add Connector::get_mode(const std::string &mode), remove const char * variant

7 years agoThere is no need to convert exception strings to .c_str().
Jyri Sarha [Tue, 29 Sep 2015 17:41:19 +0000 (20:41 +0300)]
There is no need to convert exception strings to .c_str().

7 years agoAdd rest of missing Card exceptions.
Jyri Sarha [Tue, 29 Sep 2015 17:38:53 +0000 (20:38 +0300)]
Add rest of missing Card exceptions.

7 years agoTODO additions
Tomi Valkeinen [Wed, 30 Sep 2015 08:54:27 +0000 (11:54 +0300)]
TODO additions

7 years agoProper exception strings to Card::Card()
Jyri Sarha [Tue, 29 Sep 2015 09:15:29 +0000 (12:15 +0300)]
Proper exception strings to Card::Card()

7 years agoProper exception string to DrmObject::get_prop_value()
Jyri Sarha [Tue, 29 Sep 2015 09:04:45 +0000 (12:04 +0300)]
Proper exception string to DrmObject::get_prop_value()

7 years agoMake Connector::connected() const
Jyri Sarha [Tue, 29 Sep 2015 08:49:30 +0000 (11:49 +0300)]
Make Connector::connected() const

Signed-off-by: Jyri Sarha <jsarha@ti.com>
7 years agoAdd get_mode(const char *mode) to Connector class.
Jyri Sarha [Tue, 29 Sep 2015 06:33:26 +0000 (09:33 +0300)]
Add get_mode(const char *mode) to Connector class.

7 years agoAdd Card::get_connected_pipelines()
Tomi Valkeinen [Mon, 28 Sep 2015 14:59:52 +0000 (17:59 +0300)]
Add Card::get_connected_pipelines()

7 years agodb: refactor flip code
Tomi Valkeinen [Mon, 28 Sep 2015 20:24:52 +0000 (23:24 +0300)]
db: refactor flip code

7 years agocard: use std namespace
Tomi Valkeinen [Mon, 28 Sep 2015 17:56:02 +0000 (20:56 +0300)]
card: use std namespace

7 years agomove test.h to test/
Tomi Valkeinen [Mon, 28 Sep 2015 18:59:57 +0000 (21:59 +0300)]
move test.h to test/

7 years agomove db and testpat to tests/
Tomi Valkeinen [Mon, 28 Sep 2015 18:59:29 +0000 (21:59 +0300)]
move db and testpat to tests/

7 years agoTODO: add YUV bug
Tomi Valkeinen [Mon, 28 Sep 2015 08:23:29 +0000 (11:23 +0300)]
TODO: add YUV bug

7 years agoadd TODO
Tomi Valkeinen [Mon, 28 Sep 2015 07:23:05 +0000 (10:23 +0300)]
add TODO

7 years agodb: use atomic pageflip
Tomi Valkeinen [Mon, 28 Sep 2015 07:02:10 +0000 (10:02 +0300)]
db: use atomic pageflip

7 years agotestpat: fix printing of time
Tomi Valkeinen [Mon, 28 Sep 2015 06:28:39 +0000 (09:28 +0300)]
testpat: fix printing of time

7 years agofix functest.py
Tomi Valkeinen [Mon, 28 Sep 2015 06:10:14 +0000 (09:10 +0300)]
fix functest.py

7 years agoInitial version
Tomi Valkeinen [Sun, 27 Sep 2015 22:13:34 +0000 (01:13 +0300)]
Initial version