summaryrefslogtreecommitdiffstats
path: root/content/content_gpu.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Fix names of in-process threads, tidy gpu DEPSscottmg@chromium.org2013-09-041-2/+2
| | | | | | | | | | | | Follow-up after http://crrev.com/217968 per comments on https://chromiumcodereview.appspot.com/23235002/ R=jam@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/23452016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221199 0039d316-1c4b-4281-b951-d872f2087c98
* Set up content in-process main threads via factoryscottmg@chromium.org2013-08-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | This code was previously #ifdef'd out based on CHROME_MULTIPLE_DLL. This works for chrome, but not for test targets which link content_browser. content_browser needs to not link against child-only targets (as they'll cause linking blink into the browser dll). Instead of having utility_process_host_impl, et al. own the in-process implementation, use a factory to create them that's installed in test code, and in chrome for supporting --single-process. At the same time, remove the global CHROME_MULTIPLE_DLL define and localize it to chrome_exe.gypi because it's too easy to use incorrectly. TBR=darin R=piman@chromium.org,jam@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/23235002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217968 0039d316-1c4b-4281-b951-d872f2087c98
* Delete dead code: OmxVideoDecodeAccelerator is unused.fischman@chromium.org2013-08-061-5/+0
| | | | | | | | | | | | OVDA has been dead code in the tree since 3/13 and m27 https://gerrit.chromium.org/gerrit/gitweb?p=chromiumos/platform/login_manager.git;a=commit;h=934e55cd90c2fd7a5b89fe201b251d542e896f46 BUG=223194 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/21584002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215933 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Win64 DirectX redistributablesjschuh@chromium.org2013-08-061-2/+4
| | | | | | | | | | | Adds a gyp variable to simplify WINSDK path strings, and grabs the x64 files rather than x86. BUG=268525,267893 Review URL: https://chromiumcodereview.appspot.com/22262003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215814 0039d316-1c4b-4281-b951-d872f2087c98
* Replace angle_path gyp variable with regular path.apatrick@chromium.org2013-07-171-3/+3
| | | | | | | | | | | | | The switch to angle_dx11 is complete. This is cleanup. I will land this before removing the angle_path variable from build/common.gypi. For media/ TBR=vrk@chromium.org Review URL: https://chromiumcodereview.appspot.com/18161007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211908 0039d316-1c4b-4281-b951-d872f2087c98
* Make it possible to switch between two different versions of ANGLE.apatrick@chromium.org2013-06-121-3/+3
| | | | | | | | | | | One is the existing one and the default with this patch: third_party/angle. The other is third_party/angle_dx11, which will pulled in via DEPS in another patch. BUG=247158 TBR=xhwang@chromium.org Review URL: https://codereview.chromium.org/16737007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205962 0039d316-1c4b-4281-b951-d872f2087c98
* Move GPU device/driver info related code from content to gpu.zmo@chromium.org2013-05-231-21/+0
| | | | | | | | | | | | | | | | | | | | Try to reland r201380 with build fix. This has been suggested by gman, and agreed by kbr and jam, for the following reasons: 1) These are gpu related code, and are independent of content / browser, so putting them under gpu/ is the right thing to do conceptually. 2) This enables us to set up tests in various places with the correct blacklisting/driver_bug_workarounds information. Otherwise, for the moment, gpu/ has no visibility into content/ side, so we have to duplicate the driver_bug_workarounds code and hardwire them for testing purpose. This is going to cause a lot of bugs in the future, as we have the two pieces of code for the same thing (one for chrome and one for testing) and people will easily forget to update one or the other. As for this patch, I didn't change the logic, and try to minimize the refactoring. All improvements enabled by this relocation will be done in follow-up CLs. BUG=230477 TEST=tree TBR=apatrick@chromium.org, joi@chromium.org, kbr@chromium.org, piman@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/15745014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201875 0039d316-1c4b-4281-b951-d872f2087c98
* Rationalize dependency on khronos EGL headers in place of angle.rjkroege@chromium.org2013-05-131-1/+1
| | | | | | | | | | | Different parts of Chrome use the angle EGL headers and khronos EGL headers. This patch adjusts so that Chrome uses only one: khronos. BUG=none, code cleanup Review URL: https://chromiumcodereview.appspot.com/14772009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199773 0039d316-1c4b-4281-b951-d872f2087c98
* Rationalize linux vs x11 in contentdavemoore@chromium.org2013-04-291-2/+2
| | | | | | | | | | BUG=236170 TEST=None R=ben@chromium.org Review URL: https://codereview.chromium.org/14334018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197074 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Use D3DCompiler_46.dll instead of D3DCompiler_43.dll where possible.apatrick@chromium.org2013-02-061-0/+8
| | | | | | | | | | | Version 43 is the last version that worked on XP. The latest version is preferred for Vista and later. This is a step towards making the DirectX SDK optional for building Chromium. This change does not put version 46 in the installer. Review URL: https://codereview.chromium.org/12035092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180853 0039d316-1c4b-4281-b951-d872f2087c98
* Add msvs_cygwin_shell: 1 to extract_from_cab.pyiannucci@chromium.org2013-01-221-0/+1
| | | | | | | | | TBR=estade@chromium.org BUG=123026 Review URL: https://codereview.chromium.org/12042036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178155 0039d316-1c4b-4281-b951-d872f2087c98
* win: eliminate dependency on ANGLE's egl::Display::getDevice.apatrick@chromium.org2013-01-141-0/+1
| | | | | | | | | Chrome currently retreives ANGLE's Direct3D9 device and uses it to get the device capabilities, like shader model versions. ANGLE is being ported to Direct3D11 so Chrome can't do this anymore. This patch changed things so that the information Chrome needs from ANGLE is parsed out of the GL RENDERER string. Review URL: https://codereview.chromium.org/11827043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176718 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 175201 with fixes for installer.apatrick@chromium.org2013-01-101-20/+0
| | | | | | | | | | | | | | | > Windows: Remove content's dependency on d3dx9_43.dll. > > ANGLE doesn't need this loaded anymore. > > Review URL: https://chromiumcodereview.appspot.com/11737027 See also: https://codereview.chromium.org/11747017/ TBR=apatrick@chromium.org Review URL: https://codereview.chromium.org/11820033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175957 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 175201 due to failures in official build.dharani@google.com2013-01-061-0/+20
| | | | | | | | | | | | | > Windows: Remove content's dependency on d3dx9_43.dll. > > ANGLE doesn't need this loaded anymore. > > Review URL: https://chromiumcodereview.appspot.com/11737027 TBR=apatrick@chromium.org Review URL: https://codereview.chromium.org/11791013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175301 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Remove content's dependency on d3dx9_43.dll.apatrick@chromium.org2013-01-041-20/+0
| | | | | | | | ANGLE doesn't need this loaded anymore. Review URL: https://chromiumcodereview.appspot.com/11737027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175201 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: create a library loader code generator for dlopen and use it for libpci.phajdan.jr@chromium.org2012-11-281-20/+1
| | | | | | | | BUG=162733 Review URL: https://codereview.chromium.org/11415138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170010 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add option to link libpci directly instead of using dlopen.phajdan.jr@chromium.org2012-11-011-0/+20
| | | | | | | | | | | | | This is for Linux distros, so they can detect more breakages at compile time and using automated tools. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/11343015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165482 0039d316-1c4b-4281-b951-d872f2087c98
* Only dlopen() OMX/VAAPI libs in the GPU process, and only lazily dlsym() ↵fischman@chromium.org2012-08-041-0/+10
| | | | | | | | | | | | | | their symbols. This reinstates r150007, which was reverted in r150009. TBR=piman@chromium.org BUG=140412 Review URL: https://chromiumcodereview.appspot.com/10827173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150024 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak the way we use the third_party\amd videocard codecpu@chromium.org2012-07-191-1/+1
| | | | | | | | | | | Instead of 'official build', we use 'chrome build' See http://codereview.chromium.org/10790060/ for context BUG=117371 Review URL: https://chromiumcodereview.appspot.com/10806024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147516 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the AMD switchable videcard detectioncpu@chromium.org2012-07-181-0/+6
| | | | | | | | | So we don't bucket all AMD cards as crappy. BUG=117371 Review URL: https://chromiumcodereview.appspot.com/10790060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147334 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DirectX SDK path from include listcpu@chromium.org2012-07-071-1/+0
| | | | | | | | | | The right inclusion order is already in common.gypi BUG=none TEST=chrome builds Review URL: https://chromiumcodereview.appspot.com/10701069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145624 0039d316-1c4b-4281-b951-d872f2087c98
* Use nv contrl x extension to query nvidia driver version.zmo@chromium.org2012-06-211-0/+5
| | | | | | | | | | | | | | | | | | | | This is trying to reland the reverted CL http://codereview.chromium.org/10536232/. I added third_party/libXNVCtrl to content/gpu/DEPS. So we can do it in browser process, not wait until gpu process launches and a gl context is created. This is tested on my linux box with NVIDIA driver. We need to put more code to tell chrome (Linux/NVIDIA) that we have enough information for blacklisting, so at GPU launch time we don't need to collect GPUInfo. Will do it in a followup CL. BUG=122912 TEST=tree green R=jam@chromium.org TBR=kbr,piman Review URL: https://chromiumcodereview.appspot.com/10641006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143472 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 143323 - Use nv contrl x extension to query nvidia driver version.viettrungluu@chromium.org2012-06-211-5/+0
| | | | | | | | | | | | | | | | | | | | | | [Failed checkdeps. No try jobs?!? Nice.] So we can do it in browser process, not wait until gpu process launches and a gl context is created. This is tested on my linux box with NVIDIA driver. We need to put more code to tell chrome (Linux/NVIDIA) that we have enough information for blacklisting, so at GPU launch time we don't need to collect GPUInfo. Will do it in a followup CL. BUG=122912 TEST=tree green TBR=jam Review URL: https://chromiumcodereview.appspot.com/10536232 TBR=zmo@chromium.org Review URL: https://chromiumcodereview.appspot.com/10606005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143325 0039d316-1c4b-4281-b951-d872f2087c98
* Use nv contrl x extension to query nvidia driver version.zmo@chromium.org2012-06-211-0/+5
| | | | | | | | | | | | | | | | | So we can do it in browser process, not wait until gpu process launches and a gl context is created. This is tested on my linux box with NVIDIA driver. We need to put more code to tell chrome (Linux/NVIDIA) that we have enough information for blacklisting, so at GPU launch time we don't need to collect GPUInfo. Will do it in a followup CL. BUG=122912 TEST=tree green TBR=jam Review URL: https://chromiumcodereview.appspot.com/10536232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143323 0039d316-1c4b-4281-b951-d872f2087c98
* Retrieve Windows performance assessment information from results files.dtu@chromium.org2012-05-161-0/+1
| | | | | | | | | | | | Also move libxml_utils from chrome/common/ into base/, because it's now being used to read the results files from content/gpu/ TBR=ben@chromium.org BUG=chromium:122838,chromium:124325 TEST=Builds on all platforms, and chrome://gpu gives a correct rating after the user re-runs the WinSAT assessment. Review URL: https://chromiumcodereview.appspot.com/10128002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137552 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move gl/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-121-1/+1
| | | | | | | | | | BUG=104040 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136777 0039d316-1c4b-4281-b951-d872f2087c98
* Win: content/gpu has hard dependency on setupapi.dll.apatrick@chromium.org2012-02-101-0/+5
| | | | | | | | | | | | For some reason it was loaded dynamically but it has been supported since Win 2000: http://msdn.microsoft.com/en-us/library/windows/hardware/ff551963(v=vs.85).aspx This is to address an issue whereby the DLL cannot be loaded once the sandbox is enabled on some systems. BUG=112205 Review URL: https://chromiumcodereview.appspot.com/9382019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121565 0039d316-1c4b-4281-b951-d872f2087c98
* Adds gpu_info_collector and ImageTransportSurface methods for android.satish@chromium.org2012-02-081-1/+2
| | | | | | | | | | | | These are required to build content_unittests. BUG=None TEST= Review URL: http://codereview.chromium.org/9348033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121023 0039d316-1c4b-4281-b951-d872f2087c98
* fix indentation in content_*.gypi.dpranke@chromium.org2011-09-261-76/+75
| | | | | | | | | | | | | This is a whitespace-only change to clean up from the refactoring of a couple weeks ago for the component build. R=jam@chromium.org BUG=90442 TEST=none Review URL: http://codereview.chromium.org/8046015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102800 0039d316-1c4b-4281-b951-d872f2087c98
* re-land r100988 (gpy refactoring for content dll).dpranke@chromium.org2011-09-141-10/+1
| | | | | | | | | | TBR=darin BUG= TEST= Review URL: http://codereview.chromium.org/7889027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101011 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r100988 (gpy refactoring for content dll).dpranke@chromium.org2011-09-141-1/+10
| | | | | | | | | | TBR=darin BUG= TEST= Review URL: http://codereview.chromium.org/7892021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100996 0039d316-1c4b-4281-b951-d872f2087c98
* This change merges all of the content code into a single library; the ↵dpranke@chromium.org2011-09-131-10/+1
| | | | | | | | | | | | | | | | | | | contents of the library are pulled from individual gypis that are now just collections of settings. There are three changes here ... 1) Move omx_video_decode_unittest into content_tests.gypi, and move a couple of other definitions into the top level content.gyp 2) Change all of the dependencies in the chrome gypi's from content_browser et al. to just "content" 3) Remove the "targets", "target_name", and "target_type" keys from the content_* gypis This change depends on http://codereview.chromium.org/7697008/ landing first to ensure we have the right dependencies set for content. BUG=90442 TEST=everything still compiles and links Review URL: http://codereview.chromium.org/7618029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100988 0039d316-1c4b-4281-b951-d872f2087c98
* Remove msvs_guid from chrome_frame/, cloud_print/, content/tony@chromium.org2011-06-221-1/+0
| | | | | | | | | | courgette/, and google_update/. BUG=28727 Review URL: http://codereview.chromium.org/7191021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90119 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-1/+1
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* Moved TextureTransport into content/common/gpu.apatrick@chromium.org2011-04-131-2/+0
| | | | | | | | | | | | It landed while I was working on the bigger move from content/gpu to content/common/gpu. Also renamed gpu_info_unittest_win.cc to gpu_info_collector_unittest_win.cc because that is what it is. TEST=try BUG=none Review URL: http://codereview.chromium.org/6824050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81344 0039d316-1c4b-4281-b951-d872f2087c98
* Moved code that runs in both the browser and GPU process from content/gpu to ↵apatrick@chromium.org2011-04-081-33/+0
| | | | | | | | | | | | | | content/common/gpu. Also renamed GpuRenderThread to GpuChannelManager since that is what it really does. The only remaining dependency from content/common/gpu to content/gpu is gpu_watchdog_thread.h. Once that dependency has been reversed it should be possible to move most or all of the code in content/gpu to chrome/gpu. TEST=build, WebGL works, run by trybots. BUG=none Review URL: http://codereview.chromium.org/6793054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80883 0039d316-1c4b-4281-b951-d872f2087c98
* Define TransportTexture for 'sharing' texture between gpu and rendererhclam@chromium.org2011-04-061-0/+2
| | | | | | | | | | | | | | | | | The purpose of TransportTexture is to allow creating textures in the gpu process and be used in the renderer process. This is particularly useful for hardware video decoder where the video frames are in the form of textures. Creating these textures has to be originated from the GPU process, they are then used in the renderer process for compositing. This patch defines the class and has comments about its usage. BUG=None TEST=None Review URL: http://codereview.chromium.org/6765020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80715 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Move app/gfx/gl ==> ui/gfx/glbacker@chromium.org2011-03-281-1/+1
| | | | | | | | | | | This is the final patch in the sequence. Note that gl.gyp is introduced because dependency checking on the Mac is done on a per file (rather than per target) basis. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6722026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79599 0039d316-1c4b-4281-b951-d872f2087c98
* Updated to D3DX9 and D3DCompiler version 43 DLLs.apatrick@chromium.org2011-03-241-4/+4
| | | | | | | | | | | TEST=none BUG=none R=darin@chromium.org,brettw@chromium.org,jam@chromium.org,ben@chromium.org Review URL: http://codereview.chromium.org/6534012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79233 0039d316-1c4b-4281-b951-d872f2087c98
* This is a thread that runs in the browser process that can issue GL calls ↵apatrick@chromium.org2011-03-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | without going via a command buffer. It is for rendering the browser's chrome, basic compositing, etc. It is not for rendering arbitrary content from, for example, WebGL. It is only enabled with --single-process or --in-process-gpu, the latter only running the GPU "process" as a thread inside the browser process. Eventually, the plan is to add strict validation to ensure it can only run basic white-listed shaders and other restrictions so that the browser's GPU thread can be made available to the renderers' compositors without a command line switch. I split GpuThread into two new classes. GpuChildThread derives from ChildThread and contains stuff that should only happen in a standalone process. I included GPUInfo collection here because if the browser should never need to run that. GpuRenderThread contains stuff that is also needed in the browser process. The GPU thread does not use an IPC channel within the browser process. It still uses IPC messages but posts them directly between message loops. I changed the EstablishGpuChannel messages between the browser and GPU process to not deal with returning the GPUInfo. Now the GPU process just sends it as the first thing it does after handling its Init message. This was to allow the separation of GPUInfo collection (in GpuChildThread) and channel establishment (in GpuRenderThread). TEST=trybots, run webgl with no switches, --single-process and --in-process-gpu, check browser terminates cleanly in all cases. BUG=none Review URL: http://codereview.chromium.org/6677055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78945 0039d316-1c4b-4281-b951-d872f2087c98
* Add separate ContentClient interfaces for gpu/plugin/renderer processes. ↵jam@chromium.org2011-03-171-0/+1
| | | | | | | | Since we don't have a need for a chrome/gpu or chrome/plugin directory, their chrome implementations are in chrome/common. Use the renderer one for getting the sad plugin image. Review URL: http://codereview.chromium.org/6708013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78617 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome\gpu to content\gpu.jam@chromium.org2011-03-121-0/+128
TBR=avi Review URL: http://codereview.chromium.org/6684015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77903 0039d316-1c4b-4281-b951-d872f2087c98