summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_process_host.h
Commit message (Collapse)AuthorAgeFilesLines
* Make ChildProcessHost be used through an interface in content/public, ↵jam@chromium.org2011-12-031-1/+1
| | | | | | | | | instead of by inheritence. BUG=98716 Review URL: http://codereview.chromium.org/8787004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112878 0039d316-1c4b-4281-b951-d872f2087c98
* Don't make classes derive from ChildProcessHost, and instead have them use ↵jam@chromium.org2011-12-021-2/+0
| | | | | | | | | it through composition. This cleans up the code and makes it easier to understand (as well as more closely conform to the Google C++ style guide). It also makes it possible to add an interface around ChildProcessHost in a future change. BUG=98716 Review URL: http://codereview.chromium.org/8774040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112769 0039d316-1c4b-4281-b951-d872f2087c98
* A few less TOUCH_UIs.backer@chromium.org2011-11-221-1/+1
| | | | | | | | | | | There is no more TOUCH_UI. This is a NO-OP because defined(UI_COMPOSITOR_IMAGE_TRANSPORT) ==> !defined(TOOLKIT_USES_GTK). BUG=None TEST=None Review URL: http://codereview.chromium.org/8617001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111142 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to content/.avi@chromium.org2011-11-171-5/+5
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8587009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110544 0039d316-1c4b-4281-b951-d872f2087c98
* Allow switching to SwiftShader when GPU is blacklistedjbauman@chromium.org2011-11-111-0/+5
| | | | | | | | | | | | When a path to swiftshader is specified and the current GPU is blacklisted, tell the gpu process to use swiftshader to render it. If there already is a gpu process, kill it and make a new one that uses swiftshader BUG= TEST= Review URL: http://codereview.chromium.org/8480015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109695 0039d316-1c4b-4281-b951-d872f2087c98
* Move GPUInfo to content/public/common and put it into the content namespace.jam@chromium.org2011-10-201-4/+4
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8363007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106637 0039d316-1c4b-4281-b951-d872f2087c98
* Making TOOLKIT_USES_GTK orthogonal to USE_AURA.saintlou@chromium.org2011-09-201-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102019 0039d316-1c4b-4281-b951-d872f2087c98
* Aura under Linux is enabled with:saintlou@chromium.org2011-09-181-1/+1
| | | | | | | | | | | 'use_aura': 1, BUG=none TEST=none Review URL: http://codereview.chromium.org/7850026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101704 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-4/+5
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* Tag IPC::Channel::Listener implementations with OVERRIDEevan@chromium.org2011-08-161-2/+2
| | | | | | Review URL: http://codereview.chromium.org/7661031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97021 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TabContentsView methods that just call to the delegate, and have them ↵jam@chromium.org2011-07-111-0/+7
| | | | | | | | | be part of the delegate interface instead. This is towards making TabContentsView just an interface. BUG=87702 Review URL: http://codereview.chromium.org/7277027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91989 0039d316-1c4b-4281-b951-d872f2087c98
* Make EstablishGpuChannel synchronous. Remove obsolete Synchronize msg.sievers@chromium.org2011-06-081-11/+0
| | | | | | | | This simplifies message routing to the compositor thread a bit. Review URL: http://codereview.chromium.org/7129006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88387 0039d316-1c4b-4281-b951-d872f2087c98
* Replace OS_LINUX ifdefs with OS_POSIX & !OS_MACOSX, TOOLKIT_USES_GTK, ortony@chromium.org2011-05-311-1/+1
| | | | | | | | | | | USE_X11 where possible. An earlier version of this patch was used to build Chromium on FreeBSD, OpenBSD, and Solaris. Patch by ruben (chromium@hybridsource.org) Review URL: http://codereview.chromium.org/7006006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87382 0039d316-1c4b-4281-b951-d872f2087c98
* Don't try to lock surfaces on TOUCH_UI.backer@chromium.org2011-05-301-1/+1
| | | | | | | | | | | On TOUCH_UI, the window to which we are drawing to cannot be locked (they are backed by GtkFixed, not GtkPreserveWindow), so do not try. BUG="Surface *** cannot be referenced." always logged on TOUCH_UI builds on accelerated content. TEST=Try 3D CSS on a TOUCH_UI build. Above message should not be there. Review URL: http://codereview.chromium.org/7085007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87231 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gpu acceleration with --in-process-gpu and --single-process modes.sievers@google.com2011-05-271-0/+8
| | | | | | | | | | | | With recent changes that have moved gpu message handling in the browser to the IO thread (and moved the handling of messages between gpu and renderer, that are mediated by the browser, to GpuProcessHost), the routing for such messages was broken when running the gpu thread (rather than process). The new approach is to always instantiate GpuProcessHost (even when running a gpu thread only) and have a real IPC channel between host and gpu thread. This makes the 'in-process' GPU code work similar to what the renderer does when running --single-process. Note that --single-process mode is potentially still a bit fragile with this, since ChildProcess and ChildThread are currently written to only allow a single static instance in one process (it would be better to instantiate GpuProcess and RenderProcess simultaneously), so ambiguous calls to access e.g. the main thread are possible. Review URL: http://codereview.chromium.org/7054005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86958 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Use callback_old.h where appropriate, part 1.jhawkins@chromium.org2011-05-101-1/+1
| | | | | | | | | | | BUG=none TEST=none R=thakis@chromium.org Review URL: http://codereview.chromium.org/6985009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84725 0039d316-1c4b-4281-b951-d872f2087c98
* Moved content/browser/gpu_* to content/browser/gpu/.apatrick@chromium.org2011-05-091-0/+157
Also added an OWNERS file with myself and kbr. TEST=build locally, try BUG=none Review URL: http://codereview.chromium.org/6931017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84661 0039d316-1c4b-4281-b951-d872f2087c98