http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-drawcontext Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-drawcontext Branch fi Sun, 19 Sep 21 19:20:57 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[32630dd]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/32630dd61c8dc3d54cd7eb5ab4bd81e0a9250ebc 32630dd
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Mon, 26 Feb 2018 17:30:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/32630dd61c8dc3d54cd7eb5ab4bd81e0a9250ebcClément Foucault
<![CDATA[[de0c010]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/de0c010f5f457468f0f53a1c475f2d85322345b2 de0c010
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Mon, 26 Feb 2018 17:33:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/de0c010f5f457468f0f53a1c475f2d85322345b2Clément Foucault
<![CDATA[[55eac3a]: Fixes for proper initialization and destruction of draw context...]]> http://www.miikahweb.com/en/blender/git-logs/commit/55eac3a088a8d12f140fdd4ef2a14919c5ffa36c 55eac3a
Branches : temp-drawcontext
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fixes for proper initialization and destruction of draw context.

----------------------------------------
3 Paths Changed]]>
Mon, 26 Feb 2018 02:36:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/55eac3a088a8d12f140fdd4ef2a14919c5ffa36cBrecht Van Lommel
<![CDATA[[813f1c6]: Fixes for offscreen drawing context on macOS.]]> http://www.miikahweb.com/en/blender/git-logs/commit/813f1c603f645fd94ab5c84659efd8af15aa5764 813f1c6
Branches : temp-drawcontext
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fixes for offscreen drawing context on macOS.

* Disable multithreaded OpenGL again, it crashes on startup.
* Fix wrong clear context call in GHOST.
* Add GPU_state_init() also for draw context, just to be sure.
* Main fix: add glFlush() to avoid unfinished draw before leaving context.

----------------------------------------
3 Paths Changed]]>
Sun, 25 Feb 2018 03:19:06 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/813f1c603f645fd94ab5c84659efd8af15aa5764Brecht Van Lommel
<![CDATA[[aba96ff]: GHOST: X11: Init multithread support.]]> http://www.miikahweb.com/en/blender/git-logs/commit/aba96ffca46e7884b7161a8e9c7430d9418c0961 aba96ff
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GHOST: X11: Init multithread support.

This fix an assert on with Nvidia driver.

----------------------------------------
1 Path Changed]]>
Sat, 24 Feb 2018 01:45:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/aba96ffca46e7884b7161a8e9c7430d9418c0961Clément Foucault
<![CDATA[[b9f4f9e]: GHOST: OSX: Make OGL 3.3 core profile defaults.]]> http://www.miikahweb.com/en/blender/git-logs/commit/b9f4f9e4ff1c3f9ab9268ef68789926eba0f71e6 b9f4f9e
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GHOST: OSX: Make OGL 3.3 core profile defaults.

We are using 3.3 features for Blender 2.8. There is no other choice.

----------------------------------------
3 Paths Changed]]>
Sat, 24 Feb 2018 02:00:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b9f4f9e4ff1c3f9ab9268ef68789926eba0f71e6Clément Foucault
<![CDATA[[c355208]: GHOST: GLX: Use a pbuffer for offscreen context.]]> http://www.miikahweb.com/en/blender/git-logs/commit/c3552081acabd5359aa396fb0769084332acabac c355208
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GHOST: GLX: Use a pbuffer for offscreen context.

Some implementation does not work well with offscreen context without a drawable surface.

----------------------------------------
1 Path Changed]]>
Sat, 24 Feb 2018 01:46:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c3552081acabd5359aa396fb0769084332acabacClément Foucault
<![CDATA[[ca794c4]: GHOST: OSX: Force opengl multithread initialisation.]]> http://www.miikahweb.com/en/blender/git-logs/commit/ca794c4be513d99264c67a18dfa411ba70b3bd52 ca794c4
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GHOST: OSX: Force opengl multithread initialisation.

This may not be what I think it is. But it might solve some problems we are having with DrawManager and separate contexts.

----------------------------------------
1 Path Changed]]>
Sat, 24 Feb 2018 01:56:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ca794c4be513d99264c67a18dfa411ba70b3bd52Clément Foucault
<![CDATA[[dab48e0]: GHOST: Add a new routine to unbind an ogl context for multithreading...]]> http://www.miikahweb.com/en/blender/git-logs/commit/dab48e0ca796d2aa3db3d4858e1b8f29b516b10d dab48e0
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GHOST: Add a new routine to unbind an ogl context for multithreading.

----------------------------------------
19 Paths Changed]]>
Fri, 23 Feb 2018 20:44:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dab48e0ca796d2aa3db3d4858e1b8f29b516b10dClément Foucault
<![CDATA[[75f8284]: GPU: Clear Batches VAOs upon window context switchs.]]> http://www.miikahweb.com/en/blender/git-logs/commit/75f8284545412375f3cfb8f276ac6e511bc07cb7 75f8284
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GPU: Clear Batches VAOs upon window context switchs.

This way all windows can display the preset batches correctly.

----------------------------------------
3 Paths Changed]]>
Fri, 23 Feb 2018 15:42:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/75f8284545412375f3cfb8f276ac6e511bc07cb7Clément Foucault
<![CDATA[[7f67a69]: Revert "GWN: Fix immediate mode when closing a window."]]> http://www.miikahweb.com/en/blender/git-logs/commit/7f67a69ad55ed5c3d87e1ea1948e750736f17576 7f67a69
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Revert "GWN: Fix immediate mode when closing a window."

This reverts commit 3d3d7f6d55c9f82a2317c178740302bc819fcddb.

----------------------------------------
1 Path Changed]]>
Fri, 23 Feb 2018 16:18:54 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7f67a69ad55ed5c3d87e1ea1948e750736f17576Clément Foucault
<![CDATA[[9bb34d6]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9bb34d6f62650471a07183670114a170cf50b00f 9bb34d6
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Fri, 23 Feb 2018 16:29:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9bb34d6f62650471a07183670114a170cf50b00fClément Foucault
<![CDATA[[ecbba1f]: DRW: Fix GPUViewport's FBOs being free in wrong ogl context.]]> http://www.miikahweb.com/en/blender/git-logs/commit/ecbba1ff2d32fea2ab89c39238c0a8654e91304a ecbba1f
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
DRW: Fix GPUViewport's FBOs being free in wrong ogl context.

----------------------------------------
3 Paths Changed]]>
Thu, 22 Feb 2018 20:54:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ecbba1ff2d32fea2ab89c39238c0a8654e91304aClément Foucault
<![CDATA[[f483057]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f4830578cb1c97c5083b3a0a4814dfe4d53118a9 f483057
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Thu, 22 Feb 2018 19:11:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f4830578cb1c97c5083b3a0a4814dfe4d53118a9Clément Foucault
<![CDATA[[3d3d7f6]: GWN: Fix immediate mode when closing a window.]]> http://www.miikahweb.com/en/blender/git-logs/commit/3d3d7f6d55c9f82a2317c178740302bc819fcddb 3d3d7f6
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GWN: Fix immediate mode when closing a window.

----------------------------------------
1 Path Changed]]>
Thu, 22 Feb 2018 15:36:16 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3d3d7f6d55c9f82a2317c178740302bc819fcddbClément Foucault
<![CDATA[[0b4b0e1]: Fix Edit Mode selection triggering an OpenGL error.]]> http://www.miikahweb.com/en/blender/git-logs/commit/0b4b0e1a49e71c9dfef4726f8b4707a8df7cb413 0b4b0e1
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Fix Edit Mode selection triggering an OpenGL error.

----------------------------------------
3 Paths Changed]]>
Thu, 22 Feb 2018 00:31:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0b4b0e1a49e71c9dfef4726f8b4707a8df7cb413Clément Foucault
<![CDATA[[33347b4]: Eevee: Fix SSR not appearing in render.]]> http://www.miikahweb.com/en/blender/git-logs/commit/33347b4ed9b02ea8fe4c5c5795ae79b89eb64cf2 33347b4
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Eevee: Fix SSR not appearing in render.

----------------------------------------
3 Paths Changed]]>
Wed, 21 Feb 2018 23:16:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/33347b4ed9b02ea8fe4c5c5795ae79b89eb64cf2Clément Foucault
<![CDATA[[563ae09]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/563ae0920d393c65ea057908b7ab49e4ec0ddad2 563ae09
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Thu, 22 Feb 2018 12:19:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/563ae0920d393c65ea057908b7ab49e4ec0ddad2Clément Foucault
<![CDATA[[ee1a59b]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ee1a59b86a840a0688d8dbc0ef23bd7917f9b994 ee1a59b
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Thu, 22 Feb 2018 13:34:43 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ee1a59b86a840a0688d8dbc0ef23bd7917f9b994Clément Foucault
<![CDATA[[f998c26]: DRW: Fix selection & cursor autodist not working after rendering...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f998c26a08e06df6c5907a9ba6190c5f2917f623 f998c26
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
DRW: Fix selection & cursor autodist not working after rendering.

That was caused by a wrong state initialization. We could remove every call to these if the state was not changed anywhere else (outside of DRW), but this is not the case...

----------------------------------------
1 Path Changed]]>
Thu, 22 Feb 2018 12:18:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f998c26a08e06df6c5907a9ba6190c5f2917f623Clément Foucault
<![CDATA[[253af53]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/253af53992bf85d4ba059123f98c8c1fc01c268a 253af53
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

# Conflicts:
# source/blender/windowmanager/intern/wm_init_exit.c

----------------------------------------
0 Paths Changed]]>
Wed, 21 Feb 2018 22:02:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/253af53992bf85d4ba059123f98c8c1fc01c268aClément Foucault
<![CDATA[[752a2f0]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/752a2f096d8f5a8680e2822c62d4ea86bb8418e7 752a2f0
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Wed, 21 Feb 2018 14:38:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/752a2f096d8f5a8680e2822c62d4ea86bb8418e7Clément Foucault
<![CDATA[[802f353]: DRW: Use new gawain context.]]> http://www.miikahweb.com/en/blender/git-logs/commit/802f353f0f98d50ed539ad656fd14aec14dcb3a8 802f353
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
DRW: Use new gawain context.

----------------------------------------
2 Paths Changed]]>
Wed, 21 Feb 2018 16:10:56 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/802f353f0f98d50ed539ad656fd14aec14dcb3a8Clément Foucault
<![CDATA[[6a0b068]: Merge branch 'blender2.8' of git@git.blender.org:blender.git...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6a0b068cdf05fc20111466dd50c6baccd5691d78 6a0b068
Branches : temp-drawcontext
Author : Germano Cavalcante (mano-wii)
----------------------------------------
Merge branch 'blender2.8' of git@git.blender.org:blender.git into temp-drawcontext

# Conflicts:
# source/blender/draw/intern/draw_manager.c
# source/blender/editors/render/render_opengl.c

----------------------------------------
0 Paths Changed]]>
Wed, 21 Feb 2018 00:10:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6a0b068cdf05fc20111466dd50c6baccd5691d78Germano Cavalcante
<![CDATA[[0b98b66]: DRW: Fix DRW_draw_select_loop and DRW_draw_depth_loop]]> http://www.miikahweb.com/en/blender/git-logs/commit/0b98b668c4853f9e497173a319c00edb73ec3693 0b98b66
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
DRW: Fix DRW_draw_select_loop and DRW_draw_depth_loop

Depth of selection offscreen buffer was uninitialized and selection was behaving badly.

DRW_draw_depth_loop needed to be updated to use the drawmanager context but since the reading is done is quite some places outside of DRW, I prefered to still copy the depth to the backbuffer until we update all operators to use offscreen buffers.

----------------------------------------
5 Paths Changed]]>
Tue, 20 Feb 2018 21:45:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0b98b668c4853f9e497173a319c00edb73ec3693Clément Foucault
<![CDATA[[be04746]: Eevee: Fix SSR in multiviewport.]]> http://www.miikahweb.com/en/blender/git-logs/commit/be04746ad72c2d7687bb3a1c50c3ff04cfbf6191 be04746
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Eevee: Fix SSR in multiviewport.

This was due to the prev_persmat being recorded per viewlayers instead of per viewport.

----------------------------------------
2 Paths Changed]]>
Tue, 20 Feb 2018 14:18:56 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/be04746ad72c2d7687bb3a1c50c3ff04cfbf6191Clément Foucault
<![CDATA[[98dab49]: GHOST: Remove exception from multiple context on intel cards]]> http://www.miikahweb.com/en/blender/git-logs/commit/98dab49c63a277a32d6c5f6f2bd5516378a3a110 98dab49
Branches : temp-drawcontext
Author : Germano Cavalcante (mano-wii)
----------------------------------------
GHOST: Remove exception from multiple context on intel cards

This exception was added in commit rB66cee6366587

Apparently the problem only occurs with Intel 9xx series cards.
Since these cards do not support OpenGL 3.2, they will not be compatible with blender2.8 anyway.

----------------------------------------
1 Path Changed]]>
Wed, 14 Feb 2018 16:22:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/98dab49c63a277a32d6c5f6f2bd5516378a3a110Germano Cavalcante
<![CDATA[[9accd7e]: GHOST: offscreen context support for macOS.]]> http://www.miikahweb.com/en/blender/git-logs/commit/9accd7e58086d26c1287c2e8876a381d1249180e 9accd7e
Branches : temp-drawcontext
Author : Brecht Van Lommel (brecht)
----------------------------------------
GHOST: offscreen context support for macOS.

----------------------------------------
4 Paths Changed]]>
Mon, 12 Feb 2018 16:01:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9accd7e58086d26c1287c2e8876a381d1249180eBrecht Van Lommel
<![CDATA[[71c832a]: Create an offscreen context with own hDC]]> http://www.miikahweb.com/en/blender/git-logs/commit/71c832a700373a310418788d7c82b18eab4394bc 71c832a
Branches : temp-drawcontext
Author : Germano Cavalcante (mano-wii)
----------------------------------------
Create an offscreen context with own hDC

----------------------------------------
3 Paths Changed]]>
Mon, 12 Feb 2018 15:04:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/71c832a700373a310418788d7c82b18eab4394bcGermano Cavalcante
<![CDATA[[991ff32]: GHOST: Style, add comments, and make sure that the system has...]]> http://www.miikahweb.com/en/blender/git-logs/commit/991ff32d0b56739762e91931399e30f81f1a5571 991ff32
Branches : temp-drawcontext
Author : Germano Cavalcante (mano-wii)
----------------------------------------
GHOST: Style, add comments, and make sure that the system has at least one window

----------------------------------------
2 Paths Changed]]>
Sun, 11 Feb 2018 20:00:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/991ff32d0b56739762e91931399e30f81f1a5571Germano Cavalcante
<![CDATA[[f82c6ab]: Merge branch 'blender2.8' of git@git.blender.org:blender.git...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f82c6ab2a2ca4f0d3e39cbc4eaf2180c13a82c20 f82c6ab
Branches : temp-drawcontext
Author : Germano Cavalcante (mano-wii)
----------------------------------------
Merge branch 'blender2.8' of git@git.blender.org:blender.git into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Sun, 11 Feb 2018 20:00:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f82c6ab2a2ca4f0d3e39cbc4eaf2180c13a82c20Germano Cavalcante
<![CDATA[[5e8030e]: DRW Opengl Context: Adress comments on D3057]]> http://www.miikahweb.com/en/blender/git-logs/commit/5e8030e6825160f9ad72b9c990d522ab71805063 5e8030e
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
DRW Opengl Context: Adress comments on D3057

- Rename DRW_ogl_ctx_* to DRW_opengl_context_*
- Replace ThreadRWMutex with ThreadMutex
- Remove g_active_window

----------------------------------------
11 Paths Changed]]>
Sun, 11 Feb 2018 01:46:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5e8030e6825160f9ad72b9c990d522ab71805063Clément Foucault
<![CDATA[[b75c03e]: Support for the new GHOST API in Windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/b75c03e5e88166eab68b32648d5abfddf65447d7 b75c03e
Branches : temp-drawcontext
Author : Germano Cavalcante (mano-wii)
----------------------------------------
Support for the new GHOST API in Windows

----------------------------------------
5 Paths Changed]]>
Sat, 10 Feb 2018 02:06:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b75c03e5e88166eab68b32648d5abfddf65447d7Germano Cavalcante
<![CDATA[[3a30aa1]: Merge remote-tracking branch 'origin/blender2.8' into temp-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/3a30aa141b782377a9bcde421e0899f53804507a 3a30aa1
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

----------------------------------------
0 Paths Changed]]>
Fri, 09 Feb 2018 20:09:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3a30aa141b782377a9bcde421e0899f53804507aClément Foucault
<![CDATA[[6493ee6]: GHOST: Add interface to manage offscreen opengl contexts.]]> http://www.miikahweb.com/en/blender/git-logs/commit/6493ee6d566c9a8c2489bbfe78284d197cd0567c 6493ee6
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GHOST: Add interface to manage offscreen opengl contexts.

Only the X11 backend is present in this commit.

This is needed for the multiwindow support.

----------------------------------------
9 Paths Changed]]>
Fri, 09 Feb 2018 20:04:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6493ee6d566c9a8c2489bbfe78284d197cd0567cClément Foucault
<![CDATA[[95e8a52]: GPU/DRW: Make sphere batch local to DrawManager.]]> http://www.miikahweb.com/en/blender/git-logs/commit/95e8a5223337c128437d259ef5f0987526c1ec2e 95e8a52
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
GPU/DRW: Make sphere batch local to DrawManager.

Because it won't be possible to use batches created outside DrawManager in the DrawManager if it has its own context.

----------------------------------------
3 Paths Changed]]>
Fri, 09 Feb 2018 20:04:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/95e8a5223337c128437d259ef5f0987526c1ec2eClément Foucault
<![CDATA[[b6fb1d0]: WM: Add offscreen context functions.]]> http://www.miikahweb.com/en/blender/git-logs/commit/b6fb1d07a2f43413cbe3158f536618c2a931ed5f b6fb1d0
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
WM: Add offscreen context functions.

Windows are drawn in order on one thread, the main thread. If the drawmanager is called the context is changed. wm_window_reset_drawable() function to reset the current window context to resume drawing.

----------------------------------------
3 Paths Changed]]>
Fri, 09 Feb 2018 20:04:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b6fb1d07a2f43413cbe3158f536618c2a931ed5fClément Foucault
<![CDATA[[cfa2b30]: DRW: Add own opengl context to DrawManager.]]> http://www.miikahweb.com/en/blender/git-logs/commit/cfa2b3019dc759889e50060713e4678f51a87153 cfa2b30
Branches : temp-drawcontext
Author : Clément Foucault (fclem)
----------------------------------------
DRW: Add own opengl context to DrawManager.

We create a new offscreen render context (without a window attached as allowed by ogl > 3.0) and use it to draw everything in the draw manager.
This require the context to be setup right. The output Framebuffer need to be created under the drawmanager context (because FBOs are not shared).
Same goes for deletion. Although, fix for proper deletion will come in another commit.

This should fix the MultiWindow/Threaded Render issue. Now every single batch drawn by the draw manager is declared and drawn by the same context.
So the VAO problem is gone and only one VAO per batch is needed.

VAO deletion is also a concern that still needs to be addressed correctly.

We still have issues with ownership and freeing

----------------------------------------
9 Paths Changed]]>
Fri, 09 Feb 2018 20:04:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/cfa2b3019dc759889e50060713e4678f51a87153Clément Foucault