cinnaboot
|
66600f1366
|
test a loadGLMesh() with GLBufferToAttribMapping struct
|
5 years ago |
cinnaboot
|
c14924dfef
|
add data structures for new shader to entity abstraction
|
5 years ago |
cinnaboot
|
5fac395618
|
add GLVertexAttrib struct to distinguish from gl_buffer
|
5 years ago |
cinnaboot
|
77f1c02781
|
remove ambiguous data_size property from gl_buffer structure
|
5 years ago |
cinnaboot
|
b6c48fa53b
|
add note about using u16 instead of u32
|
5 years ago |
cinnaboot
|
6f982c39de
|
remove error checking for uniform data_size
would never reach that code path because we previously added
and assertion
|
5 years ago |
cinnaboot
|
edd4fc6239
|
add new GLMeshMapping structure
|
5 years ago |
cinnaboot
|
0e0c5aa903
|
add more debug info for vertex attribs
|
5 years ago |
cinnaboot
|
96e94a5b23
|
add FIXME about mapping shaders to meshes
|
5 years ago |
cinnaboot
|
7790ba2cda
|
reorganize shader header
|
5 years ago |
cinnaboot
|
797fb244eb
|
add more enums to glEnumToString()
|
5 years ago |
cinnaboot
|
be0a97ed2c
|
move utility functions from arena.h to util.h
|
5 years ago |
cinnaboot
|
7a452ff97f
|
add util.h single file header
|
5 years ago |
cinnaboot
|
d81ac643b9
|
add FIXME for unnecessary hash
|
5 years ago |
cinnaboot
|
001190fc73
|
break up addShader() into logical helper functions
|
5 years ago |
cinnaboot
|
1aed361072
|
move shader interface functions
|
5 years ago |
cinnaboot
|
0cf86ec626
|
move getShader functions to shader interface
|
5 years ago |
cinnaboot
|
114ce63f1f
|
replace instances of arenaAllocateBlock() with macro
|
5 years ago |
cinnaboot
|
40576a64a3
|
update ARENA_ALLOC macro args
|
5 years ago |
cinnaboot
|
1c6692136f
|
disable extra shader debug messages
|
5 years ago |
cinnaboot
|
3680bc7d61
|
add ARENA_ALLOC() macro function for arenaAllocateBlock()
|
5 years ago |
cinnaboot
|
f17b7a5bf4
|
add 'max_len' parameter to arenaCopyCStr()
|
5 years ago |
cinnaboot
|
b22b6f8b23
|
remove 'name_len' from GLUniformBLock struct
|
5 years ago |
cinnaboot
|
608ae99f2e
|
remove 'name_len' from gl_uniform struct and use new helper
|
5 years ago |
cinnaboot
|
78edb249a9
|
add arenaCopyCStr() utility function
|
5 years ago |
cinnaboot
|
af4e37581e
|
add debug shader for vertex normals
|
5 years ago |
cinnaboot
|
c7ce686bf0
|
filter gl debug message about ubos from callback
|
5 years ago |
cinnaboot
|
11b627ac80
|
combine models and texture into new asset structure
|
5 years ago |
cinnaboot
|
d6373b1b41
|
use uint16_t for element array buffer data
this matches the use in the tinygltf library
|
5 years ago |
cinnaboot
|
ba0c18bac7
|
remove gl_mesh_array and light_array structures
|
5 years ago |
cinnaboot
|
d59be5bbe2
|
move debugging output into new header 'GLDebug.h'
|
5 years ago |
cinnaboot
|
56ac0b5440
|
add parseUniformBlocks() and updated related structs
|
5 years ago |
cinnaboot
|
39c08297e3
|
add colored_vertices shader for testing
|
5 years ago |
cinnaboot
|
4ebf3605ba
|
update getShaderBy* args for gl_ctx
|
5 years ago |
cinnaboot
|
ed544013b5
|
remove ShaderArray struct, and add shaders to GLContext
|
5 years ago |
cinnaboot
|
feab0617f6
|
add assertion for size > 0 in arenaAllocateBlock()
|
5 years ago |
cinnaboot
|
f3e3de55c5
|
add types.h include
|
5 years ago |
cinnaboot
|
35d9371c0e
|
break out parseUniform() from parseShaderUniforms()
|
5 years ago |
cinnaboot
|
8e0ee5411c
|
break out shader specific functions to separate file
|
5 years ago |
cinnaboot
|
71571e3a00
|
update makefile to put binary in "bin/"
|
5 years ago |
cinnaboot
|
ec144d48e2
|
add some support libs, move sources to src/
|
5 years ago |