summaryrefslogtreecommitdiffstats
path: root/third_party/mesa
Commit message (Collapse)AuthorAgeFilesLines
* clang: Let target 'mesa' build without warnings.thakis@chromium.org2012-04-031-1/+18
| | | | | | | | | | | | Suppress Wunused-value and Wconstant-conversion for the target. BUG=none TEST=`ninja all` output gets 43 lines shorter. NOTRY=true Review URL: http://codereview.chromium.org/9969116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130458 0039d316-1c4b-4281-b951-d872f2087c98
* iCleanup: Delete a bunch of empty directories, part 4.thestig@chromium.org2012-02-232-47/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123192 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate a warning in a failure case.petermayo@chromium.org2011-08-156-70/+273
| | | | | | | | | BUG=chromium:92568 TEST=not yet Review URL: http://codereview.chromium.org/7523033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96776 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-7/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mesa not checking for a valid depth in mesa's _mesa_TexSubImage3Drsleevi@chromium.org2011-05-282-1/+6
| | | | | | | | | | BUG=84134 TEST=none Review URL: http://codereview.chromium.org/7074026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87161 0039d316-1c4b-4281-b951-d872f2087c98
* Final gyp patch to make use of the new cross-platform POSIX defines ↵tony@chromium.org2011-05-231-1/+1
| | | | | | | | toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up third_party readmes and adding a template for future use.cdn@chromium.org2011-03-161-2/+3
| | | | | | | | | | | The next step is a presubmit rule that will make people use the template. We are doing this so that we can better track dependancy versions. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/6610030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78316 0039d316-1c4b-4281-b951-d872f2087c98
* Dodge a GCC warning/error by reorganizing the code in the egl config header ↵petermayo@chromium.org2011-01-042-4/+7
| | | | | | | | | | | | | | | a little. Will change the behavior of wrong calls slightly. See http://codereview.chromium.org/5866007 for some history, and http://codereview.chromium.org/5848004 for an alternate approach. BUG=none TEST=tryservers, local Review URL: http://codereview.chromium.org/6053007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70416 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69472 - Suppress a spurious warning in CompareConfig scherkus@chromium.org2010-12-162-16/+0
| | | | | | | | | | | | | | | third_party/mesa/MesaLib/src/egl/main/eglconfig.c: In function _eglCompareConfigs: third_party/mesa/MesaLib/src/egl/main/eglconfig.h:98: error: array subscript is below array bounds BUG=None TEST=manual/local, and a buildbot running an otherwise affected version. Review URL: http://codereview.chromium.org/5866007 TBR=petermayo@chromium.org Review URL: http://codereview.chromium.org/5925005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69474 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a spurious warning in CompareConfig petermayo@chromium.org2010-12-162-0/+16
| | | | | | | | | | | | third_party/mesa/MesaLib/src/egl/main/eglconfig.c: In function _eglCompareConfigs: third_party/mesa/MesaLib/src/egl/main/eglconfig.h:98: error: array subscript is below array bounds BUG=None TEST=manual/local, and a buildbot running an otherwise affected version. Review URL: http://codereview.chromium.org/5866007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69472 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed warning on linux x64.alokp@chromium.org2010-12-154-4/+7
| | | | | | | | | eglapi.c:276: warning: cast to pointer from integer of different size TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/5921002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69325 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed compile error due to uninitialized variable.alokp@chromium.org2010-12-142-1/+3
| | | | | | | TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/5785005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69189 0039d316-1c4b-4281-b951-d872f2087c98
* Added facility to compile Mesa EGL implementation. Fixed a few issues so ↵alokp@chromium.org2010-12-134-0/+77
| | | | | | | | that it can be compiled against standard EGL 1.4 headers. Review URL: http://codereview.chromium.org/5750002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69040 0039d316-1c4b-4281-b951-d872f2087c98
* 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