Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2155 / 5574

April 10, 2017, 07:33 (GMT)
GL stubs: no need to assert when calling deprecated calls
April 10, 2017, 07:15 (GMT)
Expand OpenGL stubs to allow for breakpoints
April 10, 2017, 06:45 (GMT)
Add stubs to build WITH_GL_PROFILE_CORE

This is an auto-generated list, crossing gl-deprecated.h, glew.h and the
Blender code. It allows Blender to build with core profile.

WITH_OPENGL_LEGACY=ON: nothing changes

WITH_OPENGL_LEGACY=OFF and WITH_GL_PROFILE_CORE=OFF:
It stubs deprecated legacy calls.

WITH_OPENGL_LEGACY=OFF and WITH_GL_PROFILE_CORE=ON:
It stubs deprecated legacy calls thus allowing Blender to build with
core profile only.

Technically you only want to use WITH_OPENGL_LEGACY=OFF when
WITH_GL_PROFILE_CORE=ON. But it doesn't hurt to have it working for both
scenarios.

Reviewed by: merwin

Differential Revision: https://developer.blender.org/D2610
Revision 15bcfaa by Julian Eisel
April 9, 2017, 20:51 (GMT)
Merge branch 'master' into blender2.8
April 9, 2017, 06:36 (GMT)
Cleanup: glsl indentation
April 9, 2017, 06:26 (GMT)
Cleanup: use doxy code block
April 9, 2017, 06:09 (GMT)
Merge branch 'master' into blender2.8
April 9, 2017, 06:07 (GMT)
ListBase: Add insert-replace function

Handy to replace an existing link
(without having to store before/after links)

Use for id-props
Revision b60d480 by Mai Lavelle
April 8, 2017, 11:12 (GMT)
Cycles: Fix building of CUDA kernels with compilers where C++11 is disabled
April 8, 2017, 09:09 (GMT)
Add helpers in bpy_extras.keyconfig_utils for addons to (un)register their keymaps.

Doing this in a fully 'clean' way is far from obvious, especially
unregister, you often end up leaving nasty 'orphanned' keymap items
referring to unregistered operators...
Revision 79e862a by Mike Erwin
April 8, 2017, 06:34 (GMT)
GPU lib support for WITH_LEGACY_OPENGL

For early testing of core profile:
- GPU_legacy_support = false
- GPU_display_list_support = false
- GPU_geometry_shader_support = true

Relates to T49012
Revision f60626e by Mike Erwin
April 8, 2017, 06:21 (GMT)
OpenGL: drop support for EXT_geometry_shader4

See gpu_shader.c for the main changes.

EXT_geometry_shader4 brought this feature to GL versions < 3.2, but now it's just cluttering up our code.

Soon all platforms will be on version 3.3 so we won't even have to check support at runtime!
Revision d5883bb by Mike Erwin
April 8, 2017, 05:19 (GMT)
Gawain: remove GL enum from primitive API

Callers now have to use Gawain's PRIM enum to specify geometric primitives.

This makes the API more bullet-proof (at least less vulnerable) since GLenum covers waaay more than GL_POINTS, GL_LINES, etc.

Also prepares us for Vulkan.
Revision 0947c97 by Mike Erwin
April 8, 2017, 05:19 (GMT)
OpenGL: use PRIM instead of GL enum everywhere else

Well, everywhere that uses Gawain for drawing. Places that call OpenGL directly still use GL enums.

Part of T49043
April 8, 2017, 02:08 (GMT)
Correct constraint manipulator colors

Widget show as color of constrained axis
April 8, 2017, 02:01 (GMT)
Fix WITH_LEGACY_OPENGL=ON

This wasn't working outside of gpu module.
Revision bd3a1b9 by Mike Erwin
April 7, 2017, 20:31 (GMT)
OpenGL: use PRIM instead of GL enum for immBegin

Getting ready for a Gawain API change...

Part of T49043
Revision c1dc078 by Mike Erwin
April 7, 2017, 20:00 (GMT)
Gawain: remove GL enum from vertex format API

Callers now have to use Gawain's COMP enum to specify vertex attributes.

This makes the API more bullet-proof (at least less vulnerable) since GLenum covers waaay more than component types.

Also prepares us for Vulkan.
Revision 1ad5287 by Mike Erwin
April 7, 2017, 19:51 (GMT)
use COMP instead of GL enum to construct vertex format

I converted all other files a day or two ago; this file was part of a recent merge.
Revision da24848 by Mike Erwin
April 7, 2017, 19:10 (GMT)
OpenGL: remove UI_reinit_gl_state function

All line & point drawing is responsible for setting its own state (as of January 2016) making this redundant.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021