summaryrefslogtreecommitdiffstats
path: root/third_party/mesa/README.chromium
Commit message (Collapse)AuthorAgeFilesLines
* Allows the ADDRESS_SANITIZER define to be used on Windows.sebmarchand@chromium.org2012-12-131-1/+3
| | | | | | | | | | | Asan is coming on Windows soon with SyzyAsan. We should be able to use the ADDRESS_SANITIZER define. The __attribute__ flag is compiler specific. BUG= Review URL: https://chromiumcodereview.appspot.com/11549005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172767 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb glDiscardFramebufferEXT entry point through command bufferjamesr@chromium.org2012-12-121-0/+2
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/11465018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172468 0039d316-1c4b-4281-b951-d872f2087c98
* Get real GPU memory values on NV+Linux and OS X. Add an interface to ↵ccameron@chromium.org2012-09-211-0/+2
| | | | | | | | | | | | | | | GLContext to query the GPU's total video memory. Note that this is the amount of video memory on the currently-rendering GPU, so different contexts will give different values, and the same context may give different values over time (for instance, on a Macbook Pro with graphics switching). Of note is that on a Macbook Pro with graphics switching enabled, the contexts don't move together between GPUs -- some stay on the integrated GPU while others use the discrete GPU. BUG=132994 Review URL: https://chromiumcodereview.appspot.com/10957009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157879 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the compile errors for mesa on Androidyongsheng.zhu@intel.com2012-08-211-0/+2
| | | | | | | | | | | | | | | | | | | | There are some compile errors for mesa when trying to build gpu_tests on Android. They were fixed in the mesa upstream. So this patch combines 3 commits from mesa upstream. They are: 1) Commit eb0ff1a1c0 by chad@chad-versace.us: remove the use of fpu_control.h 2) Commit 504f92c739 by olvaffe@gmail.com: android has no log2f nor ffs 3) Commit 497baf4e4a by ian.d.romanick@intel.com: Use C-style system headers in C++ code to avoid issues with std:: namespace BUG=138226 TEST= Review URL: https://chromiumcodereview.appspot.com/10825442 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152502 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate _mesa_add_parameter with ↵glider@chromium.org2012-08-131-0/+4
| | | | | | | | | | __attribute__((no_address_safety_analysis)) to suppress a report from AddressSanitizer BUG=142316 TBR=kbr Review URL: https://chromiumcodereview.appspot.com/10823286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151272 0039d316-1c4b-4281-b951-d872f2087c98
* Fix license metadata for mesasteveblock@chromium.org2012-08-021-3/+4
| | | | | | | | | | | Currently, only the LGPL v2 license from the docs/ subdirectory is mentioned. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10837052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149710 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress the ASan reports in swizzle_for_size()glider@chromium.org2012-07-311-0/+5
| | | | | | | | | BUG=139772 TBR=kbr Review URL: https://chromiumcodereview.appspot.com/10843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149172 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clip_span() to use memmove() instead of memcpy().glider@chromium.org2012-07-311-0/+3
| | | | | | | | | This is actually a merge of upstream commit a44d715d2b19dc2f8f48b01144cc38e4e2c5015a BUG=139587,132211 Review URL: https://chromiumcodereview.appspot.com/10833067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149148 0039d316-1c4b-4281-b951-d872f2087c98
* Enable -Wself-assign-memvar for Mesa, merge upstream fix for the one violationthakis@chromium.org2012-07-201-0/+3
| | | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10808045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147658 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce all the source files to be encoded in UTF-8.maruel@chromium.org2012-07-191-0/+2
| | | | | | | | | | | | | | Many files used random encoding. All of them were in comments or unit test files that were not compiled. In any case, not using unicode everywhere complexify the tools so enforcing it makes presubmit checks much simpler. R=joi@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10797029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147480 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate a warning in a failure case.petermayo@chromium.org2011-08-151-0/+5
| | | | | | | | | 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
* Fix mesa not checking for a valid depth in mesa's _mesa_TexSubImage3Drsleevi@chromium.org2011-05-281-0/+5
| | | | | | | | | | 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
* 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-041-0/+4
| | | | | | | | | | | | | | | 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-161-2/+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-161-0/+2
| | | | | | | | | | | | 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-151-0/+3
| | | | | | | | | 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-141-0/+2
| | | | | | | 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-131-0/+3
| | | | | | | | 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
* Re-add disabling of optimization in s_texcombine.c on Windows lostkbr@chromium.org2010-10-261-1/+6
| | | | | | | | | | | | | | 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-251-25/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-271-0/+3
| | | | | | | | | 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
* Added --use-gl command line flag to select GL implementation.apatrick@chromium.org2010-07-141-0/+5
| | | | | | | | | | | | - 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-071-0/+5
| | | | | | | | | | | 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-071-0/+6
| | | | | | | | | | | | | | | | 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-011-0/+2
| | | | | | | | ~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-261-0/+2
| | | | | | | | | | | | 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
* Added MesaLib to third_party.apatrick@chromium.org2010-04-201-0/+17
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