git: openjdk/wakefield: pure_wl_toolkit: 3 new changesets

duke duke at openjdk.java.net
Thu May 5 17:13:39 UTC 2022


Changeset: 862304db
Author:    Maxim Kartashev <maxim.kartashev at jetbrains.com>
Date:      2022-04-08 05:45:00 +0000
URL:       https://git.openjdk.java.net/wakefield/commit/862304dbb8b2447071f5348c4bd68f4e3b7a4536

Reduced xdg_wm_base protocol version to 1 in order to run under Weston

This was done purely for convenience. The version can be bumped back up
at any time, but the change will require a more recent version
of Weston for testing.

! src/java.desktop/unix/native/libawt_wlawt/WLToolkit.c

Changeset: dd34f02b
Author:    Maxim Kartashev <maxim.kartashev at jetbrains.com>
Date:      2022-04-11 08:18:08 +0000
URL:       https://git.openjdk.java.net/wakefield/commit/dd34f02b3385a611deae4c3e95a2d69c29fcba37

AWT Robot to support Wayland natively

Requires the presence of the 'wakefield' protocol extension on the
server side; will throw UOE on use otherwise. Can be completely
disabled by undefining WAKEFIELD_ROBOT during compilation.

Provides the ability to re-position the surface to the given absolute
coordinates, query the surface's position, obtain RGB of a pixel at the
given absolute coordinates and take a screenshot of an area.

! make/modules/java.desktop/lib/Awt2dLibraries.gmk
! src/java.desktop/unix/classes/sun/awt/wl/WLComponentPeer.java
+ src/java.desktop/unix/classes/sun/awt/wl/WLRobotPeer.java
! src/java.desktop/unix/classes/sun/awt/wl/WLToolkit.java
! src/java.desktop/unix/native/libawt_wlawt/WLComponentPeer.c
+ src/java.desktop/unix/native/libawt_wlawt/WLRobotPeer.c
+ src/java.desktop/unix/native/libawt_wlawt/WLRobotPeer.h
! src/java.desktop/unix/native/libawt_wlawt/WLToolkit.c
! src/java.desktop/unix/native/libawt_wlawt/WLToolkit.h
+ src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.c
+ src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.h

Changeset: 8d71f8e9
Author:    Maxim Kartashev <maxim.kartashev at jetbrains.com>
Date:      2022-04-22 07:23:19 +0000
URL:       https://git.openjdk.java.net/wakefield/commit/8d71f8e9e76cfe8f34f063b71cbb1f6c90b98778

Wayland test harness and sample test

! README.md
+ test/jdk/java/awt/wakefield/ScreenCapture.java
+ test/jdk/java/awt/wakefield/WakefieldTestDriver.java



More information about the wakefield-dev mailing list