GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git
protocol/cce-inspector-v1.xml (2.3K)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <protocol name="cce_inspector_v1">
3 <copyright>
4 Copyright © 2026 Antigravity
5 </copyright>
6
7 <interface name="zcce_inspector_v1" version="1">
8 <description summary="query information about client surface states and layouts">
9 This interface allows cce-ui client applications to register their surfaces
10 and publish their internal widget trees and state to the compositor.
11 It also allows inspector tools to request the list of active surfaces and their states.
12 </description>
13
14 <request name="destroy" type="destructor">
15 <description summary="destroy the inspector object"/>
16 </request>
17
18 <request name="register_client">
19 <description summary="register a wl_surface as a cce-ui client window">
20 Associate a client wl_surface with this inspector.
21 </description>
22 <arg name="surface" type="object" interface="wl_surface"/>
23 </request>
24
25 <request name="update_state">
26 <description summary="update the published state of a registered client surface">
27 The state is serialized as a JSON string containing widget layout and state data.
28 </description>
29 <arg name="surface" type="object" interface="wl_surface"/>
30 <arg name="fd" type="fd" summary="JSON state file descriptor"/>
31 <arg name="len" type="uint" summary="JSON state length in bytes"/>
32 </request>
33
34 <request name="get_inspected_surfaces">
35 <description summary="request the list of all registered surfaces from the compositor"/>
36 </request>
37
38 <event name="inspected_surface">
39 <description summary="reports a registered surface's state and absolute coordinates"/>
40 <arg name="title" type="string" summary="window title"/>
41 <arg name="app_id" type="string" summary="application ID"/>
42 <arg name="x" type="int" summary="absolute screen X coordinate"/>
43 <arg name="y" type="int" summary="absolute screen Y coordinate"/>
44 <arg name="width" type="int" summary="surface width"/>
45 <arg name="height" type="int" summary="surface height"/>
46 <arg name="fd" type="fd" summary="JSON state file descriptor"/>
47 <arg name="len" type="uint" summary="JSON state length in bytes"/>
48 </event>
49
50 <event name="inspected_surface_done">
51 <description summary="indicates all inspected surfaces have been reported"/>
52 </event>
53 </interface>
54 </protocol>