Commit Graph

  • 79d084f9cf Removed GLFW 2.7 in preparation of adding 3.0. Lasse Öörni 2011-06-30 20:56:53 +0000
  • bd3fff14b7 Added void pointer hash functions. Lasse Öörni 2011-06-29 21:58:04 +0000
  • fc7b593078 Fixed having to press Enter twice to retrigger the fullscreen toggle. Lasse Öörni 2011-06-26 22:15:59 +0000
  • 0d06cafd51 Added fadein/fadeout on entering or leaving fullscreen mode on OSX. Removed deprecated Carbon code. Lasse Öörni 2011-06-26 21:59:48 +0000
  • 0ea42a9762 Removed counterproductive frustum side masking from culling tests. Lasse Öörni 2011-06-26 19:45:44 +0000
  • a13c05068a Added necessary #ifdef. Lasse Öörni 2011-06-26 17:53:01 +0000
  • 7addf89464 Moved definitions of the inbuild shader hashes to a separate file. Removed debug print from Input. Lasse Öörni 2011-06-26 17:21:32 +0000
  • 3baf62216e In Direct3D9 mode, differentiate between left Shift, Ctrl & Alt similarly as GLFW does. Lasse Öörni 2011-06-26 17:08:43 +0000
  • 3a6163226b Changed OpenGL rendering to use non-hardcoded shader parameters. Fixed warnings. Lasse Öörni 2011-06-26 12:39:25 +0000
  • ced7b62889 Shader parameters are no longer hardcoded. Lasse Öörni 2011-06-26 07:28:52 +0000
  • 30583dddc4 Fixed split point lights on Linux. Code cleanup. Lasse Öörni 2011-06-25 22:12:44 +0000
  • d9088dd4ca Fixed misplaced not operator in stencil test setup. Lasse Öörni 2011-06-25 21:01:52 +0000
  • 027a0ad10c Fixed GLFW issues with OSX. Fixed missing key repeat in OpenGL mode. Added proper window close handling in OpenGL mode. Lasse Öörni 2011-06-25 18:01:04 +0000
  • 05701aa204 Fixed window title not getting restored in OpenGL mode. Lasse Öörni 2011-06-25 13:25:03 +0000
  • a128c85c0f Implemented GLFW mouse wheel callback. Fixed OpenGL stencil value wrapping to match Direct3D. Lasse Öörni 2011-06-25 13:02:39 +0000
  • adcff7aaf6 Disabled timed waiting for PortAudio Unix threads, because it sometimes failed in fullscreen mode. Lasse Öörni 2011-06-25 11:40:48 +0000
  • 16aeec5c32 Re-enabled sound latency adjustment. Removed support for 8-bit sound output. Lasse Öörni 2011-06-25 10:50:58 +0000
  • e4153175b7 Refactored fullscreen toggle. Lasse Öörni 2011-06-25 00:31:54 +0000
  • f47dac9269 Fixed Linux build. Made pthreads mutexes recursive. Lasse Öörni 2011-06-25 00:22:18 +0000
  • 0d29d818ad Moved from SDL to GLFW & PortAudio. Lasse Öörni 2011-06-24 23:20:09 +0000
  • 9261573b57 Fixed non-optimal decrement operators. Lasse Öörni 2011-06-23 07:27:30 +0000
  • 270ba840b3 Documentation update. Lasse Öörni 2011-06-21 21:37:46 +0000
  • b90c1386be Removed unnecessary parentheses. Lasse Öörni 2011-06-21 21:01:13 +0000
  • af01853960 Fixed erroneous char input suppression in the example scripts. If only vsync changes on OpenGL, do not recreate the context. Documentation update. Lasse Öörni 2011-06-20 22:17:29 +0000
  • b78205cfe1 Documentation updates. Reformatted the DirectDraw surface structures in Image.cpp. Lasse Öörni 2011-06-20 19:58:03 +0000
  • 882ccaaf6c Fixed GetProgramDir() to clear the whole buffer. Implemented SystemRun() on Unix. Lasse Öörni 2011-06-20 18:14:36 +0000
  • d55d29612c Documentation update. Lasse Öörni 2011-06-19 23:13:11 +0000
  • ab866d7f7e Fixed illegal vertex/index buffer access in Model::Load(). Lasse Öörni 2011-06-19 22:01:05 +0000
  • b2888b96ed Fixed non-clipped cursor mode on Windows. Lasse Öörni 2011-06-19 20:38:13 +0000
  • 8b876b1d77 Further input fixes. Require a click inside the window before hiding the OS mouse cursor. Lasse Öörni 2011-06-19 20:10:04 +0000
  • 95b8dfac47 Fixed ResourceRefList serialization to XML. Added direct HashMap/HashSet compatibility to StringHash & ShortStringHash classes. Lasse Öörni 2011-06-19 16:48:51 +0000
  • 39441f2c56 Removed unused linker option. Lasse Öörni 2011-06-19 15:45:32 +0000
  • 9f3481bd9f Better fix for OS X mouse move issues. Lasse Öörni 2011-06-19 15:44:00 +0000
  • 6cdddcb0f6 Documentation updates. Lasse Öörni 2011-06-19 11:45:11 +0000
  • 07a3d31f86 Further OS X input fixes. Lasse Öörni 2011-06-19 11:27:45 +0000
  • 9f6ca174f8 Fixed SDL build on Windows. Improved mouse move logic. Lasse Öörni 2011-06-19 10:44:13 +0000
  • 95c6640cba Fixed to compile and run on Mac OS X. Lasse Öörni 2011-06-19 10:20:48 +0000
  • e80deeab15 Use _WIN32 conditional for Win32 code. Removed redundant IndexBuffer::SetSize() function. Lasse Öörni 2011-06-19 09:08:19 +0000
  • 1840d21d6f Fixed MinGW build. Lasse Öörni 2011-06-19 00:16:47 +0000
  • fa80179bdf Fixed to compile and run on Ubuntu. Lasse Öörni 2011-06-18 23:30:18 +0000
  • 9f712d922d Image.cpp no longer relies on ddraw.h. Lasse Öörni 2011-06-18 21:54:22 +0000
  • 432f57b4b0 Use SDL 1.3 in OpenGL mode. Removed system fonts directory feature because of being platform-specific. Added the Anonymous Pro fixed width font. Lasse Öörni 2011-06-18 18:33:29 +0000
  • 19a40e561b Removed unused pixel shader uniforms. Lasse Öörni 2011-06-17 07:46:32 +0000
  • f06fa1f2ac Added OpenGL version of GetMultiSampleLevels(). Fixed Direct3D9 version of GetMultiSampleLevels(). Lasse Öörni 2011-06-16 20:40:02 +0000
  • b314fe37f4 Always recreate the OpenGL context when changing from fullscreen to windowed, as there may be bugs on some display adapters when not doing that. Lasse Öörni 2011-06-16 19:22:23 +0000
  • b021a80bba Save old window position when recreating the OpenGL context. Lasse Öörni 2011-06-16 07:20:01 +0000
  • 5b93abee14 Removed unused variables related to temporal antialiasing. Lasse Öörni 2011-06-15 23:16:48 +0000
  • 3db2c154e5 Added forward rendering multisample support for OpenGL. Added OpenGL context delete/recreate mechanism. Lasse Öörni 2011-06-15 22:45:10 +0000
  • 464dbd47ab Fixed performance issues on ATI graphics cards by creating a packed depth stencil as a renderbuffer, not as a texture. Lasse Öörni 2011-06-15 17:58:32 +0000
  • 3bb01cb0ed Added threshold value to the edge filter. Lasse Öörni 2011-06-15 16:24:50 +0000
  • 83bf3d1464 Switched to NVIDIA FXAA II based edge filter. Lasse Öörni 2011-06-15 13:33:16 +0000
  • bea4f054c7 Tweaked the edge filter. Fixed missing stencil buffer when using deferred antialiasing under OpenGL. Lasse Öörni 2011-06-15 06:56:19 +0000
  • 87f9bbd846 Switched back to a edge filter for deferred antialiasing, as temporal antialiasing causes problems when both the camera and objects move. Fixed infinite loop in HashMap copy. Lasse Öörni 2011-06-14 21:10:27 +0000
  • 0ec486db9e Fixed crash in OpenGL shader program cleanup. Lasse Öörni 2011-06-14 09:00:27 +0000
  • 1c26218eeb Fixed a logic error where a OpenGL ShaderVariation would hold a link to a single ShaderProgram, although it can be linked to many. Fixed a possible bug in CollisionShape where the wrong amount of vertex data would be allocated for a triangle mesh. ShaderVariations no longer hold a weak pointer to the parent shader. Changed shader variation compile/creation to happen on demand. Optimized drawing triangle mesh physics debug geometry. Changed OpenGL ShaderProgram to remember last parameter sources (instead of Graphics remembering them globally) to eliminate redundant uniform assignment after changing shaders. OpenGL VertexBuffer & IndexBuffer will create a new data store if locking the whole buffer in discard mode. Removed most ClearParameterSources() calls from view rendering as unnecessary. Lasse Öörni 2011-06-13 21:54:57 +0000
  • ed3751e1f8 Fixed ambient quad shader. Lasse Öörni 2011-06-13 06:43:08 +0000
  • 1c5e878832 Check that render targets are supported before allowing auxiliary views. Lasse Öörni 2011-06-13 06:41:47 +0000
  • 9c9643508c Use GL_DEPTH_COMPONENT24 instead of the packed depth stencil for OpenGL deferred rendering depth buffer, because the packed format seems to be slower. Removed light prepass rendering support, as it has implementation difficulties under OpenGL and is often unsatisfactory in performance and specular lighting quality. Removed the shader subdirectories. Added option to specify whether single-channel images are to be interpreted as luminance or alpha, when loading into a texture. Lasse Öörni 2011-06-12 23:38:54 +0000
  • ecdcd5b940 Fixed missing depth texture in light prepass rendering. Lasse Öörni 2011-06-12 18:26:27 +0000
  • ea081bf526 Code cleanup. Removed obsolete light shader variations from the variation name list. Clear the destination stencil in OpenGL deferred rendering. Lasse Öörni 2011-06-12 18:13:47 +0000
  • 2669231c19 Added OpenGL related documentation. Lasse Öörni 2011-06-12 15:47:21 +0000
  • 9335edc5ed Removed the need to lock vertex data in read-only mode for CPU-side processing. Changed OpenGL immediate mode rendering to use CPU memory vertex arrays. Fixed GLSL errors. Lasse Öörni 2011-06-12 14:57:42 +0000
  • 97238168c7 Simplified the way of immediate geometry updating on OpenGL, which also prevents pipeline stalls (use BufferData instead of locking.) Lasse Öörni 2011-06-12 09:38:09 +0000
  • cfca102c87 Fixed OpenGL slope scaled depth bias. Lasse Öörni 2011-06-11 08:47:46 +0000
  • 2290441ea2 Fixed missing depth reconstruction in deferred rendering ambient quad on OpenGL. Lasse Öörni 2011-06-11 08:38:00 +0000
  • 5db24c8d02 Renamed OpenGL/Direct3D9 implemntation and shader directories. Lasse Öörni 2011-06-11 07:39:58 +0000
  • 483413e472 Fixed the UI not rendering on OpenGL. Lasse Öörni 2011-06-10 23:04:36 +0000
  • c9c0610709 Added alternative OpenGL rendering path, not fully complete yet. Fixed bugs in HashMap / HashSet. Lasse Öörni 2011-06-10 22:35:43 +0000
  • 25bd3a257c Do not use equal depth test. Fixed GetParentPath(). Removed unused vertex color shader code from deferred shaders. Lasse Öörni 2011-06-10 10:17:35 +0000
  • a66b1fc648 Fixed shadow map scissor getting always disabled. Lasse Öörni 2011-06-07 06:25:08 +0000
  • ba48113ccd Turn scissor test off if scissor larger than the screen. Lasse Öörni 2011-06-06 20:59:32 +0000
  • b7f1eecfd0 Restructured #ifdefs in shaders. Lasse Öörni 2011-06-05 16:07:50 +0000
  • 1d036b34ac Fixed crash in ShaderCompiler. Split Common.hlsl into smaller hlsl include files. Lasse Öörni 2011-06-05 11:53:39 +0000
  • c3d68e849c Added RemoveShaderParameter to Material. Lasse Öörni 2011-06-04 12:19:17 +0000
  • 2bee05deb9 Reordered batch setup. Removed unnecessary public Graphics functions. Material & view-global shader parameters are stored into a HashMap. Fixed HashMap bugs. Lasse Öörni 2011-06-04 09:58:39 +0000
  • b011bb9c6d Removed double copyright notice. Lasse Öörni 2011-06-04 08:32:57 +0000
  • e656bf8fe1 Comment cleanup. Lasse Öörni 2011-06-03 22:10:16 +0000
  • 41260f0233 Set global shader parameters when rendering a batch or a full-screen quad; do not set them beforehand. Added ToVector4() to Color. Lasse Öörni 2011-06-03 22:07:08 +0000
  • 141d192225 Fixed Camera's InverseWorldTransform(), which should be GetInverseWorldTransform(). Lasse Öörni 2011-06-02 19:43:38 +0000
  • 5cb3afdbc7 Minor code cleanup. Lasse Öörni 2011-06-02 13:42:51 +0000
  • 76144c8c4b Fixed plural in array variable names. Lasse Öörni 2011-06-02 12:05:47 +0000
  • 7a231ed820 Load model data directly into the vertex buffer instead of doing an intermediate copy. Lasse Öörni 2011-06-02 09:04:44 +0000
  • 9c6fc5e356 Fixed HashMap index operator. Lasse Öörni 2011-06-01 06:04:07 +0000
  • dca33c3b34 Unified the shader parameter setting API. Lasse Öörni 2011-05-31 21:29:33 +0000
  • 887cd80dcb Removed unnecessary OBJECT macro from ShaderVariation. Lasse Öörni 2011-05-30 21:18:24 +0000
  • d96093e24c Moved check of needing shader parameter / texture update to Graphics. Lasse Öörni 2011-05-30 17:40:17 +0000
  • 7da01092b6 Renamed ShaderProgram to ShaderVariation. Lasse Öörni 2011-05-29 21:24:35 +0000
  • 3f1f71dd06 Fixed ResourceCache error messages. Lasse Öörni 2011-05-29 18:10:03 +0000
  • 5cc2a32cb8 Fixed comment. Lasse Öörni 2011-05-29 13:30:41 +0000
  • 634b5cc81b Added division by type size for pointer hashes. Fixed HashMap bugs. Removed HashMap / HashSet range based operations as the list is not ordered. Lasse Öörni 2011-05-29 13:11:44 +0000
  • f899c2f7ca Fixed bugs in Map. Added HashSet & HashMap classes. Use HashSet in performance-critical parts of the Renderer library. Lasse Öörni 2011-05-29 09:42:41 +0000
  • 977dd11341 Added functions to query most often used texture formats, so that application code does not need to include RendererImpl.h. Lasse Öörni 2011-05-28 16:02:20 +0000
  • fa3fb7b2fc Added LockedRect structure for textures so that application code does not need to use the corresponding Direct3D structures directly. Fixed comments. Lasse Öörni 2011-05-28 11:47:37 +0000
  • 486d4902c8 Simplified window message handling related to activation/inactivation and minimizing the window. Combined Activated & Inactivated events into the Activation event and moved it to GraphicsEvents. Lasse Öörni 2011-05-26 21:52:18 +0000
  • 674ffb38a3 Added try-catch for out of memory error. Lasse Öörni 2011-05-25 13:43:42 +0000
  • 1911a90504 Fixed Batch.cpp. Lasse Öörni 2011-05-25 08:41:26 +0000
  • 4409bc0df0 Moved Color back to the Math library. Lasse Öörni 2011-05-25 07:19:07 +0000
  • 5f7b64d6e7 Further cleanup of the Container & Math library API & internal functions. Lasse Öörni 2011-05-25 07:01:38 +0000
  • 2025789fa9 Fixed search & replace. Lasse Öörni 2011-05-24 23:37:16 +0000
  • 121d451a4e Renamed eulerAngles property to euler. Lasse Öörni 2011-05-24 20:22:21 +0000