Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Browse files Browse the repository at this point in the history
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
  • Loading branch information
akien-mga committed Jan 2, 2017
2 parents db46a34 + 2820b2d commit 3f3f5a5
Show file tree
Hide file tree
Showing 287 changed files with 67,697 additions and 26,120 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ platform/osx/logo.h
platform/windows/logo.h
platform/x11/logo.h
drivers/gles2/shaders/*.h
drivers/gles3/shaders/*.h
modules/register_module_types.cpp
core/version.h
core/method_bind.inc
Expand Down
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ if selected_platform in platform_list:

if (env['verbose'] == 'no'):
methods.no_verbose(sys, env)

if (True): # FIXME: detect GLES3
env.Append( BUILDERS = { 'GLES3_GLSL' : env.Builder(action = methods.build_gles3_headers, suffix = 'glsl.h',src_suffix = '.glsl') } )

Export('env')

Expand Down
217 changes: 0 additions & 217 deletions bin/tests/test_detailer.cpp

This file was deleted.

44 changes: 0 additions & 44 deletions bin/tests/test_detailer.h

This file was deleted.

4 changes: 2 additions & 2 deletions bin/tests/test_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class TestMainLoop : public SceneTree {
tabc->set_size( Point2( 180,250 ) );


Ref<ImageTexture> text = memnew( ImageTexture );
/*Ref<ImageTexture> text = memnew( ImageTexture );
text->load("test_data/concave.png");
Sprite* sprite = memnew(Sprite);
Expand All @@ -383,7 +383,7 @@ class TestMainLoop : public SceneTree {
sprite->set_texture(text);
sprite->add_child(sprite2);
sprite2->set_pos(Point2(50, 50));
sprite2->show();
sprite2->show();*/
}


Expand Down
34 changes: 1 addition & 33 deletions bin/tests/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,10 @@
#include "test_gui.h"
#include "test_render.h"
#include "test_sound.h"
#include "test_misc.h"
#include "test_physics.h"
#include "test_physics_2d.h"
#include "test_python.h"

#include "test_io.h"
#include "test_particles.h"
#include "test_detailer.h"
#include "test_shader_lang.h"
#include "test_gdscript.h"
#include "test_image.h"
Expand All @@ -56,7 +53,6 @@ const char ** tests_get_names() {
"containers",
"math",
"render",
"particles",
"multimesh",
"gui",
"io",
Expand Down Expand Up @@ -96,11 +92,6 @@ MainLoop* test_main(String p_test,const List<String>& p_args) {
return TestPhysics2D::test();
}

if (p_test=="misc") {

return TestMisc::test();
}

if (p_test=="render") {

return TestRender::test();
Expand All @@ -123,16 +114,6 @@ MainLoop* test_main(String p_test,const List<String>& p_args) {
return TestIO::test();
}

if (p_test=="particles") {

return TestParticles::test();
}

if (p_test=="multimesh") {

return TestMultiMesh::test();
}

if (p_test=="shaderlang") {

return TestShaderLang::test();
Expand Down Expand Up @@ -163,19 +144,6 @@ MainLoop* test_main(String p_test,const List<String>& p_args) {
return TestImage::test();
}

if (p_test=="detailer") {

return TestMultiMesh::test();
}

#ifdef PYTHON_ENABLED

if (p_test=="python") {

return TestPython::test();
}
#endif

return NULL;
}

Expand Down
Loading

0 comments on commit 3f3f5a5

Please sign in to comment.