PointCloudLibrary/pcl

Migrate from OpenGL

Open

#3818 aperta il 28 mar 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)C++ (4506 fork)batch import
help wantedkind: todoneeds: feedback

Metriche repository

Star
 (9023 star)
Metriche merge PR
 (Merge medio 8g 7h) (3 PR mergiate in 30 g)

Descrizione

Is your feature request related to a problem? Please describe.

OpenGL has been in deprecation since MacOS 10.9 and has been fully replaced by Metal 2 in 10.14. It can be removed at Apple's whims. Vulkan was essentially glNext so we should be moving ahead anyways.

Describe the solution you'd like

Options (in increasing order of likelihood):

  1. Stop supporting OpenGL related functionality on MacOS (current status)
  2. Use Metal instead. Official example of migration
  3. Shift to Vulkan: This is a chance to take a look at how PCL handles OpenGL and potentially refactor it enabling better support for other backends.

If we shift to Vulkan instead, we can use libraries such a MoltenVK (Vulkan over Metal) to maintain one single code for all platforms. A lot of engines have reported that refactoring using Vulkan gives them significant speed-ups on the same hardware.

Describe alternatives you've considered

In the mean time, we can shift to GLOVE (GL over Vulkan) + MoltenVK to keep using current implementation in Mac.

Guida contributor