android/external-libkmsxx.git
6 years agodb: disable plane support for now
Tomi Valkeinen [Thu, 29 Oct 2015 09:11:57 +0000 (11:11 +0200)]
db: disable plane support for now

6 years agoExtFramebuffer: add alternative constructor
Tomi Valkeinen [Wed, 14 Oct 2015 14:27:34 +0000 (17:27 +0300)]
ExtFramebuffer: add alternative constructor

6 years agoadd Card::get_connector(id)
Tomi Valkeinen [Wed, 14 Oct 2015 14:23:27 +0000 (17:23 +0300)]
add Card::get_connector(id)

6 years agodumbfb: add offset
Tomi Valkeinen [Mon, 26 Oct 2015 15:35:55 +0000 (17:35 +0200)]
dumbfb: add offset

6 years agodumbfb: add num_planes
Tomi Valkeinen [Mon, 26 Oct 2015 15:33:29 +0000 (17:33 +0200)]
dumbfb: add num_planes

6 years agodumbfb: expose handle
Tomi Valkeinen [Mon, 26 Oct 2015 11:12:18 +0000 (13:12 +0200)]
dumbfb: expose handle

6 years agopykms: add iact.py
Tomi Valkeinen [Fri, 23 Oct 2015 20:38:17 +0000 (23:38 +0300)]
pykms: add iact.py

6 years agopykms: use -builtin
Tomi Valkeinen [Fri, 23 Oct 2015 20:37:06 +0000 (23:37 +0300)]
pykms: use -builtin

6 years agopykms: add swig vectors for basic libkms types
Tomi Valkeinen [Fri, 23 Oct 2015 20:12:27 +0000 (23:12 +0300)]
pykms: add swig vectors for basic libkms types

6 years agoREADME: add env variables
Tomi Valkeinen [Thu, 22 Oct 2015 07:21:03 +0000 (10:21 +0300)]
README: add env variables

6 years agoAdd tests/kmsprint
Jyri Sarha [Tue, 20 Oct 2015 14:00:10 +0000 (17:00 +0300)]
Add tests/kmsprint

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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)

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

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

6 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

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

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

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

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

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

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

6 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

6 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

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

6 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

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

6 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

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

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

6 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

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

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

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

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

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

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

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

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

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

6 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()

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

6 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

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

6 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

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

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

6 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

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

6 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.

6 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.

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

6 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

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

6 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

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

6 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

6 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

6 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

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

6 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

6 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.

6 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.

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

6 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

6 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.

6 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

6 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().

6 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.

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

6 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()

6 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()

6 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>
6 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.

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

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

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

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

6 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/

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

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

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

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

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

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