summaryrefslogtreecommitdiffstats
path: root/third_party/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Made OSMesa shared library position independent on linux.apatrick@chromium.org2010-11-031-0/+5
| | | | | | | | | | | | | | This is an attempt to fix this valgrind error: http://build.chromium.org/p/chromium.memory/builders/Linux%20Tests%20(valgrind)(2)/builds/210/steps/memory%20test:%20ui_1/logs/stdio It appears mmap might have been trying to map libosmesa.so to a fixed address. TEST=try BUG=61601 Review URL: http://codereview.chromium.org/4318005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64941 0039d316-1c4b-4281-b951-d872f2087c98
* ui_tests run with --use-gl=osmesa so they use the OSMesa software renderer ↵apatrick@chromium.org2010-10-271-5/+0
| | | | | | | | | | | | | for GL. This to ensure that ui_tests run consistently regardless of the GPU capabilities, or absense, of the box they run on. TEST=try BUG=none Review URL: http://codereview.chromium.org/4138003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64122 0039d316-1c4b-4281-b951-d872f2087c98
* Re-add disabling of optimization in s_texcombine.c on Windows lostkbr@chromium.org2010-10-267-4/+105
| | | | | | | | | | | | | | during Mesa 7.9 upgrade. Also necessarily disabled optimizations in src/mesa/main/image.c, src/mesa/main/mipmap.c, src/mesa/main/histogram.c, and src/mesa/math/m_eval.c. Updated README.chromium and chromium.patch. BUG=none TEST=none (built Mesa in Release mode on Windows) Review URL: http://codereview.chromium.org/4137004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63912 0039d316-1c4b-4281-b951-d872f2087c98
* Upgraded Mesa to 7.9 from 7.7 in order to pick up bug fixes to thekbr@chromium.org2010-10-253531-398975/+570984
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shader compiler which were causing WebGL test timeouts per https://bugs.webkit.org/show_bug.cgi?id=47243 . Version 7.8.2 was too buggy to use. This upgrade required the incorporation of the talloc library, which is only compiled in to the OSMesa shared object produced by third_party/mesa/mesa.gyp and not into the rest of Chromium. Upgraded mesa.gyp for the new source directories and files in Mesa 7.9. Applied the changes originally documented in third_party/mesa/README.chromium to the 7.9 sources. Made other necessary changes to Mesa and talloc to be able to build and run them on Windows and Mac OS X. Created chromium.patch files for both Mesa and talloc. Fixed chrome/gpu/gpu_main.cc to honor the --use-gl command line option on Linux. Tested on Linux in Chromium with CSS 3D content and --use-gl=osmesa as well as in DumpRenderTree and verified that the affected WebGL tests no longer hang. Tested on Windows in Chromium with WebGL content and --use-gl=osmesa. Tested on Mac OS X in test_shell with WebGL content. This job was explicitly not sent to the try bots because it would probably kill them. The files in this CL are a small subset of the files being committed. The patch is too large to upload to Rietveld. BUG=none TEST=none Review URL: http://codereview.chromium.org/4107001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63795 0039d316-1c4b-4281-b951-d872f2087c98
* I added FreeBSD-generated config files for libevent and tcmalloc, along with ↵pvalchev@chromium.org2010-10-041-1/+1
| | | | | | | | some remaining gyp file tweaks. Review URL: http://codereview.chromium.org/3423021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61433 0039d316-1c4b-4281-b951-d872f2087c98
* Move us closer to passing the license check script.phajdan.jr@chromium.org2010-08-301-0/+1
| | | | | | | | TEST=none BUG=28291 Review URL: http://codereview.chromium.org/3245008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57895 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed compilation errors for Windows multi-DLL build.apatrick@chromium.org2010-07-272-1/+8
| | | | | | | | | TEST=try BUG=none Review URL: http://codereview.chromium.org/2856063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53813 0039d316-1c4b-4281-b951-d872f2087c98
* Build OSMesa as a loadable_module so chrome does not link against it.apatrick@chromium.org2010-07-151-1/+11
| | | | | | | | | | | Build Mesa with -fPIC flag on linux so it can be linked into a shared library. TEST=try BUG=none Review URL: http://codereview.chromium.org/2975016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52542 0039d316-1c4b-4281-b951-d872f2087c98
* Added --use-gl command line flag to select GL implementation.apatrick@chromium.org2010-07-142-6/+15
| | | | | | | | | | | | - Options are desktop, egl and osmesa. - Also added support for bliting an OSMesa bask buffer to a GDK window. TEST=trybots, manual verification that WebGL and Pepper 3D work BUG=45898 Review URL: http://codereview.chromium.org/2825005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52388 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled a pragma in gl.h that gcc does not support.apatrick@chromium.org2010-06-072-3/+10
| | | | | | | | | | | Fixes a warning treated as error issue when building chromium code that includes gl.h. TEST=try BUG=none Review URL: http://codereview.chromium.org/2722001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49120 0039d316-1c4b-4281-b951-d872f2087c98
* Removed Mesa EGL and GLES2 headers.apatrick@chromium.org2010-06-078-1695/+10
| | | | | | | | | | | | | | | | They conflict with our command buffer based GLES2 headers. Also changed these typedefs to be compliant with the regular OpenGL definitions: typedef signed long int GLintptr; typedef signed long int GLsizeiptr; TEST=try BUG=none Review URL: http://codereview.chromium.org/2663008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49109 0039d316-1c4b-4281-b951-d872f2087c98
* Disable optimization for s_texcombine.c because it takesnsylvain@chromium.org2010-06-012-1/+5
| | | | | | | | ~20 minutes to build on Chromium XP. Review URL: http://codereview.chromium.org/2460002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48648 0039d316-1c4b-4281-b951-d872f2087c98
* Windows OSMesa DLL only exports OSMesa functions.apatrick@chromium.org2010-04-263-6/+4
| | | | | | | | | | | | It no longer exports all the GL functions like glClear. These are bound by calling OSMesaGetProcAddress. glew no longer uses default mangled export name bind to OSMesaGetProcAddress. TEST=trybots, check the pepper 3d plugin demos still work on windows BUG=none Review URL: http://codereview.chromium.org/1743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45618 0039d316-1c4b-4281-b951-d872f2087c98
* Corrected inconsistent newlines in third_party/mesa/mesa.gyp.apatrick@chromium.org2010-04-221-411/+411
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1689008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45350 0039d316-1c4b-4281-b951-d872f2087c98
* Windows bots build and use OSMesaapatrick@chromium.org2010-04-211-0/+451
| | | | | | | | | | | This is a software GL renderer that can be used by bots that do not have access to native GL. It will be used for running tests that use GL, such as Pepper 3D, WebGL and accelerated compositing. Only working on Windows so far. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/1740001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45241 0039d316-1c4b-4281-b951-d872f2087c98
* Added MesaLib to third_party.apatrick@chromium.org2010-04-203268-0/+1213720
This changelist contains MesaLib 7.7 from ftp://ftp.freedesktop.org/pub/mesa/7.7/MesaLib-7.7.zip . It is 37MB (4920 files) in total. I only uploaded a fraction to show the layout. The only change I made was to add the file README.chromium. For a description of Mesa, see http://www.mesa3d.org/. I'm going to use Mesa to run Pepper 3D and possibly WebGL and GPU accelerated compositing tests on the bots using its offscreen 3D software renderer. TEST=none, MesaLib is not currently a dependency of any other targets BUG=none Review URL: http://codereview.chromium.org/1661001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45089 0039d316-1c4b-4281-b951-d872f2087c98