platform/core/uifw/pepper.git
9 years agoBuild: Build backend modules by default & some bug fix
Taekyun Kim [Wed, 1 Apr 2015 04:30:03 +0000 (13:30 +0900)]
Build: Build backend modules by default & some bug fix

Change-Id: I0768a51d072863b0da4e630ffed1ee891a42d47d

9 years agoRefactor: output, backend APIs and etc
Taekyun Kim [Tue, 31 Mar 2015 06:43:12 +0000 (15:43 +0900)]
Refactor: output, backend APIs and etc

Change-Id: I2fdcd700ea541e347c44a60cdd0f3699cd1aa40d

9 years agoSurface & Buffer initial implementation
Taekyun Kim [Thu, 26 Mar 2015 09:58:43 +0000 (18:58 +0900)]
Surface & Buffer initial implementation

Change-Id: I3b703bc30b3790f8f448769b4373e7c978399074

9 years agowl_region implementation
Taekyun Kim [Thu, 26 Mar 2015 03:37:43 +0000 (12:37 +0900)]
wl_region implementation

Implemented using pixman region.

Change-Id: If83abf5a2da62ae69e3f8b5be141156cc043d619

9 years agoRefactoring
Taekyun Kim [Mon, 23 Mar 2015 05:17:49 +0000 (14:17 +0900)]
Refactoring

1. Use "-" to concatenate file name tokens.
2. Removed features which is not necessary now. Can be added later.
3. Modules are built together as a libpepper.so.
4. Modules can use only the pepper library APIs like normal applications do.
5. Modules can export its own header files.
6. pepper exports wayland display of a compositor so that applications can use wayland-server APIs.
7. Following configure arguments are added
    --enable-wayland-backend=yes or no (default no)
    --enable-drm-backend=yes or no (default no)
    --enable-pepper-server=yes or no (default yes)

Change-Id: I5e6d04a2a1af150a246f34ba32c4ce4d87b1bb30

9 years agoinput: Some minor cleanups
Taekyun Kim [Wed, 11 Mar 2015 05:47:09 +0000 (14:47 +0900)]
input: Some minor cleanups

Change-Id: I4a4c7f5da28bcd9af0d6782c62324ab22a95c609

9 years agoApply TmaxWindow's log style
jaehoon01.jeong [Tue, 10 Mar 2015 13:33:50 +0000 (22:33 +0900)]
Apply TmaxWindow's log style
    - usage
    - must be declare 'DECLARE_DEBUG_CHANNEL(module_name);' at ahead of files
        "Syntax of the DEBUGCH variable:\n"
         "  DEBUGCH=[class]+xxx,[class]-yyy,...\n\n"
         "Example: DEBUGCH=+all,warn-heap\n"
         "    turns on all messages except warning heap messages\n"
         "Available message classes: err, warn, fixme, trace\n";

Change-Id: Iaeb88a81c9884481216a13c929f9b12b7806ae3f

9 years agoSimplified initial APIs and some cleanups
Taekyun Kim [Wed, 11 Mar 2015 04:57:03 +0000 (13:57 +0900)]
Simplified initial APIs and some cleanups

Let's start with minimal APIs. Just create a compositor and run.
APIs for output, client, input and surfaces will be added later.

Moved typedefs into internal header which should not be exposed to the user
at the moment.

Change-Id: I8f08ca00a2305d79b2278bf3a5a9ffaa61cc596d

9 years agoInput implementation
junghoon13.son [Mon, 9 Mar 2015 03:36:42 +0000 (12:36 +0900)]
Input implementation
    - input module interface functions

Change-Id: I84aa7d06cef38858a87b7b0c4ecadda7f4790fbc

9 years agoInput implementation
junghoon13.son [Fri, 6 Mar 2015 05:35:07 +0000 (14:35 +0900)]
Input implementation
    1. add handlers for wl_seat, wl_pointer, wl_keyboard and wl_touch
        - handlers do nothing
    2. add input module using libinput
        - partially implemented

Change-Id: I1729eabbdcf3b41e5dbff2fb0efe9855c82ecb56

9 years agoCode indentation
junghoon13.son [Fri, 6 Mar 2015 04:45:02 +0000 (13:45 +0900)]
Code indentation
    - expand tab to space

Change-Id: I7807df9910a2e1d3bce7b344ee61740aa1c08fd9

9 years agoMore utility macros, memory & string functions, coding style fix
Taekyun Kim [Tue, 3 Mar 2015 10:44:27 +0000 (19:44 +0900)]
More utility macros, memory & string functions, coding style fix

1. Do not use __inline__ directly, use PEPPER_INLINE instead.
2. Always use PEPPER_ASSERT() instead of assert().
3. Use PEPPER_IGNORE() to avoid warning on unsed variables.
4. Always use pepper_malloc/pepper_calloc/pepper_free.
5. Don't use multiple new lines, put some meaningful comments instead.
6. Removed excessive error handling for OOM.

Change-Id: Idab2f85457c9ff093eb47ffc7c97373e338fd6d1

9 years agoadd global object creation and handler codes for basic functionality
jaehoon01.jeong [Tue, 3 Mar 2015 08:26:00 +0000 (17:26 +0900)]
add global object creation and handler codes for basic functionality

 - remove white-space
 - remove 'pepper_' prefix in internal static functions
 - modify function names and fn table names
    - bind_xxx
    - xxx_implementation

Change-Id: I89aa27a312964986e8a3245b8e3667dbfe5a411b

9 years agocommon: Implementation starting point
Taekyun Kim [Mon, 2 Mar 2015 10:51:06 +0000 (19:51 +0900)]
common: Implementation starting point

APIs for pepper library are located in pepper.h
API implementations should go to their object files. (ex. output.c)
Utilities, macros and other stuffs should go to common.h
Internal structures and functions should go to pepper_internal.h

Change-Id: I6cf48d256cc3a2e5c4ac0424558ec3738e35688a

9 years agoAdded .gitignore file
Taekyun Kim [Fri, 27 Feb 2015 04:49:57 +0000 (13:49 +0900)]
Added .gitignore file

Change-Id: I69f2b2bc392c482e6e5a8cea4022332b209952af

9 years agoSource directory hierarchy
Taekyun Kim [Fri, 27 Feb 2015 04:44:37 +0000 (13:44 +0900)]
Source directory hierarchy

Change-Id: I7572a5bebc51740777d5624bae2e26cd9d78e62e

9 years agoModifled pepper.c to apply coding style guide line
Taekyun Kim [Fri, 27 Feb 2015 04:18:58 +0000 (13:18 +0900)]
Modifled pepper.c to apply coding style guide line

Change-Id: Ie9b19eeb5b191f0770875e3fe257dc3f7fd7f6ef

9 years agoAdded coding style guide line
Taekyun Kim [Fri, 27 Feb 2015 04:18:32 +0000 (13:18 +0900)]
Added coding style guide line

Change-Id: I4901a0d4638f4e08efae1d3fcbdf88be9bf4c4c1

9 years agoBuild: Added initial RPM spec file for GBS build
Taekyun Kim [Wed, 25 Feb 2015 09:19:17 +0000 (18:19 +0900)]
Build: Added initial RPM spec file for GBS build

Change-Id: Ie06260e6e565b451e82e09fdfb457d1d8dcaa4fd

9 years agoCompositor: Basic compositor main loop
Taekyun Kim [Wed, 25 Feb 2015 08:08:05 +0000 (17:08 +0900)]
Compositor: Basic compositor main loop

Starting point for implementing pepper server.

Change-Id: I6981231d22351754ceb95cb3c4a9baeda5eee72d

9 years agoCompositor: Added build configurations for wayland server
Taekyun Kim [Wed, 25 Feb 2015 07:46:48 +0000 (16:46 +0900)]
Compositor: Added build configurations for wayland server

COMPOSITOR_MODULES should contain all necessary packages to build pepper
executable. These modules will be checked by PKG_CHECK_MODULES at the end of
the configure.

Change-Id: I043b69802dff938a1250ef47302b3facaaa0b872

9 years agoInitial project configuration
Taekyun Kim [Wed, 25 Feb 2015 07:27:37 +0000 (16:27 +0900)]
Initial project configuration

We start from this tiny hello world project :-)

Change-Id: I3043952401effdcdfdeae59cd990f97777098148

9 years agoInitial empty repository
JeongHoon Jeon [Wed, 27 May 2015 09:49:34 +0000 (18:49 +0900)]
Initial empty repository