Blender Git Loki

Blender Git "cycles_texture_cache" branch commits.

Page: 3 / 7

May 6, 2021, 09:25 (GMT)
Python GPU: Replace a few calls of the bgl module with gpu

Concludes these files:
[x]bpy_types.py
[x]operator_modal_draw.py

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D11129
May 6, 2021, 09:25 (GMT)
Cleanup: use boolean for has_event variable & return value
May 6, 2021, 09:25 (GMT)
Fix T82824: Draw sensor size with correct alpha

Previously the option in the camera's //Object Data Properties > Viewport Display
> Sensor// would not display the sensor in camera view. This seemed to be caused
by the theme color `TH_VIEW_OVERLAY` having zero set for the alpha channel and
alpha blending being active, resulting in no visible output. Hence
`immUniformThemeColorShade(TH_VIEW_OVERLAY, 100);` is replaced with
`immUniformThemeColorShadeAlpha(TH_VIEW_OVERLAY, 100, 255);`.

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D11075
May 6, 2021, 09:25 (GMT)
Cleanup: clang-tidy
May 6, 2021, 09:25 (GMT)
Cycles: use reference count to detect used shaders

Shaders are only compiled if they are used by some other Node (Geometry, Light, etc.).
This usage detection is done before updating the Scene, however it fails at detecting
Shaders used by Procedurals not known to Cycles (e.g. ones defined by third party
applications), as Procedurals are only updated after the shaders are compiled.

To remedy this, we now use the Node reference counting mechanism to detect whether a
Shader is used and therefore should be compiled.

This removes `ShaderManager::update_shaders_used` as it is not needed anymore, however,
since it would also update the Shader ids, this is now performed in
`ShaderManager::device_update`, and a new virtual `device_update_specific` method was
added to handle device updates for SVM and OSL.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10965
May 3, 2021, 18:22 (GMT)
Cycles: Texture cache capability is now a device property.
May 3, 2021, 10:45 (GMT)
Cycles: Reintroduced path_flags for textures.

Texture lookups can now use wider or cheaper filters
for less important paths.
April 30, 2021, 19:01 (GMT)
Merge branch 'master' into cycles_texture_cache
April 30, 2021, 18:59 (GMT)
Refactor of texture cache, now texture handles are being stored in device tex memory.
April 20, 2021, 10:02 (GMT)
Merge branch 'master' into cycles_texture_cache
April 20, 2021, 10:02 (GMT)
Merge branch 'master' into cycles_texture_cache
April 5, 2021, 08:03 (GMT)
Merge branch 'master' into cycles_texture_cache
April 1, 2021, 22:52 (GMT)
Merge branch 'master' into cycles_texture_cache
March 30, 2021, 10:07 (GMT)
Merge branch 'master' into cycles_texture_cache
March 11, 2021, 09:32 (GMT)
Merge branch 'master' into cycles_texture_cache
March 10, 2021, 12:34 (GMT)
Merge branch 'master' into cycles_texture_cache
January 4, 2021, 13:04 (GMT)
Cycles: Updated texture cache for new API.
January 4, 2021, 12:23 (GMT)
Merge branch 'master' into cycles_texture_cache
December 21, 2020, 08:09 (GMT)
Merge branch 'master' into cycles_texture_cache
July 22, 2020, 06:11 (GMT)
Merge branch 'master' into cycles_texture_cache
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021