[code-reflection] Integrated: Moved/Cloned nbody -> nbodygl and nbody now glfree

Gary Frost gfrost at openjdk.org
Tue Feb 3 15:56:43 UTC 2026


Extracted the nbody implementation from the example-shade dir and created a non opengl example.

Moved nbody to nbodygl and turned nbody into an opengl free implementation.


java @.bld
java @.run ffi-opencl nbodygl  # prev opengl version
java @.run ffi-opencl nbody     # new non opengl version

-------------

Commit messages:
 - Fix whitespace
 - Moved/Cloned nbody -> nbodygl and nbody now glfree

Changes: https://git.openjdk.org/babylon/pull/889/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=889&range=00
  Stats: 369 lines in 15 files changed: 310 ins; 26 del; 33 mod
  Patch: https://git.openjdk.org/babylon/pull/889.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/889/head:pull/889

PR: https://git.openjdk.org/babylon/pull/889


More information about the babylon-dev mailing list