-
Notifications
You must be signed in to change notification settings - Fork 437
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
8327179: Update the 3D lighting application #1387
8327179: Update the 3D lighting application #1387
Conversation
👋 Welcome back nlisker! A progress list of the required criteria for merging this PR into |
Webrevs
|
Reviewer: @arapte @jayathirthrao you might also want to take a look? |
Couple quick comments:
Steps:
|
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.
providing few more comments
var stopGraphic = new Text("⏹"); | ||
stopGraphic.setBoundsType(TextBoundsType.VISUAL); | ||
stopGraphic.setFill(Color.RED); | ||
stopGraphic.setFont(Font.font(20)); |
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.
Play and Stop button could be same size. It would be good to look at. Currently the Stop button seems lesser than half size of play button.
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.
As you will see, the font sizes and visual sizes don't render as you would expect. Not sure why, but this way they look better. Perhaps small adjustments are in order, but if you match the sizes it comes out off.
tests/performance/3DLighting/src/main/java/lighting3D/Benchmark.java
Outdated
Show resolved
Hide resolved
tests/performance/3DLighting/src/main/java/lighting3D/Benchmark.java
Outdated
Show resolved
Hide resolved
tests/performance/3DLighting/src/main/java/lighting3D/CaptureUtils.java
Outdated
Show resolved
Hide resolved
tests/performance/3DLighting/src/main/java/lighting3D/LightingApplication.java
Outdated
Show resolved
Hide resolved
❗ This change is not yet ready to be integrated. |
I think the package names of the main and resources weren't aligned.
For now, for the ease of reviewing, I reverted the package name change.
I think this is the same issue you submitted in the past: https://bugs.openjdk.org/browse/JDK-8269133 |
Even after reverting package name i continue to see that 3DLighting throws exception when we manually launch it:
|
I can't reproduce the exception. The path to the image is correct. Both the class and the image are under the
Perhaps it's a platform-dependent path issue? |
I can reproduce the exception if I compile the test program from the command line in the One way to solve this, so we can still easily compile and run it from the command line, is to provide an "ant" or "gradle" script as was done for |
I added the application to the gradle build file so it can be hooked up with its module dependencies. You can now produce a jar that bundles the resource with the classes. You still need to point to the modules at runtime. The way the project is configured in the main build file is not the best, but it will require large changes to do it better. |
Not sure what jcheck wants. It's complaining about empty spaces that have a |
Looks like the line specified by jcheck was off. |
project(":3DLighting") { | ||
|
||
apply plugin: "application" |
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.
I hadn't meant to suggest adding it to the main build.gradle. I think this is not the best place for it. I was thinking of something along the lines of a build.gradle or build.xml in thetests/performance/3DLighting
dir which is what the other manual tests do -- at least those that are more complicated than just a collection of files in a single directory.
<attribute name="test" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"> |
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 changes in this file seem unrelated to your PR.
@nlisker This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@nlisker This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
Update for the 3D lighting test tool as described in the JBS issue.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1387/head:pull/1387
$ git checkout pull/1387
Update a local copy of the PR:
$ git checkout pull/1387
$ git pull https://git.openjdk.org/jfx.git pull/1387/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1387
View PR using the GUI difftool:
$ git pr show -t 1387
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1387.diff
Webrev
Link to Webrev Comment