raysan5
aeb1a0da84
REVERTED: Removed the need for rlMatrix
...
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like
`#define MATRIX_TYPE`, so it can be checked in other modules.
2021-07-30 12:54:54 +02:00
raysan5
bd70a22412
Review some issues
2021-07-30 11:56:14 +02:00
raysan5
8b7f43f89b
WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-
...
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed.
- REMOVED: `Texture2D`, `Shader` structs dependency
- REMOVED: `Vector3`, `Matrix` structs dependency
- REMOVED: raymath functions dependency, all required math is implemented in rlgl
- ADDED: `rlMatrix` custom rlgl type
- ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types
- ADDED: `rl` prefix to all `rlgl` structs
- Other small tweaks here and there
2021-07-29 21:57:50 +02:00
raysan5
96aadec503
REVIEWED: Info on image loading failure
2021-07-28 19:47:53 +02:00
raysan5
e9c7ab925f
REVIEWED: rlDrawVertexArrayElements() #1891
2021-07-27 23:35:54 +02:00
raysan5
5ed814e950
Minor tweaks and comments
2021-07-09 17:36:20 +02:00
Ray
4b6e6ce20e
REVIEWED: Improved log info on image/textures laoding
...
ADDED: rlGetPixelFormatName()
2021-06-26 13:07:14 +02:00
Ray
e0720a0a55
WARNING: REVIEWED: Default shader uniform names
...
When a shader is loaded, by default, several locations are tried to be set automatically.
2021-06-25 13:35:43 +02:00
Ray
d4c03b47ec
REVIEWED: LoadShader() and default locations
...
Reviewed locations descriptions
2021-06-25 00:46:14 +02:00
Ray
942657fc7c
Remove Color struct requirement
2021-06-17 00:28:51 +02:00
Ray
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
Ray
b0dcdf688f
Reviewed functions description
...
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
Ray
8980bcfe4b
Added some enum comments
2021-06-10 11:31:34 +02:00
raysan5
e95d8bc655
Minor format tweaks
2021-06-05 12:33:05 +02:00
Ray
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
Ray
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
Antonio Jose Ramos Marquez
2565c01158
check for vao extension ( #1757 )
2021-05-08 18:24:14 +02:00
Ray
ffadeeeb84
Decoupling rlgl from platform layer
...
Now rlgl only depends on OpenGL and it's completely decoupled from platform layer libraries (EGL)
2021-04-28 23:57:46 +02:00
Ray
6ebe76cba7
Minor tweaks
2021-04-27 11:05:05 +02:00
raysan5
0e2845ec26
Review OpenGL 1.1 building #1732
...
It works compiling with MinGW
2021-04-25 13:32:24 +02:00
Ray
581bd0eb02
Remove trailing spaces
2021-04-18 23:50:32 +02:00
Ray
223091f44c
Review extensions issue on macOS
2021-04-18 20:33:49 +02:00
Ray
d4ccca81db
WARNING: REDESIGNED: rlLoadExtensions() #1295
...
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-18 20:24:19 +02:00
Ray
45823a36eb
Added some OpenGL extensions comments
2021-04-14 21:07:04 +02:00
Ray
afb254b985
Update rlgl.h
2021-04-11 00:58:04 +02:00
Ray
d2cb628a66
Some defines simplification
2021-04-11 00:55:45 +02:00
Ray
6719c3a1cd
REVIEWED: OpenGL 2.1 compilation
2021-04-07 09:39:41 +02:00
Ray
68124599e1
Corrected issue on RPI
2021-04-06 21:39:54 +02:00
Ray
802ca161d3
REVIEWED: Some rlgl cleaning on unused types
2021-04-06 00:43:38 +02:00
raysan5
5fd441969d
REVIEWED: rlLoadShaderDefault()
...
Operate over global variable
2021-04-05 13:35:42 +02:00
raysan5
14aa29d18b
Update rlgl.h
2021-04-04 15:10:39 +02:00
raysan5
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00
raysan5
c21baf0d92
ADDED: GenMeshDefault() #1556
2021-04-02 15:56:35 +02:00
raysan5
ccdf7ff335
REDESIGN: Move GenTexture*() functions to PBR example #721
...
Removed functions from rlgl module.
2021-04-02 14:29:33 +02:00
raysan5
67dda62867
REVIEWED: GenTexture*() functions #721
...
Avoid RLGL data dependency to allow moving the functions somewhere else
2021-04-02 14:01:30 +02:00
raysan5
b54d96205f
Review libc dependency
2021-04-01 21:22:18 +02:00
raysan5
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
2021-03-31 20:44:16 +02:00
raysan5
434a3a276d
REVIEWED: Define instancing API entry points for RPI
2021-03-31 18:41:03 +02:00
raysan5
98a2e16d4d
REVIEWED: RPI instancing checks #1679
2021-03-31 16:44:14 +02:00
raysan5
aaf0d8b839
REVIEWED: rlgl: Stereo render is working again
...
As a bonus, stereo render is compatible with mesh instancing now!
2021-03-28 21:35:58 +02:00
Maksymilian Mika
f38ced15e7
Fixing pointer arithmetic to avoid error [-Werror=pointer-arith] ( #1685 )
2021-03-27 07:54:44 +01:00
Ray
f9bab14fdb
REVIEWED: DrawMeshInstanced()
2021-03-26 00:12:29 +01:00
Ray
fb9a437f8a
REVIEWED: OpenGL 1.1 working again
2021-03-25 20:35:48 +01:00
Ray
cba412cc31
WARNING: BREAKING: rlgl redesign -WIP-
...
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-25 14:28:12 +01:00
Victor
c5b0a1f005
Fix activeTextureId to have MAX_BATCH_ACTIVE_TEXTURES elements instead of the hardcoded 4 ( #1674 )
2021-03-23 20:17:23 +01:00
Ray
3e6ee028e5
Update rlgl.h
2021-03-23 12:15:52 +01:00
Ray
6f5a4a9351
REVIEWED: rlgl_standalone usage
2021-03-23 11:51:09 +01:00
Ray
2ce28f75ad
WARNING: BREAKING: REDESIGNED: rlgl module
...
- 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-22 20:45:04 +01:00
Ray
c37f61d31f
REVIEWED: rlgl module #1523
2021-03-21 20:31:35 +01:00