-
Notifications
You must be signed in to change notification settings - Fork 187
[win32] Create Pattern handles on demand #1907
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
[win32] Create Pattern handles on demand #1907
Conversation
Test Results 509 files - 1 509 suites - 1 9m 4s ⏱️ + 1m 39s For more details on these failures, see this check. Results for commit 0bc2ca2. ± Comparison against base commit 0768d7e. This pull request removes 37 tests.♻️ This comment has been updated with latest results. |
41dedbe to
70f562b
Compare
HeikoKlare
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@fedejeanne can you please have a second look?
fedejeanne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks fine (just some minor tweaks needed) but I haven't tested it yet since I'm on my Mac. I'll take a deeper look this evening.
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java
Outdated
Show resolved
Hide resolved
This commit refactors Pattern in the win32 implementation to better support multiple handles for different zoom settings by creating all handles only on demand.
70f562b to
0bc2ca2
Compare
fedejeanne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I tested with the GraphicsExample and also with PatternWin32ManualTest and I saw no visual changes ✔️
This PR refactors Pattern in the win32 implementation to better support multiple handles for different zoom settings by creating all handles only on demand.