Nicholas Rishel
f3ec0d8e58
Replace Ghost integrals with stdint fixed width integers.
...
Also replace integer with bool in Ghost API when only used as boolean,
and uint8* with char* in Ghost API when variable is a string.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D11617
Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com >
2021-07-05 11:00:45 -07:00
df9597cfba
Cleanup: use const for datatoc declarations
2021-06-30 16:42:19 +10:00
3e4863376e
Cleanup: use boolean for has_event variable & return value
2021-05-04 00:17:45 +10:00
1c4ae8a11c
UI: Removal of GHOST_CreateDialogWindow
...
Simplification of window creation code to allow greater flexibility.
Differential Revision: https://developer.blender.org/D10311
Reviewed by Brecht Van Lommel
2021-02-09 16:14:31 -08:00
ccc512cc61
GPUImmediate: Make activation / deactivation implicit
...
This avoids unecessary complexity.
Also makes the GPUImmediate threadsafe by using a threadlocal imm variable.
2020-09-08 04:15:50 +02:00
0ccf3f89d2
GPU: Move ghost default framebuffer getter to context creation
2020-08-08 01:15:28 +02:00
68e341e9d5
UI: remove non-unicode font and simplify default font loading code
...
There is no need to have another font embedded in the Blender executable, we
can assume the bundled font exists. In the future we may provide a fallback
if the font specified by the user in the preferences is missing a character,
but that can use our bundled international font.
Differential Revision: https://developer.blender.org/D6854
2020-03-25 16:39:58 +01:00
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
1c9829f351
GHOST: tests now build again
...
GLX gears work as expected, multitest_c only creates windows
but misses font drawing still.
2020-03-11 15:17:27 +11:00
15983243a4
Cleanup: remove bitmap font drawing ifdef from MultiTest.c
2020-03-11 15:01:14 +11:00
7d90ff08f3
Fix incorrect enum in GHOST test
2020-02-15 10:40:42 +11:00
087a489867
Cleanup: simplify GHOST cursor API, no functional changes
2019-06-16 19:58:26 +02:00
0b36780fb4
Revert "Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)"
...
This reverts commit 935c9ab0de .
Clang-tidy was making unrelated *fixes*.
2019-06-04 11:36:54 +10:00
935c9ab0de
Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)
2019-06-04 11:30:31 +10:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
3316853323
Cleanup: conform headers to have license first
...
Also remove doxy comments for licenses and add missing GPL header.
2019-02-18 08:22:11 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
c0f88ed8a8
Cleanup: sort forward declarations of enum & struct
...
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28 21:17:58 +11:00
58e8c71cbd
Cleanup: strip ghost trailing space
2018-06-04 18:47:57 +02:00
3c45fdd171
GHOST: Solve compilation error of test programs
2018-03-26 14:51:56 +02:00
e84b0e4c35
Ghost: update tests for recent changes
2015-04-04 17:21:18 +11:00
1f58bfb8be
Code cleanup: de-duplicate cotangent weight function & add arg sizes
2014-03-30 11:08:33 +11:00
1bfa64895e
Ghost: update multitest for changes in BLF
2014-01-11 23:53:23 +11:00
43c83e2458
fix double free in ghost c++ gears test program.
2013-09-11 01:15:13 +00:00
4d4664d98f
code cleanup: check for msvc directly when using warning pragma's.
2012-10-15 02:15:07 +00:00
1a7eb3454e
style cleanup
2012-09-08 08:59:47 +00:00
b33f0ef0e3
style cleanup
2012-05-27 19:40:36 +00:00
857dedbc58
style cleanup
2012-05-27 00:36:50 +00:00
9abd6e7651
style cleanup
2012-05-24 13:18:53 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
74017cb020
header cleanup and typo's
2011-10-22 01:53:35 +00:00
c50b5ee320
ghost multi-test builds again, now uses BLF font library
2011-07-09 16:18:15 +00:00
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Chris Want
5d0a207ecb
Patch from GSR that a) fixes a whole bunch of GPL/BL license
...
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
4e2143f639
This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone.
...
Patch provied by gsrb3d
bug tracker #7061
Kent
2007-08-28 10:07:08 +00:00
d1ca120fb8
Fixed up the code so it compiles. (Basically added one more arg to
...
GHOST_CreateWindow)
Kent
2003-01-24 06:00:38 +00:00
0fbadc8eb7
Yes I did it again ;)
...
added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Kent
--
mein@cs.umn.edu
2002-11-25 09:53:07 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00