summaryrefslogtreecommitdiffhomepage
path: root/src/textures.c
AgeCommit message (Collapse)Author
2021-06-30Remove trailing spacesraysan5
2021-06-28WARNING: BREAKING: Functions renamed for consistencyRay
RENAMED: GetTextureData() -> LoadImageFromTexture() RENAMED: GetScreenData() -> LoadImageFromScreen()
2021-06-26REVIEWED: Improved log info on image/textures laodingRay
ADDED: rlGetPixelFormatName()
2021-06-23WARNING: BREAKING: Functions renamed!Ray
RENAMED: GetCodepoints() -> LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer. ADDED: UnloadCodepoints() to safely free loaded codepoints RENAMED: GetNextCodepoint() -> GetCodepoint()
2021-06-13Remove trail spacesRay
2021-06-10Review some commentsRay
2021-06-10Reviewed functions descriptionRay
Replaced: Returns -> Get
2021-06-05Minor format tweaksraysan5
2021-05-30Review config flags #1784Ray
2021-05-30Some code tweaksRay
2021-05-20Review ExportImage() to use SaveFileData() #1779Ray
2021-04-18Remove trailing spacesRay
2021-04-07Fix ImageClearBackground (#1711)Ergoold
- Dividing by height instead of width results in missing parts of the image.
2021-04-05Added security check to avoid internal render batch overflowraysan5
2021-04-04REDESIGNED: Shapes texture/rec moved to shapes moduleraysan5
2021-04-02REDESIGN: Move GenTexture*() functions to PBR example #721raysan5
Removed functions from rlgl module.
2021-04-01Remove trailing spacesraysan5
2021-03-28REVIEWED: DrawTexturePoly()raysan5
2021-03-25WARNING: BREAKING: rlgl redesign -WIP-Ray
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements: - [models] OpenGL 1.1 mesh rendering: DrawMesh() - [models] Mesh Instancing: DrawMeshInstanced() - [models] Stereo rendering: DrawMesh() - [models] GL_FLOAT, GL_UNSIGNED_INT exposed - [models] GenMeshCustom() - [rlgl] GenTexture*() functions removal?
2021-03-25Add DrawTexturedPoly and example (#1677)chriscamacho
* adds DrawTexturedPoly with example * the actual example ... ahem * moved DrawTexturePoly to textures function and example NB function name changed to fit with other DrawTextureXXX functions (no "d" ) Co-authored-by: codifies <[email protected]>
2021-03-24Update textures.cRay
2021-03-23Fix 90 degree bug with DrawTexturePro and DrawRectanglePro (#1673)Chris
- The vertices did not map to where I expected causing rotation to be off by 90 degrees. I reorganized the vertices making it easier to reason about which fixes this. - The order for drawing is now topLeft, bottomLeft, bottomRight, topRight.
2021-03-22WARNING: BREAKING: REDESIGNED: rlgl moduleRay
- Many functions renamed to follow rl*() convention - Some internal functions exposed in the API - Some functionality moved to other modules - Reorganized all functions by categories - Make sure it keeps working with OpenGL 1.1 and 2.1
2021-03-19Removed trailing spacesRay
2021-03-19Reviewed latest PR: formatting and some commentsRay
2021-03-19Optimize DrawTexturePro and DrawRectanglePro transformations (#1632)Chris
* Optimize DrawTexturePro and DrawRectanglePro transformations - Add check so rotation is only applied if rotation != 0.0f. - Replace matrix usage by calculating the vertex data directly. * Fix error with windows build and trim whitespace
2021-03-19WARNING: BREAKING: REVIEWED some enums namingRay
Now enum names are more consistent between them.
2021-03-17Update textures.cRay
2021-03-14WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistencyRay
Some enums values have been renamed to be more consistent and also provide a more detailed description: - ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION - ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2 - MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO - PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-04ADDED: Config flag: SUPPORT_STANDARD_FILEIORay
This new flag allows omitting stdio.h library in case of a custom implementation is used.
2021-03-03Corrected issue with enums renamedRay
2021-03-03WARNING: BREAKING: RENAMED: enums valuesRay
RENAMED: TextureFilterMode values RENAMED: TextureWrapMode values
2021-03-03WARNING: BREAKING: RENAMED enum valuesRay
RENAMED: CubemapLayoutType and NPatchType
2021-03-02REVIEWED: GetFileExtension() to include the dot #1523Ray
2021-01-02Update year to 2021raysan5
2020-12-29Review code formattingraysan5
2020-12-29Faster version of ImageClearBackground and ImageDrawRectangleRec (#1487)Jeffery Myers
* Don't use DrawRect to clear an image, a pixel loop is an order of magnitude faster. * Update ImageDrawRectangle to be faster too.
2020-12-23Remove trailing spacesraysan5
2020-12-19Avoid *Rec suffix in some variablesRay
Pefixing/Suffixing some data type identifier in the variables is not a convention used in raylib, just reviewed it for consistency... Still, I kept the *Rec suffix in some functions.
2020-12-19Update textures.cRay
2020-12-18WARNING: RENAMED several functions for consistency #1440Ray
This is a BREAKING CHANGE! To address the linked issue, several functions have been renamed and couterpart functions have been created to free loaded memory: - RENAMED: GetImageData() -> LoadImageColors() - RENAMED: GetImagePalette() -> LoadImagePalette() - RENAMED: GetWaveData() -> LoadWaveSamples() - ADDED: UnloadImageColors() - ADDED: UnloadImagePalette() - ADDED: UnloadWaveSamples()
2020-12-16Changing JPG compression (#1463)Andrea Fontana
Since I don't think the purpose of raylib is to save space compressing image, I think it could be a good idea to keep quality from 90 to 100.
2020-11-30Fix typecast warnings in raylib code as reported by visual studio 2019 (#1443)Jeffery Myers
2020-11-28REMOVED: GetImageDataNormalized()raysan5
Let the advance users manage it as they want...
2020-11-22Exposing some file access results to user layer #1420Ray
2020-11-19Review formatingRay
2020-11-03Remove trailing spacesRay
2020-10-05Replace 0.f by 0.0fRay
2020-10-05Review "aggregate initializations" #1403Ray
2020-09-18REVIEWED: rlFramebufferAttach() to support texture layersraysan5
Required to attach multiple color textures and multiple cubemap faces