mesa.git
8 years agoClean up .gitignore files
Matt Turner [Mon, 10 Sep 2012 21:31:05 +0000 (14:31 -0700)]
Clean up .gitignore files

8 years agoRemove MESA_PIC_FLAGS macro
Matt Turner [Thu, 6 Sep 2012 03:41:08 +0000 (20:41 -0700)]
Remove MESA_PIC_FLAGS macro

8 years agoRemove installmesa
Matt Turner [Thu, 6 Sep 2012 03:39:11 +0000 (20:39 -0700)]
Remove installmesa

8 years agoRemove minstall
Matt Turner [Thu, 6 Sep 2012 03:38:44 +0000 (20:38 -0700)]
Remove minstall

8 years agoRemove checking for makedepend
Matt Turner [Thu, 6 Sep 2012 03:37:15 +0000 (20:37 -0700)]
Remove checking for makedepend

8 years agoRemove gallium's unused Makefile.template
Matt Turner [Thu, 6 Sep 2012 03:35:59 +0000 (20:35 -0700)]
Remove gallium's unused Makefile.template

8 years agoRemove gbm's unused Makefile.template
Matt Turner [Thu, 6 Sep 2012 03:35:41 +0000 (20:35 -0700)]
Remove gbm's unused Makefile.template

8 years agoRemove gallium targets' Makefile.{dri,vdpau,xorg,xvmc}
Matt Turner [Thu, 6 Sep 2012 03:34:53 +0000 (20:34 -0700)]
Remove gallium targets' Makefile.{dri,vdpau,xorg,xvmc}

8 years agoRemove mklib
Matt Turner [Thu, 6 Sep 2012 03:33:11 +0000 (20:33 -0700)]
Remove mklib

8 years agoRemove unused glsl Makefile.template
Matt Turner [Thu, 6 Sep 2012 03:31:57 +0000 (20:31 -0700)]
Remove unused glsl Makefile.template

8 years agoRemove configs/{current,default}
Matt Turner [Thu, 6 Sep 2012 03:29:20 +0000 (20:29 -0700)]
Remove configs/{current,default}

8 years agogallium/tests/unit: Convert to automake
Andreas Boll [Tue, 27 Nov 2012 18:18:25 +0000 (19:18 +0100)]
gallium/tests/unit: Convert to automake

8 years agogallium/tests/trivial: Convert to automake
Andreas Boll [Mon, 26 Nov 2012 18:58:12 +0000 (19:58 +0100)]
gallium/tests/trivial: Convert to automake

8 years agotargets/pipe-loader: Convert to automake
Matt Turner [Thu, 13 Sep 2012 17:45:01 +0000 (10:45 -0700)]
targets/pipe-loader: Convert to automake

C++ linking (controlled by the nodist_EXTRA idiom) is needed

unconditionally for:
nouveau (uses C++ in the driver)
r300 (since LLVM is always required)
radeonsi (since LLVM is always required)
swrast (if builting LLVM pipe)

and conditionally (depends whether LLVM is enabled) for
i915
r600
vmwgfx

and never needed for swrast (softpipe).

Unfortunately, automake seems to *always* link with C++ if nodist_EXTRA
is specified, even inside a false conditional. Not sure if this is a
bug, but it does seem to be weird behavior.

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

v3: Johannes Obermayr <johannesobermayr@gmx.de>
    - Install pipe_* to $(libdir)/gallium-pipe.

v4: Johannes Obermayr <johannesobermayr@gmx.de>
    - Build it only once on --enable-gallium-gbm / --enable-opencl.

8 years agotargets/gbm: Convert to automake
Matt Turner [Thu, 13 Sep 2012 17:10:14 +0000 (10:10 -0700)]
targets/gbm: Convert to automake

8 years agotargets/egl-static: Convert to automake
Matt Turner [Mon, 10 Sep 2012 18:21:26 +0000 (11:21 -0700)]
targets/egl-static: Convert to automake

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

v3: Johannes Obermayr <johannesobermayr@gmx.de>
    - Fix linking.

v4: Andreas Boll <andreas.boll.dev@gmail.com>
    - Port changes from ff574d653b0731a324fd30324b0f211502219abf
  gallium/egl-static: Fix unresolved symbol 'clock_gettime'

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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.

8 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.

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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.

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

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

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

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

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

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

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

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

8 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

8 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

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

8 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

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

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

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

8 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

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

8 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

8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>