Hayden Kowalchuk
ca8d27a1c2
fix: minor warning round and add burst draw
2019-08-29 09:40:30 -04:00
Hayden Kowalchuk
28db49ed7f
chore: minor code cull and warning clean up
2019-08-17 17:53:14 -04:00
Hayden K
4a9336f584
fix all the previous crap.
...
holy hell
2019-04-08 09:36:33 -04:00
Hayden K
944f911d41
merge latest to latest gldc
2019-04-08 09:12:45 -04:00
Hayden K
275a2aad30
merge
2019-04-08 09:03:05 -04:00
Hayden K
d3cb7d1b21
fix: minor memory cleanup
2019-04-07 19:34:08 -04:00
Luke Benstead
093b1af056
Add some assertions to aligned_vector
2019-03-28 13:08:23 +00:00
Hayden K
21ccc32bc0
merge latest kazade changes
2019-03-13 07:21:57 -04:00
Hayden K
3e2342e130
\n
2019-03-13 07:17:57 -04:00
Hayden K
20ac4e5480
remove junk
2019-03-13 07:11:32 -04:00
Hayden Kowalchuk
84edc083ea
merge to upstream
2019-03-13 07:04:10 -04:00
Luke Benstead
26c943c548
Optimize memory allocations
2019-03-13 07:28:23 +00:00
Hayden K
edbff32340
- changes to allocation and mem mgmt
...
- Replace some mem* functions with store queues
- fix capacity of AlignedVector to 32 intervals
- turn profiler fully compile only
2019-03-12 23:47:54 -04:00
Hayden K
375073416a
Merge branch 'master' of gitlab.com:simulant/GLdc
2019-03-06 13:57:46 -05:00
Luke Benstead
3e1ed8a5f7
Don't reserve more space than we need
2019-03-06 08:31:06 +00:00
Hayden K
c7526ea5b7
Merge branch 'master' of gitlab.com:simulant/GLdc
2019-03-04 20:13:58 -05:00
Luke Benstead
d89997a277
Simplify the element drawing
2019-03-04 20:41:33 +00:00
Hayden K
19ab4ee47b
merge changes
2019-03-03 14:10:37 -05:00
Hayden K
3553fdf19d
changes
2019-03-03 14:08:16 -05:00
Luke Benstead
b0c9ac7207
Remove zero special casing from named array
2019-02-28 18:33:37 +00:00
Luke Benstead
3345e17e3c
Fix marker indexing
2019-02-28 08:34:32 +00:00
Luke Benstead
11b26c78d5
Fix an off-by-one error
2019-02-28 06:37:18 +00:00
Luke Benstead
111d4ca83e
Handle calling glBindTexture on an unknown name
2019-02-27 20:45:53 +00:00
Luke Benstead
b9f8fe4a4d
Clean up the memalign switching a bit
2018-10-18 09:54:34 +01:00
Hayden Kowalchuk
0718ab0697
Fix compilation windows targets
2018-10-16 01:00:34 -04:00
Luke Benstead
0d69740231
Fix a subtle bug in NamedArray (thanks @Chilly Willy!)
2018-08-21 15:50:27 +01:00
Luke Benstead
8b834ac3f1
Avoid an additional copy of every vertex. Fixes #22
2018-08-21 09:37:19 +01:00
Luke Benstead
ba66608a96
Add a basic profiler and optimise some code
2018-08-16 17:51:15 +01:00
Luke Benstead
2067115385
Handle multiple triangle strips with single-vertices behind the plane
2018-07-10 20:27:15 +01:00
Luke Benstead
ae335eeff1
Large refactor of vertex submission
...
This should be much faster as matrix loading is now minimized. Also splits transform from perspective divisionn
to lay the groundwork for near-z clipping. This also fixes GL_POLYGON submission.
Lighting can be made faster, this doesn't change the lighting algorithm, but the matrix changes should speed things up.
2018-07-09 08:57:01 +01:00
Luke Benstead
f9809ec2b7
Make the containers C++ compatible
2018-05-28 08:52:44 +01:00
Luke Benstead
fef6387120
Move the initial capacity definition to the header file
2018-05-28 07:16:50 +01:00
Luke Benstead
c363a37e30
Fix the containers to compile on C89 and C99
2018-05-26 19:17:42 +01:00
Luke Benstead
2f014f55b6
Fix compiling on OSX
2018-05-25 21:08:39 +01:00
Luke Benstead
f9cdefcd81
Replace the entire matrix stack handling to work towards fixing lighting
2018-05-16 21:00:41 +01:00
Luke Benstead
4218111ab8
Make things C89 friendly
2018-05-14 17:10:53 +01:00
Luke Benstead
62e001c288
Reimplement or refactor Texturing, State, and Drawing
...
Things working:
- glDrawArrays / glDrawElements et al.
- Texturing
- Blending
Things missing:
- Lighting
- Multitexturing
- Near Z-clipping
- Framebuffer extension
- Immediate mode
2018-05-11 15:39:28 +01:00
Luke Benstead
1356ae352c
Begin experimental new renderig code
2018-05-05 20:38:55 +01:00
Luke Benstead
493c078b19
Replace the texture linked list with a new NamedArray container type
2018-05-02 09:31:24 +01:00