|
1 | | -/* Generated by wayland-scanner 1.23.1 */ |
| 1 | +/* Generated by wayland-scanner 1.24.0 */ |
2 | 2 |
|
3 | 3 | #ifndef KDE_OUTPUT_DEVICE_V2_CLIENT_PROTOCOL_H |
4 | 4 | #define KDE_OUTPUT_DEVICE_V2_CLIENT_PROTOCOL_H |
@@ -234,6 +234,11 @@ enum kde_output_device_v2_capability { |
234 | 234 | * @since 16 |
235 | 235 | */ |
236 | 236 | KDE_OUTPUT_DEVICE_V2_CAPABILITY_EDR = 0x800, |
| 237 | + /** |
| 238 | + * if this outputdevice supports the sharpness setting |
| 239 | + * @since 17 |
| 240 | + */ |
| 241 | + KDE_OUTPUT_DEVICE_V2_CAPABILITY_SHARPNESS = 0x1000, |
237 | 242 | }; |
238 | 243 | /** |
239 | 244 | * @ingroup iface_kde_output_device_v2 |
@@ -271,6 +276,10 @@ enum kde_output_device_v2_capability { |
271 | 276 | * @ingroup iface_kde_output_device_v2 |
272 | 277 | */ |
273 | 278 | #define KDE_OUTPUT_DEVICE_V2_CAPABILITY_EDR_SINCE_VERSION 16 |
| 279 | +/** |
| 280 | + * @ingroup iface_kde_output_device_v2 |
| 281 | + */ |
| 282 | +#define KDE_OUTPUT_DEVICE_V2_CAPABILITY_SHARPNESS_SINCE_VERSION 17 |
274 | 283 | #endif /* KDE_OUTPUT_DEVICE_V2_CAPABILITY_ENUM */ |
275 | 284 |
|
276 | 285 | #ifndef KDE_OUTPUT_DEVICE_V2_VRR_POLICY_ENUM |
@@ -774,6 +783,17 @@ struct kde_output_device_v2_listener { |
774 | 783 | void (*edr_policy)(void *data, |
775 | 784 | struct kde_output_device_v2 *kde_output_device_v2, |
776 | 785 | uint32_t policy); |
| 786 | + /** |
| 787 | + * sharpness strength |
| 788 | + * |
| 789 | + * This is the sharpness modifier of the output. 0 is sharpness |
| 790 | + * disabled and 10000 is the maximum sharpness |
| 791 | + * @param sharpness sharpness in 0-10000 |
| 792 | + * @since 17 |
| 793 | + */ |
| 794 | + void (*sharpness)(void *data, |
| 795 | + struct kde_output_device_v2 *kde_output_device_v2, |
| 796 | + uint32_t sharpness); |
777 | 797 | }; |
778 | 798 |
|
779 | 799 | /** |
@@ -919,6 +939,10 @@ kde_output_device_v2_add_listener(struct kde_output_device_v2 *kde_output_device |
919 | 939 | * @ingroup iface_kde_output_device_v2 |
920 | 940 | */ |
921 | 941 | #define KDE_OUTPUT_DEVICE_V2_EDR_POLICY_SINCE_VERSION 16 |
| 942 | +/** |
| 943 | + * @ingroup iface_kde_output_device_v2 |
| 944 | + */ |
| 945 | +#define KDE_OUTPUT_DEVICE_V2_SHARPNESS_SINCE_VERSION 17 |
922 | 946 |
|
923 | 947 |
|
924 | 948 | /** @ingroup iface_kde_output_device_v2 */ |
|
0 commit comments