Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2103 / 5574

Revision f6ffe12 by Mike Erwin
May 19, 2017, 15:09 (GMT)
OpenGL: convert old texture2D calls in FX shaders

And one texture1D call.
Revision 4c5e9d7 by Mike Erwin
May 19, 2017, 15:09 (GMT)
OpenGL: convert old texture2D calls in material GLSL

Modern GLSL simplifies texture sampling functions. Info about 1D, 2D, 3D, Cube, etc. comes from the sampler type.
May 19, 2017, 14:48 (GMT)
Cycles: Fix compilation error after recent changes

Spotted by Steffen Dünner, thanks@
Revision b90ad0d by Julian Eisel
May 19, 2017, 13:51 (GMT)
Remove redundant workaround for removing collections in outliner

Collections are now identified by their pointer.
Also had to correct TSE_IS_REAL_ID to fix undefined behavior on undo.
May 19, 2017, 13:50 (GMT)
Fix crash when changing Clay "Edge Strength"

This was introduced by a removed line in
rB0eb32ab22809d9c0c41bfff5082f58b1a7aa9965

If we want to change the value to a differen default, it should be done
in a separated commit.
May 19, 2017, 13:41 (GMT)
Fix crash opening really old files with compositor

There was lack of certain sockets do-versaions: namely the ones
which were added in blender versions after the one used to save
the file.
May 19, 2017, 13:33 (GMT)
Fix crash when adding Torus in edit mode
May 19, 2017, 12:39 (GMT)
Fix assert on framebuffer binding
May 19, 2017, 12:18 (GMT)
Cleanup: add braces for multi-line blocks
May 19, 2017, 12:16 (GMT)
Remove unused functions after WITH_LEGACY_OPENGL cleanup
May 19, 2017, 12:15 (GMT)
Remove reference to WITH_LEGACY_OPENGL

We only keep this as a way to get GPU_stubs to run, in case we want to do a
throughout cleanup in the codebase and want code using legacy calls to
fail to build.
May 19, 2017, 12:14 (GMT)
Remove reference to SUPPORT_LEGACY_MATRIX

Since the change to core profile this is no longer supported.
May 19, 2017, 12:14 (GMT)
Remove reference to WITH_GL_PROFILE_CORE

There is no more point of keep those around. ES20 may need special case
when/if we dabble with it again. Meanwhile no point on polluting the
code with this.

(ghost still has reference for the PROFILE, but that's reasonable)
May 19, 2017, 12:14 (GMT)
Correct core profile way of getting color depth
May 19, 2017, 10:57 (GMT)
Cycles: Cleanup, always use parenthesis

Easier to read/follow, and more robust for the further changes.
May 19, 2017, 10:54 (GMT)
Cycles: Cleanup, indentation in preprocessor
May 19, 2017, 10:52 (GMT)
Cycles: Cleanup, variable names

Don't use camel case for variable names. Leave that for the structures.
May 19, 2017, 10:45 (GMT)
Cycles: Cleanup, useless new lines
May 19, 2017, 10:43 (GMT)
Cycles: Cleanup, braces after function definition

I wouldn't mind switching fully to Google style, but i am against of
mixing two different styles in same project. So just stick to brace
at the new line after function definition.
May 19, 2017, 10:41 (GMT)
;115;0cCycles: Cleanup, use ccl_restrict instead of ccl_restrict_ptr

There were following issues with ccl_restrict_ptr:

- We already had ccl_restrict for all platforms.

- It was secretly adding `const` qualifier to the declaration,
which is quite weird since non-const pointer can also be
declared as restricted.

- We never in Blender are using foo_ptr or FooPtr type definitions,
so not sure why we should introduce such a thing here.

- It is absolutely wrong from semantic point of view to put pointer
into the restrict macro -- const is a part of type, not part of
hint for compiler that some pointer is never aliased.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021