http://www.miikahweb.com/feed.php MiikaHweb - Blender Cycles-x Branch http://www.miikahweb.com/ MiikaHweb - Blender Cycles-x Branch fi Fri, 17 Sep 21 06:49:09 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[ca9ece3]: Fix T91426: don't display outdated denoised result when increasing...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ca9ece306400b546f97f956dc6f80f4371ce3d2b ca9ece3
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix T91426: don't display outdated denoised result when increasing samples

----------------------------------------
3 Paths Changed]]>
Thu, 16 Sep 2021 19:20:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ca9ece306400b546f97f956dc6f80f4371ce3d2bBrecht Van Lommel
<![CDATA[[3b38531]: Fix T91427: wrong display with adaptive sampling and pixel...]]> http://www.miikahweb.com/en/blender/git-logs/commit/3b38531b4528f3c4e0cde7f82f0aebfaaedc5479 3b38531
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix T91427: wrong display with adaptive sampling and pixel size

Need to use the appropriate resolution divider for postprocessing of such
renders.

----------------------------------------
1 Path Changed]]>
Thu, 16 Sep 2021 18:33:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3b38531b4528f3c4e0cde7f82f0aebfaaedc5479Brecht Van Lommel
<![CDATA[[5aa0797]: Fix static initialization order crash with denoise parameters...]]> http://www.miikahweb.com/en/blender/git-logs/commit/5aa0797d447e74eb1eb119f02f7cb7dfdbc1d37e 5aa0797
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix static initialization order crash with denoise parameters

Now that DenoiseParams is a Node, we can no longer create an instance of
it when defining the Integrator Node, since that might not have been
registered yet.

----------------------------------------
2 Paths Changed]]>
Thu, 16 Sep 2021 17:58:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5aa0797d447e74eb1eb119f02f7cb7dfdbc1d37eBrecht Van Lommel
<![CDATA[[5e8b092]: Fix T91441: bump node not working for shadow rays]]> http://www.miikahweb.com/en/blender/git-logs/commit/5e8b09259bf20f6b1a35422580adccc99c803a3e 5e8b092
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix T91441: bump node not working for shadow rays

----------------------------------------
2 Paths Changed]]>
Thu, 16 Sep 2021 17:39:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5e8b09259bf20f6b1a35422580adccc99c803a3eBrecht Van Lommel
<![CDATA[[22717ed]: Cycles X: set integrator state size relative to the number...]]> http://www.miikahweb.com/en/blender/git-logs/commit/22717ed35171a1b5f49c5fa59747edb9e345a851 22717ed
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Cycles X: set integrator state size relative to the number of GPU cores

More specifically, 16x the max number of threads on all multiprocessors,
with 1048576 minimum.

What this effectively does is double the state size on the very high end
GPUs like RTX A6000 and RTX 3080 while leaving the size unchanged for
others. On the RTX A6000 I there are 2-10% render time reductions on our
benchmark scenes. The biggest reduction is on the barbershop interior, as
scenes with more objects and shaders are more likely to benefit from
improved coherence.

This also adds an environment variable for developers to test different
sizes, and debug logging about the size and memory usage.

Reviewed By: sergey

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

----------------------------------------
3 Paths Changed]]>
Thu, 16 Sep 2021 17:20:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/22717ed35171a1b5f49c5fa59747edb9e345a851Brecht Van Lommel
<![CDATA[[5b92af3]: Fix invalid address error in Cycles X GPUDisplay update]]> http://www.miikahweb.com/en/blender/git-logs/commit/5b92af33b03085efc21e1ae774d1c295d8ae4934 5b92af3
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix invalid address error in Cycles X GPUDisplay update

Make sure no display update happens after full buffer was written.
Makes it possible to free memory used by path trace works without
causing issues.

----------------------------------------
2 Paths Changed]]>
Thu, 16 Sep 2021 11:00:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5b92af33b03085efc21e1ae774d1c295d8ae4934Sergey Sharybin
<![CDATA[[b537b28]: Cleanup: Naming]]> http://www.miikahweb.com/en/blender/git-logs/commit/b537b28382d9704078759b44a9f0895d86b57573 b537b28
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cleanup: Naming

----------------------------------------
2 Paths Changed]]>
Thu, 16 Sep 2021 09:23:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b537b28382d9704078759b44a9f0895d86b57573Sergey Sharybin
<![CDATA[[8072ef2]: Fix wrong render with portals and constant background color]]> http://www.miikahweb.com/en/blender/git-logs/commit/8072ef2ae9f0ae4428a34c99f6df28aa32bcfb27 8072ef2
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix wrong render with portals and constant background color

Need to apply MIS weight also in that case.

----------------------------------------
1 Path Changed]]>
Wed, 15 Sep 2021 18:33:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8072ef2ae9f0ae4428a34c99f6df28aa32bcfb27Brecht Van Lommel
<![CDATA[[d7ecd44]: Fix missing mutex lock for viewport OpenGL context]]> http://www.miikahweb.com/en/blender/git-logs/commit/d7ecd44fb1979d70ee9376ce709b53767c500814 d7ecd44
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix missing mutex lock for viewport OpenGL context

A mistake in D12468: the viewport uses GHOST to operate on contexts,
bypassing draw manager state,

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

----------------------------------------
2 Paths Changed]]>
Wed, 15 Sep 2021 18:04:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d7ecd44fb1979d70ee9376ce709b53767c500814Sergey Sharybin
<![CDATA[[48d6a49]: Cleanup: Typo fix in a comment]]> http://www.miikahweb.com/en/blender/git-logs/commit/48d6a491fcd33c7e484aa3a0256ba40c3ba3bab9 48d6a49
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cleanup: Typo fix in a comment

----------------------------------------
1 Path Changed]]>
Wed, 15 Sep 2021 17:52:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/48d6a491fcd33c7e484aa3a0256ba40c3ba3bab9Sergey Sharybin
<![CDATA[[e432ce1]: Render: Introduce render_frame_finish RenderEngine callback]]> http://www.miikahweb.com/en/blender/git-logs/commit/e432ce12a8574f40c72d5d155a241bd80b05d93c e432ce1
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Render: Introduce render_frame_finish RenderEngine callback

Allows to inform the engine that nothing else will be rendered for the
current frame and that the engine can perform post-processing of any
pending result.

For example, this allows the engine to free its memory, read all files
from disk and write them to Blender.

Currently no functional changes, just preparing API for the further
development of Cycles on-disk tile storage.

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

----------------------------------------
7 Paths Changed]]>
Wed, 15 Sep 2021 17:51:25 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e432ce12a8574f40c72d5d155a241bd80b05d93cSergey Sharybin
<![CDATA[[0c82c0c]: Fix missing shadow catcher pass in viewport]]> http://www.miikahweb.com/en/blender/git-logs/commit/0c82c0c75880814cd12bb9c349e95b7c6fc440e6 0c82c0c
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix missing shadow catcher pass in viewport

The regression was caused by changes related on GPUDisplay used for
an offline rendering.

----------------------------------------
3 Paths Changed]]>
Wed, 15 Sep 2021 17:33:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0c82c0c75880814cd12bb9c349e95b7c6fc440e6Sergey Sharybin
<![CDATA[[7c57f98]: Ensure unique names of tile buffer files in Cycles X]]> http://www.miikahweb.com/en/blender/git-logs/commit/7c57f980f8ceea5ba5b6a52644b595929094c53f 7c57f98
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Ensure unique names of tile buffer files in Cycles X

It is possible that processing and deletion of tile buffer from disk
will happen after tile manager was re-allocated. This happens, for
example, when rendering multiple view layers in Blender: each view
layer will reset session (which re-creates the tile manager).

----------------------------------------
1 Path Changed]]>
Wed, 15 Sep 2021 17:33:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7c57f980f8ceea5ba5b6a52644b595929094c53fSergey Sharybin
<![CDATA[[9d48245]: Cycles X: Convert DenoiseParams to a "lite" Node]]> http://www.miikahweb.com/en/blender/git-logs/commit/9d4824550807c1d373022370d7b45217b02aec02 9d48245
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Convert DenoiseParams to a "lite" Node

It is not supposed to be a node of a scene graph, but this change
allows to simplify serialization of the denoising parameters.

The goal is to be able to easily (de)serialize denoiser parameters
to/from image metadata, so that processing of the files can happen
outside of the scene graph (for example, on-disk tile buffer and
animation denoising).

----------------------------------------
2 Paths Changed]]>
Wed, 15 Sep 2021 17:35:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9d4824550807c1d373022370d7b45217b02aec02Sergey Sharybin
<![CDATA[[ae61e81]: Cycles X: Keep track of passes list in BufferParams]]> http://www.miikahweb.com/en/blender/git-logs/commit/ae61e816c6a8d12058b63c83c4c228875f22b7ab ae61e81
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Keep track of passes list in BufferParams

Currently should no functional changes.

The goal is to completely decouple BufferParams from Scene graph for
pass accessing.

This is needed for the on-disk tiled storage when EXR is to be read
from disk after the session got freed. Also, will make animation
denoising easier to implement.

----------------------------------------
2 Paths Changed]]>
Wed, 15 Sep 2021 17:33:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ae61e816c6a8d12058b63c83c4c228875f22b7abSergey Sharybin
<![CDATA[[b09b5bc]: Cycles X: Switch PassAccessor to BufferPass]]> http://www.miikahweb.com/en/blender/git-logs/commit/b09b5bccf3223a1563c1f3212512a828cc265e1f b09b5bc
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Switch PassAccessor to BufferPass

Moving towards pixels access from only Buffers, without access to
the scene graph.

Should be no functional changes.

----------------------------------------
7 Paths Changed]]>
Wed, 15 Sep 2021 17:33:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b09b5bccf3223a1563c1f3212512a828cc265e1fSergey Sharybin
<![CDATA[[e89fb44]: Cycles X: Switch TileManager to use BufferPass]]> http://www.miikahweb.com/en/blender/git-logs/commit/e89fb443169a798c492da8e8d9e0433342c9f9b0 e89fb44
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Switch TileManager to use BufferPass

Continuation of work related on making buffers a sufficient entity
to properly access pass pixels.

For the ease of (de)serialization the buffer pass and parameters
are now subclass of Node. Can try looking into adding an explicit
Serializable API, but it will be outside of this patch and not
currently sure it will make things more clear.

----------------------------------------
5 Paths Changed]]>
Wed, 15 Sep 2021 17:35:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e89fb443169a798c492da8e8d9e0433342c9f9b0Sergey Sharybin
<![CDATA[[15fbf32]: Cycles X: restore support for render progress bar percentage]]> http://www.miikahweb.com/en/blender/git-logs/commit/15fbf32d8f8dbeb70b65a1adaf01310c690c27e0 15fbf32
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Cycles X: restore support for render progress bar percentage

----------------------------------------
3 Paths Changed]]>
Wed, 15 Sep 2021 17:25:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/15fbf32d8f8dbeb70b65a1adaf01310c690c27e0Brecht Van Lommel
<![CDATA[[d195e95]: Merge branch 'master' into cycles-x]]> http://www.miikahweb.com/en/blender/git-logs/commit/d195e9529074417506928ae4b9d07d0d0d2a62a4 d195e95
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Merge branch 'master' into cycles-x

----------------------------------------
0 Paths Changed]]>
Wed, 15 Sep 2021 16:55:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d195e9529074417506928ae4b9d07d0d0d2a62a4Sergey Sharybin
<![CDATA[[58ab616]: Cycles X: Switch startswith/endswith to string_view]]> http://www.miikahweb.com/en/blender/git-logs/commit/58ab616d4c6e5d65d9415bb54845eddb0acf54e7 58ab616
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Switch startswith/endswith to string_view

Currently no functional changes. Making this internal API flexible to
be used for any string-like objects.

The implementation is a bit lower-level than one would expect from the
C++'s string_view. This is because the string_view implementation is
coming from OIIO./

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

----------------------------------------
2 Paths Changed]]>
Tue, 14 Sep 2021 15:01:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/58ab616d4c6e5d65d9415bb54845eddb0acf54e7Sergey Sharybin
<![CDATA[[d71b3b0]: Cycles X: Cover string startswith/endswith with tests]]> http://www.miikahweb.com/en/blender/git-logs/commit/d71b3b0056feeae04d93ce03b79ec0f520b326cf d71b3b0
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Cover string startswith/endswith with tests

----------------------------------------
1 Path Changed]]>
Tue, 14 Sep 2021 15:01:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d71b3b0056feeae04d93ce03b79ec0f520b326cfSergey Sharybin
<![CDATA[[9da9944]: Cleanup: remove unnecessary clamp, is already done when initializing...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9da994474eb478d3d75edf92c120daf6ecd225e1 9da9944
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Cleanup: remove unnecessary clamp, is already done when initializing closure

----------------------------------------
1 Path Changed]]>
Tue, 14 Sep 2021 13:13:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9da994474eb478d3d75edf92c120daf6ecd225e1Brecht Van Lommel
<![CDATA[[a127025]: Fix deadlock due to lock order inversion in rendering after...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a127025f1d876ac8a6352607e9b560b275554f07 a127025
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix deadlock due to lock order inversion in rendering after GPU display changes

Main thread:
* Acquires DST.gl_context_mutex lock for drawing image editor
* Acquires mutex_ in GPUDisplay::draw()

Render thread:
* Acquires mutex_ in GPUDisplay::update_begin()
* Acquires DST.gl_context_mutex for updating texture

Ideally DST.gl_context_mutex would not be needed at all, for best performance.
But this requires deep changes to the draw manager since it relies on global
variables in many places.

Instead rely on DST.gl_context_mutex for mutual exclusion between update and
draw operations in the subclass, and only use mutex_ for thread safe access to
the parameters.

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

----------------------------------------
4 Paths Changed]]>
Tue, 14 Sep 2021 13:13:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a127025f1d876ac8a6352607e9b560b275554f07Brecht Van Lommel
<![CDATA[[458c8d6]: Fix using reference to a temporary variable in Cycles X]]> http://www.miikahweb.com/en/blender/git-logs/commit/458c8d600dd6d4b971e3737848b0bcebd7226e6f 458c8d6
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix using reference to a temporary variable in Cycles X

----------------------------------------
2 Paths Changed]]>
Tue, 14 Sep 2021 08:41:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/458c8d600dd6d4b971e3737848b0bcebd7226e6fSergey Sharybin
<![CDATA[[d8a01b7]: Cycles X: Convert pass fields to socket declarations]]> http://www.miikahweb.com/en/blender/git-logs/commit/d8a01b7970dca774961d94ea86306e5b2deb7873 d8a01b7
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Convert pass fields to socket declarations

No functional changes, just finalizes conversion of Pass to a proper
scene node.

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

----------------------------------------
9 Paths Changed]]>
Mon, 13 Sep 2021 14:45:16 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d8a01b7970dca774961d94ea86306e5b2deb7873Sergey Sharybin
<![CDATA[[319dcd3]: Fix memory leak in Cycles X]]> http://www.miikahweb.com/en/blender/git-logs/commit/319dcd351edc871c37c5abda8ad99b19c70bf1db 319dcd3
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix memory leak in Cycles X

Caused by recent refactor of tile file storage: need to take care of
freeing pass nodes.

----------------------------------------
1 Path Changed]]>
Mon, 13 Sep 2021 14:41:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/319dcd351edc871c37c5abda8ad99b19c70bf1dbSergey Sharybin
<![CDATA[[198b43f]: Fix too small step size for time limit button, increase from...]]> http://www.miikahweb.com/en/blender/git-logs/commit/198b43f8ae5131e533d946aae935c70dfb320884 198b43f
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix too small step size for time limit button, increase from 1ms to 1s

----------------------------------------
1 Path Changed]]>
Mon, 13 Sep 2021 11:46:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/198b43f8ae5131e533d946aae935c70dfb320884Brecht Van Lommel
<![CDATA[[1c84bbb]: Merge branch 'master' into cycles-x]]> http://www.miikahweb.com/en/blender/git-logs/commit/1c84bbbce5924cd5354d92f7b2b13b58cfa6ab74 1c84bbb
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Merge branch 'master' into cycles-x

----------------------------------------
0 Paths Changed]]>
Mon, 13 Sep 2021 11:46:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1c84bbbce5924cd5354d92f7b2b13b58cfa6ab74Brecht Van Lommel
<![CDATA[[c67a8ea]: Cleanup: Unused function]]> http://www.miikahweb.com/en/blender/git-logs/commit/c67a8eaba8d66a5e21c9fb7ccf36856d3ba62ea9 c67a8ea
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cleanup: Unused function

No functional changes.

----------------------------------------
2 Paths Changed]]>
Mon, 13 Sep 2021 10:17:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c67a8eaba8d66a5e21c9fb7ccf36856d3ba62ea9Sergey Sharybin
<![CDATA[[a6eb537]: Cycles X: Store passes and buffer params in tile file metadata...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a6eb5370093c4960d8e3d7be9df922acd3194955 a6eb537
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Cycles X: Store passes and buffer params in tile file metadata

Allows to fully forget about passes and parameters once the file
was fully written.

Currently should be no functional changes. Will be used when a proper
memory saving is implemented: when EXR files are read from disk and
written to Blender after all view layers were rendered.

Is debatable why we need to store actual passes: for now it was the
most local change to move towards the goal (which is to decouple
full buffers reading from the Session/PathTrace/TileManager state).
Might end up storing simplified version of passes in the BufferParams
so that we can use `get_render_tile_pixels()` without having Scene
and only relying on the RenderBuffers. In any case, we would need to
store some sort of metadata, and whether it comes to/from passes is
something we can tweak in the future.

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

----------------------------------------
2 Paths Changed]]>
Mon, 13 Sep 2021 09:57:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a6eb5370093c4960d8e3d7be9df922acd3194955Sergey Sharybin
<![CDATA[[35aba17]: Merge branch 'master' into cycles-x]]> http://www.miikahweb.com/en/blender/git-logs/commit/35aba17d3543f77585af2e98025f00b47e499262 35aba17
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Merge branch 'master' into cycles-x

----------------------------------------
0 Paths Changed]]>
Mon, 13 Sep 2021 09:41:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/35aba17d3543f77585af2e98025f00b47e499262Sergey Sharybin
<![CDATA[[0a8a190]: Fix crash denoising shadow catcher in Cycles X]]> http://www.miikahweb.com/en/blender/git-logs/commit/0a8a190c819a8b6acfc87e62090c65cec3f9e0a8 0a8a190
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix crash denoising shadow catcher in Cycles X

----------------------------------------
1 Path Changed]]>
Fri, 10 Sep 2021 16:35:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0a8a190c819a8b6acfc87e62090c65cec3f9e0a8Sergey Sharybin
<![CDATA[[86232e1]: Fix missing render progress on Windows in Cycles X]]> http://www.miikahweb.com/en/blender/git-logs/commit/86232e1e235b6edb2ae9f6b1693e9fb10674b859 86232e1
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix missing render progress on Windows in Cycles X

The issue is caused by `::wglShareLists()` returning an error if the
shared context is currently in use, so that the OpenGL context for
GPUDisplay did fail to be created.

After a lot of experimentation all the non-intrusive changes to support
OpenGL context creation with shared textures has failed.

The easiest way to have reliable OpenGL context creation is to do it on
the main thread.

For the offline rendering this is done in the pipeline.c. This change
takes advantage of this and uses the Render::gl_context for the GPU
display implementation for offline rendering.

For the viewport rendering we don't have Render, but the engine is
created from the main thread, so we can create context from the Cycles
side.

Not really happy with such approach, but this seems to be easiest and
safest way to go for now to get other bits of Cycles X finished. In the
future Vulkan should make things easier for the context creation and
multi-threaded applications.

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

----------------------------------------
6 Paths Changed]]>
Fri, 10 Sep 2021 16:26:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/86232e1e235b6edb2ae9f6b1693e9fb10674b859Sergey Sharybin
<![CDATA[[a218c62]: Merge branch 'master' into cycles-x]]> http://www.miikahweb.com/en/blender/git-logs/commit/a218c623ad071c69895de36e256b670f5eaae7d5 a218c62
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Merge branch 'master' into cycles-x

----------------------------------------
0 Paths Changed]]>
Fri, 10 Sep 2021 15:41:24 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a218c623ad071c69895de36e256b670f5eaae7d5Brecht Van Lommel
<![CDATA[[d717a50]: Fix error in last random walk bugfix]]> http://www.miikahweb.com/en/blender/git-logs/commit/d717a50d5bd6861c78a37dc9983e2e1aa039fedd d717a50
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix error in last random walk bugfix

----------------------------------------
1 Path Changed]]>
Fri, 10 Sep 2021 15:41:15 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d717a50d5bd6861c78a37dc9983e2e1aa039feddBrecht Van Lommel
<![CDATA[[3c54ed4]: Fix T90010: Cycles X random walk discontinuity between low...]]> http://www.miikahweb.com/en/blender/git-logs/commit/3c54ed4b3adb1617bd511b633c87df7e7ea55691 3c54ed4
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix T90010: Cycles X random walk discontinuity between low and zero albedo

----------------------------------------
1 Path Changed]]>
Fri, 10 Sep 2021 13:55:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3c54ed4b3adb1617bd511b633c87df7e7ea55691Brecht Van Lommel
<![CDATA[[977682e]: Fix possible infnite loops at the end of Cycles X rendering]]> http://www.miikahweb.com/en/blender/git-logs/commit/977682e0ae43a709329c0d258914f2d80e4014fc 977682e
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix possible infnite loops at the end of Cycles X rendering

Caused by uninitialized variable.

----------------------------------------
1 Path Changed]]>
Fri, 10 Sep 2021 08:40:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/977682e0ae43a709329c0d258914f2d80e4014fcSergey Sharybin
<![CDATA[[69806f1]: Fix graphics interop destruction for offline rendering in Cycles...]]> http://www.miikahweb.com/en/blender/git-logs/commit/69806f1f88d4c78b752d902381e94a3e9e668321 69806f1
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Fix graphics interop destruction for offline rendering in Cycles X

Graphics interop API is to be sued from within an active graphics
context, which might not be a case for offline rendering where
there is no default graphics context bound.

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

----------------------------------------
11 Paths Changed]]>
Fri, 10 Sep 2021 07:51:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/69806f1f88d4c78b752d902381e94a3e9e668321Sergey Sharybin
<![CDATA[[ab1f5fe]: Merge branch 'master' into cycles-x]]> http://www.miikahweb.com/en/blender/git-logs/commit/ab1f5fe89c6f44f3532e51d5048397efc9f9a62b ab1f5fe
Branches : cycles-x
Author : Sergey Sharybin (sergey)
----------------------------------------
Merge branch 'master' into cycles-x

----------------------------------------
0 Paths Changed]]>
Fri, 10 Sep 2021 07:46:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ab1f5fe89c6f44f3532e51d5048397efc9f9a62bSergey Sharybin
<![CDATA[[d1f8f8b]: Fix Cycles X use of uninitialized memory for AO and bevel nodes...]]> http://www.miikahweb.com/en/blender/git-logs/commit/d1f8f8b4a4bdeead3d6b36167b7804cd0825bd4d d1f8f8b
Branches : cycles-x
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fix Cycles X use of uninitialized memory for AO and bevel nodes

Always write to the SVM stack also in cases where no actual AO or bevel
ray-tracing can be performed.

----------------------------------------
3 Paths Changed]]>
Thu, 09 Sep 2021 19:14:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d1f8f8b4a4bdeead3d6b36167b7804cd0825bd4dBrecht Van Lommel