From fcf2cbca6bc5e061ef0a62db537c56d1a66fb503 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 25 Mar 2020 13:51:06 +0900 Subject: [PATCH] tizen_hwc: add tizen_hwc protocol add the tizen_hwc_commit request. The display server has to wl_callback done event after it excute the hwc_commit request. Change-Id: I936b8ee022d1fb1d031b27205c10c387769360b3 --- Makefile.am | 17 +++++++++++++++++ protocol/tizen/tizen-hwc.xml | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 protocol/tizen/tizen-hwc.xml diff --git a/Makefile.am b/Makefile.am index 2d6fc9c..a4c104f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -298,6 +298,23 @@ libtizen_dpms_client_la_SOURCES = protocol/tizen/tizen-dpms-protocol.c libtizen_dpms_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ libtizen_dpms_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ +### tizen-hwc +protocol_LTLIBRARIES += \ + libtizen-hwc-server.la \ + libtizen-hwc-client.la +pkgconfig_DATA += \ + src/tizen-hwc-server.pc \ + src/tizen-hwc-client.pc +protocolinclude_HEADERS += \ + protocol/tizen/tizen-hwc-server-protocol.h \ + protocol/tizen/tizen-hwc-client-protocol.h +libtizen_hwc_server_la_SOURCES = protocol/tizen/tizen-hwc-protocol.c +libtizen_hwc_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +libtizen_hwc_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +libtizen_hwc_client_la_SOURCES = protocol/tizen/tizen-hwc-protocol.c +libtizen_hwc_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +libtizen_hwc_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + ### presentation_time protocol_LTLIBRARIES += \ libpresentation-time-server.la \ diff --git a/protocol/tizen/tizen-hwc.xml b/protocol/tizen/tizen-hwc.xml new file mode 100644 index 0000000..b8faf43 --- /dev/null +++ b/protocol/tizen/tizen-hwc.xml @@ -0,0 +1,20 @@ + + + + + Request a notification when a display server requests a hwc_commit to the device. + This request is a tizen-specific one. The client wants to know about when a + display server requests all displaying requests to the Hardware. In this case, + the display server has to send wl_callback done event to the client after a hwc_commit + is excuted when it gets the commit request from the client. + + + + + + + Destroy tizen_hwc. + + + + -- 2.34.1