summaryrefslogtreecommitdiff
path: root/gfx/models/texture.cpp
Commit message (Collapse)AuthorAge
* Remove the static texture cacheDan Goodliffe2024-01-25
| | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone.
* Add traits helpers for glTexParameter functionsDan Goodliffe2024-01-25
|
* Basic support for saving integer position bufferDan Goodliffe2023-12-15
|
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Swap GLEW for more modern gladDan Goodliffe2023-05-28
|
* Dunno how, but some DOS new lines got in here!Dan Goodliffe2023-04-29
|
* Write applicable Texture Options into texture atlas texture dataDan Goodliffe2023-04-14
|
* Define our own enum for texture mapmodeDan Goodliffe2023-04-14
|
* Set GL_PACK_ALIGNMENT before saving texture to fit buffer correctlyDan Goodliffe2023-04-14
|
* Externalise a neater definition of TGAHeadDan Goodliffe2023-04-14
|
* No need to pass size around, we can get it back from the textureDan Goodliffe2023-04-14
|
* Add TextureAtlas class as an extension of TextureDan Goodliffe2023-04-13
|
* Allow specifiying the texture type/targetDan Goodliffe2023-03-16
|
* Texture member to save the texture as a TGADan Goodliffe2023-03-15
|
* Add support for setting Texture options on constructionDan Goodliffe2023-03-15
|
* Fix up all the static analyzer warningsDan Goodliffe2023-01-08
|
* Support saving a normals textureDan Goodliffe2022-12-11
|
* Support saving textures with different output typesDan Goodliffe2022-12-11
|
* 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.