13 Commits

Author SHA1 Message Date
MihailRis
2af55a0227 add Canvas constructor & add canvas:blit 2025-03-08 14:02:57 +03:00
MihailRis
5bbba7f39d add ImageData.drawLine 2025-03-08 13:36:43 +03:00
MihailRis
d9277e1b31 mip-mapping related fixes 2024-11-25 15:39:34 +03:00
MihailRis
71360a6416 fix macos build 2024-08-10 05:55:19 +03:00
MihailRis
a7d6c96a5c remove extra functions 2024-08-10 05:48:05 +03:00
Vyacheslav Ivanov
aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
5dd7a15c09
fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
MihailRis
fab124a2e2 remove unnecessary 'new' operators 2024-07-01 06:00:33 +03:00
MihailRis
c0dca31e98 memory refactor Texture and ImageData 2024-06-30 21:24:46 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
9f2bceb039 just a minor refactor, nothing special 2024-04-23 02:00:03 +03:00
MihailRis
b56408a202 src/graphics moved to src/graphics/core 2024-03-18 20:47:35 +03:00