da0981dca2
Fixed Gallium glDrawPixels(GL_DEPTH_COMPONENT). Fixed Gallium Cell driver to buildable, runable state Fixed bad error checking for glFramebufferRenderbuffer(attachment=GL_DEPTH_STENCIL_ATTACHMENT). Fixed incorrect Z coordinate handling in "meta" glDraw/CopyPixels. Bug #23670. Assorted i965 driver fixes. Including but not limited to: Fix scissoring when width or height is 0. Bug #27643. Fix bit allocation for number of color regions for ARB_draw_buffers. Set the correct provoking vertex for clipped first-mode trifans. Bug #24470. Use R16G16B16A16_FLOAT for 3-component half-float. Fix assertion for surface tile offset usage on Ironlake. Fix cube map layouts on Ironlake. When an RB gets a new region, clear the old from the state cache. Bug #24119. Reject shaders with uninlined function calls instead of hanging. Assorted i915 driver fixes. Including but not limited to: Fixed texture LOD clamping in i915 driver. Bug #24846. Fix off-by-one for drawing rectangle. Bug #27408. Fixed hangs in etracer on 830 and 845 chipsets. Bug #26557. Fixed tiling of small textures on all Intel drivers. Fixed crash in Savage driver when using _mesa_CopyTexImage2D. Bug #27652. Assorted GLX fixes. Including but not limited to: Fixed __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig tags. Fixed regression with GLX_USE_GL. Fixed config chooser logic for 'mask' matching. Report swap events correctly in direct rendered case (DRI2) Fixed build with dri2proto which doesn't define X_DRI2SwapInterval. Get GLX_SCREEN first in __glXQueryContextInfo. Bug #14245. Assorted GLSL fixes. Including but not limited to: Change variable declared assertion into conditional in GLSL compiler. Bug #27921. Fix instruction indexing bugs. Bug #27566. Updated uniform location / offset encoding to be more like other implementations. Don't overwrite a driver's shader infolog with generic failure message. Fixed OSMesa build for 16 and 32-bit color channel depth. Fixed OSMesa build with hidden symbol visibility. libOSMesa no longer links to libGL. Bug #28305. Fixed handling of multiple render targets in fixed-function texture envrionmnent programs. Fixed conversion errors in signed_rgba8888[rev] texel fetch. Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets. Various build fixes for OpenBSD. Various build fixes for OS X. Various build fixes for GCC 3.3. Fix incorrect enums for GLX_INTEL_swap_event by updating glxext.h to version 27 from OpenGL.org. Fix compilation errors on non-GLX_DIRECT_RENDERING builds. Various fixes for building Mesa on OS X. Pass GLX drawable ID to dri2InvalidateBuffers. Fixes bug #27190.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2010/08/18 10:27:27 pallegra Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gl
|
|
PKG_SUPPORTED_OPTIONS=
|
|
|
|
###
|
|
### XXX There are [probably] others, but let's not get crazy just yet.
|
|
### This will take a while to test for the myriad platforms we
|
|
### support.
|
|
###
|
|
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
|
|
${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc" || \
|
|
${MACHINE_ARCH} == "sparc64") && \
|
|
((${OPSYS} == "NetBSD" && ${X11_TYPE} == "modular") || \
|
|
${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \
|
|
${OPSYS} == "DragonFly" || ${OPSYS} == "Linux")
|
|
PKG_SUPPORTED_OPTIONS+= dri
|
|
.endif
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9]*-*86*) && ${X11_TYPE} == "modular"
|
|
PKG_SUGGESTED_OPTIONS+= dri
|
|
.endif
|
|
|
|
.if ${OPSYS} == "DragonFly"
|
|
PKG_SUGGESTED_OPTIONS+= dri
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
PLIST_VARS+= nodri
|
|
|
|
# XXX asm
|
|
CONFIGURE_ARGS+= --disable-asm
|
|
|
|
.if !empty(PKG_OPTIONS:Mdri)
|
|
CONFIGURE_ARGS+= --with-driver=dri
|
|
. include "dri.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-driver=xlib
|
|
MAKE_JOBS_SAFE= no
|
|
PLIST.nodri= yes
|
|
INSTALL_TARGET+= install-osmesa
|
|
.endif
|