Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix java.md #504

Open
wants to merge 1,349 commits into
base: main
Choose a base branch
from
Open

Typo fix java.md #504

wants to merge 1,349 commits into from

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)
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.