summaryrefslogtreecommitdiff
path: root/drivers/gles2
AgeCommit message (Collapse)Author
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06New particle system, mostly working, some small features missing.Juan Linietsky
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-16Correct hash behavior for floating point numbersHein-Pieter van Braam
This fixes HashMap where a key or part of a key is a floating point number. To fix this the following has been done: * HashMap now takes an extra template argument Comparator. This class gets used to compare keys. The default Comperator now works correctly for common types and floating point numbets. * Variant implements ::hash_compare() now. This function implements nan-safe comparison for all types with components that contain floating point numbers. * Variant now has a VariantComparator which uses Variant::hash_compare() safely compare floating point components of variant's types. * The hash functions for floating point numbers will now normalize NaN values so that all floating point numbers that are NaN hash to the same value. C++ module writers that want to use HashMap internally in their modules can now also safeguard against this crash by defining their on Comperator class that safely compares their types. GDScript users, or writers of modules that don't use HashMap internally in their modules don't need to do anything. This fixes #7354 and fixes #6947.
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-15Merge pull request #7513 from djrm/compilation_fixRémi Verschelde
Matrix32 -> Transform2D
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-13Matrix32 -> Transform2DDaniel J. Ramirez
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-29Screen space reflection effectJuan Linietsky
2016-11-01style: Various other PEP8 fixes in Python filesRémi Verschelde
Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-15drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde
The reordering of the SConscript includes allows to ensure that stuff like the builtin zlib headers will be available for libpng. Also moved glew back into global env, otherwise windows seems not to find it... Kind of shooting in the dark with this multi-env setup.
2016-10-05-Added ViewportContainer, this is the only way to make viewports show up in ↵Juan Linietsky
GUI now -2D editing now seems to work -Added some functions and refactoring to Viewport
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
2016-10-03Merge pull request #6605 from zaps166/old-gl-ext-funcsRémi Verschelde
Add compatibility with old OpenGL 2.1 drivers
2016-10-03Limit directional shadow draw distance, fixes #559, optimization (#1991)mookiexl
* Shadow fadeout exponent hardcoded for now, should be user configurable. * optimization - skip shadows outside visible range
2016-10-03Merge pull request #6606 from zaps166/don-crash-on-unsupported-glRémi Verschelde
Don't crach when OpenGL version is unsupported
2016-09-25Don't crash in "_process_hdr()" if "framebuffer.luminance" is emptyBłażej Szczygieł
If "glFramebufferTexture2D()" fails on old drivers the Vector is empty. Don't allow to read from empty Vector (NULL pointer).
2016-09-25Don't crach when OpenGL version is unsupportedBłażej Szczygieł
2016-09-25Add compatibility with old OpenGL 2.1 driversBłażej Szczygieł
If ARB_framebuffer_object is not supported, try to fall-back to EXT_framebuffer_object if present. In current version of godot, the way framebuffers are used is backward compatible with the older EXT_framebuffer_object extension. Fixes #6591 Done with SuperUserNameMan
2016-09-21removed redundant assign operation in mesh_add_surface: elem_count is ↵knd
reassigned a value before the old one has been used.
2016-09-17Merge pull request #6414 from RandomShaper/improve-shader-shadowRémi Verschelde
Expose additional light/shadow properties to canvas item shaders
2016-09-10Merge pull request #5962 from Alex-doc/Y_billboardJuan Linietsky
Implements Y billboard
2016-09-10Merge pull request #6363 from vnen/winrtJuan Linietsky
Fix the support for WinRT/UWP
2016-09-07Expose light shadow color to canvas item shadersPedro J. Estébanez
2016-09-07Rename misleading definePedro J. Estébanez
The macro USE_LIGHT_SHADOW_COLOR actually was being defined when the shader used SHADOW (the output shadow color), not the shadow color set for the light so it's better named USE_OUTPUT_SHADOW_COLOR. In 3D there's not that difference but renaming as well for consistency.
2016-09-03Fix drivers coding for WinRTGeorge Marques
- Add a proper function to retrieve IP addresses. - Solve issues with Windows FileAccess and DirAccess to use the same code for WinRT. - Add patches to the GLES2 rasterizer to workaround ANGLE issues.
2016-08-30More visual script improvementsJuan Linietsky
-Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-01Implements Y billboardAlex Piola
Y billboard wasn't hooked up. This commit implements it.
2016-07-25GLES2: Check for GPU capabilities to display an errorRémi Verschelde
The engine will still segfault, but the error message should be displayed by the OS in a blocking manner, so that it will only crash once users have acknowledged the error dialog. Closes #1162.
2016-07-07Removed unused variables (first pass)Rémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-06-05Add texture region support for stylebox renderGeequlim
2016-05-27Changed import workflowJuan Linietsky
-Rearrange favorites in fs dock with drag and drop -Removed import -> sub-scene, moved to scenetree contextual menu -Removed import -> re-import , moved and integrated to FS dock -Added ability in FS dock to re-import more than one resource simultaneously -Added ability to drag from native filesystem explorer to Godot, only works on Windows though -Removed scene reimport merge options, never worked well. Eventually merging materials should be re-added -Added ability to set custom root node type when importing scenes -Re-Import is now automatic, can be configured back to manual in editor settings -Added resource previews in property list for many resource types
2016-05-04missing default valueJuan Linietsky
2016-05-04fix to avoid video texture scalingJuan Linietsky
2016-05-04ability to shrink all images x2 on loadJuan Linietsky
this is for extreme cases when running on devices with very low video memory, so you can still retain compatibility.
2016-04-03free Material 'shadow_material_double_sided' on ::finish()MSC
2016-03-15Merge pull request #3694 from techtonik/patch-1Rémi Verschelde
Show driver information in verbose mode
2016-03-15Merge pull request #3528 from SaracenOne/baked_light_realtime_colourizeRémi Verschelde
Ability to colourize baked lighting in real time.
2016-03-12Fix 'FLAG_RECEIVE_SHADOWS' flag for GeometryInstances so that turning it off ↵Saracen
now correctly disables shadows from affecting the instance.
2016-03-08Merge pull request #3958 from SaracenOne/cpu_skinning_path_fixJuan Linietsky
Fix to CPU skinning path when using GPU skinning (meshes with morphs)