detached 1a6c6c9

singlepixelbuffer.xml RawHistoryFolder

1<?xml version="1.0" encoding="UTF-8"?>
2<protocol name="single_pixel_buffer_v1">
3  <copyright>
4    Copyright © 2022 Simon Ser
5
6    Permission is hereby granted, free of charge, to any person obtaining a
7    copy of this software and associated documentation files (the "Software"),
8    to deal in the Software without restriction, including without limitation
9    the rights to use, copy, modify, merge, publish, distribute, sublicense,
10    and/or sell copies of the Software, and to permit persons to whom the
11    Software is furnished to do so, subject to the following conditions:
12
13    The above copyright notice and this permission notice (including the next
14    paragraph) shall be included in all copies or substantial portions of the
15    Software.
16
17    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23    DEALINGS IN THE SOFTWARE.
24  </copyright>
25
26  <description summary="single pixel buffer factory">
27    This protocol extension allows clients to create single-pixel buffers.
28
29    Compositors supporting this protocol extension should also support the
30    viewporter protocol extension. Clients may use viewporter to scale a
31    single-pixel buffer to a desired size.
32
33    Warning! The protocol described in this file is currently in the testing
34    phase. Backward compatible changes may be added together with the
35    corresponding interface version bump. Backward incompatible changes can
36    only be done by creating a new major version of the extension.
37  </description>
38
39  <interface name="wp_single_pixel_buffer_manager_v1" version="1">
40    <description summary="global factory for single-pixel buffers">
41      The wp_single_pixel_buffer_manager_v1 interface is a factory for
42      single-pixel buffers.
43    </description>
44
45    <request name="destroy" type="destructor">
46      <description summary="destroy the manager">
47        Destroy the wp_single_pixel_buffer_manager_v1 object.
48
49        The child objects created via this interface are unaffected.
50      </description>
51    </request>
52
53    <request name="create_u32_rgba_buffer">
54      <description summary="create a 1×1 buffer from 32-bit RGBA values">
55        Create a single-pixel buffer from four 32-bit RGBA values.
56
57        Unless specified in another protocol extension, the RGBA values use
58        pre-multiplied alpha.
59
60        The width and height of the buffer are 1.
61
62        The r, g, b and a arguments valid range is from UINT32_MIN (0)
63        to UINT32_MAX (0xffffffff).
64        
65        These arguments should be interpreted as a percentage, i.e.
66        - UINT32_MIN = 0% of the given color component
67        - UINT32_MAX = 100% of the given color component
68      </description>
69      <arg name="id" type="new_id" interface="wl_buffer"/>
70      <arg name="r" type="uint" summary="value of the buffer's red channel"/>
71      <arg name="g" type="uint" summary="value of the buffer's green channel"/>
72      <arg name="b" type="uint" summary="value of the buffer's blue channel"/>
73      <arg name="a" type="uint" summary="value of the buffer's alpha channel"/>
74    </request>
75  </interface>
76</protocol>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 1

↑↓ moveenter openesc close