Commit Graph

  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • 15c4e801 android: slightly update Android project for newer SDK versions. by Sam Hocevar 2012-04-11 22:59:29 +0000
  • 8f0fc940 tutorial: fix a compilation error and remove now useless vector type casts. by Sam Hocevar 2012-04-11 22:59:26 +0000
  • 64da211c math: do not use #pragma diagnostic push for GCC prior to 4.6. by Sam Hocevar 2012-04-11 22:59:23 +0000
  • 701eb778 tutorial: fix the texture swizzling for the fractal viewer on Xbox 360. by Sam Hocevar 2012-04-11 12:27:58 +0000
  • 1485e5bf gpu: add support for integer uniforms and fix a few PS3 and Linux compilation issues that were introduced with the Direct3D changes. by Sam Hocevar 2012-04-10 23:41:55 +0000
  • 45837800 win32: the uniform handling code was completely broken; we now properly retrieve the constant's register index in the description table. This also allows us to use a single uniform handle for both the vertex and pixel shaders in a PS3 Cg program. by Sam Hocevar 2012-04-10 23:14:16 +0000
  • c2ff2ad9 win32: add Direct3D texture creation code in the fractal zoomer. Shader support is still missing. by Sam Hocevar 2012-04-10 18:39:16 +0000
  • 88f10fe5 build: allow to build the Direct3D 9 driver with the mingw compiler. by Sam Hocevar 2012-04-10 18:39:12 +0000
  • 682b9dbd build: start configuring the build for Win64. by Sam Hocevar 2012-04-10 01:13:06 +0000
  • 5d2ddbdb math: use size_t instead of int for vector subscript to avoid torrents of compiler warnings in 64-bit mode when sizeof(foo) is used as the argument for the array subscript operator. No need to care about the non-signedness since only positive indices work. by Sam Hocevar 2012-04-10 01:12:59 +0000
  • 090834b1 win32: start porting the graphical backend to DirectX 9. Apparently I cannot used DirectX 10 because my video card only supports DX9, and there is no compatibility layer. DX11 has feature levels for older hardware so it would work with a DX9 card, but it's not available for WinXP. by Sam Hocevar 2012-04-10 01:12:52 +0000
  • d855e721 win32: the GDI+ byte swapping was wrong; fix that. by Sam Hocevar 2012-04-08 14:55:08 +0000
  • d539f3b8 win32: shuffle bytes in GDI images to match what OpenGL supports. by Sam Hocevar 2012-04-08 13:28:26 +0000
  • fea2c18f build: make one Visual Studio file slightly shorter. by Sam Hocevar 2012-04-08 13:28:23 +0000
  • c0090744 build: add Visual Studio props file that had mistakenly disappeared. by Sam Hocevar 2012-04-07 22:27:14 +0000
  • a3f410d6 video: allow to set the default clear color. by Sam Hocevar 2012-04-07 21:55:32 +0000
  • f35f4284 core: allow each blitted tile to be stretched differently. by Sam Hocevar 2012-04-07 21:55:29 +0000
  • 4fac6d46 tutorial: fix unbalanced parenthesis breaking compilation. by Sam Hocevar 2012-04-07 21:55:24 +0000
  • 4c7ce44c tutorial: port the rotating cube tutorial to the Xbox 360 and tweak the triangle tutorial to make it shorter. by Sam Hocevar 2012-04-06 17:54:16 +0000
  • a911b0f2 build: ensure all projects have a <ItemDefinitionGroup> entry, otherwise Xbox 360 debugging does not work properly. For real. by Sam Hocevar 2012-04-06 17:54:09 +0000
  • bd69c76f xbox: fix a few problems in the shader handling code; the first tutorial now works on the Xbox. by Sam Hocevar 2012-04-05 18:43:44 +0000
  • 2f017eed build: more Visual Studio project refactoring, with multiprocessor compilation and a few other tweaks. by Sam Hocevar 2012-04-05 18:43:38 +0000
  • 39b59b3d test: fix uninitialised member variable. by Sam Hocevar 2012-04-05 07:09:32 +0000
  • 49552f2d build: do the Visual Studio project refactoring a bit differently. by Sam Hocevar 2012-04-05 00:07:57 +0000
  • 02449e11 build: more Visual Studio project file refactoring. by Sam Hocevar 2012-04-04 22:13:29 +0000
  • 28314767 build: major refactoring of the Win32 and Xbox project files; we now link properly on the Xbox. by Sam Hocevar 2012-04-04 18:40:04 +0000
  • 6868b1eb math: remove old non-working vector code for the float to half conversion. by Sam Hocevar 2012-04-03 21:32:18 +0000
  • fac42dd7 xbox: create the Xbox application class and add a project file for MrPigeon. by Sam Hocevar 2012-04-03 18:28:48 +0000
  • 4624e639 math: fix VS2010 compiler warnings in the float/half conversion tables, and replace the well known DeBruijn sequence with a custom magic value to spare one binary operation. by Sam Hocevar 2012-04-03 18:28:41 +0000
  • edfa3dfc core: allow to stretch 2D sprits in both X and Y directions. by Sam Hocevar 2012-04-02 23:25:03 +0000
  • ad64711c sdl: convert any opened image to 8 bit per channel because we don't have any mechanism yet for uploading exotic formats to the GPU. by Sam Hocevar 2012-04-02 23:24:59 +0000
  • 130071bd math: add a few comments. by Sam Hocevar 2012-03-30 08:48:45 +0000
  • 56e43325 build: reorganise math files in a single "math" directory, and get rid of the "shader" source directory since we have "gpu". by Sam Hocevar 2012-03-30 08:48:42 +0000
  • 43e15205 win32: add a lot of DirectX stubs. by Sam Hocevar 2012-03-29 17:19:47 +0000
  • 59ee25e0 win32: a few compilation fixes, including GDI+ linking properly now. by Sam Hocevar 2012-03-28 17:33:09 +0000
  • d9f600f7 math: disable vectors of halfs until we find a way to speed up the build time, for now the .h takes 17 seconds to compile for each file! by Sam Hocevar 2012-03-28 17:21:02 +0000
  • 33a3897b math: add vectors of "half" to vector.h. by Sam Hocevar 2012-03-27 19:53:54 +0000
  • 2d3307c6 math: move cross product out of the .cpp file. by Sam Hocevar 2012-03-26 23:43:15 +0000
  • 2f4c181f gl: compilation fix due to #if/#elif confusion. by Sam Hocevar 2012-03-26 23:43:11 +0000
  • 60a2e83d xbox: start working on an Xbox/Direct3D port. by Sam Hocevar 2012-03-26 18:18:40 +0000
  • 40be36ec test: fix logic bugs in two tutorials. by Sam Hocevar 2012-03-26 18:18:33 +0000
  • 7fd393b7 sdl: on Windows, perform the input tick in the main drawing thread. by Sam Hocevar 2012-03-26 18:18:27 +0000
  • 835fa4a8 win32: fix cross-project dependencies for recently added projects. by Sam Hocevar 2012-03-26 18:18:22 +0000
  • b79b651c mrpigeon: create source tree for MrPigeon. by Sam Hocevar 2012-03-19 01:23:17 +0000
  • 811de0ac win32: fix SDL support in lolcore. by Sam Hocevar 2012-03-16 18:37:00 +0000
  • 0303a838 win32: fix Visual Studio compilation and link issues. by Sam Hocevar 2012-03-16 18:06:49 +0000
  • 89c3b3a6 ps3: fix PS3 build after the Queue refactoring. by Sam Hocevar 2012-03-14 23:08:10 +0000
  • 8bea4cf1 math: ensure real::fabs() is never chosen over std::fabs() for arguments that are not explicitly real, even with namespace mistakes. by Sam Hocevar 2012-03-14 19:19:48 +0000
  • c0cb995f win32: various compilation fixes, mostly project updates, but also a workaround for a Visual Studio compiler bug (Connect Id #730878). by Sam Hocevar 2012-03-13 19:04:34 +0000
  • 7867c6ea math: fix minor warnings in half.h and vector.h. by Sam Hocevar 2012-03-12 18:58:54 +0000
  • b4610706 math: move half.h into the public headers. by Sam Hocevar 2012-03-12 14:04:19 +0000
  • 420a0052 math: disable annoying compiler warnings in vector.h. by Sam Hocevar 2012-03-12 14:04:14 +0000
  • 7723d892 math: make sure magic swizzling vectors don't actually store data, and do the swizzling by using their address rather than their members. by Sam Hocevar 2012-03-12 01:57:11 +0000
  • 06081053 math: minor tweak to avoid using macros with empty parameters. by Sam Hocevar 2012-03-12 01:57:07 +0000
  • 06d9d00c win32: no longer ship GDI+ because MinGW ships a working version, including for Win64. by Sam Hocevar 2012-03-10 02:04:11 +0000
  • 8684d237 win32: add a few predefined macros to the VS build system. by Sam Hocevar 2012-03-07 19:04:27 +0000
  • 48121255 math: disable const union members on GCC prior to 4.6. by Sam Hocevar 2012-03-06 19:11:19 +0000
  • 8942c9a9 math: add new coercion rules for vector classes. by Sam Hocevar 2012-03-05 19:06:40 +0000
  • 1a6acffe build: disable excessive image cleanup rules. by Sam Hocevar 2012-03-05 19:06:36 +0000
  • 12414bc6 math: some refactoring in the vector operations, to make it easier to implement automatic promotion in the future. by Sam Hocevar 2012-03-02 17:49:00 +0000
  • 8bca6396 math: add missing operators (==, !, <= etc.) to the "half" class so that it can at last be put into a vector. by Sam Hocevar 2012-03-02 17:48:55 +0000
  • 6951578b math: minor compilation fixes for Visual Studio. Still does not link. by Sam Hocevar 2012-03-02 13:00:45 +0000
  • d27443a5 math: allow vectors of half and real; they don't support swizzling or rgba getter aliases. by Sam Hocevar 2012-02-25 20:20:26 +0000
  • 64f6c581 test: that cast was necessary, after all... by Sam Hocevar 2012-02-25 20:20:23 +0000
  • 54f74a1b win32: some compilation fixes here and there. by Sam Hocevar 2012-02-25 13:38:49 +0000
  • 03250fa3 test: remove a useless cast. by Sam Hocevar 2012-02-25 13:38:45 +0000
  • db728e48 threads: change Queue to a template so that we can manage the element type. by Sam Hocevar 2012-02-25 13:38:42 +0000
  • 38624cb9 math: disallow using vector swizzling components as lvalues until we switch to C++11. by Sam Hocevar 2012-02-16 01:36:08 +0000
  • 8f2817e8 math: use const references instead of passing arguments by value in the magic vector swizzling assignment methods. by Sam Hocevar 2012-02-16 01:36:04 +0000
  • 6838ff88 math: add "const" to many vector swizzling patterns to forbid constructs such as "foo.xx = bar.xy". by Sam Hocevar 2012-02-09 09:42:54 +0000
  • 2fe8d1f9 math: fix a syntax error in vector.h due to duplicate macro declaration. by Sam Hocevar 2012-02-06 15:48:05 +0000
  • 0a52e68f math: rename matrix.h to vector.h and simplify some stuff, especially in the matrix code itself. by Sam Hocevar 2012-02-05 01:46:43 +0000
  • e3220b2d math: some simplifications in the magic vector templates, and some macros removed because they were used only once. by Sam Hocevar 2012-02-04 22:18:26 +0000
  • c8d5630e math: finally get the GLSL-like swizzling to work. by Sam Hocevar 2012-01-30 07:53:32 +0000
  • 57df2357 math: try to implement the magic getter/setter pattern. BREAKS BUILD. by Sam Hocevar 2012-01-27 08:05:03 +0000
  • d38a79ee math: move most vector and matrix member functions to global functions. by Sam Hocevar 2012-01-27 08:05:00 +0000
  • bf604ef1 math: use the usual GLSL member names for vectors (xyzw, rgba, stpq). by Sam Hocevar 2012-01-27 08:04:56 +0000
  • bed5dea0 math: implement ulp() for reals, which returns the smallest real y > 0 such that x + y != x, and nextafter() which behaves like the C function. by Sam Hocevar 2012-01-11 23:36:29 +0000
  • d763474c lolremez: release LolRemez 0.2. by Sam Hocevar 2012-01-09 23:22:10 +0000
  • a949a2cd math: fix an infinite loop in the real number print function. by Sam Hocevar 2012-01-09 22:49:33 +0000
  • dfdff977 math: significant performance improvements in the Remez solver. by Sam Hocevar 2012-01-09 22:49:28 +0000
  • c4bad581 math: write a faster factorial method for use in exp() and sin(). These functions are now about 20% faster. by Sam Hocevar 2012-01-09 13:30:13 +0000
  • 2ef212be core: throw out the idea of a disk thread, let's seem what comes from it. by Sam Hocevar 2012-01-05 17:35:57 +0000
  • 9f9566bd lolremez: distribute Visual Studio files with LolRemez. by Sam Hocevar 2012-01-05 17:35:45 +0000
  • 52e44ef8 core: fix a few implicit 64-to-32-bit casts in the real methods. by Sam Hocevar 2012-01-05 17:35:33 +0000
  • 366644d4 real: get rid of <<= and >>= operators; we can use ldexp() instead. As a bonus, multiplication or division by a power of two will be optimised as a shift of the exponent. by Sam Hocevar 2012-01-02 03:14:23 +0000
  • 578b35c8 real: fix a rounding bug in real number printing. by Sam Hocevar 2012-01-02 03:14:18 +0000
  • 8ec896f2 build: remove #if directives from remez.cpp when distributing LolRemez. by Sam Hocevar 2011-12-29 18:41:16 +0000
  • df39a0ce math: make everything clean for a LolRemez release. by Sam Hocevar 2011-12-29 18:36:54 +0000
  • 2beb5d7b core: placement new requires #include <new>, fixing that and a few other missing includes. by Sam Hocevar 2011-12-29 18:36:51 +0000
  • 48bf48a4 math: move the Remez algorithm implementation to the core. by Sam Hocevar 2011-12-29 18:36:48 +0000
  • f56c72c5 core: fix the sign of a negative real number raised to an even power, and add the corresponding unit test. by Sam Hocevar 2011-12-23 02:43:32 +0000
  • 992c198a core: allow to build a real number using a string literal. by Sam Hocevar 2011-12-22 20:09:46 +0000
  • 5d01ca92 core: fix compilation warnings in one of the float-to-half LUTs. by Sam Hocevar 2011-12-22 19:34:37 +0000
  • 3283dfc0 build: minor reorganisation of the sandbox code. by Sam Hocevar 2011-12-12 18:17:37 +0000
  • b2d73f63 core: prefix Entity members with m_ to avoid accidental shadowing. by Sam Hocevar 2011-12-11 11:58:09 +0000
  • d0267034 build: for now, assume anything with <pthread.h> uses the pthread API. by Sam Hocevar 2011-12-10 15:53:21 +0000
  • dfdbbfdf gl: cache viewport size on all platforms, because we cannot query it from the game thread. by Sam Hocevar 2011-12-10 14:02:12 +0000
  • 2d3ee50d test: do not test for strict doubles equality in quaternion unit test. by Sam Hocevar 2011-12-10 14:02:08 +0000
  • 0161879a core: try to merge Ticker and Emcee. Still not very good. by Sam Hocevar 2011-12-07 01:06:19 +0000