summaryrefslogtreecommitdiff
path: root/drivers/gles3
AgeCommit message (Collapse)Author
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-25Merge pull request #20448 from volzhs/duplicated-codeRémi Verschelde
Remove duplicated codes
2018-07-25Merge pull request #18368 from Gamblify/RasterizerEngineSyncRémi Verschelde
sync rasterizers with engine
2018-07-25Remove duplicated codesvolzhs
2018-07-23Implemented Soft bodyAndreaCatania
- Soft Body Physics node - Soft Body Rendering - Soft body Editor - Soft body importer
2018-07-23Added some API to visual server so from control VRAM buffer is more easyAndreaCatania
2018-07-22transmission was broken, fix was made. Also fixed treshold.Juan Linietsky
2018-07-22Fix opaque pre pass not casting shadowsJuan Linietsky
2018-07-22Shader lang: Properly assign INSTANCE_ID to gl_InstanceIDRémi Verschelde
Note that gl_InstanceID is not supported in OpenGL ES 2.0, so in the gles2 backend we assign it to 0. Also clean up some duplicates/commented out code. Fixes #20088.
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
2018-07-17Add disable ambient light flag to shaders and materialsAlex Roman
2018-07-17Revert "Fix #19507 Not emitted particles affects performance"Max Hilbrunner
2018-07-17Merge pull request #19764 from malbach/godot_malbachMax Hilbrunner
Fix #19507 Not emitted particles affects performance
2018-07-16Finally figured out how to implement AnimatedTexture properly.Juan Linietsky
2018-07-12Merge pull request #20096 from CptPotato/19163-aces-whitepointMax Hilbrunner
Fix missing whitepoint for ACES tonemapping
2018-07-12reformatted and restructured tonemap.glslalex-poe
2018-07-12Merge pull request #19707 from toger5/fix_clipping_vflipMax Hilbrunner
fix clipping with v_flip fixes: #18600
2018-07-11added 'whitepoint' to ACES tonemappingalex-2b17x4
2018-07-10fix wrong loop condition in MultiMesh allocationkarroffel
2018-07-06Support for CPU based particles, which aids compatibility with OpenGL ES 2.0Juan Linietsky
2018-07-05Move light 2D rotation to vertex shaderJFonS
2018-07-04Fix regression of 2D light heightJFonS
2018-07-04Merge pull request #19807 from JFonS/fix_light_vec_rotationRémi Verschelde
Fix rotation of 2D lights
2018-07-04Merge pull request #19786 from JFonS/correct_normal_scalingRémi Verschelde
Add render mode to ensure correct normals when using non-uniform scaling
2018-07-03Merge pull request #19682 from dragmz/particles_redraw_fixMax Hilbrunner
Prevent redraws when an inactive Particles2D node is present
2018-07-02Added ability for SSAO to affect AO textures tooJuan Linietsky
2018-06-25Fix #19507 Not emitted particles affects performancemalbach
2018-06-21Add render mode to ensure correct normals when using non-uniform scalingJFonS
2018-06-20prevent redraws when an inactive Particles2D node is presentMarcin Zawiejski
2018-06-19Fix rotation of 2D lightsJFonS
2018-06-16fix clipping with v_flip fixes: #2929toger5
2018-06-05Rasterizers are now in sync with engineGustav Lund
The rasterisers (both GLES3 and GLES2) were calculating their own frame delta time This fix lets the rasterizers get the frame delta through the draw call That way any regulations to the frame step from the main script will not cause particle systems to process at a different step than the rest of the Engine. Remove unused rasterizer storage variable frame.prev_tick variable were not used anywhere and has been removed
2018-05-27Merge pull request #19029 from BastiaanOlij/more_viewport_texture_fixesBastiaan Olij
Fixed generating radiance texture when using viewport texture for sky
2018-05-26Merge pull request #18884 from bojidar-bg/17698-screentex-bugMax Hilbrunner
Fix a corner-case bug in _copy_texscreen in the gles3 renderer
2018-05-19Fixed generating radiance texture when using viewport texture for skyBastiaan Olij
2018-05-18Fix UWP build after #14622.bruvzg
2018-05-18Fixes issue that a viewport texture doesn't work with particle shaderBastiaan Olij
2018-05-15Fix a corner-case bug in _copy_texscreen in the gles3 rendererBojidar Marinov
Fixes #17698
2018-05-08Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam
Experimental support for windows with per-pixel transparency.
2018-05-07Merge pull request #17845 from JFonS/disable_spatial_shadowsJuan Linietsky
Added flag on SpatialMaterial to disable shadows
2018-05-07Merge pull request #18159 from ShyRed/viewportskyJuan Linietsky
Fix binding of ViewportTexture to Sky
2018-05-07Merge pull request #18495 from Zylann/partial_texture_updateJuan Linietsky
Added partial texture update to VisualServer
2018-05-07Merge pull request #18677 from BastiaanOlij/add_no_blendJuan Linietsky
Add no-blend canvas item render_mode
2018-05-07Add no-blend canvas item render_modeBastiaan Olij
2018-05-06Added option to viewport to keep linear colorBastiaan Olij
2018-05-04Skeletal deform workingJuan Linietsky
2018-05-03Skeleton for 2D WIPJuan Linietsky
2018-05-03Merge pull request #16359 from Noshyaar/convertRémi Verschelde
Particles: fix corrupted scene when saved after convert
2018-04-29Added partial texture update to VisualServerMarc Gilleron
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.