1. 12 Mar, 2011 6 commits
  2. 11 Mar, 2011 11 commits
  3. 10 Mar, 2011 5 commits
  4. 09 Mar, 2011 8 commits
  5. 08 Mar, 2011 5 commits
  6. 07 Mar, 2011 5 commits
    • Sam Lantinga's avatar
      Fixed compiler warning on Visual C++ · 8125f367
      Sam Lantinga authored
      8125f367
    • Sam Lantinga's avatar
      Fixed bug 1161 (Setting GL_ACCELERATED_VISUAL to 1 forces software rendering in Windows XP) · 150d5841
      Sam Lantinga authored
       Jesse Anders      2011-03-05 23:30:09 PST
      
      It seems that in Windows XP, setting SDL_GL_ACCELERATED_VISUAL to 1 actually
      disables hardware acceleration and puts OpenGL in software mode.
      
      In the source code, the corresponding WGL attribute is first set here:
      
      *iAttr++ = WGL_ACCELERATION_ARB;
      *iAttr++ = WGL_FULL_ACCELERATION_ARB;
      
      Later, this code:
      
      if (_this->gl_config.accelerated >= 0) {
          *iAttr++ = WGL_ACCELERATION_ARB;
          *iAttr++ =
              (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB :
               WGL_NO_ACCELERATION_ARB);
      }
      
      Sets it again if SDL_GL_ACCELERATED_VISUAL has a value other than the default.
      
      More importantly, the documentation I found states that
      WGL_GENERIC_ACCELERATION_ARB asks for an MDC driver, which, although I don't
      know much about this topic, doesn't seem like the correct choice here. As
      mentioned previously, the end effect is that requesting hardware acceleration
      in Windows XP actually forces the renderer into software mode (on my system at
      least), which I'm guessing isn't the desired behavior.
      150d5841
    • Sam Lantinga's avatar
      Enabled multi-touch · 5b00b273
      Sam Lantinga authored
      5b00b273
    • Sam Lantinga's avatar
      Added gesture test program · f33af0d1
      Sam Lantinga authored
      f33af0d1
    • Sam Lantinga's avatar
      Removed associated source files · 43bb4745
      Sam Lantinga authored
      43bb4745