From the Dark Side of the Moon: GPU Programming with BGFX and Eclipse


The GPU (Graphics Processing Unit) is no longer an optional part of modern software. Once relegated to video games and workstations, today the GPU is a critical component of everything from mobile applications to supercomputers.

BGFX is a new open source library for rendering 2D and 3D graphics. It provides a high performance, low level abstraction for common platform graphics APIs like OpenGL, Direct3D, Apple Metal and more.

Most importantly, it unleashes a "Write Once, Run Anywhere" capability for the GPU that Java developers have enjoyed on the CPU for years.

In this talk, you will learn about the Twilight BGFX Java API binding, go under the hood with the GPU and see how to leverage BGFX to create dazzling cross platform 2D and 3D graphics for your Eclipse products!


  • What is BGFX?
  • Write once, run on any GPU
  • OpenGL? Direct3D? Apple Metal? Vulkan? Who Cares?
  • The modern GPU graphics pipeline
  • Buffers, Buffers, Buffers and... Buffers
  • What are Shader Programs?
    • Vertex Shaders - The Shape
    • Fragment Shaders - The Color
    • Compute Shaders - Beyond Fancy
  • 2D Graphics? 3D Graphics? Whats the difference?
  • Ultra fast 2D graphics with NanoVG
  • BGFX Eclipse Integration
  • Rendering into SWT and Eclipse with BGFXCanvas
  • Writing BGFX Shaders within Eclipse


Schedule info
Session Time Slot(s):
Tuesday, March 8, 2016 - 15:00 to 15:35