Ray
0148432588
fabsf() not working with TCC
Replaced by fabs() that seem to work ok
7 years ago
raysan5
ca69068814
Added function: rlCheckBufferLimit()
7 years ago
raysan5
3b70b66a08
Love OpenGL gotchas... make my life more enjoyable!
7 years ago
raysan5
24adca4ad0
Manual mipmap generation review
On OpenGL 1.1 only is supported for 32bit RGBA textures
7 years ago
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
7 years ago
Ahmad Fatoum
1841afad11
Refactor all #define SUPPORT_* into a config.h
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461 ).
7 years ago
raysan5
375adf86a6
Review math usage to reduce temp variables
7 years ago
maficccc@gmail.com
db98dba10f
Fix Allocator sizeof operand mismatch
7 years ago
Ray
61e0e4b4f3
Complete review of raymath for API consistency
7 years ago
Ray
077bef4286
Support 4 components mesh.tangent data
Added struct Vector4 for convenience
7 years ago
Ray
326fe09777
Reviewed compilation for OpenGL 1.1
7 years ago
Ray
4d5d1e0434
Added function LoadShaderCode()
Allows loading of shader from text code string directly
7 years ago
Ahmad Fatoum
03ee03e2a6
#include header for glInsertEventMarkerEXT on macOS
7 years ago
Ray
2dcaddc81c
Review mipmaps generation issue
When changing image format, mipmaps are lost and regenerated from
scratch
7 years ago
Ray
04af83ff99
Improved pixel formats support
Review rlLoadTexture() function to make it simpler, now OpenGL texture
glInternalFormat, glFormat and glType are retrieved with new function
GetGlFormats()
7 years ago
Ray
8e0a277f7c
Reviewed UWP branch integration
7 years ago
Ray
727cb1819b
Reviewed VS2015 projects
- Support OpenGL 1.1 if selected macro
- Corrected MSVC compiler issues with (void *) data
- Removed raylib.dll project
- Created DEBUG_DLL and RELEASE_DLL configurations
7 years ago
Ray
dd3b3dbadb
Redesigned rlLoadTexture()
- Added support for mipmap levels loading
- Removed internal function LoadTextureCompressed(), not required any
more...
7 years ago
Ray
c37d2d448d
Corrected issue with matrices
Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
7 years ago
Ray
4dcc02ff1e
Launch draw call if buffer limits reached
Note that this solution is a temporal patch, not properly tested and
prone to fail, specially if matrix are pushed into the stack...
7 years ago
raysan5
b97134c3e1
Review float pixel format textures support
7 years ago
raysan5
7caa3201d5
Improved pixel formats support
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
7 years ago
raysan5
e7cf03b1e4
Minor tweaks
7 years ago
raysan5
b19e155b34
Support UNCOMPRESSED_R32G32B32A32 texture format
7 years ago
Ray San
e8bb53ed35
Corrected issue on OpenGL ES compilation
7 years ago
Ray San
53ad53d051
Manually review previous PR
7 years ago
user
217917530b
fix for eventmarker missed in first cl
7 years ago
user
07b522c113
make matrix stack work closer to old opengl implementation
7 years ago
user
0e18b14605
added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing
7 years ago
user
963551ee6e
added possibility to get modelview matrix from rlgl to be able to send it to shaders
7 years ago
Ray
2388cbc3cd
Corrected crash on shader loading
If shader file could not be found on loading it crashed, instead added
fallback to default shader!
7 years ago
Ray
25ceec9b8f
Corrected default textures locations
By default, we look for texture1 for LOC_MAP_SPECULAR and texture2 for
LOC_MAP_NORMAL
7 years ago
raysan5
02dd4d32b5
Allow custom distortion shader - IN PROGRESS -
7 years ago
raysan5
09228752ce
Review default shaders usage on loading
7 years ago
Ray San
b6b58991e6
Working on UWP support
Support Universal Windows Platform (UWP):
- Windows 10 App
- Windows Phone
- Xbox One
7 years ago
Wilhem Barbier
7ef604fbf5
Store the default shaders
7 years ago
Ray San
2f024dbfef
Corrected possible issue on FBO creation
USE_DEPTH_RENDERBUFFER on OpenGL 2.1
7 years ago
Ray San
81518ccd13
Corrected issue with shader locations init
On RPI, after latest drivers update, models were not rendered properly
cause of that...
7 years ago
Wilhem Barbier
879c2f484b
SetShaderValue take const pointer
7 years ago
Ray
aa6a1b4283
Corrected issue with missing defines
7 years ago
Ray
d43af4918b
Improve textures support for OpenGL 2.1
7 years ago
Ray San
415e7e972c
Review some issues, view description
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
7 years ago
Ray San
ab01cd45bc
Review rlReadTexturePixels()
Improve second option to retrieve texture data from fbo...
Still requires some testing...
7 years ago
Ray San
31c8c86d8e
Comment tweak...
...while reviewing GetTextureData() functionality on OpenGL ES 2.0
7 years ago
Ray San
7057d08369
Review VR functionality
To be more generic and configurable
7 years ago
Ray San
412c52499a
Reverted change that breaks 3D drawing
It should be reviewed more carefully...
7 years ago
Ray San
ddea9d68bf
Review VR simulator
Requires some work, distortion shader could be move out of raylib to
example code...
7 years ago
Ray
2068037417
Code tweak
7 years ago
Ray
ff9b486ebe
Removed matrix resetting...
to emulate OpenGL funcionality
7 years ago
Ray
1d91a46008
Corrected out-of-bounds array issue
7 years ago