summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2019-04-30Merge pull request #25670 from aqnuep/bake_mode_affect_gi_proveRémi Verschelde
Disable GI probe capturing lights with bake mode disabled
2019-04-30Merge pull request #28530 from akien-mga/scons-prepend-cpppathRémi Verschelde
SCons: Always use env.Prepend for CPPPATH
2019-04-30Merge pull request #28520 from clayjohn/GLES2-alpha-draw-orderRémi Verschelde
Fixed GLES2 transparency order
2019-04-30SCons: Always use env.Prepend for CPPPATHRémi Verschelde
Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
2019-04-29Fixed GLES2 transparency orderclayjohn
2019-04-29Merge pull request #28431 from SouzaGuilherme/masterRémi Verschelde
Adds flag AMBIENT_LIGHT_DISABLED to GLES2
2019-04-25Adds flag AMBIENT_LIGHT_DISABLED to GLES2Guilherme Souza
Signed-off-by: Guilherme Souza <gdsdsilva@inf.ufpel.edu.br>
2019-04-24SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGSRémi Verschelde
Many contributors (me included) did not fully understand what CCFLAGS, CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them in the way they are intended to be. As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html - CCFLAGS: General options that are passed to the C and C++ compilers. - CFLAGS: General options that are passed to the C compiler (C only; not C++). - CXXFLAGS: General options that are passed to the C++ compiler. By default, this includes the value of $CCFLAGS, so that setting $CCFLAGS affects both C and C++ compilation. - CPPFLAGS: User-specified C preprocessor options. These will be included in any command that uses the C preprocessor, including not just compilation of C and C++ source files [...], but also [...] Fortran [...] and [...] assembly language source file[s]. TL;DR: Compiler options go to CCFLAGS, unless they must be restricted to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to CPPFLAGS.
2019-04-23Disable GI probe capturing lights with bake mode disabledDaniel Rakos
The bake mode property of lights previously didn't affect GI probes. This change makes the GI probe ignore lights that have their bake mode set to disabled.
2019-04-07Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky
2019-04-07Remove SIGCHILD handle in OS_Unix, interferes with pclose()Juan Linietsky
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-04-15Merge pull request #27967 from clayjohn/fix-mip-bugRémi Verschelde
Fixed bug in computing mip maps from screen texture
2019-04-12fixed bug in mip map sigmaclayjohn
2019-04-10Merge pull request #27815 from Faless/unix/mem_accessHein-Pieter van Braam
Fix jump over uninitialized value in OS Unix/X11
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-09Merge pull request #27806 from JFonS/fix_27690Rémi Verschelde
Fix hint_range for GLES2 shader uniforms
2019-04-09Fix jump over uninitialized value in OS Unix/X11Fabio Alessandrelli
2019-04-08Merge pull request #27589 from Chaosus/fix_fileRémi Verschelde
Fix File switching between reading and writing, opened with READ_WRITE on Windows
2019-04-08Fix hint_range for GLES2 shader uniformsJFonS
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-08Merge pull request #26839 from toasteater/fix/keep-linearRémi Verschelde
Respect keep_3d_linear when transparent_bg is on.
2019-04-07Merge pull request #27067 from shartte/remove-context-glRémi Verschelde
Remove ContextGL
2019-04-07Merge pull request #27527 from BastiaanOlij/render_ext_targetRémi Verschelde
Add option to have viewport render into supplied texture (VR)
2019-04-06GLES3: Fix regression in particles buffer initializationRémi Verschelde
Bug introduced in #26343 where `(float *)` was mistakenly converted to `(uint8_t *)`, so we were getting `2` instead of `8`. Fixes #27705.
2019-04-06Remove ContextGL since as an abstraction it's unused.Sebastian Hartte
2019-04-06Use mix rate and output latency constants in audio driversRémi Verschelde
Fix default mix rate in Xaudio2 and potential shadowing issue in JAndroid.
2019-04-06Merge pull request #23837 from fire/asset_importRémi Verschelde
Add Open Asset Importer to Godot.
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-05Merge pull request #26847 from IronicallySerious/capitalise-drive-letter-caseRémi Verschelde
Capitalise drive letters
2019-04-05Add Open Asset Import Library to Godot.K. S. Ernest (iFire) Lee
FBX support and MMD (pmx) support. Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX. Maya FBX Stingray PBS support. Importing FBX static meshes work. Importing FBX animations is a work in progress. Supports FBX 4 bone influence animations. Supports FBX blend shapes. MMDs do not have an associated animation import yet. Sponsored by IMVU Inc.
2019-04-05Merge pull request #27411 from KidRigger/raster_storeRémi Verschelde
Added GLES2 RenderStorage Info calculations.
2019-04-05Respect keep_3d_linear when transparent_bg is on.toasteater
When transparent_bg is on, or the render target is too small, Godot would skip postprocessing and disregard keep_3d_linear. This fixes #26817.
2019-04-05Fix File opened with READ_WRITE on WindowsChaosus
To allows use read and write anytime and in any order
2019-04-02Merge pull request #27597 from marxin/fix-Wnon-virtual-dtor-warningsRémi Verschelde
Fix -Wnon-virtual-dtor warnings.
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-04-02Fix -Wnon-virtual-dtor warnings.marxin
Example of the warning: ./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-01Merge pull request #27505 from clayjohn/depth_bugRémi Verschelde
Keep DEPTH from causing compile error in GLES2
2019-03-28keep DEPTH from causing compile error in GLES2clayjohn
2019-03-26Fixed handling of depth texture so it's resolved and bound when neededDaniel Rakos
- Cleaned up and improved the code determining when we need to use a depth prepass (previously it wasn't executed in certain cases even if it was needed) - Added code to prepare and bind the depth texture even when no depth prepass or MRTs (more precisely effect buffers) are used Fixes #25870, #25535, and #25387.
2019-03-25Added GLES2 RenderStorage Info calculations.Anish Bhobe
Proper counting code has been added to update info struct. Extra: Added the render_info_capture calculations. Fixes: #27273
2019-03-20Revert accidental commitsPedro J. Estébanez
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4. This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
2019-03-20Create class for shared memory blocks [wip]Pedro J. Estébanez
2019-03-12GLES2: Convert unsupported float texture types to 8-bit typesRémi Verschelde
2019-03-12GLES2: Fix comments in previous commit that broke rendering (!)Rémi Verschelde
Do NOT use "[vertex]" in a comment... Kids, don't try to learn OpenGL on a production branch right before a stable release.
2019-03-11GLES2: Add comments around EXT_shader_texture_lod checkRémi Verschelde
To avoid reintroducing bugs as I did in #26928 and #26932. texture2DLodEXT and textureCubeLodEXT are only for the fragment shader with https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_shader_texture_lod.txt In the vertex shader, texture2DLod and textureCubeLod are built-in.
2019-03-11Revert "GLES2: Ensure extension checks for texture2DLod"Rémi Verschelde
This reverts commit f5f565e3e49eecde9ed3b05913747a50d54b7357.
2019-03-11Revert "GLES2: Fix regression on texture2DLod extension checks"Rémi Verschelde
This reverts commit 8c2d38152fbf41ca9c8a8f9b381b8d271f7f54d3.
2019-03-11GLES2: Fix regression on texture2DLod extension checksRémi Verschelde
These can't be done after any non-preprocessor token.