code:
https://github.com/quanxianwang/wr-graph.git
You can find more information in wiki page.
https://wiki.tizen.org/wiki/Wayland_Rendering_Analysis_Tool
Quanxian Wang (1):
Add wayland rendering performance log
clients/perf_log_client.h | 51
/quanxianwang/wr-graph.git
Related tools wiki:
https://wiki.tizen.org/wiki/Wayland_Rendering_Analysis_Tool
Signed-Off-By Quanxian Wang
Signed-Off-By Xiaoyanx Zhang
---
clients/perf_log_client.h | 51 ++
clients/simple-egl.c | 6 ++
clients/window.c
exposed to public. It is only for
QA testing and Admin configuration currently.
Signed-off-by: Quanxian Wang
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 316 +++
2 files changed, 317 insertions(+)
create mode 100644 protocol/randr.xml
provide drm_output_new_mode interface to create new mode
from outsite instead of only from edid or configure.
Signed-off-by: Quanxian Wang
---
src/compositor-drm.c | 92
1 file changed, 92 insertions(+)
diff --git a/src/compositor-drm.c b
gards
Quanxian Wang
GENERAL SUMMARY:
Important Notes:
This protocol is not exposed to public. It is only for
QA testing and Admin configuration at the moment.
Objective:
The idea is from xrandr provided by xserver. *Dynamic* output mode
setting is the main objective of this protocol. Remember,
it is one
1) Add weston_randr definition and randr_backend intreface.
2) Export functions used in compositor.c so that module wrandr
could use them. For example, weston_output_transform_scale_init.
3) Support new_mode backend interface in output structure.
Signed-off-by: Quanxian Wang
---
src
When starting weston with parameter --enable-wrandr,
it will automatically load wrandr.so module. This is
for QA testing and Admin configuration.
weston_output_transform_scale_init will be used by
weston randr module.
Signed-off-by: Quanxian Wang
---
src/compositor.c | 35
More details, please run "weston-wrandr -h"
Signed-off-by: Quanxian Wang
---
clients/Makefile.am |9 +
clients/wrandr.c| 1314 +++
2 files changed, 1323 insertions(+)
create mode 100644 clients/wrandr.c
diff --git a/clients/Mak
Signed-off-by: Quanxian Wang
---
Makefile.am | 5 +
configure.ac | 8
2 files changed, 13 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index f22c542..254cde7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,11 +6,16 @@ if ENABLE_XWAYLAND
xwayland_subdir = xwayland
endif
Signed-off-by: Quanxian Wang
---
Makefile.am | 5 +
configure.ac | 8
2 files changed, 13 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index f22c542..254cde7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,11 +6,16 @@ if ENABLE_XWAYLAND
xwayland_subdir = xwayland
endif
will be sent with output parameter one by one.
This protocol is not exposed to public. It is only for
QA testing and Admin configuration currently.
Signed-off-by: Quanxian Wang
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 260 +++
2 files
1) Add weston_randr definition and randr_backend intreface.
2) Export functions used in compositor.c so that module wrandr
could use them. For example, weston_output_transform_scale_init.
3) Support new_mode backend interface in output structure.
Signed-off-by: Quanxian Wang
---
src
When starting weston with parameter --enable-wrandr,
it will automatically load wrandr.so module. This is
for QA testing and Admin configuration.
weston_output_transform_scale_init will be used by
weston randr module.
Signed-off-by: Quanxian Wang
---
src/compositor.c | 14 --
1
utput change
When you build weston, add option --enable-wrandr to enable building of weston
randr module.
Like that: ./autogen.sh --enable-wrandr ...
Thanks
Regards
Quanxian Wang
General Information:
Note:
This protocol is not exposed to public. It is only for
QA testing and Admin configurati
details, please run "weston-wrandr -h"
Signed-off-by: Quanxian Wang
---
clients/Makefile.am |9 +
clients/wrandr.c| 1213 +++
2 files changed, 1222 insertions(+)
create mode 100644 clients/wrandr.c
diff --git a/clients/Makefile.am
Signed-off-by: Quanxian Wang
---
module/Makefile.am|3 +
module/wrandr/Makefile.am | 32 ++
module/wrandr/wrandr.c| 1262 +
3 files changed, 1297 insertions(+)
create mode 100644 module/Makefile.am
create mode 100644 module/wrandr
provide drm_output_new_mode interface to create new mode
from outsite instead of only from edid or configure.
Signed-off-by: Quanxian Wang
---
src/compositor-drm.c | 76
1 file changed, 76 insertions(+)
diff --git a/src/compositor-drm.c b
. If more threads/process use the same
client and output at the same time, client app needs generate
a request id to be distinguished from others.
Signed-off-by: Quanxian Wang
---
clients/wrandr.c | 35 ++-
module/wrandr/wrandr.c | 31
not support operations on multiple outputs in one time.
More details, please run "weston-wrandr -h"
Signed-off-by: Quanxian Wang
---
clients/Makefile.am | 9 +
clients/wrandr.c| 862
2 files changed, 871 insertions(+)
create m
-off-by: Quanxian Wang
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 228 +++
2 files changed, 229 insertions(+)
create mode 100644 protocol/randr.xml
diff --git a/protocol/Makefile.am b/protocol/Makefile.am
index 5e331a7..df2e070 100644
Provide drm_output_new_mode interface to create new mode
from outsite instead of only from edid or configure.
Signed-off-by: Quanxian Wang
---
src/compositor-drm.c | 67
1 file changed, 67 insertions(+)
diff --git a/src/compositor-drm.c b
Signed-off-by: Quanxian Wang
---
Makefile.am | 5 +
configure.ac | 8
2 files changed, 13 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index f22c542..254cde7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,11 +6,16 @@ if ENABLE_XWAYLAND
xwayland_subdir = xwayland
endif
1) Add weston_randr definition and randr_backend intreface.
2) Export functions used in compositor.c so that module wrandr
could use them. For example, weston_output_transform_scale_init.
3) Support new_mode backend interface in output structure.
Signed-off-by: Quanxian Wang
---
src
Signed-off-by: Quanxian Wang
---
module/Makefile.am| 3 +
module/wrandr/Makefile.am | 32 ++
module/wrandr/wrandr.c| 792 ++
3 files changed, 827 insertions(+)
create mode 100644 module/Makefile.am
create mode 100644 module/wrandr
When starting weston with parameter --enable-wrandr,
it will automatically load wrandr.so module. This is
for QA testing and Admin configuration.
Signed-off-by: Quanxian Wang
---
src/compositor.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src
nd make the change.
Thanks for your support.
Regards
Quanxian Wang
General Information:
Objective:
Randr interface will not be exposed. It is only for weston-specific.
and it is only for testing and configuration.
The idea is from xrandr provided by xserver. *Dynamic* mode
setting is the mai
Signed-off-by: Quanxian Wang
---
clients/desktop-shell.c | 12 ++--
clients/window.c| 12 ++--
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index a0c6b6d..9b15e3c 100644
--- a/clients/desktop-shell.c
an output.
Quanxian Wang (3):
wayland: Add wl_output name event
shell: Add wl_output name event
weston:Add wl_output name event
Wayland:
protocol/wayland.xml | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
Shell:
clients/desktop-shell.c | 12 ++--
clients
Signed-off-by: Quanxian Wang
---
src/compositor.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 40e4b11..78e2b48 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3115,7 +3115,7 @@ bind_output(struct wl_client *client
an output.
Signed-off-by: Quanxian Wang
---
protocol/wayland.xml | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index d47ee62..881ebad 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1618,7 +1618,7
Signed-off-by: Quanxian Wang
---
clients/desktop-shell.c | 10 +-
clients/window.c| 10 +-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index a0c6b6d..cefe936 100644
--- a/clients/desktop-shell.c
+++ b
This event contains name of output. It may be sent after
binding the output object. It is intended that client could
input a character output name as a parameter or for log output.
Signed-off-by: Quanxian Wang
---
protocol/wayland.xml | 11 +++
1 file changed, 11 insertions(+)
diff
This event contains name of output. It may be sent after
binding the output object. It is intended that client could
input a character output name as a parameter or for log output.
Mainly for client, provide a sensible character name
instead of object.
Quanxian Wang (3):
wayland: Add wl_output
Signed-off-by: Quanxian Wang
---
src/compositor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compositor.c b/src/compositor.c
index 98a4f6f..f82f771 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3044,6 +3044,9 @@ bind_output(struct wl_client *client
With protocol of wl_output version 2, after the output change,
it should send done event to all clients bound with it.
Signed-off-by: Quanxian Wang
---
src/compositor.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/compositor.c b/src/compositor.c
index 7c29d51
protocol/randr.xml b/protocol/randr.xml
new file mode 100644
index 000..5c1d2d2
--- /dev/null
+++ b/protocol/randr.xml
@@ -0,0 +1,166 @@
+
+
+
+
+ Copyright © 2014 Quanxian Wang
+Copyright © 2014 Intel Corporation
+
+Permission to use, copy, modify, distribute, and sell this
+
Signed-off-by: Quanxian Wang
---
src/compositor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compositor.c b/src/compositor.c
index 98a4f6f..8e8964b 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3045,6 +3045,9 @@ bind_output(struct wl_client *client
This event contains name of output. It may be sent after
binding the output object. It is intended that client could
input a character output name as a parameter or for log info.
Mainly for client, provide a sensible character name
instead of object.
Quanxian Wang (3):
wayland: Add wl_output
Signed-off-by: Quanxian Wang
---
clients/desktop-shell.c | 10 +-
clients/window.c| 10 +-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index a0c6b6d..cefe936 100644
--- a/clients/desktop-shell.c
+++ b
This event contains name of output. It may be sent after
binding the output object. It is intended that client could
input a character output name as a parameter or for log info.
Signed-off-by: Quanxian Wang
---
protocol/wayland.xml | 11 +++
1 file changed, 11 insertions(+)
diff --git
With protocol of wl_output version 2, after the output change,
it should send done event to all clients bount with it.
Signed-off-by: Quanxian Wang
---
src/compositor.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/compositor.c b/src/compositor.c
index 7c29d51
sible
outside window.c.
Signed-off-by: Quanxian Wang
---
clients/desktop-shell.c | 75 +++--
clients/window.c| 7 +
clients/window.h| 2 ++
3 files changed, 81 insertions(+), 3 deletions(-)
diff --git a/clients/desktop-shell.c b/cl
sible outside window.c.
Signed-off-by: Quanxian Wang
---
clients/desktop-shell.c | 80 +++--
clients/window.c| 7 +
clients/window.h| 2 ++
3 files changed, 87 insertions(+), 2 deletions(-)
diff --git a/clients/desktop-shell.c b/cl
sible outside window.c.
Signed-off-by: Quanxian Wang
---
clients/desktop-shell.c | 70 +
clients/window.c| 7 +
clients/window.h| 2 ++
3 files changed, 79 insertions(+)
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
Signed-off-by: Quanxian Wang
Reviewed-by: Zhang, Xiong Y
---
clients/Makefile.am | 9 +
clients/wrandr.c| 642
2 files changed, 651 insertions(+)
create mode 100644 clients/wrandr.c
diff --git a/clients/Makefile.am b/clients
Panel and background depend on the size of output,
So they have to be bound with output change including
mode, transform and scale.
Before resize the panel and background window,
their min_allocation has to be reset.
Add window_set_min_allocation function
Signed-off-by: Quanxian Wang
Reviewed
setting the mode,
just call one request wl_randr_set_mode without any other operation.
Signed-off-by: Quanxian Wang
Reviewed-by: Zhang, Xiong Y
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 151 +++
2 files changed, 152 insertions(+)
create
Signed-off-by: Quanxian Wang
Reviewed-by: Zhang, Xiong Y
---
src/compositor.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/compositor.h b/src/compositor.h
index 22a485f..6bc000f 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -172,6 +172,15 @@ enum
et mode as 1920x1200
4. weston-randr --output HDMI3 -R 1 # rotate HDMI3 output 90 degree
5. weston-randr --output HDMI3 -leftof VGA1 # put HDMI3 output leftof VGA1
6. weston-randr --output HDMI3 -rightof VGA1 # put HDMI3 output rightof VGA1
Quanxian Wang (6):
Add weston randr protocol
Add we
Function get_disoutputs is added in order to provide
display port information embedded on the machine.
Signed-off-by: Quanxian Wang
Reviewed-by: Zhang, Xiong Y
---
src/compositor-drm.c | 67
1 file changed, 67 insertions(+)
diff --git a/src
1) add the initialization of randr protocol
2) add the randr request implementation
Signed-off-by: Quanxian Wang
Reviewed-by: Zhang, Xiong Y
---
src/Makefile.am | 4 +
src/compositor.c | 466 +--
2 files changed, 423 insertions(+), 47
51 matches
Mail list logo