Blender Git Commit Log

Git Commits -> Revision 934dfc4

Revision 934dfc4 by Dalai Felinto (master)
April 6, 2017, 16:46 (GMT)
New build option WITH_LEGACY_OPENGL

This introduces a new CMake option - WITH_LEGACY_OPENGL. Without this option
things may not draw perfectly, however, we should soon be able to build with
OpenGL core profile.

The matrix-related api calls are (still) not handled here (glTranslate, ...).

There seems to be no consensus on whether to make this build option the
default. We can talk about this later. For now two things are the
priority:

(1) To get rid of deprecated calls when WITH_LEGACY_OPENGL is ON
(2) To make core profile work for Mesa/Mac when WITH_LEGACY_OPENGL is OFF

Reviewers: merwin, sergey, campbellbarton

Differential Revision: https://developer.blender.org/D2603

Many thanks for Sergey Sharybin for the help.

Commit Details:

Full Hash: 934dfc420088b4ce06bb050ade1ab6a4fa8e6d72
Parent Commit: 843922a
Lines Changed: +257, -0

1 Added Path:

/source/blender/gpu/GPU_legacy_stubs.h (+246, -0) (View)

3 Modified Paths:

/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+5, -0) (Diff)
/source/blender/gpu/GPU_glew.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021