Clément Foucault
13261304a3
DRW: Add new Draw Manager OpenGL Context.
...
This separate context allows two things:
- It allows viewports in multi-windows configuration.
- F12 render can use this context in a separate thread and do a non-blocking render.
The downside is that the context cannot be used while rendering so a request to refresh a viewport will lock the UI. This is something that will be adressed in the future.
Under the hood what does that mean:
- Not adding more mess with VAOs management in gawain.
- Doing depth only draw for operators / selection needs to be done in an offscreen buffer.
- The 3D cursor "autodis" operator is still reading the backbuffer so we need to copy the result to it.
- All FBOs needed by the drawmanager must to be created/destroyed with its context active.
- We cannot use batches created for UI in the DRW context and vice-versa. There is a clear separation of resources that enables the use of safe multi-threading.
2018-02-26 19:41:17 +01:00
..
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-07-13 16:47:58 +02:00
2017-07-13 16:47:58 +02:00
2017-07-13 16:47:58 +02:00
2017-07-13 16:47:58 +02:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-04-07 03:08:00 -04:00
2017-05-18 22:33:34 +10:00
2017-02-07 11:31:22 +01:00
2017-02-11 21:15:46 +01:00
2017-05-17 10:46:42 +10:00
2017-07-13 16:47:58 +02:00
2017-07-13 16:47:58 +02:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-02-11 21:15:46 +01:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-03-26 21:23:55 -04:00
2016-09-27 21:25:38 +02:00
2017-03-26 21:23:55 -04:00
2017-05-17 10:46:42 +10:00
2016-09-13 02:51:38 -04:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2016-11-05 18:56:57 +01:00
2017-05-17 10:46:42 +10:00
2017-04-19 16:57:44 +02:00
2016-11-05 19:26:13 +01:00
2016-11-05 19:26:13 +01:00
2016-11-05 19:26:13 +01:00
2017-03-26 21:23:55 -04:00
2017-05-19 11:09:12 -04:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2017-04-08 02:21:13 -04:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-03-15 13:17:49 +01:00
2017-05-19 11:09:12 -04:00
2017-04-08 02:21:13 -04:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2018-02-26 19:41:17 +01:00
2017-05-19 11:09:12 -04:00
2018-02-13 20:02:31 +01:00
2018-02-13 20:02:31 +01:00
2017-05-11 16:29:35 +02:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2018-01-11 19:35:56 +01:00
2018-01-11 19:35:56 +01:00
2017-03-05 20:29:21 +01:00
2017-03-05 18:10:08 +01:00
2017-03-05 18:10:08 +01:00
2017-07-07 15:10:09 +02:00
2018-02-16 02:01:09 -02:00
2018-01-11 19:35:56 +01:00
2017-04-10 22:23:50 +02:00
2017-02-11 21:15:46 +01:00
2017-04-10 22:23:50 +02:00
2017-02-11 21:15:46 +01:00
2017-05-17 10:46:42 +10:00
2017-08-03 01:25:55 +12:00
2018-02-23 19:10:24 +01:00
2017-05-19 18:01:24 +02:00
2017-05-17 10:46:42 +10:00
2017-05-19 18:01:24 +02:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-19 11:09:12 -04:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-03 18:57:35 +02:00
2017-05-17 10:46:42 +10:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2017-05-19 11:09:12 -04:00
2017-05-17 10:46:42 +10:00
2017-08-17 06:34:02 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00
2017-05-17 10:46:42 +10:00