00cc9309cb
de6e324bdseparate emu thread10d3daf86Roms List improvements95d202f37Let's make the rom list process on a separate thread so the emulator doesnt take ages to load.fc306967fWow the ROM Header was just completely busted. Game list view works nowbad1691eefuck this shit2b59e5f46game list in progressd26417b83remappable inputs in progressac4af8106inpute72abc240update readme430139dc9Qt6 frontend3080d4d45Fix this small bug too08cd13b85Cop0 unused functions do not actually pose a threat (as per manual). They don't do anything, so shall we.61bb4fb44make idle loop detection a little more specific with where the load goesb037de4c3SAZDFsdff12e81e73eneed to figure out why n64-systemtest loops indefinitely at some address that appears to be valid (i think it's me not invalidating the cache properly)204f0e13bidle skipping seems to work!cb8bb634asdkfjlasdf58e5c89c1Fix compilation issue on my machine (no idea)24fb2898eattempting more serious idle skipping214719577Place rsp.Step inside cached interpreter. Gains about 3 more fpsbb97dcc23mmmmm920b77d38wjkhasdfjhkasdf430ccdab4it's a start...4f42a673aCached interpreter plays Mario 64. Start looking into RSP as wellc9a030787idle skipping works!5fbda03cenew idea366637abaIdle skipping... maybe?609fa2fb0Cache instructions implemented but broken lmao. Commented out for nowe140a6d12- Stop using inheritance for CPU, instead use composition. - Introduce KAIZEN_JIT_ENABLED optional define instead of relying on __aarch64__ and the like. - More cache work68e613057prep cache impl811b4d809fix clang formatfda755f7didkd5024ebbfsmall MI refactor in preparation of (eventually) implementing the RDRAM interface properly694b45341Merge commit '206dcdedf195fb320913584180edb12c7731e396' as 'external/SDL'206dcdedfSquashed 'external/SDL/' content from commit 4d17b99d0a4d16e1cb4need to update sdl848b19920Fix compilation errordb61b5299Merge commit 'e94a94559f28e49678fbcf72199a5258137b0fe9' as 'external/imgui'e94a94559Squashed 'external/imgui/' content from commit 02e9b8cac52edb3757need to update imguic1a705e86Emulate weird JALR behaviour4b4c32f4bFix exception for "unusable COP1" in 4 instructions i missed accidentally (again)df5828142Bug putting 0s in the log everywheref8b580048Make isviewer a sink to file8241e9735Fix exception for "unusable COP1" in 4 instructions i missed accidentallyb29715f20small changesd9a620bc1make use of my new small utility library0d1aa938eAdd 'external/ircolib/' from commit 'ce3cd726c8df8388d554abf8bb55d55020eb4450'e64eb40b3Fuck git git-subtree-dir: external/ircolib git-subtree-split:de6e324bde
204 lines
9.2 KiB
XML
204 lines
9.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<protocol name="xdg_toplevel_icon_v1">
|
|
|
|
<copyright>
|
|
Copyright © 2023-2024 Matthias Klumpp
|
|
Copyright © 2024 David Edmundson
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
copy of this software and associated documentation files (the "Software"),
|
|
to deal in the Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice (including the next
|
|
paragraph) shall be included in all copies or substantial portions of the
|
|
Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
DEALINGS IN THE SOFTWARE.
|
|
</copyright>
|
|
|
|
<description summary="protocol to assign icons to toplevels">
|
|
This protocol allows clients to set icons for their toplevel surfaces
|
|
either via the XDG icon stock (using an icon name), or from pixel data.
|
|
|
|
A toplevel icon represents the individual toplevel (unlike the application
|
|
or launcher icon, which represents the application as a whole), and may be
|
|
shown in window switchers, window overviews and taskbars that list
|
|
individual windows.
|
|
|
|
This document adheres to RFC 2119 when using words like "must",
|
|
"should", "may", etc.
|
|
|
|
Warning! The protocol described in this file is currently in the testing
|
|
phase. Backward compatible changes may be added together with the
|
|
corresponding interface version bump. Backward incompatible changes can
|
|
only be done by creating a new major version of the extension.
|
|
</description>
|
|
|
|
<interface name="xdg_toplevel_icon_manager_v1" version="1">
|
|
<description summary="interface to manage toplevel icons">
|
|
This interface allows clients to create toplevel window icons and set
|
|
them on toplevel windows to be displayed to the user.
|
|
</description>
|
|
|
|
<request name="destroy" type="destructor">
|
|
<description summary="destroy the toplevel icon manager">
|
|
Destroy the toplevel icon manager.
|
|
This does not destroy objects created with the manager.
|
|
</description>
|
|
</request>
|
|
|
|
<request name="create_icon">
|
|
<description summary="create a new icon instance">
|
|
Creates a new icon object. This icon can then be attached to a
|
|
xdg_toplevel via the 'set_icon' request.
|
|
</description>
|
|
<arg name="id" type="new_id" interface="xdg_toplevel_icon_v1"/>
|
|
</request>
|
|
|
|
<request name="set_icon">
|
|
<description summary="set an icon on a toplevel window">
|
|
This request assigns the icon 'icon' to 'toplevel', or clears the
|
|
toplevel icon if 'icon' was null.
|
|
This state is double-buffered and is applied on the next
|
|
wl_surface.commit of the toplevel.
|
|
|
|
After making this call, the xdg_toplevel_icon_v1 provided as 'icon'
|
|
can be destroyed by the client without 'toplevel' losing its icon.
|
|
The xdg_toplevel_icon_v1 is immutable from this point, and any
|
|
future attempts to change it must raise the
|
|
'xdg_toplevel_icon_v1.immutable' protocol error.
|
|
|
|
The compositor must set the toplevel icon from either the pixel data
|
|
the icon provides, or by loading a stock icon using the icon name.
|
|
See the description of 'xdg_toplevel_icon_v1' for details.
|
|
|
|
If 'icon' is set to null, the icon of the respective toplevel is reset
|
|
to its default icon (usually the icon of the application, derived from
|
|
its desktop-entry file, or a placeholder icon).
|
|
If this request is passed an icon with no pixel buffers or icon name
|
|
assigned, the icon must be reset just like if 'icon' was null.
|
|
</description>
|
|
<arg name="toplevel" type="object" interface="xdg_toplevel" summary="the toplevel to act on"/>
|
|
<arg name="icon" type="object" interface="xdg_toplevel_icon_v1" allow-null="true"/>
|
|
</request>
|
|
|
|
<event name="icon_size">
|
|
<description summary="describes a supported & preferred icon size">
|
|
This event indicates an icon size the compositor prefers to be
|
|
available if the client has scalable icons and can render to any size.
|
|
|
|
When the 'xdg_toplevel_icon_manager_v1' object is created, the
|
|
compositor may send one or more 'icon_size' events to describe the list
|
|
of preferred icon sizes. If the compositor has no size preference, it
|
|
may not send any 'icon_size' event, and it is up to the client to
|
|
decide a suitable icon size.
|
|
|
|
A sequence of 'icon_size' events must be finished with a 'done' event.
|
|
If the compositor has no size preferences, it must still send the
|
|
'done' event, without any preceding 'icon_size' events.
|
|
</description>
|
|
<arg name="size" type="int"
|
|
summary="the edge size of the square icon in surface-local coordinates, e.g. 64"/>
|
|
</event>
|
|
|
|
<event name="done">
|
|
<description summary="all information has been sent">
|
|
This event is sent after all 'icon_size' events have been sent.
|
|
</description>
|
|
</event>
|
|
</interface>
|
|
|
|
<interface name="xdg_toplevel_icon_v1" version="1">
|
|
<description summary="a toplevel window icon">
|
|
This interface defines a toplevel icon.
|
|
An icon can have a name, and multiple buffers.
|
|
In order to be applied, the icon must have either a name, or at least
|
|
one buffer assigned. Applying an empty icon (with no buffer or name) to
|
|
a toplevel should reset its icon to the default icon.
|
|
|
|
It is up to compositor policy whether to prefer using a buffer or loading
|
|
an icon via its name. See 'set_name' and 'add_buffer' for details.
|
|
</description>
|
|
|
|
<enum name="error">
|
|
<entry name="invalid_buffer"
|
|
summary="the provided buffer does not satisfy requirements"
|
|
value="1"/>
|
|
<entry name="immutable"
|
|
summary="the icon has already been assigned to a toplevel and must not be changed"
|
|
value="2"/>
|
|
<entry name="no_buffer"
|
|
summary="the provided buffer has been destroyed before the toplevel icon"
|
|
value="3"/>
|
|
</enum>
|
|
|
|
<request name="destroy" type="destructor">
|
|
<description summary="destroy the icon object">
|
|
Destroys the 'xdg_toplevel_icon_v1' object.
|
|
The icon must still remain set on every toplevel it was assigned to,
|
|
until the toplevel icon is reset explicitly.
|
|
</description>
|
|
</request>
|
|
|
|
<request name="set_name">
|
|
<description summary="set an icon name">
|
|
This request assigns an icon name to this icon.
|
|
Any previously set name is overridden.
|
|
|
|
The compositor must resolve 'icon_name' according to the lookup rules
|
|
described in the XDG icon theme specification[1] using the
|
|
environment's current icon theme.
|
|
|
|
If the compositor does not support icon names or cannot resolve
|
|
'icon_name' according to the XDG icon theme specification it must
|
|
fall back to using pixel buffer data instead.
|
|
|
|
If this request is made after the icon has been assigned to a toplevel
|
|
via 'set_icon', a 'immutable' error must be raised.
|
|
|
|
[1]: https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
|
|
</description>
|
|
<arg name="icon_name" type="string"/>
|
|
</request>
|
|
|
|
<request name="add_buffer">
|
|
<description summary="add icon data from a pixel buffer">
|
|
This request adds pixel data supplied as wl_buffer to the icon.
|
|
|
|
The client should add pixel data for all icon sizes and scales that
|
|
it can provide, or which are explicitly requested by the compositor
|
|
via 'icon_size' events on xdg_toplevel_icon_manager_v1.
|
|
|
|
The wl_buffer supplying pixel data as 'buffer' must be backed by wl_shm
|
|
and must be a square (width and height being equal).
|
|
If any of these buffer requirements are not fulfilled, a 'invalid_buffer'
|
|
error must be raised.
|
|
|
|
If this icon instance already has a buffer of the same size and scale
|
|
from a previous 'add_buffer' request, data from the last request
|
|
overrides the preexisting pixel data.
|
|
|
|
The wl_buffer must be kept alive for as long as the xdg_toplevel_icon
|
|
it is associated with is not destroyed, otherwise a 'no_buffer' error
|
|
is raised. The buffer contents must not be modified after it was
|
|
assigned to the icon.
|
|
|
|
If this request is made after the icon has been assigned to a toplevel
|
|
via 'set_icon', a 'immutable' error must be raised.
|
|
</description>
|
|
<arg name="buffer" type="object" interface="wl_buffer"/>
|
|
<arg name="scale" type="int"
|
|
summary="the scaling factor of the icon, e.g. 1"/>
|
|
</request>
|
|
</interface>
|
|
</protocol>
|