Blender Git Commits

Blender Git "temp-drawcontext" branch commits.

Page: 2 / 2

February 21, 2018, 22:02 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext

# Conflicts:
# source/blender/windowmanager/intern/wm_init_exit.c
February 21, 2018, 16:10 (GMT)
DRW: Use new gawain context.
February 21, 2018, 14:38 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext
February 21, 2018, 00:10 (GMT)
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
February 20, 2018, 21:45 (GMT)
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.
February 20, 2018, 14:18 (GMT)
Eevee: Fix SSR in multiviewport.

This was due to the prev_persmat being recorded per viewlayers instead of per viewport.
February 14, 2018, 16:22 (GMT)
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.
February 12, 2018, 16:01 (GMT)
GHOST: offscreen context support for macOS.
February 12, 2018, 15:04 (GMT)
Create an offscreen context with own hDC
February 11, 2018, 20:00 (GMT)
GHOST: Style, add comments, and make sure that the system has at least one window
February 11, 2018, 20:00 (GMT)
Merge branch 'blender2.8' of git@git.blender.org:blender.git into temp-drawcontext
February 11, 2018, 01:46 (GMT)
DRW Opengl Context: Adress comments on D3057

- Rename DRW_ogl_ctx_* to DRW_opengl_context_*
- Replace ThreadRWMutex with ThreadMutex
- Remove g_active_window
February 10, 2018, 02:06 (GMT)
Support for the new GHOST API in Windows
February 9, 2018, 20:09 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into temp-drawcontext
February 9, 2018, 20:04 (GMT)
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
February 9, 2018, 20:04 (GMT)
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.
February 9, 2018, 20:04 (GMT)
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.
February 9, 2018, 20:04 (GMT)
GHOST: Add interface to manage offscreen opengl contexts.

Only the X11 backend is present in this commit.

This is needed for the multiwindow support.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021