summaryrefslogtreecommitdiffhomepage
path: root/src/textures.c
AgeCommit message (Collapse)Author
2020-05-09Remove SUPPORT_IMAGE_DRAWING flagraysan5
ImageDraw() is actually used in multiple functions and it aslo depends on several functions...
2020-05-09WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()raysan5
2020-05-09Reorganized texture functionsraysan5
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
2020-05-07Reviewed missing check for JPGraysan5
2020-05-06Avoid all MSVC compile warningsraysan5
Most warning were related to types conversion (casting required) and unsigned/signed types comparisons. Added preprocessor directives (_CRT_SECURE_NO_DEPRECATE; _CRT_NONSTDC_NO_DEPRECATE) to avoid warnings about unsafe functions, those functions are safe while used properly and recommended alternatives are MS only. Some external libraries still generate warnings.
2020-05-01Review exposed #defines and allow user re-definingraysan5
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required. Also, multiple #define have been renamed and commented.
2020-04-10WARNING: API BREAK: Removed LoadImagePro()raysan5
Actually this function is useless and potentially dangerous, internally, a shallow copy of data was done. Same could be accomplished accesing image.data directly.
2020-04-10WARNING: API BREAK: Reviewed ImageDrawText*() params orderraysan5
To unify with DrawText*() equivalent functions
2020-04-09Optimized ImageDrawPixel()raysan5
Now it's blazing fast. It modifies image.data directly. Previous version could take up to 3-4 seconds to draw a line... now it takes some nanoseconds...
2020-04-08Fixed issue with ImageDrawLine()raysan5
2020-04-05Some code tweaks, comments and definesraysan5
2020-03-30Update textures.craysan5
2020-03-30Review formating and signegness issuesraysan5
2020-03-29Update ImageDraw*() functions to match arguments of Draw*() (#1156)Rob Loach
* Update ImageDraw*() functions to match arguments of Draw*() Updated draw functions: ImageDrawPixel() ImageDrawPixelV() ImageDrawCircle() ImageDrawCircleV() ImageDrawLine() ImageDrawLineV() ImageDrawRectangle() ImageDrawRectangleV() ImageDrawRectangleRec() * [nodepadpp] Update Notepad++ ImageDraw defintions This updates the Notepad++ definitions with the updated ImageDraw methods. * [examples] Add ImageDraw calls to textures_image_drawing * Update ImageDraw*() methods
2020-03-27Review TRACELOG() messagesraysan5
2020-03-27[textures] Review TRACELOG() messagesraysan5
2020-03-27[textures] Review TRACELOG() messages, categorizedraysan5
2020-03-25Remove trail spacesraysan5
2020-03-21Review formating from PR #1138raysan5
2020-03-21Added draw functions to ImageDraw*() (#1138)Sourav Gupta
Added draw functions: ImageClearBackground() ImageDrawPixel() ImageDrawLineEx() ImageDrawCircle()
2020-03-17Replace external libraries custom allocators by raylib ones #1074raysan5
NOTE: Two libraries still use custom allocators: glfw and stb_vorbis
2020-03-15Corrected typoraysan5
2020-03-15REVIEWED: ImageTextEx() to support line breaks #1131raysan5
NOTE: This functionality has an important issue, line space is fixed to 1.5 font.baseSize pixels, depending on the font and how it has been generated that spacing could be too wide or too narrow...
2020-03-08Changed `if` to `else if`. (#1122)SasLuca
2020-03-03Some code tweaksRay
2020-02-28Replaced fabs() by fabsf() when requiredRay
2020-02-27Corrected return valueRay
2020-02-27REDESIGN: ExportImage()Ray
Use new file I/O ABI
2020-02-27Corrected issue with variable nameRay
2020-02-27Remove trail spaces and some tweaksRay
2020-02-27REDESIGNED: LoadImage() -WIP-Ray
Using new file I/O ABI
2020-02-27REDESIGNED: LoadImageRaw(), LoadAnimatedGIF()Ray
Using new file I/O ABI
2020-02-11Fixed memory leaks in textures.c (#1097)SasLuca
2020-02-04Added func used in commentsRay
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
2020-01-19Review custom allocatorsraysan5
2020-01-15GetImageAlphaBorder() return 0 in case of blank imageRay
2020-01-15GetImageData() returns NULL if image size is 0Ray
2020-01-05Update year to 2020raysan5
2019-12-29Remove TABSraysan5
2019-12-11Read texture data as RGBA from FBO on GLES 2.0Ray
2019-11-04REVIEW: GetImageData() and GetImageAlphaBorder()raysan5
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-19Corrected bug on ImageDrawRectangleLines()raysan5
2019-10-17Remove trailing spacesRay
2019-10-11REVIEW: ImageAlphaMask()Ray
When adding alpha mask to GRAYSCALE image, if using ImageFormat(), it could change pixel values, now we avoid that, mask is just added as an extra channel
2019-09-30Add security checks on file writtingRay
2019-09-20Review ImageCrop() security checksRay