Skip to content

Conversation

@dedyshkaPexto
Copy link

Fix Typo in java.md

Description

This pull request fixes a typo in the java.md file:

  • Corrected "warings" to "warnings" for better readability and accuracy.

mkartashev and others added 30 commits January 23, 2025 01:02
Return READ_RESULT_FINISHED_NO_EVENTS from WLToolkit.readEvents() in
case of poll returning with no new data (i.e. via timeout).

(cherry picked from commit 2b68207)
Skip sending paint events for not configured peers

(cherry picked from commit 145d640)
Protected surfaceAssigned from MT access

(cherry picked from commit e5a3802)
Get rid of maxTextureSize in Vulkan code. This concept was introduced to fix macOS-specific bugs and don't map well to Vulkan implementation, as this value is tied to specific device and texture format, so get rid of it for now and see whether we need it at all.

Refactored native surface data hierarchy. There was a C-style "inheritance" model with VKSDOps having an SurfaceDataOps as its first member and conversions back and forth between them. And then also privOps - pointer to the platform-specific part (WLVK). This was refactored into plain inheritance: SurfaceDataOps -> VKSurfaceData -> VKSwapchainSurfaceData -> WLVKSurfaceData

State management, synchronization & layout transition. Now using dynamic rendering and synchronization2 extensions.
Each device has a single timeline semaphore (basically 64-bit counter), monotonically increasing as device executes our commands, allowing us to track the state of the submitted batches and reuse resources which are no longer in use.

Split command recording into primary and secondary command buffers.
This allows us to record commands "in the past", before current render pass started, which gives possibility for some heavy optimizations:
1. When we suddenly need some texture in the middle of the render pass - no need to stop render pass in order to insert necessary synchronization - we can do it as if we knew it beforehand.
2. When we draw something and then clear the surface - just erase all commands inside current render pass we recorded earlier, so the actual drawing will never happen.

Shaders are compiled with glslc or glslangValidator and bytecode is inlined directly into libawt_wlawt

Memory management via VMA, vertex buffer pool, shader push constants.

Other refactoring.

(cherry picked from commit 9ceaebb)
…se "popupParent" is null

Not all POPUP Window's have their parent set. And only those who do
shall be treated as popups in the Wayland's sense.

(cherry picked from commit 8608092)
Implemented -Dsun.java2d.vulkan=True and -Dsun.java2d.vulkan.deviceNumber=n VM options

(cherry picked from commit 7ea0f44)
Changed access to _name field, minor corrections in verbose print

(cherry picked from commit 36407e9)
…ction 'pthread_getname_np'

(cherry picked from commit 72722da)
support Window.toFront in Wayland toolkit

(cherry picked from commit b420439)
prevent using a pointer to destroyed surface

(cherry picked from commit ba1b5ce)
(cherry picked from commit 20b2eeb)
A partial solution. Cases not still covered:
* Alt+tab from the app and back should keep popup focused if it was focused initially
* Mouse clicks between popup and owner should transfer focus as expected

(cherry picked from commit 903231d)
Added --with-wayland-lib option to provide custom library path

(cherry picked from commit cdc2b1b)
1. Update dockerfile to checkout Vulkan headers
2. Fix --with-vulkan-include configure option

(cherry picked from commit 67c8c4d)
When popup's parent is also its top-level window, use that instead of
null

(cherry picked from commit 47d484b)
@vprovodin vprovodin force-pushed the main branch 2 times, most recently from 68c38b8 to a56e68d Compare November 30, 2025 00:03
@tsarn tsarn force-pushed the main branch 2 times, most recently from 874acc9 to d8489a2 Compare November 30, 2025 17:45
@vprovodin vprovodin force-pushed the main branch 2 times, most recently from 424c60f to f807fbf Compare December 3, 2025 00:03
@vprovodin vprovodin force-pushed the main branch 6 times, most recently from c092ab6 to ae19bfc Compare December 11, 2025 00:03
@vprovodin vprovodin force-pushed the main branch 5 times, most recently from 2dd9602 to 725da52 Compare December 17, 2025 00:03
@vprovodin vprovodin force-pushed the main branch 2 times, most recently from b67d996 to 56e393c Compare December 19, 2025 00:03
@vprovodin vprovodin force-pushed the main branch 2 times, most recently from 15e769b to 93bb78f Compare December 25, 2025 00:04
@vprovodin vprovodin force-pushed the main branch 2 times, most recently from 6cffaf8 to f6231ed Compare December 31, 2025 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.