Summary: | Enable mesa to be built for Cygwin -with-driver=dri | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jon Turney <jon.turney> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Cygwin | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 29460 | ||
Bug Blocks: | |||
Attachments: |
Make XF86VIDMODE extension optional
Don't require LIBDRM on Cygwin, and build with GLX_INDIRECT_RENDERING only Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build Make XF86VIDMODE extension optional Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build Don't require LIBDRM on Cygwin, and build with GLX_INDIRECT_RENDERING only Add cygwin platform-specific settings for building -with-driver=dri Fix compilation without xf86vidmode extension |
Description
Jon Turney
2010-04-26 10:34:51 UTC
Created attachment 35294 [details] [review] Make XF86VIDMODE extension optional Created attachment 35295 [details] [review] Don't require LIBDRM on Cygwin, and build with GLX_INDIRECT_RENDERING only Created attachment 35296 [details] [review] Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build Created attachment 37723 [details] [review] Make XF86VIDMODE extension optional Created attachment 37724 [details] [review] Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build Created attachment 37725 [details] [review] Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build Created attachment 37726 [details] [review] Don't require LIBDRM on Cygwin, and build with GLX_INDIRECT_RENDERING only Updated for git master The following changes since commit 2cad5350f9691d4d2c18a637548735925fa0ee97: r600g: fix some warnings (2010-08-09 15:00:19 +0200) are available in the git repository at: git://anongit.freedesktop.org/~jturney/mesa cygwin-dri-build Jon TURNEY (3): Make XF86VIDMODE extension optional Cygwin: Enable mesa to be built for Cygwin -with-driver=dri with indirect rendering only Make DRI2PROTO optional in a GLX_INDIRECT_RENDERING only build configs/autoconf.in | 2 ++ configure.ac | 45 ++++++++++++++++++++++++++++++++++++++++----- src/glx/Makefile | 6 +++++- src/glx/glxcmds.c | 2 ++ src/glx/glxext.c | 3 +++ 5 files changed, 52 insertions(+), 6 deletions(-) Created attachment 38479 [details] [review] Add cygwin platform-specific settings for building -with-driver=dri Updated based on the much simpler approach taken in bug #29640 oops typo, I meant bug #29460 I removed the dri2proto.h include, no longer necessary and pulled the xf86vidmode patch. Not sure what you want to do for configure.ac, can you post the complete patch you'd like to use? (In reply to comment #11) > I removed the dri2proto.h include, no longer necessary and pulled the > xf86vidmode patch. Not sure what you want to do for configure.ac, can you post > the complete patch you'd like to use? I think I really would like the patch in attachment 38479 [details] [review] on top of the patches in bug #29460. That does seem to be the best way to do things to me. I've built a new git branch with the changes at git://anongit.freedesktop.org/~jturney/mesa nodrm-build-fixes Created attachment 38525 [details] [review] Fix compilation without xf86vidmode extension (In reply to comment #11) > pulled the xf86vidmode patch. This seems to have rusted a little bit. I think the attached patch is also needed to compile now without xf86vidmode. Patch to make --disable-driglx-direct the default on Cygwin applied as commit c6e33ca285f9eba26cae2fdd74fb5cc694f1e74b (In reply to comment #13) > Created an attachment (id=38525) [details] > Fix compilation without xf86vidmode extension > > (In reply to comment #11) > > pulled the xf86vidmode patch. > > This seems to have rusted a little bit. I think the attached patch is also > needed to compile now without xf86vidmode. Fixed differently by commit 57d3f71132a59315d47c42a110228a523f9ea23d |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.