Sangjin Lee [Fri, 19 Feb 2016 04:39:29 +0000 (13:39 +0900)]
Guide to coding-style
Change-Id: Ic991236c34e6b71c74e33fd94e81d60087a87e73
Sangjin Lee [Fri, 19 Feb 2016 04:33:28 +0000 (13:33 +0900)]
Change coding-style to tizen
Change-Id: Ie33a0a7e5da13a2f942a0662e6dd078f60211a96
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
Sangjin Lee [Sat, 13 Feb 2016 06:04:17 +0000 (15:04 +0900)]
Fix build warning
Change-Id: I5719d94ed4e060f7d0759f9dd05fc76321e06a7c
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
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
Sangjin Lee [Thu, 14 Jan 2016 04:16:54 +0000 (20:16 -0800)]
Merge "pepper: Bug fix in ID allocator" into tizen
Taekyun Kim [Thu, 14 Jan 2016 01:15:19 +0000 (10:15 +0900)]
pepper: Bug fix in ID allocator
Change-Id: I5286c34f444b70ef64aaac0942d46dbd760668a6
Sangjin Lee [Wed, 13 Jan 2016 23:57:07 +0000 (08:57 +0900)]
utils: Fix error of bucket free
Change-Id: I1060781e2ab987c47f5f6f3d0a60f11e4f81be48
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
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
Taekyun Kim [Wed, 13 Jan 2016 11:04:00 +0000 (20:04 +0900)]
pepper: utils: Add 32bit integer ID allocator
Change-Id: I25d391b8f5eda12e01f8e7de31c82a86f0c71d53
Taekyun Kim [Wed, 13 Jan 2016 09:35:12 +0000 (18:35 +0900)]
shell: Fix typo error in pepper-shell.xml
Change-Id: If0f493a323847daafbcc770ed4dfd5b4a8f7833b
Sangjin Lee [Mon, 4 Jan 2016 02:49:13 +0000 (11:49 +0900)]
pepper: add NULL check
Change-Id: Ic5ec8f4c1090d8ab45a420721581a9a558d6a669
Sangjin Lee [Mon, 28 Dec 2015 11:45:11 +0000 (20:45 +0900)]
touch: fix check validation of the point
Change-Id: I2c7b6b1e113718ca7cd4ba97d57982f1c3c7253b
Sangjin Lee [Mon, 28 Dec 2015 11:09:41 +0000 (20:09 +0900)]
desktop-shell: fix DEREF_AFTER_NULL
Change-Id: Ie96a803f7e56d0ff23af3fefd2da0dd900be4d07
Sangjin Lee [Mon, 28 Dec 2015 11:07:38 +0000 (20:07 +0900)]
desktop-shell: fix DEREF_AFTER_NULL
Change-Id: I81e79341a56b3f493547c88f09822aed8b485b10
Sangjin Lee [Tue, 22 Dec 2015 12:58:56 +0000 (21:58 +0900)]
tdm: chenge keep_buffer in flush_surface_damage
Change-Id: Iff7ebfb6aa40af4097e31d46c992846da1c82f3d
Sangjin Lee [Tue, 22 Dec 2015 12:41:18 +0000 (21:41 +0900)]
pepper: fix build error
Change-Id: Ie0c21a62fcfe7ec2320e24429e6adf7a9a1d1aa8
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>
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>
Taekyun Kim [Thu, 17 Dec 2015 07:32:29 +0000 (16:32 +0900)]
shell: Fix build error
Change-Id: I2feae9320873baa5fb5fb1827c46337e604ac93e
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
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
Taekyun Kim [Wed, 16 Dec 2015 04:40:06 +0000 (13:40 +0900)]
pepper: Removed unused data device codes
Change-Id: I4ac53eccf3da630f543803ffd2418e8ea75f9483
Taekyun Kim [Wed, 16 Dec 2015 03:56:52 +0000 (12:56 +0900)]
doc: Documentation
Change-Id: I655102f2bd0619472d5192b0b3658453592ec677
Junghoon [Wed, 9 Dec 2015 08:03:01 +0000 (17:03 +0900)]
doc: documentation in pepper-output-backend.h
Change-Id: I44c2bed7a316308df65243dc8196385580b3c5f4
Junghoon [Wed, 9 Dec 2015 08:01:19 +0000 (17:01 +0900)]
doc: documentation in pepper-input-backend.h
Change-Id: I10115244aa65c9c3279125b5fdb0f377bb3d0250
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
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>
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
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>
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>
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>
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>
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>
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>
Junghoon [Fri, 27 Nov 2015 05:50:36 +0000 (14:50 +0900)]
pepper: remove unused variable
Change-Id: I8a60e131b8e11504495165d18db0f9db58a5b39e
Jaehoon Jeong [Wed, 25 Nov 2015 06:51:39 +0000 (15:51 +0900)]
pepper: destroy resources in subcompositor_destroy
Change-Id: I0c3a7591403d411409e92a9553daa24d5a3870bc
Jaehoon Jeong [Wed, 25 Nov 2015 06:50:58 +0000 (15:50 +0900)]
pepper: Initialize subcompositor when creating compositor
Change-Id: I20053bf6795dbcbc2674b2cc62bc769b72bc7988
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
Junghoon [Wed, 25 Nov 2015 07:33:48 +0000 (16:33 +0900)]
render: gl-renderer: minor refactoring of repaint_region_scissor()
Change-Id: Iaec6c59dc57cd96698ed426eddac534d905e10b9
Junghoon [Tue, 24 Nov 2015 07:57:26 +0000 (16:57 +0900)]
render: gl-renderer: apply y_inverted
Change-Id: I3761e9e60c6aad12916b76acb357a1a80de36d3a
Junghoon [Tue, 24 Nov 2015 01:37:24 +0000 (10:37 +0900)]
render: pixman-renderer: fix buffer transform & scale
Change-Id: If3bb7098df3826c0da657193505b6a84e4321f5e
Junghoon [Mon, 23 Nov 2015 09:41:32 +0000 (18:41 +0900)]
render: gl-renderer: fix buffer transform
Change-Id: Ifab79d3a7867992bfb140d6306192f0787fb24dc
Jaehoon Jeong [Mon, 23 Nov 2015 05:16:20 +0000 (14:16 +0900)]
pepper: Add view create/destroy code for subsurface
Change-Id: I6f327ec72e3be02eab593c55805ca1b574708c74
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
Jaehoon Jeong [Mon, 23 Nov 2015 05:53:42 +0000 (14:53 +0900)]
shell: destroy view when shell_surface destroyed
Change-Id: Ia908996ef29a90f03b4f1bc651984f6ab4d2de53
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
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
Taekyun Kim [Thu, 19 Nov 2015 05:07:01 +0000 (14:07 +0900)]
pepper: Unref buffer only when having reference
Change-Id: I5ecff83ccb6cd73fcd514c6d1b41f7f7a7e8a656
Junghoon [Wed, 18 Nov 2015 08:04:24 +0000 (17:04 +0900)]
render: gl-renderer: apply buffer transform & scale
Change-Id: I4ebdb7181548e0228302d198690998c1cb1e2327
Taekyun Kim [Wed, 18 Nov 2015 05:51:37 +0000 (14:51 +0900)]
pepper: Add pepper_surface/buffer_get_size()
Change-Id: I47e203d72f98e26874854543950b62378d06b875
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
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
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
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
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
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
Jaehoon Jeong [Tue, 27 Oct 2015 10:52:44 +0000 (19:52 +0900)]
shell: bugfix in state transition and send configure
Change-Id: I682f54a89755dfdc07fd33b6b8f97add7d962547
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
Taekyun Kim [Thu, 12 Nov 2015 09:38:18 +0000 (18:38 +0900)]
pepper: Remove keep_buffer APIs
Change-Id: I21550a0ec67a6229ad6f4b965a4da4a3d24dc271
Taekyun Kim [Thu, 12 Nov 2015 09:36:07 +0000 (18:36 +0900)]
pepper: Better buffer ref management
Change-Id: I49cec6341663c4324ad1b796a4d690bcf9b53c84
Jeonghoon Jeon [Thu, 12 Nov 2015 06:27:12 +0000 (22:27 -0800)]
Initial empty repository
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
Taekyun Kim [Wed, 11 Nov 2015 08:04:52 +0000 (17:04 +0900)]
x11: Fix build error
Change-Id: Ie65b66ebc2a8e437350a76bcb72750c3c4f80346
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
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
Taekyun Kim [Tue, 10 Nov 2015 02:25:03 +0000 (11:25 +0900)]
pepper: Apply output transform and scale
Change-Id: I93afbd49c5d338f179aaa6f1951239527b23a669
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
TaeKyun Kim [Tue, 10 Nov 2015 02:24:06 +0000 (11:24 +0900)]
Merge "add manifest file"
Sangjin Lee [Tue, 10 Nov 2015 01:34:15 +0000 (10:34 +0900)]
add manifest file
Change-Id: Icca863cb8280cc672849dd090bb02d2da8a6c6eb
Sangjin Lee [Mon, 9 Nov 2015 06:29:47 +0000 (15:29 +0900)]
samples: delete useless sample
Change-Id: I796ef106315a9d458bde62095e56920602386e6a
Sangjin Lee [Mon, 9 Nov 2015 06:14:54 +0000 (15:14 +0900)]
Add license to all files
Change-Id: I1dfe26c622fea7a02a3a51fecd9cedf40d62d797
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
Junghoon [Mon, 9 Nov 2015 04:23:57 +0000 (13:23 +0900)]
render: gl-renderer: fix clipping condition in polygon clipping
Change-Id: I40c4852975173edb5c96f0faf21c52fb0c823339
Jaehoon Jeong [Fri, 6 Nov 2015 05:55:27 +0000 (14:55 +0900)]
pepper: Add initial subsurface implementation
Change-Id: Icc0cc065a61d0cc46d58f58e7b740b86b7dcaa3d
Jaehoon Jeong [Fri, 6 Nov 2015 05:49:13 +0000 (14:49 +0900)]
pepper: Add initial subcompositor implementation
Change-Id: I0810e69082dc7fe4d6b425143c43095dd995ba0e
Junghoon [Thu, 5 Nov 2015 12:13:27 +0000 (21:13 +0900)]
render: gl-renderer: fix vertex calculation in polygon clipping
Change-Id: I42bb73f41862127cbd988174784bcc14c9786d23
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
Junghoon [Thu, 5 Nov 2015 08:09:33 +0000 (17:09 +0900)]
pepper: fix keyboard event handling function
Change-Id: I55e5acf46e792128bcfdd845df4d5fe591dc2995
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
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
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
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
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
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
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
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
Junghoon [Mon, 2 Nov 2015 07:40:12 +0000 (16:40 +0900)]
pepper: remove cancel_touch_point in pepper_touch_grab
Change-Id: If9d64789e317aaf01f5a18b08021c4277934f510
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
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
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
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
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
Taekyun Kim [Wed, 28 Oct 2015 07:04:57 +0000 (16:04 +0900)]
render: Composite repaint region only
Change-Id: I05d3f5ab4a3da8654ad1fd01d65b91a204dbd5d8
Taekyun Kim [Wed, 28 Oct 2015 06:29:21 +0000 (15:29 +0900)]
pepper: Better repaint scheduling
Change-Id: If99be91ea6d2b514ecd015d45874585dcbda876c
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
Junghoon [Tue, 27 Oct 2015 10:07:42 +0000 (19:07 +0900)]
drm: clear overlay on drm_output_destroy()
Change-Id: I639714501d9fc1a9bdfcdc188fe4759b41cfc1d6
Junghoon [Tue, 27 Oct 2015 10:05:14 +0000 (19:05 +0900)]
drm: set connected flag false when output is disconnected
Change-Id: I250511b12b6730a160ec3ffdfc765667cedbe283