bf2e0c7598
GPUState: Remove glLineWidth warnings about size 0x0
2018-12-11 21:15:50 +01:00
bc870f17a7
Cleanup: style, shadow warning
2018-11-04 10:10:00 +11:00
721a19d2b8
GPU: Add safety check for max line width
...
On some platform does not support line width > 1.0 and can even throw and
error. Better check an at least display something rather than no lines at
all.
2018-11-02 15:45:13 +01:00
a248c2001a
GPU: Add glFlush and glFinish wrapper
2018-10-31 12:32:18 +01:00
603774c1eb
Fix T56865: Selection of bones not working properly if the option In Front (old X-ray) is enabled
...
Differential Revision: https://developer.blender.org/D3828
2018-10-30 15:31:32 -03:00
c4f69794ca
UI: Fix point size and line width ignoring UI scaling option
2018-10-30 16:44:23 +01:00
428743a9b0
Cleanup: style for GPU module
2018-07-18 23:10:31 +10:00
9f80429ab6
Cleanup: use _f, _i suffix for GPU state API
2018-07-02 18:27:05 +02:00
9b050b736b
Fix assert to due missing GPU blend mode.
2018-06-28 13:46:30 +02:00
8777b33699
Fix missing blend mode in recent OpenGL refactor
2018-06-28 08:49:30 +02:00
31f0c9182e
Cleanup: style
2018-06-27 22:29:59 +02:00
6f2c9ea3e1
bf_gpu: Add GPU_state module.
...
This has wrappers for the most common gl* functions in the codebase, and is in preparation for D3502
Reviewers: brecht, fclem
Differential Revision: https://developer.blender.org/D3501
2018-06-26 15:17:31 -06:00