summaryrefslogtreecommitdiff
path: root/gfx/models/texture.cpp
Commit message (Collapse)AuthorAge
* Add a mini C filesystem wrapper library with mmap supportDan Goodliffe2022-12-11
|
* Save texture to TGA using mmapDan Goodliffe2022-12-09
| | | | | Removes the need to allocate a large temporary buffer, instead just memmaps a file big enough and has OpenGL write the texture data directly to it.
* Support saving a depth textureDan Goodliffe2022-12-04
|
* Simplified texture saveDan Goodliffe2022-11-18
| | | | Read directly from texture into file buffer, no temporary framebuffer
* Refactor for per window context and more setup to the right placesDan Goodliffe2022-11-14
|
* Somewhat dirty but functional helper to save a textureDan Goodliffe2022-11-01
| | | | Useful for debugging and not much else.
* Setting texture unit on bindDan Goodliffe2022-10-30
| | | | Always sets the target unit before binding, allows specifying the unit
* Fix const correctness of Texture from raw dataDan Goodliffe2022-10-14
|
* Allow creating a texture directly from an dimensions and pixel dataDan Goodliffe2022-10-14
|
* Allow creating a texture directly from an ImageDan Goodliffe2022-10-13
|
* Cache allows multiple key partsDan Goodliffe2022-01-01
|
* Generic solution for glGen/glDel arrays, then tidy-up the usesDan Goodliffe2022-01-01
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Include stb directlyDan Goodliffe2021-11-25
|
* Restructure to allow a resource path and testingDan Goodliffe2021-02-04
|
* Remove magic number and float flags from texture loaderDan Goodliffe2021-01-26
|
* Move texture cache to Texture classDan Goodliffe2021-01-25
|
* Big reshuffleDan Goodliffe2021-01-17
Fixes code quality warnings now picked up.