mesa.git
11 years agotargets/xa-vmwgfx: Convert to automake
Matt Turner [Fri, 7 Sep 2012 22:24:24 +0000 (15:24 -0700)]
targets/xa-vmwgfx: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xvmc-softpipe: Convert to automake
Matt Turner [Fri, 7 Sep 2012 21:03:27 +0000 (14:03 -0700)]
targets/xvmc-softpipe: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - add missing xvmc state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xvmc-r600: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:56:04 +0000 (13:56 -0700)]
targets/xvmc-r600: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing xvmc state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xvmc-r300: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:53:51 +0000 (13:53 -0700)]
targets/xvmc-r300: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing xvmc state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xvmc-nouveau: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:50:43 +0000 (13:50 -0700)]
targets/xvmc-nouveau: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing xvmc state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agobuild: AC_SUBST XVMC_MAJOR/MINOR
Matt Turner [Sat, 8 Sep 2012 03:47:04 +0000 (20:47 -0700)]
build: AC_SUBST XVMC_MAJOR/MINOR

11 years agotargets/xorg-radeonsi: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:25:59 +0000 (13:25 -0700)]
targets/xorg-radeonsi: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xorg-r600: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:23:50 +0000 (13:23 -0700)]
targets/xorg-r600: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xorg-r300: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:21:58 +0000 (13:21 -0700)]
targets/xorg-r300: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xorg-nouveau: Convert to automake
Matt Turner [Fri, 7 Sep 2012 20:19:45 +0000 (13:19 -0700)]
targets/xorg-nouveau: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/xorg-i915: Convert to automake
Matt Turner [Thu, 6 Sep 2012 23:56:06 +0000 (16:56 -0700)]
targets/xorg-i915: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/vdpau-softpipe: Convert to automake
Matt Turner [Wed, 5 Sep 2012 23:52:41 +0000 (16:52 -0700)]
targets/vdpau-softpipe: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing vdpau state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/vdpau-radeonsi: Convert to automake
Matt Turner [Wed, 5 Sep 2012 23:28:35 +0000 (16:28 -0700)]
targets/vdpau-radeonsi: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing vdpau state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/vdpau-r600: Convert to automake
Matt Turner [Wed, 5 Sep 2012 23:12:49 +0000 (16:12 -0700)]
targets/vdpau-r600: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing vdpau state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/vdpau-r300: Convert to automake
Matt Turner [Wed, 5 Sep 2012 22:59:54 +0000 (15:59 -0700)]
targets/vdpau-r300: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing vdpau state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/vdpau-nouveau: Convert to automake
Matt Turner [Wed, 5 Sep 2012 22:55:49 +0000 (15:55 -0700)]
targets/vdpau-nouveau: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Add missing vdpau state tracker to _LIBADD variable

v3: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agobuild: AC_SUBST VDPAU_MAJOR/MINOR
Matt Turner [Thu, 6 Sep 2012 00:06:16 +0000 (17:06 -0700)]
build: AC_SUBST VDPAU_MAJOR/MINOR

11 years agotargets/libgl-xlib: Convert to automake
Matt Turner [Wed, 5 Sep 2012 22:19:30 +0000 (15:19 -0700)]
targets/libgl-xlib: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-vmwgfx: Convert to automake
Matt Turner [Wed, 5 Sep 2012 18:19:11 +0000 (11:19 -0700)]
targets/dri-vmwgfx: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-swrast: Convert to automake
Matt Turner [Wed, 5 Sep 2012 18:17:33 +0000 (11:17 -0700)]
targets/dri-swrast: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-radeonsi: Convert to automake
Matt Turner [Wed, 5 Sep 2012 18:14:51 +0000 (11:14 -0700)]
targets/dri-radeonsi: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-r600: Convert to automake
Matt Turner [Wed, 5 Sep 2012 18:12:29 +0000 (11:12 -0700)]
targets/dri-r600: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-r300: Convert to automake
Matt Turner [Wed, 5 Sep 2012 18:09:53 +0000 (11:09 -0700)]
targets/dri-r300: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-nouveau: Convert to automake
Matt Turner [Wed, 5 Sep 2012 18:07:30 +0000 (11:07 -0700)]
targets/dri-nouveau: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agotargets/dri-i915: Convert to automake
Matt Turner [Wed, 5 Sep 2012 04:26:39 +0000 (21:26 -0700)]
targets/dri-i915: Convert to automake

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - Provide compatibility with scripts for the old Mesa build system

11 years agobuild: Update drivers/Makefile.am to use LTLIBRARIES
Matt Turner [Wed, 5 Sep 2012 04:57:28 +0000 (21:57 -0700)]
build: Update drivers/Makefile.am to use LTLIBRARIES

11 years agostate_trackers/xvmc/test: Convert to automake
Matt Turner [Wed, 5 Sep 2012 04:16:04 +0000 (21:16 -0700)]
state_trackers/xvmc/test: Convert to automake

11 years agostate_trackers/xvmc: Convert to automake
Matt Turner [Wed, 5 Sep 2012 04:08:19 +0000 (21:08 -0700)]
state_trackers/xvmc: Convert to automake

11 years agoRemove xvmc hack
Matt Turner [Wed, 5 Sep 2012 04:08:19 +0000 (21:08 -0700)]
Remove xvmc hack

11 years agostate_trackers/xorg: Convert to automake
Matt Turner [Wed, 5 Sep 2012 03:59:34 +0000 (20:59 -0700)]
state_trackers/xorg: Convert to automake

11 years agostate_trackers/xa: Convert to automake
Matt Turner [Tue, 4 Sep 2012 22:17:11 +0000 (15:17 -0700)]
state_trackers/xa: Convert to automake

11 years agostate_trackers/vega: Convert to automake
Matt Turner [Tue, 4 Sep 2012 20:24:33 +0000 (13:24 -0700)]
state_trackers/vega: Convert to automake

11 years agostate_trackers/vdpau: Convert to automake
Matt Turner [Tue, 4 Sep 2012 20:13:51 +0000 (13:13 -0700)]
state_trackers/vdpau: Convert to automake

11 years agoRemove vdpau hack
Matt Turner [Tue, 4 Sep 2012 20:13:51 +0000 (13:13 -0700)]
Remove vdpau hack

11 years agostate_trackers/glx: Convert to automake
Matt Turner [Tue, 4 Sep 2012 18:51:36 +0000 (11:51 -0700)]
state_trackers/glx: Convert to automake

11 years agostate_trackers/gbm: Convert to automake
Matt Turner [Tue, 4 Sep 2012 18:41:22 +0000 (11:41 -0700)]
state_trackers/gbm: Convert to automake

11 years agostate_trackers/egl: Convert to automake
Matt Turner [Sat, 1 Sep 2012 00:11:35 +0000 (17:11 -0700)]
state_trackers/egl: Convert to automake

11 years agostate_trackers: Convert to automake
Matt Turner [Fri, 31 Aug 2012 22:45:07 +0000 (15:45 -0700)]
state_trackers: Convert to automake

11 years agoRemove state_tracker/Makefile
Matt Turner [Fri, 31 Aug 2012 22:40:51 +0000 (15:40 -0700)]
Remove state_tracker/Makefile

Unneeded and unnecessary.

11 years agobuild: Don't build pipebuffer
Matt Turner [Fri, 31 Aug 2012 17:51:53 +0000 (10:51 -0700)]
build: Don't build pipebuffer

It's already built by src/gallium/auxiliary.

11 years agoradeon/llvm: Convert to Automake
Tom Stellard [Thu, 30 Aug 2012 16:55:29 +0000 (12:55 -0400)]
radeon/llvm: Convert to Automake

v2: Johannes Obermayr <johannesobermayr@gmx.de>
    Fix some undefined symbols.

v3: Johannes Obermayr <johannesobermayr@gmx.de>
    Build it -shared to fix egl_gallium.so on r600/radeonsi builds.

11 years agobuild: Add automake conditionals for gallium drivers
Matt Turner [Sat, 8 Sep 2012 04:04:44 +0000 (21:04 -0700)]
build: Add automake conditionals for gallium drivers

11 years agostate_trackers/dri/sw: Convert to automake
Matt Turner [Thu, 30 Aug 2012 03:46:02 +0000 (20:46 -0700)]
state_trackers/dri/sw: Convert to automake

11 years agostate_trackers/dri/drm: Convert to automake
Matt Turner [Thu, 30 Aug 2012 03:34:39 +0000 (20:34 -0700)]
state_trackers/dri/drm: Convert to automake

11 years agostate_trackers/dri: Convert to automake
Matt Turner [Thu, 30 Aug 2012 03:30:22 +0000 (20:30 -0700)]
state_trackers/dri: Convert to automake

11 years agowinsys/sw/xlib: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:51:40 +0000 (15:51 -0700)]
winsys/sw/xlib: Convert to automake

11 years agowinsys/sw/wrapper: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:46:57 +0000 (15:46 -0700)]
winsys/sw/wrapper: Convert to automake

11 years agowinsys/sw/wayland: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:44:25 +0000 (15:44 -0700)]
winsys/sw/wayland: Convert to automake

11 years agowinsys/sw/null: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:32:43 +0000 (15:32 -0700)]
winsys/sw/null: Convert to automake

11 years agowinsys/sw/fbdev: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:28:45 +0000 (15:28 -0700)]
winsys/sw/fbdev: Convert to automake

11 years agowinsys/sw/dri: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:24:40 +0000 (15:24 -0700)]
winsys/sw/dri: Convert to automake

11 years agowinsys/sw: Convert to automake
Matt Turner [Wed, 29 Aug 2012 22:09:30 +0000 (15:09 -0700)]
winsys/sw: Convert to automake

11 years agosvga/winsys/drm: Convert to automake
Matt Turner [Wed, 29 Aug 2012 21:48:25 +0000 (14:48 -0700)]
svga/winsys/drm: Convert to automake

11 years agonouveau/winsys/drm: Convert to automake
Matt Turner [Wed, 29 Aug 2012 21:39:48 +0000 (14:39 -0700)]
nouveau/winsys/drm: Convert to automake

11 years agoradeonsi: Convert to automake
Matt Turner [Wed, 29 Aug 2012 21:29:08 +0000 (14:29 -0700)]
radeonsi: Convert to automake

Can't use LTLIBRARIES here yet, since libradeon isn't converted.

11 years agonvc0: Convert to automake
Matt Turner [Wed, 29 Aug 2012 21:14:58 +0000 (14:14 -0700)]
nvc0: Convert to automake

11 years agonv50: Convert to automake
Matt Turner [Wed, 29 Aug 2012 21:10:28 +0000 (14:10 -0700)]
nv50: Convert to automake

11 years agonv30: Convert to automake
Matt Turner [Wed, 29 Aug 2012 21:02:13 +0000 (14:02 -0700)]
nv30: Convert to automake

11 years agonouveau: Convert to automake
Matt Turner [Wed, 29 Aug 2012 19:33:57 +0000 (12:33 -0700)]
nouveau: Convert to automake

11 years agosvga: Convert to automake
Matt Turner [Wed, 29 Aug 2012 19:29:47 +0000 (12:29 -0700)]
svga: Convert to automake

11 years agosoftpipe: Convert to automake
Matt Turner [Wed, 29 Aug 2012 19:17:57 +0000 (12:17 -0700)]
softpipe: Convert to automake

11 years agollvmpipe: Convert to automake
Matt Turner [Wed, 29 Aug 2012 19:04:45 +0000 (12:04 -0700)]
llvmpipe: Convert to automake

11 years agorbug: Convert to automake
Matt Turner [Wed, 29 Aug 2012 18:42:45 +0000 (11:42 -0700)]
rbug: Convert to automake

11 years agoi915/winsys/sw: Convert to automake
Matt Turner [Wed, 29 Aug 2012 17:53:46 +0000 (10:53 -0700)]
i915/winsys/sw: Convert to automake

11 years agoi915/winsys/drm: Convert to automake
Matt Turner [Wed, 29 Aug 2012 17:37:07 +0000 (10:37 -0700)]
i915/winsys/drm: Convert to automake

11 years agoi915g: Convert to automake
Matt Turner [Wed, 29 Aug 2012 17:31:29 +0000 (10:31 -0700)]
i915g: Convert to automake

11 years agor600g: Use gallium automake include file
Matt Turner [Fri, 24 Aug 2012 19:05:30 +0000 (12:05 -0700)]
r600g: Use gallium automake include file

11 years agolibgallium: Convert to automake
Tom Stellard [Fri, 24 Aug 2012 18:48:32 +0000 (11:48 -0700)]
libgallium: Convert to automake

11 years agotrace: Convert to automake
Tom Stellard [Fri, 24 Aug 2012 18:46:32 +0000 (11:46 -0700)]
trace: Convert to automake

11 years agoradeon/winsys: Convert to automake
Tom Stellard [Fri, 24 Aug 2012 18:44:57 +0000 (11:44 -0700)]
radeon/winsys: Convert to automake

11 years agor300g: Link ralloc.c and register_allocate.c into separate library
Matt Turner [Mon, 10 Sep 2012 20:34:09 +0000 (13:34 -0700)]
r300g: Link ralloc.c and register_allocate.c into separate library

11 years agor300g: Build a libtool archive
Tom Stellard [Fri, 13 Jul 2012 17:33:11 +0000 (13:33 -0400)]
r300g: Build a libtool archive

11 years agor300g: Use gallium automake include file
Tom Stellard [Fri, 24 Aug 2012 18:42:35 +0000 (11:42 -0700)]
r300g: Use gallium automake include file

[mattst88] v2: Remove ARCH_FLAGS/OPT_FLAGS

11 years agogallium: Add common automake include file
Tom Stellard [Fri, 13 Jul 2012 17:33:09 +0000 (13:33 -0400)]
gallium: Add common automake include file

v2: Matt Turner <mattst88@gmail.com>
    Remove ARCH_FLAGS/OPT_FLAGS

v3: Johannes Obermayr <johannesobermayr@gmx.de>
    Add -I$(top_srcdir)/include to GALLIUM_CFLAGS

11 years agoautomake: Convert Gallium target and winsys
Matt Turner [Thu, 23 Aug 2012 22:55:53 +0000 (15:55 -0700)]
automake: Convert Gallium target and winsys

11 years agoegl/gbm: Implement EGL_EXT_buffer_age
Kristian Høgsberg [Fri, 14 Dec 2012 04:39:45 +0000 (23:39 -0500)]
egl/gbm: Implement EGL_EXT_buffer_age

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
11 years agomesa: Rename and wire-up GetInteger64i_v
Matt Turner [Tue, 20 Nov 2012 21:01:04 +0000 (13:01 -0800)]
mesa: Rename and wire-up GetInteger64i_v

The function was named badly and wasn't in the dispatch table,
making it hard to find.

Fixes transform_feedback2_states and gets a few other transform
feedback tests closer to working in es3conform.

Reviewed-by Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Correct glGet{Boolean,Integer}i_v names
Matt Turner [Tue, 20 Nov 2012 20:56:52 +0000 (12:56 -0800)]
mesa: Correct glGet{Boolean,Integer}i_v names

Reviewed-by Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow GL_DEPTH_STENCIL_ATTACHMENT in ES 3
Matt Turner [Fri, 16 Nov 2012 06:13:48 +0000 (22:13 -0800)]
mesa: Allow GL_DEPTH_STENCIL_ATTACHMENT in ES 3

Fixes framebuffer_srgb_default_encoding_fbo and 5 packed_depth_stencil
tests from es3conform.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
11 years agomesa: Support more glGet enums for ES3
Chad Versace [Wed, 21 Nov 2012 01:04:45 +0000 (17:04 -0800)]
mesa: Support more glGet enums for ES3

For glGetIntegerv, add support for the following in an OpenGL ES 3.0
context:
    GL_MAJOR_VERSION
    GL_MINOR_VERSION
    GL_NUM_EXTENSIONS

See Table 6.29 of the OpenGL ES 3.0 spec.

Fixes error GL_INVALID_ENUM in piglit egl-create-context-verify-gl-flavor,
testcase for OpenGL ES 3.0.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
11 years agomesa: Support querying GL_MAX_ELEMENT_INDEX in ES 3
Matt Turner [Sun, 9 Dec 2012 01:24:19 +0000 (17:24 -0800)]
mesa: Support querying GL_MAX_ELEMENT_INDEX in ES 3

The ES 3 spec says that the minumum allowable value is 2^24-1, but the
GL 4.3 and ARB_ES3_compatibility specs require 2^32-1, so return 2^32-1.

Fixes es3conform's element_index_uint_constants test.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: De-duplicate ES2 queries
Matt Turner [Sun, 9 Dec 2012 01:17:19 +0000 (17:17 -0800)]
mesa: De-duplicate ES2 queries

From GL/GLES/GL_CORE and GLES2 -> GL/GL_CORE/GLES2.

Yes, we really were exposing ES2_compatibility queries on ES 1.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on EXT_texture_lod_bias data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:10:50 +0000 (17:10 -0800)]
mesa: Allow glGet* queries on EXT_texture_lod_bias data in ES 3

Fixes the remaining 4 texture_lod_bias failures in es3conform.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on EXT_framebuffer_blit data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:04:42 +0000 (17:04 -0800)]
mesa: Allow glGet* queries on EXT_framebuffer_blit data in ES 3

Fixes 2 framebuffer_blit es3conform tests.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on ARB_fragment/vertex_shader data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:03:44 +0000 (17:03 -0800)]
mesa: Allow glGet* queries on ARB_fragment/vertex_shader data in ES 3

Fixes uniform_buffer_object_implementation_dependent_limits in
es3conform.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on ARB_framebuffer_object data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:02:26 +0000 (17:02 -0800)]
mesa: Allow glGet* queries on ARB_framebuffer_object data in ES 3

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on ARB_transform_feedback2 data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:01:42 +0000 (17:01 -0800)]
mesa: Allow glGet* queries on ARB_transform_feedback2 data in ES 3

Fixes the transform_feedback2_init_defaults test from es3conform.

The ES 3 spec lists these as TRANSFORM_FEEDBACK_PAUSED and
TRANSFORM_FEEDBACK_ACTIVE.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on EXT_transform_feedback data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:00:57 +0000 (17:00 -0800)]
mesa: Allow glGet* queries on EXT_transform_feedback data in ES 3

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries on ARB_sync data in ES 3
Matt Turner [Sun, 9 Dec 2012 01:00:17 +0000 (17:00 -0800)]
mesa: Allow glGet* queries on ARB_sync data in ES 3

Fixes the sync_coverage_max_server_wait_timeout test in es3conform.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries of EXT_pbo data in ES 3
Matt Turner [Sun, 9 Dec 2012 00:59:37 +0000 (16:59 -0800)]
mesa: Allow glGet* queries of EXT_pbo data in ES 3

Fixes pixel_buffer_object_default_binding and gets other tests in
es3conform closer to passing.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa: Allow glGet* queries of select ARB_ubo data in ES 3
Matt Turner [Sun, 9 Dec 2012 00:43:54 +0000 (16:43 -0800)]
mesa: Allow glGet* queries of select ARB_ubo data in ES 3

Fixes 5 uniform_buffer_object tests in es3conform.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agoAdd ES 3 handling to get.c and get_hash_generator.py
Matt Turner [Fri, 14 Dec 2012 22:22:28 +0000 (14:22 -0800)]
Add ES 3 handling to get.c and get_hash_generator.py

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agoglapi: Move ARB_base_instance to the correct location
Matt Turner [Wed, 28 Nov 2012 20:03:26 +0000 (12:03 -0800)]
glapi: Move ARB_base_instance to the correct location

It's #107, it shouldn't be added after the #116 comment.

Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa/tests: Add ARB_ES3_compatibility enums
Matt Turner [Thu, 29 Nov 2012 20:43:39 +0000 (12:43 -0800)]
mesa/tests: Add ARB_ES3_compatibility enums

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agoglapi: Add enums for ARB_ES3_compatibility
Matt Turner [Wed, 28 Nov 2012 20:12:09 +0000 (12:12 -0800)]
glapi: Add enums for ARB_ES3_compatibility

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
11 years agomesa/program: Fix both Classic and Gallium build
Quentin Glidic [Wed, 28 Nov 2012 15:33:47 +0000 (16:33 +0100)]
mesa/program: Fix both Classic and Gallium build

Follow-up for 907844107252260c646aca361191ef7f121f3d23 and
3a5ad21cd3f026579eeacc25b39513711556c7ee

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57044
Tested-by: Fabio Pedretti <fabio.ped@libero.it>
Tested-by: Brad King <brad.king@kitware.com>
11 years agoconfigure.ac: fix typo in error message
Andreas Boll [Tue, 27 Nov 2012 09:25:54 +0000 (10:25 +0100)]
configure.ac: fix typo in error message

11 years agor300g: don't set sample positions to the pixel center if MSAA is disabled
Marek Olšák [Thu, 10 Jan 2013 14:23:56 +0000 (15:23 +0100)]
r300g: don't set sample positions to the pixel center if MSAA is disabled

but an MSAA resource is bound. This effectively makes the MSAA disable switch
not affect rasterization, but it still affects the alpha-to-one and
alpha-to-coverage states. This hardware just lacks a proper MSAA disable
switch.

This fixes graphics corruption in sauerbraten.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59194

11 years agointel: Clean up confusion between logical and physical surface dimensions.
Paul Berry [Tue, 8 Jan 2013 21:30:46 +0000 (13:30 -0800)]
intel: Clean up confusion between logical and physical surface dimensions.

In most cases, the width, height, and depth of the physical surface
used by the driver to implement a texture or renderbuffer is equal to
the logical width, height, and depth exposed to the client through
functions such as glTexImage3D().  However, there are two exceptions:
cube maps (which have a physical depth of 6 but a logical depth of 1)
and multisampled renderbuffers (which have larger physical dimensions
than logical dimensions to allow multiple samples per pixel).

Previous to this patch, we accounted for the difference between
physical and logical surface dimensions at inconsistent places in the
call graph (multisampling was accounted for in
intel_miptree_create_for_renderbuffer(), and cubemaps were accounted
for in intel_miptree_create_internal()).  As a result, it wasn't
always clear, when calling a miptree creation function, whether
physical or logical dimensions were needed.  Also, we weren't
consistent about storing logical dimensions in the intel_mipmap_tree
structure (we only did so in the
intel_miptree_create_for_renderbuffer() code path, and we did not
store depth).

This patch refactors things so that intel_miptree_create_internal() is
responsible for converting logical to physical dimensions and for
storing both the physical and logical dimensions in the
intel_mipmap_tree structure.  As a result, all miptree creation
functions interpret their arguments as logical dimensions, and both
physical and logical dimensions are always available to functions that
work with intel_mipmap_trees.

In addition, it renames the fields in intel_mipmap_tree used to store
the dimensions, so that it is clear from the name whether physical or
logical dimensions are being referred to.

This should fix the following bugs:

- When creating a separate stencil surface for a depthstencil cubemap,
  we would erroneously try to convert the depth from 1 to 6 twice,
  resulting in an assertion failure.

- When creating an MCS buffer for compressed multisampling, we used
  physical dimensions instead of logical dimensions, resulting in
  wasted memory.

In addition, this should considerably simplify the implementation of
ARB_texture_multisample, because it moves the code to compute the
physical size of multisampled surfaces out of renderbuffer-only code.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
11 years agointel: Add a force_y_tiling parameter to intel_miptree_create().
Paul Berry [Tue, 8 Jan 2013 21:12:09 +0000 (13:12 -0800)]
intel: Add a force_y_tiling parameter to intel_miptree_create().

This allows intel_miptree_alloc_mcs() to force Y tiling for the MCS
buffer.  Previously we accomplished this by the hack of passing
INTEL_MSAA_LAYOUT_CMS as the msaa_layout parameter, but that parameter
is going to be going away soon.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>