platform/core/uifw/pepper.git
8 years agoview: check if null before accessing 'view->surface'. 65/68865/1
Seunghun Lee [Tue, 10 May 2016 06:37:45 +0000 (15:37 +0900)]
view: check if null before accessing 'view->surface'.

Change-Id: If05db77c89cdd12fa8e8414bfa502490f8b373e4

8 years agoPackaging: update version to 1.0.2 10/64810/1 accepted/tizen/common/20160406.143751 accepted/tizen/ivi/20160406.014648 accepted/tizen/mobile/20160406.014555 accepted/tizen/tv/20160406.014609 accepted/tizen/wearable/20160406.014632 submit/tizen/20160405.130631
Gwanglim Lee [Tue, 5 Apr 2016 12:03:57 +0000 (21:03 +0900)]
Packaging: update version to 1.0.2

Change-Id: I24274ea7bd44944cc4bcdb5b3eb95fc3f933cb1a

8 years agodesktop-shell: Fix build warning 06/64406/1
Sangjin Lee [Fri, 1 Apr 2016 04:32:05 +0000 (13:32 +0900)]
desktop-shell: Fix build warning

Change protocol for DTD test.
please see wayland.dtd

Change-Id: I15af7b63b5ebcbf2abe4ebd571432345c60788d3

8 years agoChange coding style for tizen 86/64386/1
Sangjin Lee [Fri, 1 Apr 2016 02:09:17 +0000 (11:09 +0900)]
Change coding style for tizen

Change-Id: Ib3727f408f1f88be3c1484c0220aa6e2772005df

8 years agoutils-map: fix a type casting warning 42/64342/1
Gwanglim Lee [Thu, 31 Mar 2016 13:05:44 +0000 (22:05 +0900)]
utils-map: fix a type casting warning

Change-Id: Iae3be2d73e2968a271f2c8dd334cafebc725c0a4

8 years agoutils-log: fix an uninitialized value warning 40/64340/1
Gwanglim Lee [Thu, 31 Mar 2016 13:05:13 +0000 (22:05 +0900)]
utils-log: fix an uninitialized value warning

Change-Id: I8d860d561d7807e039e5b15c490f8c4cc0276fe1

8 years agoDisabled doxygen build to fix warnings. 39/64339/1
Gwanglim Lee [Thu, 31 Mar 2016 13:02:43 +0000 (22:02 +0900)]
Disabled doxygen build to fix warnings.
Pepper does not ready to make doxygen yet.

Change-Id: If6ee1b03f71de520515c64469109ce1023236114

8 years agoinstall the manifest for assigning SMACK label. 40/62340/1 accepted/tizen/common/20160315.222119 accepted/tizen/ivi/20160316.081028 accepted/tizen/mobile/20160316.080929 accepted/tizen/tv/20160316.080944 accepted/tizen/wearable/20160316.081008 submit/tizen/20160315.120259
Seunghun Lee [Tue, 15 Mar 2016 11:52:00 +0000 (20:52 +0900)]
install the manifest for assigning SMACK label.

Change-Id: I1c0aedd0017c9876d53847a92462a15503322b66

8 years agouse a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory. 19/62319/2
Seunghun Lee [Tue, 15 Mar 2016 08:52:26 +0000 (17:52 +0900)]
use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory.

allow to locate the shm file in the Tizen specific directory.

Change-Id: Ibeb1ea4b918f02ef80ee99167a5e8e744b07f06a

8 years agofix svace error 03/61903/2 accepted/tizen/common/20160311.203624 accepted/tizen/ivi/20160311.150232 accepted/tizen/mobile/20160311.143209 accepted/tizen/tv/20160311.144803 accepted/tizen/wearable/20160311.145611 submit/tizen/20160311.063943
Junkyeong Kim [Fri, 11 Mar 2016 05:57:53 +0000 (14:57 +0900)]
fix svace error

Change-Id: I6b9df73f2b3460b51e6f0f2b9d136fb69f7d5e08
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoPackaging: update version to 1.0.1 16/61316/1 accepted/tizen/common/20160307.154513 accepted/tizen/ivi/20160307.111132 accepted/tizen/mobile/20160307.111042 accepted/tizen/tv/20160307.111059 accepted/tizen/wearable/20160307.111113 submit/tizen/20160307.085853
Seunghun Lee [Mon, 7 Mar 2016 08:56:29 +0000 (17:56 +0900)]
Packaging: update version to 1.0.1

Change-Id: Iecee7b20b57723d991e65bdab764c4488caf4741

8 years agocompositor: unlink socket file, if given path of socket does already exist. 05/61305/2
Seunghun Lee [Mon, 7 Mar 2016 08:16:58 +0000 (17:16 +0900)]
compositor: unlink socket file, if given path of socket does already exist.

Change-Id: I7ff54a039a2eb169d1d7798ba2e7ff92a55de324

8 years agosamples: tdm-backend: fix that calling wrong function for freeing tdm. 25/61225/1 accepted/tizen/ivi/20160307.104934 accepted/tizen/mobile/20160307.104838 accepted/tizen/tv/20160307.104859 accepted/tizen/wearable/20160307.104912 submit/tizen/20160307.020658
Seunghun Lee [Mon, 7 Mar 2016 01:16:51 +0000 (10:16 +0900)]
samples: tdm-backend: fix that calling wrong function for freeing tdm.

this is a kind of c&p error.

Change-Id: I9a1ff76e6d6d73480dd7450ca2cecc4652265403

8 years agorenderer: added omitted one that is needed by cflags and libs for tbm. 24/61224/1
Seunghun Lee [Mon, 7 Mar 2016 01:03:44 +0000 (10:03 +0900)]
renderer: added omitted one that is needed by cflags and libs for tbm.

this causes breaks build after enabling "--as-needed" option.

Change-Id: I8634001e7e691a910ce1a04b4dc95c33e2f54400

8 years agopackaging: removed '-Wl,as-needed' for build error. 11/59911/2 accepted/tizen/common/20160304.195740 accepted/tizen/ivi/20160305.094627 accepted/tizen/mobile/20160305.094538 accepted/tizen/tv/20160305.094555 accepted/tizen/wearable/20160305.094611 submit/tizen/20160304.110046
Dongkyun, Son [Fri, 19 Feb 2016 10:27:20 +0000 (19:27 +0900)]
packaging: removed '-Wl,as-needed' for build error.

Change-Id: Ieaf608ec017db1459601426e46585336b79ff540
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
8 years agogl-renderer: Fix build error on emulator 27/60627/1 accepted/tizen/common/20160302.193407 accepted/tizen/ivi/20160302.003353 accepted/tizen/mobile/20160302.003301 accepted/tizen/tv/20160302.003319 accepted/tizen/wearable/20160302.003332 submit/tizen/20160229.101954
Sangjin Lee [Mon, 29 Feb 2016 10:57:48 +0000 (19:57 +0900)]
gl-renderer: Fix build error on emulator

Change-Id: Ibf439fdf1e3a7ffce9272ac4e2b48d73432dc06f

8 years agotdm: change output mode 23/60623/1
Sangjin Lee [Mon, 29 Feb 2016 10:43:27 +0000 (19:43 +0900)]
tdm: change output mode

Change-Id: Ia260cb9a20b0f2a0e94cbd3ef32f04efd1aa2323

8 years agoGuide to coding-style 58/59858/3
Sangjin Lee [Fri, 19 Feb 2016 04:39:29 +0000 (13:39 +0900)]
Guide to coding-style

Change-Id: Ic991236c34e6b71c74e33fd94e81d60087a87e73

8 years agoChange coding-style to tizen 57/59857/2
Sangjin Lee [Fri, 19 Feb 2016 04:33:28 +0000 (13:33 +0900)]
Change coding-style to tizen

Change-Id: Ie33a0a7e5da13a2f942a0662e6dd078f60211a96

8 years agotdm: remove gbm 52/59352/2
Sangjin Lee [Sat, 13 Feb 2016 00:45:21 +0000 (09:45 +0900)]
tdm: remove gbm

The tdm backend use tbm_surface_queue directly.
Tizen EGL support tbm_bufmgr to eglNativeDisplay and tbm_surface_queue to eglNativeWindow.

Change-Id: I8398b2d29d0231fc45b3594692c838358d35a74d

8 years agoFix build warning 48/59348/2
Sangjin Lee [Sat, 13 Feb 2016 06:04:17 +0000 (15:04 +0900)]
Fix build warning

Change-Id: I5719d94ed4e060f7d0759f9dd05fc76321e06a7c

8 years agoutil: Deep copy a map key if the key length func is specified 47/59347/3
Sangjin Lee [Sat, 13 Feb 2016 05:41:50 +0000 (14:41 +0900)]
util: Deep copy a map key if the key length func is specified

If key length func is specified, pepper_map_t will allocate internal space
for the key and memcpy() the key into it, otherwise, key is treated as
a normal variable. Thus, pepper_object_set/get_user_data() is modified to
use the pointer value itself as a key.

Change-Id: I141f014ea1aee552c0ce3c8a0d4e13665de71c3d

8 years agopepper: Better ID allocation algorithm 88/56988/2
Taekyun Kim [Thu, 14 Jan 2016 06:19:10 +0000 (15:19 +0900)]
pepper: Better ID allocation algorithm

Avoid allocating an ID having same value with recently released IDs.
To do this, we use some upper bits of the ID as an age. When an ID
is reused, the age is increased. This can help detect error cases
where users incorrectly access IDs that has been already destroyed.

But, this does not mean that we are completely safe from the problem.
Some kind of locking mechanism or reference counting is required to
prevent from accessing invalid (most likely dead) IDs.

Change-Id: I218f94566c0f2e63d23df4e8fa1a2890184ca583

8 years agoMerge "pepper: Bug fix in ID allocator" into tizen
Sangjin Lee [Thu, 14 Jan 2016 04:16:54 +0000 (20:16 -0800)]
Merge "pepper: Bug fix in ID allocator" into tizen

8 years agopepper: Bug fix in ID allocator 57/56957/1
Taekyun Kim [Thu, 14 Jan 2016 01:15:19 +0000 (10:15 +0900)]
pepper: Bug fix in ID allocator

Change-Id: I5286c34f444b70ef64aaac0942d46dbd760668a6

8 years agoutils: Fix error of bucket free 50/56950/1
Sangjin Lee [Wed, 13 Jan 2016 23:57:07 +0000 (08:57 +0900)]
utils: Fix error of bucket free

Change-Id: I1060781e2ab987c47f5f6f3d0a60f11e4f81be48

8 years agopepper: Unique 32bit ID for pepper_object_t 13/56913/1
Taekyun Kim [Wed, 13 Jan 2016 12:18:22 +0000 (21:18 +0900)]
pepper: Unique 32bit ID for pepper_object_t

Added following two APIs
    - pepper_object_get_id()
    - pepper_object_from_id()

Change-Id: I39504a35a0fc356333a0e947bcd269be943b90e1

8 years agopepper: pepper_map_t revised 12/56912/1
Taekyun Kim [Wed, 13 Jan 2016 12:16:07 +0000 (21:16 +0900)]
pepper: pepper_map_t revised

Use key as a pointer to the key value instead of key itself.
Added several convinience functions for int32/64 maps.

Change-Id: Idfba75a31fccde6b6aec4042094831cad83624ba

8 years agopepper: utils: Add 32bit integer ID allocator 11/56911/1
Taekyun Kim [Wed, 13 Jan 2016 11:04:00 +0000 (20:04 +0900)]
pepper: utils: Add 32bit integer ID allocator

Change-Id: I25d391b8f5eda12e01f8e7de31c82a86f0c71d53

8 years agoshell: Fix typo error in pepper-shell.xml 10/56910/1
Taekyun Kim [Wed, 13 Jan 2016 09:35:12 +0000 (18:35 +0900)]
shell: Fix typo error in pepper-shell.xml

Change-Id: If0f493a323847daafbcc770ed4dfd5b4a8f7833b

8 years agopepper: add NULL check 52/56052/1 accepted/tizen/ivi/20160218.024515 accepted/tizen/mobile/20160104.054511 accepted/tizen/tv/20160104.054531 accepted/tizen/wearable/20160104.054554 submit/tizen/20160104.030124 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
Sangjin Lee [Mon, 4 Jan 2016 02:49:13 +0000 (11:49 +0900)]
pepper: add NULL check

Change-Id: Ic5ec8f4c1090d8ab45a420721581a9a558d6a669

8 years agotouch: fix check validation of the point 69/55669/1 accepted/tizen/mobile/20151228.233343 accepted/tizen/tv/20151228.232240 accepted/tizen/wearable/20151228.231523 submit/tizen/20151228.124733
Sangjin Lee [Mon, 28 Dec 2015 11:45:11 +0000 (20:45 +0900)]
touch: fix check validation of the point

Change-Id: I2c7b6b1e113718ca7cd4ba97d57982f1c3c7253b

8 years agodesktop-shell: fix DEREF_AFTER_NULL 65/55665/1
Sangjin Lee [Mon, 28 Dec 2015 11:09:41 +0000 (20:09 +0900)]
desktop-shell: fix DEREF_AFTER_NULL

Change-Id: Ie96a803f7e56d0ff23af3fefd2da0dd900be4d07

8 years agodesktop-shell: fix DEREF_AFTER_NULL 64/55664/1
Sangjin Lee [Mon, 28 Dec 2015 11:07:38 +0000 (20:07 +0900)]
desktop-shell: fix DEREF_AFTER_NULL

Change-Id: I81e79341a56b3f493547c88f09822aed8b485b10

8 years agotdm: chenge keep_buffer in flush_surface_damage 42/55242/1
Sangjin Lee [Tue, 22 Dec 2015 12:58:56 +0000 (21:58 +0900)]
tdm: chenge keep_buffer in flush_surface_damage

Change-Id: Iff7ebfb6aa40af4097e31d46c992846da1c82f3d

8 years agopepper: fix build error 38/55238/1 accepted/tizen/mobile/20151222.225050 accepted/tizen/tv/20151222.225109 accepted/tizen/wearable/20151222.225124 submit/tizen/20151222.124433 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Sangjin Lee [Tue, 22 Dec 2015 12:41:18 +0000 (21:41 +0900)]
pepper: fix build error

Change-Id: Ie0c21a62fcfe7ec2320e24429e6adf7a9a1d1aa8

8 years agopepper: change pepper_compositor_create_fd() 08/55208/3
Sangjin Lee [Tue, 22 Dec 2015 11:14:43 +0000 (20:14 +0900)]
pepper: change pepper_compositor_create_fd()

wayland server api was changed
http://cgit.freedesktop.org/wayland/wayland/commit/?id=225830dcb8bf1a6583d0f4ca182584024783923e
so pepper must bind and listen to socket fd.

Change-Id: I798c2c0d684ddb1034eaec20eda60e3800ac5e11
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agopepper: add TDM backend 61/55061/4
Sangjin Lee [Mon, 21 Dec 2015 12:25:37 +0000 (21:25 +0900)]
pepper: add TDM backend

TDM(tizen display manager) is HAL layer for tizen
this is just draft version.
- use only primary layer
- gl and sw renderer test: ok

Change-Id: Id6ea1c1c90d1d02a3ffa7d315cc20d65fabee574
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agoshell: Fix build error 86/54686/1 accepted/tizen/mobile/20151221.050925 accepted/tizen/tv/20151221.051004 accepted/tizen/wearable/20151221.051043 submit/tizen/20151221.025226
Taekyun Kim [Thu, 17 Dec 2015 07:32:29 +0000 (16:32 +0900)]
shell: Fix build error

Change-Id: I2feae9320873baa5fb5fb1827c46337e604ac93e

8 years agoshell: shell client implementation 82/54582/2
Taekyun Kim [Wed, 16 Dec 2015 08:16:07 +0000 (17:16 +0900)]
shell: shell client implementation

Only manages the pointer cursor now.

Change-Id: I441637a262d97c414a122d3173e7eb4a67b8560e

8 years agopepper: pointer cursor implementation 81/54581/1
Junghoon [Sun, 18 Oct 2015 05:47:32 +0000 (14:47 +0900)]
pepper: pointer cursor implementation

    - implement wl_pointer::set_cursor
    - implement drm_cursor

Change-Id: I45aac2e96b176a8480307a4465782c255e4ca2be

8 years agopepper: Removed unused data device codes 35/54535/1
Taekyun Kim [Wed, 16 Dec 2015 04:40:06 +0000 (13:40 +0900)]
pepper: Removed unused data device codes

Change-Id: I4ac53eccf3da630f543803ffd2418e8ea75f9483

8 years agodoc: Documentation 34/54534/1
Taekyun Kim [Wed, 16 Dec 2015 03:56:52 +0000 (12:56 +0900)]
doc: Documentation

Change-Id: I655102f2bd0619472d5192b0b3658453592ec677

8 years agodoc: documentation in pepper-output-backend.h 33/54533/1
Junghoon [Wed, 9 Dec 2015 08:03:01 +0000 (17:03 +0900)]
doc: documentation in pepper-output-backend.h

Change-Id: I44c2bed7a316308df65243dc8196385580b3c5f4

8 years agodoc: documentation in pepper-input-backend.h 32/54532/1
Junghoon [Wed, 9 Dec 2015 08:01:19 +0000 (17:01 +0900)]
doc: documentation in pepper-input-backend.h

Change-Id: I10115244aa65c9c3279125b5fdb0f377bb3d0250

8 years agopepper: save time of last pointer event 31/54531/1
Junghoon [Fri, 27 Nov 2015 10:50:19 +0000 (19:50 +0900)]
pepper: save time of last pointer event

    - for internal pointer motion event

Change-Id: Ife0f545942952865d9d50a87bb3dbec5e7974426

8 years agodrm: add specific init function for spreadtrum 28/54528/1
Sangjin Lee [Wed, 16 Dec 2015 04:11:06 +0000 (13:11 +0900)]
drm: add specific init function for spreadtrum

drm-sprd need specific init function.

Change-Id: Ibcc0c3dd1acfb0559146c23e8a96c8055b6913a9
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agopepper: option for enabling wl_display_add_socket_fd() 12/53612/1
Taekyun Kim [Tue, 8 Dec 2015 06:34:46 +0000 (15:34 +0900)]
pepper: option for enabling wl_display_add_socket_fd()

wl_display_add_socket_fd() is tizen specific. It is not supported by
other linux systems. So, disable it by default and enable for GBS
build only.

Change-Id: I295b7adcc4619dc630da1716aadfba1c53565ab2

8 years agopepper: support creation with socket fd 77/53577/1
Sangjin Lee [Tue, 8 Dec 2015 04:27:22 +0000 (13:27 +0900)]
pepper: support creation with socket fd

Change-Id: I604c91dc631f39419a6ccc2fd6fb5f3cc244207f
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodrm: Check valid pageflip in handler 97/53197/1
Sangjin Lee [Wed, 2 Dec 2015 12:36:08 +0000 (21:36 +0900)]
drm: Check valid pageflip in handler

drmModePageFlip is called twice.
1. output render
2. start_repaint_loop
So the pageflip handler is called twice and relese front buffer for invaild

Change-Id: I00a79f1405001abcb41abcd685ce0c6a3da923c2
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodrm: fix resource leak 46/53046/1
Sangjin Lee [Tue, 1 Dec 2015 06:49:15 +0000 (15:49 +0900)]
drm: fix resource leak

Change-Id: Ied296861266fd8479efdf3407ce968cf4a194cca
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agorender: change to supprot the wayland-tbm buffer 36/53036/2
Sangjin Lee [Tue, 1 Dec 2015 05:01:03 +0000 (14:01 +0900)]
render: change to supprot the wayland-tbm buffer

pixman renderer can support wayland-tbm buffer.

Change-Id: Idff39133e72a023451aab5d92234efdd74a92142
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodrm: Use wayland-tbm protocol 28/53028/1
Sangjin Lee [Tue, 1 Dec 2015 02:14:07 +0000 (11:14 +0900)]
drm: Use wayland-tbm protocol

Change-Id: Ib9e078da148e03b693be473e8efd639915945f26
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agodesktop-shell : xdg-shell version upgrade to 5 71/52971/1
Sangjin Lee [Mon, 30 Nov 2015 10:57:45 +0000 (19:57 +0900)]
desktop-shell : xdg-shell version upgrade to 5

Change-Id: I27364e2e7579dab4174cc220dd08722e1e030351
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
8 years agopepper: remove unused variable 14/52914/1
Junghoon [Fri, 27 Nov 2015 05:50:36 +0000 (14:50 +0900)]
pepper: remove unused variable

Change-Id: I8a60e131b8e11504495165d18db0f9db58a5b39e

8 years agopepper: destroy resources in subcompositor_destroy 13/52913/1
Jaehoon Jeong [Wed, 25 Nov 2015 06:51:39 +0000 (15:51 +0900)]
pepper: destroy resources in subcompositor_destroy

Change-Id: I0c3a7591403d411409e92a9553daa24d5a3870bc

8 years agopepper: Initialize subcompositor when creating compositor 12/52912/1
Jaehoon Jeong [Wed, 25 Nov 2015 06:50:58 +0000 (15:50 +0900)]
pepper: Initialize subcompositor when creating compositor

Change-Id: I20053bf6795dbcbc2674b2cc62bc769b72bc7988

8 years agobuild: add doxygen support 11/52911/1
Jaehoon Jeong [Tue, 24 Nov 2015 07:46:29 +0000 (16:46 +0900)]
build: add doxygen support

    - Documentation build enabled as default, so use --disable-document if do not want

Change-Id: I51c83a58d69276065323b0b33999cb987c9dbbb4

8 years agorender: gl-renderer: minor refactoring of repaint_region_scissor() 10/52910/1
Junghoon [Wed, 25 Nov 2015 07:33:48 +0000 (16:33 +0900)]
render: gl-renderer: minor refactoring of repaint_region_scissor()

Change-Id: Iaec6c59dc57cd96698ed426eddac534d905e10b9

8 years agorender: gl-renderer: apply y_inverted 09/52909/1
Junghoon [Tue, 24 Nov 2015 07:57:26 +0000 (16:57 +0900)]
render: gl-renderer: apply y_inverted

Change-Id: I3761e9e60c6aad12916b76acb357a1a80de36d3a

8 years agorender: pixman-renderer: fix buffer transform & scale 08/52908/1
Junghoon [Tue, 24 Nov 2015 01:37:24 +0000 (10:37 +0900)]
render: pixman-renderer: fix buffer transform & scale

Change-Id: If3bb7098df3826c0da657193505b6a84e4321f5e

8 years agorender: gl-renderer: fix buffer transform 07/52907/1
Junghoon [Mon, 23 Nov 2015 09:41:32 +0000 (18:41 +0900)]
render: gl-renderer: fix buffer transform

Change-Id: Ifab79d3a7867992bfb140d6306192f0787fb24dc

8 years agopepper: Add view create/destroy code for subsurface 06/52906/1
Jaehoon Jeong [Mon, 23 Nov 2015 05:16:20 +0000 (14:16 +0900)]
pepper: Add view create/destroy code for subsurface

Change-Id: I6f327ec72e3be02eab593c55805ca1b574708c74

8 years agopepper: Implement subsurface 05/52905/1
Jaehoon Jeong [Fri, 20 Nov 2015 08:52:38 +0000 (17:52 +0900)]
pepper: Implement subsurface

    - Update surface.commit for subsurface
    - Add link to its own subsurface_list

Change-Id: I9fe3d1b1c9386f700d848f16b6d4c15b60b75533

8 years agoshell: destroy view when shell_surface destroyed 04/52904/1
Jaehoon Jeong [Mon, 23 Nov 2015 05:53:42 +0000 (14:53 +0900)]
shell: destroy view when shell_surface destroyed

Change-Id: Ia908996ef29a90f03b4f1bc651984f6ab4d2de53

8 years agorender: pixman-renderer: change repaint_view 03/52903/1
Junghoon [Sun, 22 Nov 2015 06:21:29 +0000 (15:21 +0900)]
render: pixman-renderer: change repaint_view

    - apply buffer transform & scale
    - repaint opaque region separately

Change-Id: I98b0d2f148d940755c267f3427fab56050101bac

8 years agopepper: API for getting current mode of an output 80/52380/1
Taekyun Kim [Thu, 19 Nov 2015 05:37:52 +0000 (14:37 +0900)]
pepper: API for getting current mode of an output

Change-Id: I05526441cabcaf1e41c0d2319f9632a13e9b2156

8 years agopepper: Unref buffer only when having reference 79/52379/1
Taekyun Kim [Thu, 19 Nov 2015 05:07:01 +0000 (14:07 +0900)]
pepper: Unref buffer only when having reference

Change-Id: I5ecff83ccb6cd73fcd514c6d1b41f7f7a7e8a656

8 years agorender: gl-renderer: apply buffer transform & scale 78/52378/1
Junghoon [Wed, 18 Nov 2015 08:04:24 +0000 (17:04 +0900)]
render: gl-renderer: apply buffer transform & scale

Change-Id: I4ebdb7181548e0228302d198690998c1cb1e2327

8 years agopepper: Add pepper_surface/buffer_get_size() 77/52377/1
Taekyun Kim [Wed, 18 Nov 2015 05:51:37 +0000 (14:51 +0900)]
pepper: Add pepper_surface/buffer_get_size()

Change-Id: I47e203d72f98e26874854543950b62378d06b875

8 years agopepper: flush_surface_damage() returns keep_buffer flag 76/52376/1
Taekyun Kim [Wed, 18 Nov 2015 05:24:54 +0000 (14:24 +0900)]
pepper: flush_surface_damage() returns keep_buffer flag

keep_buffer flag is used for telling the pepper core that the buffer is no
longer required (by maintaining a copy of it). If no output wants to keep
the buffer, pepper core can safely unreference the buffer.

Change-Id: I13fccfba6f9cacb08c6619a56fb1ff03ad95883a

8 years agopepper: send wl_surface::leave only when surface is alive 75/52375/1
Junghoon [Wed, 18 Nov 2015 05:22:19 +0000 (14:22 +0900)]
pepper: send wl_surface::leave only when surface is alive

Change-Id: Ie8368ddde3752d13fedd6c77464f91e31d456339

8 years agoMerge branch 'master' into p_tizen
Sangjin Lee [Sat, 21 Nov 2015 03:17:35 +0000 (12:17 +0900)]
Merge branch 'master' into p_tizen
Add initial source code

Change-Id: I0bd275b7e9294c752792e55a22936e48766b4f6d

9 years agopepper: implement subsurface protocols
Jaehoon Jeong [Tue, 10 Nov 2015 04:46:07 +0000 (13:46 +0900)]
pepper: implement subsurface protocols

    - Create subsurface's views that corresponding to parent surface's views

Change-Id: I6d54bd82f67c41a5b74d0bcd965394063ef0c3be

9 years agopepper: calculate inverse of transform matrix once
Junghoon [Thu, 12 Nov 2015 06:23:53 +0000 (15:23 +0900)]
pepper: calculate inverse of transform matrix once

    - only when view's geometry is updated

Change-Id: I0923364890d4c6fb9fabeb7e1b794e4e06067db0

9 years agopepper: send wl_surface::enter and wl_surface::leave events
Junghoon [Thu, 12 Nov 2015 09:54:53 +0000 (18:54 +0900)]
pepper: send wl_surface::enter and wl_surface::leave events

Change-Id: Ia74e2dbd4da848aa3bfdb518690ee6b8a697acd0

9 years agoshell: bugfix in state transition and send configure
Jaehoon Jeong [Tue, 27 Oct 2015 10:52:44 +0000 (19:52 +0900)]
shell: bugfix in state transition and send configure

Change-Id: I682f54a89755dfdc07fd33b6b8f97add7d962547

9 years agodrm: env var for using overlay (default : 0)
Taekyun Kim [Thu, 12 Nov 2015 09:41:24 +0000 (18:41 +0900)]
drm: env var for using overlay (default : 0)

Overlay does not work on linux KMS and need further investigation.
Just disable it by default for now.

Change-Id: I4edec54d5be219f9203cd204632a2a28b8286793

9 years agopepper: Remove keep_buffer APIs
Taekyun Kim [Thu, 12 Nov 2015 09:38:18 +0000 (18:38 +0900)]
pepper: Remove keep_buffer APIs

Change-Id: I21550a0ec67a6229ad6f4b965a4da4a3d24dc271

9 years agopepper: Better buffer ref management
Taekyun Kim [Thu, 12 Nov 2015 09:36:07 +0000 (18:36 +0900)]
pepper: Better buffer ref management

Change-Id: I49cec6341663c4324ad1b796a4d690bcf9b53c84

9 years agoInitial empty repository master
Jeonghoon Jeon [Thu, 12 Nov 2015 06:27:12 +0000 (22:27 -0800)]
Initial empty repository

9 years agodrm: Check format and buffer scale when assigning HW planes
Taekyun Kim [Wed, 11 Nov 2015 10:53:27 +0000 (19:53 +0900)]
drm: Check format and buffer scale when assigning HW planes

Change-Id: Ie514243f4db2c7db77f66f040fbdc53dd551cc0f

9 years agox11: Fix build error
Taekyun Kim [Wed, 11 Nov 2015 08:04:52 +0000 (17:04 +0900)]
x11: Fix build error

Change-Id: Ie65b66ebc2a8e437350a76bcb72750c3c4f80346

9 years agorender: gl-renderer: change repaint_view_scissor
Junghoon [Tue, 10 Nov 2015 05:44:24 +0000 (14:44 +0900)]
render: gl-renderer: change repaint_view_scissor

    - repaint opaque region separately

Change-Id: I7f8d3df1fed0c20df38507003aa4ff6854556faa

9 years agorender: gl-renderer: reduce glDrawArrays() calls
Junghoon [Mon, 9 Nov 2015 09:00:38 +0000 (18:00 +0900)]
render: gl-renderer: reduce glDrawArrays() calls

    - once per region in polygon clipping

Change-Id: I72e59b1db70f880596697e497d0679e93343d0eb

9 years agopepper: Apply output transform and scale
Taekyun Kim [Tue, 10 Nov 2015 02:25:03 +0000 (11:25 +0900)]
pepper: Apply output transform and scale

Change-Id: I93afbd49c5d338f179aaa6f1951239527b23a669

9 years agorender: gl-renderer: tex filter is set by trnasform flags
Junghoon [Mon, 9 Nov 2015 05:17:41 +0000 (14:17 +0900)]
render: gl-renderer: tex filter is set by trnasform flags

Change-Id: I99c7ad591875ef52d75f7f96045b3f7c092dcceb

9 years agoMerge "add manifest file"
TaeKyun Kim [Tue, 10 Nov 2015 02:24:06 +0000 (11:24 +0900)]
Merge "add manifest file"

9 years agoadd manifest file
Sangjin Lee [Tue, 10 Nov 2015 01:34:15 +0000 (10:34 +0900)]
add manifest file

Change-Id: Icca863cb8280cc672849dd090bb02d2da8a6c6eb

9 years agosamples: delete useless sample
Sangjin Lee [Mon, 9 Nov 2015 06:29:47 +0000 (15:29 +0900)]
samples: delete useless sample

Change-Id: I796ef106315a9d458bde62095e56920602386e6a

9 years agoAdd license to all files
Sangjin Lee [Mon, 9 Nov 2015 06:14:54 +0000 (15:14 +0900)]
Add license to all files

Change-Id: I1dfe26c622fea7a02a3a51fecd9cedf40d62d797

9 years agoUpdated COPYING & AUTHORS file
Taekyun Kim [Mon, 9 Nov 2015 05:05:41 +0000 (14:05 +0900)]
Updated COPYING & AUTHORS file

Use same license with wayland/weston.

Change-Id: I3f5b7bf532d6789d161cafe2725b88298247e80d

9 years agorender: gl-renderer: fix clipping condition in polygon clipping
Junghoon [Mon, 9 Nov 2015 04:23:57 +0000 (13:23 +0900)]
render: gl-renderer: fix clipping condition in polygon clipping

Change-Id: I40c4852975173edb5c96f0faf21c52fb0c823339

9 years agopepper: Add initial subsurface implementation
Jaehoon Jeong [Fri, 6 Nov 2015 05:55:27 +0000 (14:55 +0900)]
pepper: Add initial subsurface implementation

Change-Id: Icc0cc065a61d0cc46d58f58e7b740b86b7dcaa3d

9 years agopepper: Add initial subcompositor implementation
Jaehoon Jeong [Fri, 6 Nov 2015 05:49:13 +0000 (14:49 +0900)]
pepper: Add initial subcompositor implementation

Change-Id: I0810e69082dc7fe4d6b425143c43095dd995ba0e

9 years agorender: gl-renderer: fix vertex calculation in polygon clipping
Junghoon [Thu, 5 Nov 2015 12:13:27 +0000 (21:13 +0900)]
render: gl-renderer: fix vertex calculation in polygon clipping

Change-Id: I42bb73f41862127cbd988174784bcc14c9786d23

9 years agorender: gl-renderer: fix polygon clipping
Junghoon [Thu, 5 Nov 2015 05:11:02 +0000 (14:11 +0900)]
render: gl-renderer: fix polygon clipping

    - fix opaque region handling
    - fix scissor test enable/disable for background clearing

Change-Id: I65aec2ffc86a185bbeb00c201295e8257729e9c2

9 years agopepper: fix keyboard event handling function
Junghoon [Thu, 5 Nov 2015 08:09:33 +0000 (17:09 +0900)]
pepper: fix keyboard event handling function

Change-Id: I55e5acf46e792128bcfdd845df4d5fe591dc2995

9 years agorender: use GL_BLEND and GL_SCISSOR only when necessary
Taekyun Kim [Thu, 5 Nov 2015 05:14:22 +0000 (14:14 +0900)]
render: use GL_BLEND and GL_SCISSOR only when necessary

Change-Id: Ie29a60ac10793da9abfe242f1d66326610bfbe30

9 years agodrm: env var for disable no comp mode
Taekyun Kim [Thu, 5 Nov 2015 03:04:32 +0000 (12:04 +0900)]
drm: env var for disable no comp mode

Use PEPPER_DRM_DISABLE_NO_COMP=1 to disable no comp mode.

Change-Id: I693f670c4a9b6fc68a981c5c63184b5b16bc7c6e