platform/core/uifw/pepper.git
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

9 years agorender: Don't use polygon clipper by default
Taekyun Kim [Thu, 5 Nov 2015 02:59:13 +0000 (11:59 +0900)]
render: Don't use polygon clipper by default

Current polygon clipper has bugs and if it is implemented correctly
there could still be problems like "seam artifect".

Change-Id: I9746d689362a42c13fdd1cf8d3c94030f5260ead

9 years agopepper: Remove unused self event handler of pepper_object_t
Taekyun Kim [Tue, 3 Nov 2015 07:55:13 +0000 (16:55 +0900)]
pepper: Remove unused self event handler of pepper_object_t

Change-Id: Icc4fcbfbf0b339e6301632afcaac6e0bb74c3ea4

9 years agopepper: Split input events into device events and core events
Taekyun Kim [Tue, 3 Nov 2015 06:25:27 +0000 (15:25 +0900)]
pepper: Split input events into device events and core events

Use PEPPER_EVENT_INPUT_DEVICE_XXX for pepper_input_device_t.
Event ID has been removed from pepper_input_event_t structure.

Change-Id: I76eadcf5d8f822b93b7ade94f1fdff62c892d073

9 years agorender: gl-renderer: implement polygon clipping
Junghoon [Tue, 3 Nov 2015 02:50:54 +0000 (11:50 +0900)]
render: gl-renderer: implement polygon clipping

    - add env var option
    - if PEPPER_GL_RENDERER_USE_GLSCISSOR=1 then use GlScissor
    - else use polygon clipping

Change-Id: I621717f04655eb2e8fa58ac5c92352cf758a9a3f

9 years agopepper: emit pepper input events after send wayland events to clients
Junghoon [Mon, 2 Nov 2015 08:46:41 +0000 (17:46 +0900)]
pepper: emit pepper input events after send wayland events to clients

Change-Id: Ic31725b0c5b5b2c40369946bcbe5cc8931130fe3

9 years agopepper: change touch APIs
Junghoon [Mon, 2 Nov 2015 08:00:44 +0000 (17:00 +0900)]
pepper: change touch APIs

    - change pepper_touch_point_get_focus to pepper_touch_get_focus
    - change pepper_touch_point_set_focus to pepper_touch_set_focus
        - add / remove touch point in pepper_touch_set_focus

Change-Id: I48d278662798b01189431f38ce3e1f772ec56db1

9 years agopepper: remove cancel_touch_point in pepper_touch_grab
Junghoon [Mon, 2 Nov 2015 07:40:12 +0000 (16:40 +0900)]
pepper: remove cancel_touch_point in pepper_touch_grab

Change-Id: If9d64789e317aaf01f5a18b08021c4277934f510

9 years agopepper: change touch APIs
Junghoon [Mon, 2 Nov 2015 07:38:29 +0000 (16:38 +0900)]
pepper: change touch APIs

    - change pepper_touch_point_get_position to pepper_touch_get_position
    - add pepper_touch_set_position

Change-Id: I2b5942599219f92b11cb716720c346a0ed6c02cf

9 years agopepper: change input event sending APIs
Junghoon [Mon, 2 Nov 2015 07:06:40 +0000 (16:06 +0900)]
pepper: change input event sending APIs

    - APIs for pointer, keyboard, touch
    - add view parameter to send input event

Change-Id: Ibb512319c85f67eb253d685ecbd65a386434c858

9 years agodrm: Don't print error msg when direct scanout failed
Taekyun Kim [Mon, 2 Nov 2015 04:04:19 +0000 (13:04 +0900)]
drm: Don't print error msg when direct scanout failed

Change-Id: I597b7c188f696937e9c28884398cc855e06a88d1

9 years agopepper: env var option for printing FPS
Taekyun Kim [Fri, 30 Oct 2015 02:03:52 +0000 (11:03 +0900)]
pepper: env var option for printing FPS

PEPPER_DEBUG_FPS=1 to print FPS on the console.

Change-Id: I4d96b5abe6063d0e1ebb54e24aa0391d06ffbf41

9 years agodrm: Support for shadow buffer
Taekyun Kim [Thu, 29 Oct 2015 09:36:52 +0000 (18:36 +0900)]
drm: Support for shadow buffer

Set evn var PEPPER_DRM_USE_SHADOW to 1 to use shadow buffer. Dumb buffers are
mapped as non-cached, so reading the dumb buffers is slow when doing blending.
If we can assume that all surfaces are opaque, disabling shadow buffer might
produce better performance.

Change-Id: I594e8952cdab96c488ddeab83ab8c9be0701ce73

9 years agorender: Composite repaint region only
Taekyun Kim [Wed, 28 Oct 2015 07:04:57 +0000 (16:04 +0900)]
render: Composite repaint region only

Change-Id: I05d3f5ab4a3da8654ad1fd01d65b91a204dbd5d8

9 years agopepper: Better repaint scheduling
Taekyun Kim [Wed, 28 Oct 2015 06:29:21 +0000 (15:29 +0900)]
pepper: Better repaint scheduling

Change-Id: If99be91ea6d2b514ecd015d45874585dcbda876c

9 years agorender: gl-renderer: set need_full_upload after calling glGenTextures
Junghoon [Wed, 28 Oct 2015 07:49:08 +0000 (16:49 +0900)]
render: gl-renderer: set need_full_upload after calling glGenTextures

    - and remove buffer_destroy_handler

Change-Id: I7b1710e98cdfb6d2c5df70fba4c6386dcf042cf1

9 years agodrm: clear overlay on drm_output_destroy()
Junghoon [Tue, 27 Oct 2015 10:07:42 +0000 (19:07 +0900)]
drm: clear overlay on drm_output_destroy()

Change-Id: I639714501d9fc1a9bdfcdc188fe4759b41cfc1d6

9 years agodrm: set connected flag false when output is disconnected
Junghoon [Tue, 27 Oct 2015 10:05:14 +0000 (19:05 +0900)]
drm: set connected flag false when output is disconnected

Change-Id: I250511b12b6730a160ec3ffdfc765667cedbe283

9 years agodrm: delay output destruction until vblank & page filp handlers are done
Junghoon [Tue, 27 Oct 2015 09:26:25 +0000 (18:26 +0900)]
drm: delay output destruction until vblank & page filp handlers are done

Change-Id: I104940fad30a9c048fa519a578f5019deb01a376

9 years agopepper: change buffer reference handling
Junghoon [Wed, 28 Oct 2015 06:18:33 +0000 (15:18 +0900)]
pepper: change buffer reference handling

Change-Id: I22dbd744f5da71686390b78807de4186ee18b958

9 years agodrm: set page_flip_pending true after call drmModePageFlip
Junghoon [Tue, 27 Oct 2015 07:26:16 +0000 (16:26 +0900)]
drm: set page_flip_pending true after call drmModePageFlip

Change-Id: I132b311a392e0460cc3f10d246a923574afeb6cb

9 years agodrm: replace drm_output_destroy() with pepper_output_destroy()
Junghoon [Tue, 27 Oct 2015 07:16:16 +0000 (16:16 +0900)]
drm: replace drm_output_destroy() with pepper_output_destroy()

Change-Id: Ie24cccb4cfa70a9d18366a225c66a5f428827765

9 years agodrm: implement overlay assignment
Junghoon [Tue, 27 Oct 2015 04:23:57 +0000 (13:23 +0900)]
drm: implement overlay assignment

Change-Id: I2c3ae72e04fac638568b15b0b7518febc0724840

9 years agopepper: bugfix in touch that is wrong check condition.
Seunghun Lee [Thu, 22 Oct 2015 02:11:15 +0000 (11:11 +0900)]
pepper: bugfix in touch that is wrong check condition.

Change-Id: Iabc44583a78ad88c497b7543cb7995c9a642dd65

9 years agopepper: use clamped values in pointer_set_position()
Junghoon [Wed, 21 Oct 2015 01:39:57 +0000 (10:39 +0900)]
pepper: use clamped values in pointer_set_position()

Change-Id: Ib12c19ccfff75c44ff5581cce8ba948ee1a7c376

9 years agopepper: set pointer clamp values correctly in pepper_pointer_create()
Junghoon [Wed, 21 Oct 2015 01:37:42 +0000 (10:37 +0900)]
pepper: set pointer clamp values correctly in pepper_pointer_create()

Change-Id: Ifc3ec245b2e0d37ae22b4e3f687cb22b9b1666b4

9 years agorender: Call begin/end_access when accessing shm buffer
Taekyun Kim [Tue, 20 Oct 2015 08:56:04 +0000 (17:56 +0900)]
render: Call begin/end_access when accessing shm buffer

Change-Id: I1d55ff55603c2db2b4b1556842faffefee6dec87

9 years agorender: Stop listening buffer destroy when the surface has been destroyed
Taekyun Kim [Tue, 20 Oct 2015 08:47:48 +0000 (17:47 +0900)]
render: Stop listening buffer destroy when the surface has been destroyed

Change-Id: Iffc63f4213e58a1861eca0d01b962564654a1d84

9 years agopepper: Set default keep_buffer flag to TRUE
Taekyun Kim [Tue, 20 Oct 2015 08:47:01 +0000 (17:47 +0900)]
pepper: Set default keep_buffer flag to TRUE

Change-Id: I26945fa27c22e51925ea342eef39119674ac2a17

9 years agopepper: Correctly manage buffer ref count when keep_buffer is TRUE
Taekyun Kim [Tue, 20 Oct 2015 06:51:06 +0000 (15:51 +0900)]
pepper: Correctly manage buffer ref count when keep_buffer is TRUE

Change-Id: I445af4554951b7a94dc24623aae503669477ef04

9 years agopepper: Bug fix on handling buffer release
Taekyun Kim [Tue, 20 Oct 2015 05:40:38 +0000 (14:40 +0900)]
pepper: Bug fix on handling buffer release

Change-Id: I52fda9e859cabe48eee3d200a5676166900c4709

9 years agopepper: Fix SEGV when NULL buffer is attached
Taekyun Kim [Tue, 20 Oct 2015 05:21:58 +0000 (14:21 +0900)]
pepper: Fix SEGV when NULL buffer is attached

Change-Id: Id5dac4dc14a66d63e8a741ab8d0c5e702efb81c9

9 years agopepper: Don't listen release event of the previous buffer
Taekyun Kim [Tue, 20 Oct 2015 05:15:37 +0000 (14:15 +0900)]
pepper: Don't listen release event of the previous buffer

Change-Id: I264f0c9d0a1d107a53d292af8b5808eaeb2b437b

9 years agodoc: Basic documentation on typedefs and enums
Taekyun Kim [Mon, 19 Oct 2015 09:39:38 +0000 (18:39 +0900)]
doc: Basic documentation on typedefs and enums

Change-Id: Ia4f76994c2796bddd125993b21486feec419462b

9 years agopepper: Don't send protocol events for views not having a valid surface
Taekyun Kim [Mon, 19 Oct 2015 05:22:26 +0000 (14:22 +0900)]
pepper: Don't send protocol events for views not having a valid surface

Change-Id: I0248bdcfa138cec0f7753f8911197f2c82266d8e

9 years agopepper: change buffer reference policy
Junghoon [Sun, 18 Oct 2015 04:14:55 +0000 (13:14 +0900)]
pepper: change buffer reference policy

    - not to reference buffer in backend

Change-Id: I89009a8ba6cc8ee06e371a2c4b0986d83cba70ad

9 years agopepper: fix compile error
Junghoon [Sat, 17 Oct 2015 06:40:36 +0000 (15:40 +0900)]
pepper: fix compile error

Change-Id: I8645c50eb4dc668e8ec43f4dbefa15e093376af8

9 years agopepper: Use correct touch id value
Taekyun Kim [Fri, 16 Oct 2015 10:32:42 +0000 (19:32 +0900)]
pepper: Use correct touch id value

Change-Id: Ic27d7a66d9fc4b226f5755a7215a3c62d661cba1

9 years agopepper: Add a touch grab func for touch point cancel
Taekyun Kim [Fri, 16 Oct 2015 10:31:37 +0000 (19:31 +0900)]
pepper: Add a touch grab func for touch point cancel

Change-Id: I319eb6583ee713df732c89408063705cc5802e78

9 years agoshell: Send enter/leave when keyboard focus change
Taekyun Kim [Fri, 16 Oct 2015 10:24:56 +0000 (19:24 +0900)]
shell: Send enter/leave when keyboard focus change

Change-Id: I17e10fa28d61f896e08d50840f9ce60e971128b9

9 years agopepper: Don't internally send enter/leave event for keyboard
Taekyun Kim [Fri, 16 Oct 2015 10:24:32 +0000 (19:24 +0900)]
pepper: Don't internally send enter/leave event for keyboard

Change-Id: I9fff0b38d531637c40b538476d5ab636655edcca

9 years agoshell: Send enter/leave when pointer focus change
Taekyun Kim [Fri, 16 Oct 2015 10:17:19 +0000 (19:17 +0900)]
shell: Send enter/leave when pointer focus change

Change-Id: I8e5840dae2eca90d6e67d452d85fc963d06802a2

9 years agopepper: Don't internally send enter/leave event for pointer
Taekyun Kim [Fri, 16 Oct 2015 09:46:35 +0000 (18:46 +0900)]
pepper: Don't internally send enter/leave event for pointer

Users are responsible for sending enter/leave events now.

Change-Id: I02f9cb5fc1ca56808c9a11e832a054328feab57e

9 years agopepper: Touch API implementation
Taekyun Kim [Fri, 16 Oct 2015 07:51:06 +0000 (16:51 +0900)]
pepper: Touch API implementation

Basic usage scenario.

1. Add a touch point when detecting touch down event.
2. Pick a view and set the focus for the point.
3. Move the touch point when detecting touch motion event.
4. Remove the touch point when detecting touch up event.

Send protocol events using pepper_touch_send_XXX APIs when desired.

Change-Id: Ie230ead5a438c835d8330d2bba57f2b6fd9fb358

9 years agopepper: fix memory leak
Junghoon [Thu, 15 Oct 2015 10:14:54 +0000 (19:14 +0900)]
pepper: fix memory leak

Change-Id: I5da175d116a26f01a82ba26abe29ff070d12a9c5

9 years agorender: gl-renderer: fix memory leak
Junghoon [Thu, 15 Oct 2015 08:15:06 +0000 (17:15 +0900)]
render: gl-renderer: fix memory leak

Change-Id: Ib3ade3f0f8e14f2f4edae7ba5ca8ef80d50b6d98

9 years agopepper: keep buffer reference until buffer release
Junghoon [Wed, 14 Oct 2015 10:51:07 +0000 (19:51 +0900)]
pepper: keep buffer reference until buffer release

    - and generate textures on flush_surface_damage()

Change-Id: I5dae68a8ef4a1b2af03ba332724260a9d5b18146

9 years agopepper: Render surfaces which dropped reference to the buffer
Taekyun Kim [Tue, 13 Oct 2015 10:35:22 +0000 (19:35 +0900)]
pepper: Render surfaces which dropped reference to the buffer

Change-Id: I3b3f34dc2c44e780e577fc7a1a8d03662065a9d5

9 years agorender: Set clear color to opaque black
Taekyun Kim [Tue, 13 Oct 2015 10:03:48 +0000 (19:03 +0900)]
render: Set clear color to opaque black

Change-Id: I68cf23acd1354385c6014b979f411109a0063983

9 years agorender: gl-renderer: implement buffer age management
Junghoon [Thu, 8 Oct 2015 09:41:13 +0000 (18:41 +0900)]
render: gl-renderer: implement buffer age management

Change-Id: I368d7fafbed11b9204d805e78779dacbfa7385e6

9 years agopepper: Release buffer when damage has been flushed
Taekyun Kim [Tue, 13 Oct 2015 06:36:08 +0000 (15:36 +0900)]
pepper: Release buffer when damage has been flushed

Reference to the buffer should be hold by the backend if required.

Change-Id: Id9eaaaed10c95ffd3cfe9e32a0e788e0b19680c1

9 years agodrm: Fix double-free error when a monitor is plugged
Taekyun Kim [Tue, 13 Oct 2015 06:35:22 +0000 (15:35 +0900)]
drm: Fix double-free error when a monitor is plugged

Change-Id: I68e071936b54d7efcb326ed769e48f270e3c5dd9

9 years agosamples: drm-backend: Get tty number from env var
Taekyun Kim [Tue, 13 Oct 2015 06:34:40 +0000 (15:34 +0900)]
samples: drm-backend: Get tty number from env var

Change-Id: I90a544e5e75f1d91b403b45efda27583c40e7512

9 years agoshell: Replace xdg-shell.xml
Jaehoon Jeong [Mon, 12 Oct 2015 13:40:52 +0000 (22:40 +0900)]
shell: Replace xdg-shell.xml

Change-Id: I11b809900f9e7b2ef65423de99ffadedac9ef634