PointCloudLibrary/pcl

Migrate from OpenGL

Open

#3,818 创建于 2020年3月28日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)C++ (4,506 fork)batch import
help wantedkind: todoneeds: feedback

仓库指标

Star
 (9,023 star)
PR 合并指标
 (平均合并 8天 7小时) (30 天内合并 3 个 PR)

描述

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.

贡献者指南