aboutsummaryrefslogtreecommitdiff
path: root/src/shader.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up StrfndShadowNinja2016-03-191-1/+0
| | | | | | | | | | | Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
* Set proper GLSL pixel shader versionRealBadAngel2016-02-111-1/+1
|
* Dump shader programs on compile errorsRealBadAngel2016-02-111-0/+23
|
* Fix inverted conditions in shader.cppLoic Blot2016-02-091-2/+2
|
* shader.cpp: don't test twice if shader programs are presentLoic Blot2016-02-091-9/+9
| | | | Also use string::empty method, it is better than comparing with empty strings.
* Filmic HDR tone mappingRealBadAngel2016-02-091-0/+3
|
* Refactor thread utility interfacekwolekr2015-10-161-4/+4
| | | | | - Add "thr_" prefix to thread utility functions - Compare threadid_ts in a portable manner, where possible
* Change i++ to ++iDavid Jones2015-08-251-1/+1
|
* Clean up threadingShadowNinja2015-08-231-4/+4
| | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
* Shaders fixes and cleanup relief mapping code.RealBadAngel2015-07-021-1/+4
|
* Improved parallax mapping. Generate heightmaps on the fly.RealBadAngel2015-06-141-27/+38
|
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-191-31/+30
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-011-2/+2
| | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-071-5/+5
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot2015-03-051-1/+1
| | | | tile.hpp to src/client/
* Add optional framed glasslike drawtypeBlockMen2014-10-021-1/+2
|
* Add firelike drawtypeTriBlade92014-09-211-1/+2
|
* Fix warnings reported by clangsfan52014-07-061-5/+1
|
* Fix memory leaks in GenericCAO, ShaderSource and Player classessapier2014-07-021-2/+5
|
* Unite nodes shaders.RealBadAngel2014-06-151-120/+129
| | | | | | | Pass drawtype and material type to shaders. Move shaders generation to startup only. Allow assign shaders per tile. Initial code to support water surface shader.
* Fix all warnings reported by clangSfan52014-04-151-5/+1
|
* Normal maps generation on the fly.RealBadAngel2014-03-211-4/+38
| | | | | Parallax mapping with slope information. Overriding normal maps.
* Make MutexQueue use jsemaphore for signalingsapier2014-01-101-13/+11
|
* Optimize shaders code. Add settings at compile time.RealBadAngel2013-12-091-8/+44
|
* Fix shaders on some GPUsNovatux2013-12-081-0/+9
|
* Cleanup jthread and fix win32 buildsapier2013-12-011-2/+0
|
* Fix Result of processed Request was written to invalid (non existent) ↵sapier2013-11-171-14/+16
| | | | ResultQueue if requesting thread timed out before
* Fix multicaller support in RequestQueuesapier2013-11-171-7/+1
|
* Settings: everything != 0 equals true; remove .asm shadersPilzAdam2013-07-081-21/+0
|
* Fix many formspec menu bugssapier2013-07-071-6/+6
|
* Don't rebuild the dummy shader (less SourceShaderCache warning spam)Kahrl2013-07-051-2/+4
| | | | | Also write something about rebuilding shaders to infostream in Client::afterContentReceived()
* Fix shader license headers to be LGPLBrent Hull2013-05-061-4/+4
|
* fix memory leak on shader shutdownsapier2013-04-071-0/+6
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-18/+18
|
* Update Copyright YearsSfan52013-02-241-2/+2
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Implement a global shader parameter passing system and useful shadersPerttu Ahola2012-12-021-4/+66
|
* ShaderSource and silly example shadersKahrl2012-12-021-0/+731