Blender Git Commit Log

All Blender Git commits.

Page: 1677 / 8462

April 30, 2020, 07:54 (GMT)
Fix T75985: Texture paint brush gradients results in wrong color

A Colorband's CBData color **is not** considered `PROP_COLOR_GAMMA`.
A Brushes color **is** considered `PROP_COLOR_GAMMA`.
(PROP_COLOR_GAMMA is used for colors which would be color managed before
display, could be renamed to something better once...)

This leads to different rgb values in ColorBand.CBData of br->gradient
and brush->rgb for seemingly identical colors. (this is because color
pickers do differently in case block->is_color_gamma_picker/
ui_but_is_color_gamma)

Now it looks like `paint_brush_color_get` is expected to return a color
in sRGB (according to @jbakker this is for legacy reasons) so we need to
run the colorband colors through linear -> sRGB.

It might very well be the case that a much deeper cleanup in this area
is needed, this is just a fix to get gradient brush colors
consistent again...

Maniphest Tasks: T75985

Differential Revision: https://developer.blender.org/D7501
April 30, 2020, 07:45 (GMT)
Fix animation player checkerboard drawing with alpha channels

Was using uninitialized theme values.
April 30, 2020, 07:28 (GMT)
GHOST: fix WITH_GHOST_DEBUG option

Changing the order of include changes broke GHOST_DEBUG,
however it was using defines in a fragile way.

Fix by removing 'GHOST_DEBUG' and use 'WITH_GHOST_DEBUG' which
was already defined by CMake.
April 30, 2020, 07:28 (GMT)
Cleanup: printf warning
April 30, 2020, 07:28 (GMT)
Cleanup: clang-format
April 30, 2020, 07:28 (GMT)
Cleanup: unused variable warnings
April 30, 2020, 06:09 (GMT)
Task: Use TBB as Task Scheduler

This patch enables TBB as the default task scheduler. TBB stands for Threading Building Blocks and is developed by Intel. The library contains several threading patters. This patch maps blenders BLI_task_* function to their counterpart. After this patch we can add more patterns. A promising one is TBB:graph that can be used for depsgraph, draw manager and compositor.

Performance changes depends on the actual hardware. It was tested on different hardwares from laptops to workstations and we didn't detected any downgrade of the performance.
* Linux Xeon E5-2699 v4 got FPS boost from 12 to 17 using Spring's 04_010_A.anim.blend.
* AMD Ryzen Threadripper 2990WX 32-Core Animation playback goes from 9.5-10.5 FPS to 13.0-14.0 FPS on Agent 327 , 10_03_B.anim.blend.

Reviewed By: brecht, sergey

Differential Revision: https://developer.blender.org/D7475
April 30, 2020, 06:01 (GMT)
CMake: use system include for generated headers
April 30, 2020, 04:21 (GMT)
GHOST: initial Wayland support

Usable with the CMake option 'WITH_GHOST_WAYLAND'

The following functionality is working:

- Building with X11 and Wayland at the same time,
wayland is used when available.
- Keyboard, pointer handling.
- Cursor handling.
- Dedicated off-screen windows.
- Drag & drop.
- Copy & paste.
- Pointer grabbing.

See D6567 for further details.
April 30, 2020, 02:24 (GMT)
More experiments
April 29, 2020, 23:43 (GMT)
Correct horizonal size offset
April 29, 2020, 23:39 (GMT)
Adjust from review for part 1
April 29, 2020, 23:34 (GMT)
Merge branch 'panel-list-patch' into panel-list-patch-2
April 29, 2020, 23:33 (GMT)
Remove unecessary argument, change variable name
April 29, 2020, 23:29 (GMT)
Fix returning local variable
April 29, 2020, 23:24 (GMT)
Merge branch 'panel-list-patch' into panel-list-patch-2
April 29, 2020, 23:24 (GMT)
Finish review changes
April 29, 2020, 23:15 (GMT)
Merge branch 'panel-list-patch' into panel-list-patch-2
April 29, 2020, 23:14 (GMT)
Cleanup: Address various review comments
April 29, 2020, 23:12 (GMT)
Use wt->wcol directly
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021