Clément Foucault
2c347ebbba
Fix T57874: Crash due to IMM_BUFFER_SIZE when drawing cached frames...
...
... in the timeline.
2018-11-16 19:26:23 +01:00
Brecht Van Lommel
342e73f90f
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3719
2018-09-24 18:48:29 +02:00
Campbell Barton
9a77f33bad
GPU: utility function to draw a partial circle
2018-09-24 16:22:22 +10:00
Clément Foucault
8cd7828792
GWN: Port to GPU module: Replace GWN prefix by GPU
2018-07-18 11:49:15 +02:00
Clément Foucault
247ad2034d
GWN: Port to GPU module: Move files to GPU
...
This does not include all the struct and type renaming. Only files were
renamed.
gwn_batch.c/h was fusioned with GPU_batch.c/h
gwn_immediate.c/h was fusioned with GPU_immediate.c/h
gwn_imm_util.c/h was fusioned with GPU_immediate_util.c/h
2018-07-18 00:17:57 +02:00
Campbell Barton
1eb49f8a2f
GPU_immediate_util: add cube drawing function
2017-09-26 17:51:47 +10:00
Campbell Barton
63dfb5bb97
Cleanup: naming (GPU immediate util)
2017-09-26 15:21:01 +10:00
Campbell Barton
55fb6e7096
GPU_immediate_util: Add x,y radius to circle draw
...
A version of circle drawing for non 1:1 aspects
2017-09-14 03:54:32 +10:00
Campbell Barton
6d359e4498
Cleanup: use explicit 2d suffix for imm utils
...
Avoid ambiguity between 2d/3d (which were already named).
2017-09-14 01:24:50 +10:00
Campbell Barton
b4d053efc7
Gawain API naming refactor
...
Use consistent prefix for gawain API names as well as
some abbreviations to avoid over-long names, see: D2678
2017-06-19 20:18:04 +10:00
Bastien Montagne
bb5f4a1f67
Cleanup/followup to previous commit: get rid of dashed-specific helpers.
...
Those are no more needed.
2017-05-01 16:32:55 +02:00
Bastien Montagne
45eaad88e2
Getting rid of setlinestyle: add imm_draw_circle_wire_dashed() util.
...
Needed a bit of twisting in generic private func behind the imm_draw_circle
helpers, but think it's fine.
Note that this demonstrate yet another downside of new dashed shader
compared to olde line style: not only does it needs more complex setup,
and can only work with PRIM_LINES type of primitives, but it also
behaves totally wrong with chained short segments!
We really need to find a better way to do this effect at some point. :(
2017-04-29 19:31:36 +02:00
Bastien Montagne
88a7d3438d
Move imm_draw_line_box_dashed to GPU_immediate_util.
2017-04-26 12:11:40 +02:00
Campbell Barton
2f700b8280
GPU_immediate_util: missed last commit
2017-04-05 18:53:34 +10:00
Campbell Barton
a4fac21fc5
Cleanup: Move imm_draw utils into own file
...
These were in BIF_glutil which is documented to be removed,
so best not define new API's there.
2017-04-05 18:43:59 +10:00