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
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
More details, please run weston-wrandr -h
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
clients/Makefile.am |9 +
clients/wrandr.c| 1314 +++
2 files changed, 1323 insertions(+)
create mode 100644 clients/wrandr.c
diff --git
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 shot
provide drm_output_new_mode interface to create new mode
from outsite instead of only from edid or configure.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
src/compositor-drm.c | 92
1 file changed, 92 insertions(+)
diff --git
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 quanxian.w
is not exposed to public. It is only for
QA testing and Admin configuration currently.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 316 +++
2 files changed, 317 insertions(+)
create mode 100644
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 quanxian.w...@intel.com
---
src/compositor.c
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
provide drm_output_new_mode interface to create new mode
from outsite instead of only from edid or configure.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
src/compositor-drm.c | 76
1 file changed, 76 insertions(+)
diff --git
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 configuration
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
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 quanxian.w...@intel.com
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 260
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 quanxian.w
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 quanxian.w...@intel.com
---
src/compositor.c
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 quanxian.w...@intel.com
---
src/compositor.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff
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 main objective
Provide drm_output_new_mode interface to create new mode
from outsite instead of only from edid or configure.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
src/compositor-drm.c | 67
1 file changed, 67 insertions(+)
diff --git
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
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 quanxian.w
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
. 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 quanxian.w...@intel.com
---
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 quanxian.w...@intel.com
---
clients/Makefile.am | 9 +
clients/wrandr.c| 862
2 files changed, 871 insertions
-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
for an output.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
for 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 quanxian.w...@intel.com
---
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
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 quanxian.w...@intel.com
---
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
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
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 quanxian.w...@intel.com
---
src/compositor.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/compositor.c b/src
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 quanxian.w...@intel.com
---
protocol/wayland.xml | 11 +++
1 file changed, 11
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 quanxian.w...@intel.com
---
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
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
# put HDMI3 output leftof VGA1
Group operations example:
5. weston-randr --output HDMI3 --transform 3 --scale 2 --mode 2 -leftof VGA1
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
protocol/randr.xml | 166 +++
1 files changed, 166
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 quanxian.w...@intel.com
---
src/compositor.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/compositor.c b/src
outside window.c.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
outside window.c.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
---
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
Function get_disoutputs is added in order to provide
display port information embedded on the machine.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
Reviewed-by: Zhang, Xiong Y xiong.y.zh...@intel.com
---
src/compositor-drm.c | 67
1
1) add the initialization of randr protocol
2) add the randr request implementation
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
Reviewed-by: Zhang, Xiong Y xiong.y.zh...@intel.com
---
src/Makefile.am | 4 +
src/compositor.c | 466
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
Reviewed-by: Zhang, Xiong Y xiong.y.zh...@intel.com
---
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
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 weston_randr
, if setting the mode,
just call one request wl_randr_set_mode without any other operation.
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
Reviewed-by: Zhang, Xiong Y xiong.y.zh...@intel.com
---
protocol/Makefile.am | 1 +
protocol/randr.xml | 151
Signed-off-by: Quanxian Wang quanxian.w...@intel.com
Reviewed-by: Zhang, Xiong Y xiong.y.zh...@intel.com
---
clients/Makefile.am | 9 +
clients/wrandr.c| 642
2 files changed, 651 insertions(+)
create mode 100644 clients/wrandr.c
diff
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 quanxian.w
47 matches
Mail list logo