CVSROOT: /cvs Module name: xenocara Changes by: j...@cvs.openbsd.org 2015/02/22 02:30:34
Modified files: lib/libGL/dri/r300g: Makefile lib/libGL/dri/r600g: Makefile lib/libGL/dri/radeonsi: Makefile lib/libGL/dri/swrastg: Makefile dist/Mesa/src/gallium/auxiliary/os: os_misc.c os_misc.h dist/Mesa/src/gallium/docs/source: screen.rst dist/Mesa/src/gallium/drivers/llvmpipe: lp_screen.c dist/Mesa/src/gallium/drivers/r300: r300_screen.c dist/Mesa/src/gallium/drivers/r600: r600_pipe.c dist/Mesa/src/gallium/drivers/radeonsi: si_pipe.c dist/Mesa/src/gallium/drivers/softpipe: sp_screen.c dist/Mesa/src/gallium/include/pipe: p_defines.h dist/Mesa/src/gallium/state_trackers/dri/drm: dri2.c dist/Mesa/src/gallium/state_trackers/dri/sw: drisw.c dist/Mesa/src/glx: dri2_query_renderer.c drisw_glx.c dist/Mesa/src/mesa/drivers/dri/common: utils.c dist/Mesa/src/mesa/drivers/dri/i915: intel_screen.c dist/Mesa/src/mesa/drivers/dri/i965: intel_screen.c dist/Mesa/src/mesa/drivers/dri/radeon: radeon_common_context.c radeon_common_context.h radeon_screen.c radeon_screen.h dist/Mesa/src/mesa/drivers/dri/swrast: swrast.c Added files: dist/Mesa/src/gallium/state_trackers/dri: dri_query_renderer.c dri_query_renderer.h dist/Mesa/src/glx: drisw_priv.h Log message: Backport support for GLX_MESA_query_renderer for non Intel drivers. This is desirable as the chromium port now uses this extension to obtain pci vendor/device ids for use in feature/extension blacklists. Prompted by a mail from byrnet@, tested on r600g by krw@ The newly added os_get_total_physical_memory() was passing the length of a pointer rather than the type which made the sysctl call fail on non 64 bit archs. And it was passing the wrong pointer for the result. Fixes for these problems have been submitted back upstream.