Commit Graph

21 Commits

Author SHA1 Message Date
ce60556dae Windows build with MSVC (#181)
credit: @mancoast 

* msvc

* include glew for windows

* fix usage of std namespace with win32

* Update pmSDL.hpp

fix warning with win32

* update dirent for win32

* libs required for win32 linkage

* Update pmSDL.hpp

SDL_MAIN_HANDLED

* Update ShaderEngine.cpp

init glew to create shaders

* fake SDL audio with win32

* Update Renderer.vcxproj

use wildcards for source filenames

* Create config.h

* Update Expr.cpp

fix win32 breaks

* cleanup broken max function

* Update Makefile.am

remove ref to win32-dirent
2019-03-22 08:55:35 +01:00
7b33e76b13 LLVM - add native code generation for expression evaluation (#162) 2019-03-05 14:24:59 -08:00
bfdd0ad033 short circuiting IF() (#156)
* short circuiting IF()

* fix non SSE2 init_mesh()
2019-01-19 10:11:47 -08:00
42fee50d64 Perf cleanup (#151)
* Param refactor
collected all the code that reached inside Param (InitCond, Per*Eqn, Expr, Parser) to read/write and stuffed it all back into Param.cpp
made Param extend Expr to avoid any perf penalty (I actually think eval() is a tiny bit faster now)

* presets/tests

* ALWAYS_MATRIX is used with PER_POINT

* use SSE2 to impove initialize_PerPixelMeshes() performance

* TestRunner
very, very simple test framework, but it's better than no framework
(consider investigating adopting something)

* ProgramExpr
2019-01-14 05:33:38 +00:00
2ce0e70a98 memleaks fixes 2018-06-10 22:02:06 +02:00
d2d2007366 fix for issue 64 2018-05-29 07:14:13 -07:00
a9874619a6 move matrix_flag check back to eval time 2018-05-17 14:49:45 -07:00
439a4f161a typo 2018-05-10 20:06:02 -07:00
10b0a4d9a4 TreeExprMult 2018-05-10 19:30:28 -07:00
f4a29d54fe PrefunExprOne 2018-05-10 18:47:15 -07:00
f5e83537f7 ExprClass and some warning cleanup 2018-05-10 14:50:37 -07:00
96a76ad1ed optimize() 2018-05-09 22:39:02 -07:00
2f8c3b6b7c kill GenExpr 2018-05-09 08:43:05 -07:00
6e4363d146 virtual Expr::eval() 2018-05-08 21:56:22 -07:00
3cc14666b5 optimizing PrefunExpr::eval_prefun_expr with stack allocation and local array ptr indexing by @splbio 2016-08-10 19:11:09 -07:00
332d5f4c40 profiling note 2016-08-06 11:00:05 -07:00
2c6c6fef62 more logical fix to bug by using exist left / right args
e Please enter the commit message for your changes. Lines starting
2012-11-13 23:47:06 -05:00
2d1b7c6d3d safe guard against expressions like x = 2*sin(bas)+5* 2012-11-13 23:26:35 -05:00
ace5e5e7fe Allow to render to a texture through its own fbo
WHEN NOT using this "projectM::renderToTexture":
projectM now also handles the case where the user is using its own couple texture/fbo rendering.

Thanks to Julien Isorce for the patch!


git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1394 6778bc44-b910-0410-a7a0-be141de4315d
2012-04-03 21:48:25 +00:00
9a8318ee22 Bug #1849729. Adding class DLLEXPORT attributes, removing method-specific ones.
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1249 6778bc44-b910-0410-a7a0-be141de4315d
2009-07-25 11:18:57 +00:00
814c0c2ddf encapsulating native / milk files
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/represet@1174 6778bc44-b910-0410-a7a0-be141de4315d
2008-09-19 22:47:04 +00:00