cinnaboot
|
6fdbcdc921
|
remove unused GLmeshMapping struct
|
5 years ago |
cinnaboot
|
a636a3182e
|
remove debug code from parseAttributes function
|
5 years ago |
cinnaboot
|
e453524eae
|
add define for MAX_GL_MESHES
|
5 years ago |
cinnaboot
|
48ac0ce1c2
|
add rg_arena to RenderState, and rename rs->arena to asset_arena
|
5 years ago |
cinnaboot
|
50f0ea4c22
|
allocate RenderState, and SDLHandles outside memory arena
|
5 years ago |
cinnaboot
|
2f2a496d48
|
replace assertion with conditional in utilSafeFree()
|
5 years ago |
cinnaboot
|
40de8a1ed4
|
add TODOs for loadGLMesh error handling
|
5 years ago |
cinnaboot
|
364e4de995
|
remove old code path for static shader attributes
|
5 years ago |
cinnaboot
|
678fd92e91
|
remove TODO that we todid
|
5 years ago |
cinnaboot
|
62e76e982b
|
get dynamic vertex attribute parsing working
|
5 years ago |
cinnaboot
|
b98cc29e1b
|
add helper functions for GL type sizes
|
5 years ago |
cinnaboot
|
cff3cb35b4
|
update debug shader to view normal without transform
|
5 years ago |
cinnaboot
|
8e1aa44672
|
remove draw_mode and usage from mesh struct
|
5 years ago |
cinnaboot
|
0c647f9f2d
|
add UTIL_ALLOC macro for calloc
|
5 years ago |
cinnaboot
|
95baf4cfe9
|
add helper function to get attrib->num_components from GLenum
|
5 years ago |
cinnaboot
|
0084745cdb
|
fix function declaration styling
|
5 years ago |
cinnaboot
|
346fedcf9b
|
add FIXME to create helper for GLVertexAttrib num_components
|
5 years ago |
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
|
249e7831d1
|
add debug shader to git lfs
|
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 |