Commit Graph

126 Commits (c4d2de1656680cf92a1ea1d16af4c57ee1275783)

Author SHA1 Message Date
shadowislord 54ffe15dda * Switch to new native library loader 11 years ago
abies 6adb15abd6 Fix badly specified RGB10_A2 format 11 years ago
shadowislord 65094e9ca1 * Put the shader compile log on the next line so its slightly more readable 11 years ago
shadowislord ad7fdb6fab * Deprecate texture wrap modes not supported in OpenGL 3 11 years ago
shadowislord c925104f5e * Ensure the statistics properly represent number of objects / triangles / vertices rendered when using instancing 11 years ago
shadowislord 948fdb21eb * Add new flag to Platform enum which specifies if its 32-bit platform or 64-bit. 11 years ago
shadowislord 2aad768c8a * Forgot to remove withSRGB from LwjglCanvas 11 years ago
shadowislord cfcc86dd8b * When creating display pixel format, do not use withSRGB as it could cause display creation to fail (when gamma correction is enabled). Based on online research, it seems that it is not necessary, and simply enabling SRGB writes on the main framebuffer is enough. 11 years ago
shadowislord 1a1d74f83e * More sanity checking when enabling sRGB pipeline, to ensure its actually supported before calling any sRGB related functions. Also provide more log messages if something is odd or goes wrong. 11 years ago
shadowislord 7d8c95f9c8 * Remove references to esoteric EXT_abgr and EXT_bgra extensions entirely, which might even be causing issues on some systems, instead replaced with standard OpenGL 1.2 constants 11 years ago
shadowislord 465e2b2280 * Make sure to set texture max level depending on whether mipmaps are to be generated, included in texture, or not required at all - this reduces memory allocated by GPU for textures that do not use mipmaps. 11 years ago
shadowislord 68cb1e900f Automatically upload GLSL 1.0 shaders as GLSL 1.1 if using desktop OpenGL to allow stricter error checking. 11 years ago
shadowislord 81498d6f79 * Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations. 11 years ago
shadowislord 35cfae5ef0 * Merge revision 11058 from experimental branch 11 years ago
Nehon 09e705dcc4 Introduced RGB10_A2 Image Format. It offers greater precision for RGB channels at the expense of precision for the alpha channel. This format is convenient for post processing, and especially when gamma correction is turned on. 11 years ago
Nehon 8ff6f8df24 Introduced a new Enum ColorSpace. 11 years ago
Nehon e4ba4e9e9e - Image loaders now assume ALL images are in sRGB space and set the flag accordingly 11 years ago
Nehon 77a4002c3d Added support for hardware srgb output (gamma correction). 11 years ago
Rena4ka 4be7693f1b Mipmapped texture arrays 11 years ago
Normen Hansen a16857c8f4 switch to gradle layout 11 years ago
rem..om e69d237b51 Committed a patch for ARGB8 and BGRA8 support 11 years ago
rem..om fd8a69707b Added a comment setupTextureParams in LwjglRenderer about the switch with missing breaks 11 years ago
rem..om 54ab14e5ae Merged commits r11015 to gradle restructure branch. 11 years ago
rem..om e65d6ea44b Merged commits r11009 to r11012 to gradle restructure branch. 11 years ago
nor..67 511d045274 gradle: 11 years ago
PSp..om ed77d40c63 First pass at copying the source files with history into the 11 years ago