summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2019-06-20Merge pull request #29874 from ibrahn/rework-png-loadsaveRémi Verschelde
PNG driver reworked to use libpng 1.6 simplified API
2019-06-19Made constants fully upper case in camera serverBastiaan Olij
2019-06-19Png driver reworked to use libpng 1.6 simplified APIIbrahn Sahir
Wrapped libpng usage in a pair of functions under PNGDriverCommon, which convert between Godot Image and png data. Switched to libpng 1.6 simplified API for ease of maintenance. Implemented ImageLoaderPNG and ResourceSaverPNG in terms of PNGDriverCommon functions. Travis, switched to builtin libpng (thus builtin freetype and zlib also) so we can build on Xenial.
2019-06-18Merge pull request #29872 from akien-mga/unexpose-resourceformatloadersRémi Verschelde
Unexpose subclasses of ResourceFormatLoader and -Saver
2019-06-18Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
2019-06-18Merge pull request #29751 from lawnjelly/skin-fixRémi Verschelde
Fixes crash with rigged meshes on some OpenGLES2 devices
2019-06-18Fixes crash with rigged meshes on some OpenGLES2 deviceslawnjelly
Non-tools OpenGLES2 devices that use the USE_SKELETON_SOFTWARE path (i.e. do not support float texture) depend on surface->data being set containing the bone IDs and weights (rasterizer_scene_gles2.cpp, line 1456, RasterizerSceneGLES2::_setup_geometry). However currently if TOOLS_ENABLED is not defined, surface->data is not stored in main memory in rasterizer_storage_gles2.cpp. This causes a crash in rasterizer_scene_gles2.cpp when a rigged object comes into view. This fix addresses the specific case of skinned objects when USE_SKELETON_SOFTWARE is active, and stores a copy of the bone data, as is done when TOOLS_ENABLED is defined. This fixes the crash by allowing the same mechanism as on desktop, without adding the memory overhead of storing all vertex data where not required. Fixes #28298
2019-06-16Merge pull request #29764 from Calinou/boot-splash-no-filter-optionRémi Verschelde
Add an option to disable boot splash filtering
2019-06-16Merge pull request #10643 from BastiaanOlij/camera_serverRémi Verschelde
CameraServer class
2019-06-15Add an option to disable boot splash filteringHugo Locurcio
Disabling filtering is usually desired in projects using a pixel art style. This closes #19415.
2019-06-15Fix compilation warnings in JS and Windows buildsRémi Verschelde
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0. JS can now build with `werror=yes warnings=extra`. MinGW64 still has a few warnings to resolve with `warnings=extra`, and only one with `warnings=all`. Part of #29033 and #29801.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-14Fix HTML5 build failed due to undefined symbolFabio Alessandrelli
2019-06-13Merge pull request #29628 from qarmin/fix_invalid_write_meshRémi Verschelde
Fix write outside array in mesh_add_surface
2019-06-12Merge pull request #29316 from Chaosus/shader_constRémi Verschelde
Added constant support to shaders
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-11Merge pull request #29680 from akien-mga/fix-headersRémi Verschelde
Add missing license headers
2019-06-11Add missing license headersRémi Verschelde
Make `fix_headers.py` script compatible with Python 3.
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-11Merge pull request #29496 from clayjohn/dlopen-fix-gles2Rémi Verschelde
Use def ANDROID_ENABLED so android features are not included in web builds
2019-06-09Fix invalid crash in mesh_add_surfaceqarmin
2019-06-04use def ANDROID_ENABLED so android features are not included in javascript ↵clayjohn
builds
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-06-03added MultiMeshInstance2D node for using MultiMesh in 2Dclayjohn
2019-06-03Fix errors when attempting to set UNIX permissions when unavailableHugo Locurcio
This makes exporting from Windows to Linux work again. This closes #29416.
2019-06-01Added constant support to shadersChaosus
Co-authored-by: DavidSichma <sichmada@gmail.com>
2019-06-01Merge pull request #24943 from aqnuep/issue-18201Rémi Verschelde
Mute errors on surface->index_array_len == 0 in the GLES3 renderer
2019-05-30Merge pull request #29236 from clayjohn/gles2-mirrorRémi Verschelde
Separate culling state management from material state in GLES2
2019-05-30Merge pull request #29188 from Calinou/improve-ssao-performance-qualityRémi Verschelde
Improve SSAO performance and quality
2019-05-29Fix -Werror=maybe-uninitialized in GLES2 on release buildsRémi Verschelde
Issue introduced in #28796.
2019-05-28Fix some unincialised variablesqarmin
2019-05-27separate culling state management from materialclayjohn
2019-05-27Merge pull request #29182 from clayjohn/radiance_mapRémi Verschelde
Fix radiance map settings
2019-05-27Merge pull request #29014 from mbrlabs/gles2_precision_fixRémi Verschelde
Use highp precision in the gles2 fragment shader if available
2019-05-26Improve SSAO performance and qualityHugo Locurcio
This decreases the number of samples significantly, leading to a notable performance increase with only a very slight loss in visual quality. This also tweaks the default SSAO settings to use 3×3 blurring, which makes noise patterns much less visible.
2019-05-25fix radiance map settingsclayjohn
2019-05-25Use highp precision for gles2 shader uniforms if not explicitly set.Marcus Brummer
The use of different default precision values (highp in vertex; mediump in fragment) for uniform variables caused the shader program to not link properly on some android devices/emulators.
2019-05-24Merge pull request #29132 from clayjohn/sort_depth_fixRémi Verschelde
Fix "no depth test" and render_priority sorting
2019-05-24Merge pull request #28796 from clayjohn/GLES2-optimizationRémi Verschelde
GLES2: Allow Viewports to render directly to screen
2019-05-23do not compute fog when using unshaded in GLES2clayjohn
2019-05-23fix no depth test and render_priority sortingclayjohn
2019-05-23Merge pull request #29031 from BastiaanOlij/alpha_shadowRémi Verschelde
Implement shadow to opacity
2019-05-21Merge pull request #29041 from hbina/add_constRémi Verschelde
add const to methods that return literals
2019-05-21Implement shadow to opacityBastiaan Olij
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-19Scale environment lighting correctly in GLES3clayjohn
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-14fix lighting bug introduced in clear color changesclayjohn
2019-05-14Merge pull request #27898 from clayjohn/metallic_radianceRémi Verschelde
Added radiance when using clear color
2019-05-13Implement ability to render viewports directly to screenclayjohn