1. 22 Feb, 2019 1 commit
  2. 13 Dec, 2017 1 commit
    • Jon Turney's avatar
      meson: Add dependency on generated code fragments in hw/xwin/glx/ · 3265d0c8
      Jon Turney authored and Adam Jackson's avatar Adam Jackson committed
      Somehow I'd managed to write this with this dependency missing, so this only
      works correctly when the generated files already exist and the correct
      automatic dependencies generated, but fails on a clean build.
      Including generated files with a .c extension into the sources for a target
      causes meson to want to compile them (and it seems to be hard to say "make
      the directory containing this generated file available to include").
      So, change the extension of included generated C fragments to .ic
      Update the autotools build to align.
      Signed-off-by: Jon Turney's avatarJon Turney <jon.turney@dronecode.org.uk>
  3. 22 Aug, 2017 1 commit
  4. 15 Sep, 2016 1 commit
    • Jon Turney's avatar
      Add Windows-DRI extension · f5f4d32a
      Jon Turney authored
      If windowsdriproto headers are available, build a Windows-DRI extension,
      which supports requests to enable local clients to directly render GL to a
      Windows drawable:
      - a query to check if WGL is being used on a screen
      - a query to map a fbconfigID to a native pixelformatindex
      - a query to map a drawable to a native handle
      Windows-DRI can only be useful if we are using WGL, so make an note if WGL
      is active on a screen.
      Make validGlxDrawable() public
      Adjust glxWinSetPixelFormat() so it doesn't require a context, just a
      screen and config.
      That enables factoring out the deferred drawable creation code as
      Enhance glxWinDeferredCreateDrawable(), so that pixmaps are placed into a
      file mapping, so they exist in memory which can be shared with the direct
      rendering process.
      Currently, this file mapping is accessed by a name generated from the XID.
      This will not be unique across multiple server instances. It would perhaps
      be better, although more complicated, to use an anonymous file mapping, and
      then duplicate the handle for the direct rendering process.
      Use glxWinDeferredCreateDrawable() to ensure the native handle exists for
      the Windows-DRI query to map a drawable to native handle.
      Various printf format warning fixes
      Fix format warnings on x86
      Move some uninteresting windows-dri output to debug log level
      check for windowsdriproto when  --enable-windowsdri
      use windowsdriproto_CFLAGS
      Signed-off-by: Jon Turney's avatarJon Turney <jon.turney@dronecode.org.uk>
      Reviewed-by: default avatarColin Harrison <colin.harrison@virgin.net>
  5. 10 Dec, 2013 1 commit
    • Jon Turney's avatar
      hw/xwin/glx: Rewrite WGL wrappers after Xserver conversion to direct GL dispatch · 9a4d7572
      Jon Turney authored
      v1: Rewrite by Marc Haesen of the WGL wrapper function generation script to use
      Khronos group XML.
      v2: Remove -dispatchheader option, since dispatch.h doesn't exist anymore, use
      the private glapi interface to construct the GL dispatch table for the native
      WGL thunks.
      Rewrite to generate shims for the OpenGL 1.2.1 (GL 1.2 + GL_ARB_imaging
      +GL_ARB_multitexture + GL_ARB_texture_compression(?)) functions the server links
      directly with rather than libGL.
      These shims dispatch to either the mesa GL DLL, or a thunking DLL containing
      cdecl-to-stcall wrapper functions for the native GL DLL.
      Signed-off-by: Jon Turney's avatarJon TURNEY <jon.turney@dronecode.org.uk>
      Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
  6. 06 Aug, 2013 1 commit
  7. 23 Jul, 2013 1 commit
  8. 11 Oct, 2012 1 commit
  9. 04 May, 2012 1 commit
  10. 07 Jul, 2011 1 commit
  11. 28 Apr, 2011 2 commits
  12. 26 Feb, 2011 1 commit
    • Keith Packard's avatar
      hw/xwin: Look for gl spec files in $(srcdir) or . · fd4d9c75
      Keith Packard authored
      Tarballs include the downloaded gl spec files, which will end up in
      $(srcdir). But, git-based builds will not have them at all and will
      need to download them from opengl.org. They'll land in in the build
      directory instead of $(srcdir), and so we need to allow them to be in
      either place.
      This change checks for the files in $(srcdir), linking them to . if
      present. Otherwise, it downloads them from opengl.org.
      A suggested better solution is to have Mesa install these files somewhere.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Tested-by: default avatarKristian Høgsberg <krh@bitplanet.net>
  13. 20 May, 2010 2 commits
  14. 28 Apr, 2010 1 commit