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

9 years agopepper: decrement state reference
Seunghun Lee [Mon, 12 Oct 2015 10:27:02 +0000 (19:27 +0900)]
pepper: decrement state reference

Change-Id: I90f7d3a792f2726c4768c1b0011fb5d55e83600b

9 years agopepper: Selectively inherit transform from parent of a view
Taekyun Kim [Wed, 7 Oct 2015 06:07:07 +0000 (15:07 +0900)]
pepper: Selectively inherit transform from parent of a view

Change-Id: Ib14da2f6c6a49fe0d41a1f24483dba6d6e7bf5a8

9 years agoshell: bugfix in xdg_surface_set_parent
Jaehoon Jeong [Wed, 7 Oct 2015 06:43:46 +0000 (15:43 +0900)]
shell: bugfix in xdg_surface_set_parent

Change-Id: I51a7d3fcb91879b343414f54ea4e4a393f50f160

9 years agobuild: Add missing requirement for xkbcommon in pepper.spec
Taekyun Kim [Wed, 7 Oct 2015 07:00:52 +0000 (16:00 +0900)]
build: Add missing requirement for xkbcommon in pepper.spec

Change-Id: I7e65b626d6e41ef111c0bf6d2b812a9dab520060

9 years agodrm: bugfix. change back_fb_index correctly
Junghoon [Wed, 7 Oct 2015 05:32:36 +0000 (14:32 +0900)]
drm: bugfix. change back_fb_index correctly

Change-Id: I507361ef29ff850528da71a4bb583b5e6f3c1cdc

9 years agoshell: Send ping when pointer focus view is changed
Jaehoon Jeong [Wed, 7 Oct 2015 04:46:19 +0000 (13:46 +0900)]
shell: Send ping when pointer focus view is changed

Change-Id: I6e49b9a8b2f9c668d4cb974d8c1b75672746a713

9 years agoshell: Give keyboard focus to new toplevel shell_surface
Jaehoon Jeong [Tue, 6 Oct 2015 08:58:23 +0000 (17:58 +0900)]
shell: Give keyboard focus to new toplevel shell_surface

Change-Id: I3eff7129774b76f413c6c713b3e22b264b6060f5

9 years agoshell: Handle keyboard focus
Jaehoon Jeong [Tue, 6 Oct 2015 07:31:33 +0000 (16:31 +0900)]
shell: Handle keyboard focus

Change-Id: I59fc00b7cf7d313db78c10372044b025dd50c684

9 years agoshell: Add popup grab
Jaehoon Jeong [Tue, 6 Oct 2015 06:35:05 +0000 (15:35 +0900)]
shell: Add popup grab

Change-Id: I0851d7ed9611c7ae65823ddb103a90aaadf2454f

9 years agopepper: bugfix in pointer creation
Jaehoon Jeong [Wed, 7 Oct 2015 04:34:32 +0000 (13:34 +0900)]
pepper: bugfix in pointer creation

Change-Id: I5a4b483d00d9b030afc0fa152e67598953bd3ed2

9 years agox11: Remove xkb feature from x11-input
Jaehoon Jeong [Tue, 6 Oct 2015 09:11:09 +0000 (18:11 +0900)]
x11: Remove xkb feature from x11-input

Change-Id: I5cc682e8786afc63a965a408773fa07cea5ef05d

9 years agopepper: bugfix in keyboard creation
Jaehoon Jeong [Tue, 6 Oct 2015 07:30:30 +0000 (16:30 +0900)]
pepper: bugfix in keyboard creation

Change-Id: I74d30438a6526e537284c84af9bb2dca4f7a7907

9 years agoMerge changes Id94140f2,Ia256af33,I43109f79,I573384b5,Ieb6f03b7, ...
Sangjin Lee [Wed, 7 Oct 2015 05:17:36 +0000 (14:17 +0900)]
Merge changes Id94140f2,Ia256af33,I43109f79,I573384b5,Ieb6f03b7, ...

* changes:
  pepper: Support for setting NULL keymap
  shell: Set keyboard focus when any pointer button pressed
  pepper: send keyboard modifiers event
  pepper: API for setting keymap
  pepper: shell: Move default grab to the shell library
  pepper: Bug fix when emitting seat's input object add/remove events
  pepper: APIs for getting the seat of a pointer/keyboard/touch

9 years agopepper: Support for setting NULL keymap
Taekyun Kim [Tue, 6 Oct 2015 07:05:56 +0000 (16:05 +0900)]
pepper: Support for setting NULL keymap

Change-Id: Id94140f2af9ef2b90988b91a4fdca759d7107028

9 years agoshell: Set keyboard focus when any pointer button pressed
Jaehoon Jeong [Tue, 6 Oct 2015 06:41:26 +0000 (15:41 +0900)]
shell: Set keyboard focus when any pointer button pressed

Change-Id: Ia256af3323f8e6a0de70e2713fe261c8e18ba5bd

9 years agopepper: send keyboard modifiers event
Junghoon [Mon, 5 Oct 2015 11:51:05 +0000 (20:51 +0900)]
pepper: send keyboard modifiers event

Change-Id: I43109f7907bc63e9189b38a7aa2c33b38ace7010

9 years agopepper: API for setting keymap
Junghoon [Mon, 5 Oct 2015 10:47:22 +0000 (19:47 +0900)]
pepper: API for setting keymap

    - using xkb_keymap in libxkbcommon

Change-Id: I573384b5973c239144e2219c492171715a687c74

9 years agopepper: shell: Move default grab to the shell library
Taekyun Kim [Mon, 5 Oct 2015 09:40:55 +0000 (18:40 +0900)]
pepper: shell: Move default grab to the shell library

Change-Id: Ieb6f03b717b027c617bc2dd6232432a3c8094cec

9 years agopepper: Bug fix when emitting seat's input object add/remove events
Taekyun Kim [Mon, 5 Oct 2015 09:40:18 +0000 (18:40 +0900)]
pepper: Bug fix when emitting seat's input object add/remove events

Change-Id: Ided19e74761122f10ddb4fe244a4a6c009a912fc

9 years agopepper: APIs for getting the seat of a pointer/keyboard/touch
Taekyun Kim [Mon, 5 Oct 2015 09:30:30 +0000 (18:30 +0900)]
pepper: APIs for getting the seat of a pointer/keyboard/touch

Change-Id: Id407266d85882cc042c2253297c874d1e17c15a0

9 years agopepper: Don't change given const argument of pepper_compositor_create().
Seunghun Lee [Mon, 5 Oct 2015 06:23:33 +0000 (15:23 +0900)]
pepper: Don't change given const argument of pepper_compositor_create().

Change-Id: I708cf94f0fa46a2745a90c5be6ca3b54eb05373e

9 years agopepper: Don't try to send input events when there's no focus
Taekyun Kim [Thu, 1 Oct 2015 10:34:53 +0000 (19:34 +0900)]
pepper: Don't try to send input events when there's no focus

Change-Id: I41a6b8a163c6faf0cc335ca7160b1fb76486455e

9 years agopepper: Changed input grab APIs from start/end to set/get
Taekyun Kim [Thu, 1 Oct 2015 10:25:38 +0000 (19:25 +0900)]
pepper: Changed input grab APIs from start/end to set/get

Change-Id: Ie09e94355cee2e9aa2e0de7d97e235a8f7ea24f0

9 years agopepper: pepper_xxx_get_compositor() helper functions
Taekyun Kim [Thu, 1 Oct 2015 09:49:54 +0000 (18:49 +0900)]
pepper: pepper_xxx_get_compositor() helper functions

Change-Id: I4c883dba9875337ffdde8ee9ab20e017fc9eeed8

9 years agopepper: Promote view coordinate conversion functions to APIs
Taekyun Kim [Thu, 1 Oct 2015 09:30:36 +0000 (18:30 +0900)]
pepper: Promote view coordinate conversion functions to APIs

Change-Id: Id884ec209120036aea4058130a088756923ef464

9 years agopepper: APIs for getting corresponding wayland object of a pepper object
Taekyun Kim [Thu, 1 Oct 2015 09:23:02 +0000 (18:23 +0900)]
pepper: APIs for getting corresponding wayland object of a pepper object

Change-Id: Id5cc4777c8b1d0a3e45ac19f172f0a839b785565

9 years agopepper: Removed common focus managing object
Taekyun Kim [Thu, 1 Oct 2015 09:03:27 +0000 (18:03 +0900)]
pepper: Removed common focus managing object

Focus managing is different for each input objects.

Change-Id: I954468cda7aa1c41200a4f976df97f1134d0caba

9 years agopepper: API for setting pointer move velocity
Taekyun Kim [Thu, 1 Oct 2015 07:52:59 +0000 (16:52 +0900)]
pepper: API for setting pointer move velocity

Pointer position is calculated based on the following equation.

curr.x = prev.x + dx * vx;
curr.y = prev.y + dy * vy;

Velocity is not applied to absolute motion events.

Change-Id: I6bf2097eae83ef65422633b43279751cb26f6843

9 years agopepper: API for setting pointer clamp area
Taekyun Kim [Thu, 1 Oct 2015 07:45:36 +0000 (16:45 +0900)]
pepper: API for setting pointer clamp area

Pointer can never go outside the clamp area. Initial value is infinite area.

Change-Id: I832c55791cb499e17c01512fd9052cbd30946dec

9 years agopepper: Process input event before emit
Taekyun Kim [Thu, 1 Oct 2015 07:20:40 +0000 (16:20 +0900)]
pepper: Process input event before emit

There's no way to set pointer position now as it is determined by pepper as
a result of input event processing. Invoking grab functions and emitting
pointer events is just a result of the processing.

Change-Id: Iadccd1b25b97792908c47efa30593af4ce7fb1b5

9 years agopepper: Removed focus() function from pointer grab interface
Taekyun Kim [Thu, 1 Oct 2015 06:59:01 +0000 (15:59 +0900)]
pepper: Removed focus() function from pointer grab interface

Change-Id: Ie89768faafdce46d7db6d860c02ae48eebe315f3

9 years agoshell: Add functions for view's initial position
Jaehoon Jeong [Thu, 1 Oct 2015 05:44:47 +0000 (14:44 +0900)]
shell: Add functions for view's initial position

    - based on pointer position

Change-Id: I247277abb69576af6ca8e3bfad886bcdfbe82796

9 years agopepper: Add an API for getting socket name of a compositor
Taekyun Kim [Wed, 30 Sep 2015 08:47:12 +0000 (17:47 +0900)]
pepper: Add an API for getting socket name of a compositor

Change-Id: Ic3edf358096ce7c0c162a9658bb8a51c8bcd65f7

9 years agopepper: Use wl_display_add_socket_auto() for NULL socket name
Taekyun Kim [Wed, 30 Sep 2015 08:44:44 +0000 (17:44 +0900)]
pepper: Use wl_display_add_socket_auto() for NULL socket name

Change-Id: I633a97cef42ac5be3eee1e5f9f8665d0eb5e41e9

9 years agoshell: Fix fullscreen, maximized features
Jaehoon Jeong [Thu, 1 Oct 2015 02:38:32 +0000 (11:38 +0900)]
shell: Fix fullscreen, maximized features

    - minor bug fix for switching to maximized surface
    - save correct values for unset

Change-Id: Ie774ee3589bcf22b7f09ba16d07e783636911698

9 years agoshell: Ignore move/resize request in fullscreen, maximized, minimized state
Jaehoon Jeong [Wed, 30 Sep 2015 11:52:11 +0000 (20:52 +0900)]
shell: Ignore move/resize request in fullscreen, maximized, minimized state

Change-Id: Iac72a566ee187852e16213a084d4761e962f3f76

9 years agorender: pixman-renderer: implement repaint_view()
Junghoon [Tue, 29 Sep 2015 08:32:02 +0000 (17:32 +0900)]
render: pixman-renderer: implement repaint_view()

    - apply transform matrix
    - set filter

Change-Id: I5fb12ecceaa2247e426bec92e56ea686e78c95e7

9 years agoshell: fix resize correctly
Jaehoon Jeong [Wed, 30 Sep 2015 05:50:58 +0000 (14:50 +0900)]
shell: fix resize correctly

Change-Id: If5daa8d638f29a6411097194e2dc82b3b7647c95

9 years agoshell: fix xdg_surface_set_window_geometry() work correctly
Jaehoon Jeong [Wed, 30 Sep 2015 05:15:24 +0000 (14:15 +0900)]
shell: fix xdg_surface_set_window_geometry() work correctly

Change-Id: I88900f843ba420e3bc7bac6470e8e1cc5b0a3eb6

9 years agoshell: Convert type of position to double from int
Jaehoon Jeong [Fri, 25 Sep 2015 05:29:05 +0000 (14:29 +0900)]
shell: Convert type of position to double from int

    - minor code cleanup

Change-Id: I49ba0becf081abea61a08f9ccda1649152bf3b46

9 years agorender: gl-renderer: bugfix. correct vertex index for glDrawArrays()
Junghoon [Thu, 24 Sep 2015 04:46:39 +0000 (13:46 +0900)]
render: gl-renderer: bugfix. correct vertex index for glDrawArrays()

Change-Id: Ia1647860b70fd1cc7d3bfbb1a910143059e5d621

9 years agosamples: x11-backend - take socket name and renderer string as arguments
Taekyun Kim [Wed, 23 Sep 2015 10:17:58 +0000 (19:17 +0900)]
samples: x11-backend - take socket name and renderer string as arguments

Change-Id: I21160b8a277ad8245fa8a28cd71481a3b9adcc55

9 years agorender: Apply PEPPER_RENDER_CLEAR_BACKGROUND env var for gl renderer
Taekyun Kim [Wed, 23 Sep 2015 09:59:21 +0000 (18:59 +0900)]
render: Apply PEPPER_RENDER_CLEAR_BACKGROUND env var for gl renderer

Change-Id: Ie8a0ecb0e122b9fb4f19bc5ef9bdd806cc98fd7a

9 years agorender: Clean up GL renderer code
Taekyun Kim [Wed, 23 Sep 2015 09:51:04 +0000 (18:51 +0900)]
render: Clean up GL renderer code

Change-Id: I3afb2961c9e491da724f57fd8635ea3dbd4e44b0

9 years agorender: x11: Fix GL renderer to work with x11 backend
Taekyun Kim [Wed, 23 Sep 2015 09:40:34 +0000 (18:40 +0900)]
render: x11: Fix GL renderer to work with x11 backend

Change-Id: Ied853914cd43c587a8f99f34bc12cfe8240535ac

9 years agopepper: Update output size when mode changes
Taekyun Kim [Wed, 23 Sep 2015 09:39:07 +0000 (18:39 +0900)]
pepper: Update output size when mode changes

Change-Id: Ic67da584ffce62405dd76879148a5e061d241185

9 years agopepper: Send focus enter event for newly bound pointer & keyboard
Taekyun Kim [Tue, 22 Sep 2015 09:19:22 +0000 (18:19 +0900)]
pepper: Send focus enter event for newly bound pointer & keyboard

Change-Id: I15a442cf0d8efbb13e419f2be14beccb21074a14

9 years agopepper: Default keyboard grab
Taekyun Kim [Tue, 22 Sep 2015 07:28:30 +0000 (16:28 +0900)]
pepper: Default keyboard grab

Change-Id: I6e2bf9fb6a49684445329756a876d9c438503d98

9 years agopepper: Maintain an array of pressed keys for keyboard
Taekyun Kim [Tue, 22 Sep 2015 07:27:01 +0000 (16:27 +0900)]
pepper: Maintain an array of pressed keys for keyboard

Change-Id: I3e78c6cffde723016f4d4631bba24132f6dc7c21

9 years agopepper: Fix error on checking keyboard and touch of a seat
Taekyun Kim [Tue, 22 Sep 2015 06:39:47 +0000 (15:39 +0900)]
pepper: Fix error on checking keyboard and touch of a seat

Change-Id: I382fe3e14bb88f7f6c7933984c56338263966f18

9 years agopepper: Set keyboard focus when pointer left button is pressed
Taekyun Kim [Tue, 22 Sep 2015 06:14:25 +0000 (15:14 +0900)]
pepper: Set keyboard focus when pointer left button is pressed

Change-Id: I9fee9e734dabdbb1c83e96b406fd699f48ba633f

9 years agox11: Poll for xcb event when the FD is set
Taekyun Kim [Tue, 22 Sep 2015 06:13:47 +0000 (15:13 +0900)]
x11: Poll for xcb event when the FD is set

Change-Id: I387942ab18662ab06a937e81e82405023251e07e

9 years agopepper: Ignore surfaces having no attached buffer
Taekyun Kim [Tue, 22 Sep 2015 02:26:03 +0000 (11:26 +0900)]
pepper: Ignore surfaces having no attached buffer

Change-Id: I9d5ca5041af3b6dd0daa63364127b6ad6bb940ac

9 years agopepper: Update surface size when attached buffer is destroyed
Taekyun Kim [Tue, 22 Sep 2015 02:25:33 +0000 (11:25 +0900)]
pepper: Update surface size when attached buffer is destroyed

Change-Id: I7b7040eeef8c1b0be9d9a45b70927e6eeaf3cd67

9 years agodrm: implement assign_fb_plane()
Junghoon [Tue, 22 Sep 2015 01:59:11 +0000 (10:59 +0900)]
drm: implement assign_fb_plane()

    - need to check format before create fb correctly

Change-Id: I891a21be80ed548ad7d2f956efe3116d1cf5cac5