• Show log

    Commit

  • Hash : a52d48c5
    Author : Sam Lantinga
    Date : 2017-01-10T08:54:33

    Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11
    
    Mark Callow
    
    The attached patch does the following for the X11 and Windows platforms, the only ones where SDL attempts to use context_create_es_profile:
    
    - Adds SDL_HINT_OPENGL_ES_DRIVER by which the application can
      say to use the OpenGL ES driver & EGL rather than the Open GL
      driver. (For bug #2570)
    - Adds code to {WIN,X11}_GL_InitExtensions to determine the maximum
      OpenGL ES version supported by the OpenGL driver (for bug #3145)
    - Modifies the test that determines whether to use the OpenGL
      driver or the real OpenGL ES driver to take into account the
      hint, the requested and supported ES version and whether ES 1.X
      is being requested. (For bug #2570 & bug #3145)
    - Enables the testgles2 test for __WINDOWS__ and __LINUX__ and adds
      the test to the VisualC projects.
    
    With the fix in place I have run testdraw2, testgl and testgles2 without any issues and have run my own apps that use OpenGL, OpenGL ES 3 and OpenGL ES 1.1.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags

  • README

  • These are test programs for the SDL library:
    
    	checkkeys	Watch the key events to check the keyboard
    	loopwave	Audio test -- loop playing a WAV file
    	loopwavequeue	Audio test -- loop playing a WAV file with SDL_QueueAudio
    	testaudioinfo	Lists audio device capabilities
    	testerror	Tests multi-threaded error handling
    	testfile	Tests RWops layer
    	testgl2		A very simple example of using OpenGL with SDL
    	testiconv	Tests international string conversion
    	testjoystick	List joysticks and watch joystick events
    	testkeys	List the available keyboard keys
    	testloadso	Tests the loadable library layer
    	testlock	Hacked up test of multi-threading and locking
    	testmultiaudio	Tests using several audio devices
    	testoverlay2	Tests the overlay flickering/scaling during playback.
    	testplatform	Tests types, endianness and cpu capabilities
    	testsem		Tests SDL's semaphore implementation
    	testshape	Tests shaped windows
    	testsprite2	Example of fast sprite movement on the screen
    	testthread	Hacked up test of multi-threading
    	testtimer	Test the timer facilities
    	testver		Check the version and dynamic loading and endianness
    	testwm2		Test window manager -- title, icon, events
    	torturethread	Simple test for thread creation/destruction
    	controllermap   Useful to generate Game Controller API compatible maps
    
    
    
    This directory contains sample.wav, which is a sample from Will Provost's
    song, The Living Proof:
    
         From the album The Living Proof
         Publisher: 5 Guys Named Will
         Copyright 1996 Will Provost
    
    You can get a copy of the full song (and album!) from iTunes...
    
        https://itunes.apple.com/us/album/the-living-proof/id4153978
    
    or Amazon...
    
        http://www.amazon.com/The-Living-Proof-Will-Provost/dp/B00004R8RH
    
    Thanks to Will for permitting us to distribute this sample with SDL!