summaryrefslogtreecommitdiffstats
path: root/content/gpu
Commit message (Collapse)AuthorAgeFilesLines
* Add --gpu-no-context-lost commandline switch.zmo@google.com2011-07-281-4/+12
| | | | | | | | | | At the moment chrome users with GLES backend do not have accelerated 2d canvas if a graphics context could be lost. Unfortunately we don't have a way to know if a GLES backend does or does not lose context in situations like entering power saving mode, screen saving mode, etc. This switch basically tells chrome the backend does not lose context, thus, enable accelerated 2d canvas. BUG=90464 TEST=bots green, passing this switch with GLES backend enables accelerated 2d canvas Review URL: http://codereview.chromium.org/7530008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94548 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize the GL bindings before sandboxing the GPU process on Windows.kbr@chromium.org2011-07-251-8/+8
| | | | | | | | | | | | This is an attempt to fix a regression. Unfortunately, the problem does not manifest with a local Chromium Release build, only those coming from the waterfall, so this fix has not yet been verified. BUG=90457 TEST=none Review URL: http://codereview.chromium.org/7471055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93991 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize the sandbox earlier in GPU process bringup, deferring anykbr@google.com2011-07-223-75/+49
| | | | | | | | | | | | errors until receipt of the first IPC message. Tested by running WebGL content with this patch on Mac and Windows. BUG=84650 TEST=none Review URL: http://codereview.chromium.org/7458009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93676 0039d316-1c4b-4281-b951-d872f2087c98
* Allow creating a gpu channel that uses software renderingjbauman@chromium.org2011-07-212-2/+2
| | | | | | | | | | | | | Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests TBR=apatrick Review URL: http://codereview.chromium.org/7471042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93449 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93393 - Crashed Linux Touch build: ↵leandrogracia@chromium.org2011-07-212-2/+2
| | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Linux%20Touch/builds/2649/steps/compile/logs/stdio Allow creating a gpu channel that uses software rendering Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 TBR=jbauman@chromium.org Review URL: http://codereview.chromium.org/7468030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93399 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93397 - Revert 93393 - Revert was broken. Restoring.leandrogracia@chromium.org2011-07-212-2/+2
| | | | | | | | | | | | | | | | | | | | | Crashing on Linux Touch: http://build.chromium.org/p/chromium/builders/Linux%20Touch/builds/2649/steps/compile/logs/stdio Allow creating a gpu channel that uses software rendering Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 TBR=jbauman@chromium.org Review URL: http://codereview.chromium.org/7468028 TBR=leandrogracia@chromium.org Review URL: http://codereview.chromium.org/7468029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93398 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93393 - Crashing on Linux Touch: ↵leandrogracia@chromium.org2011-07-212-2/+2
| | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Linux%20Touch/builds/2649/steps/compile/logs/stdio Allow creating a gpu channel that uses software rendering Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 TBR=jbauman@chromium.org Review URL: http://codereview.chromium.org/7468028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93397 0039d316-1c4b-4281-b951-d872f2087c98
* Allow creating a gpu channel that uses software renderingjbauman@chromium.org2011-07-212-2/+2
| | | | | | | | | | | Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93393 0039d316-1c4b-4281-b951-d872f2087c98
* Delete b0rked gpu_video_decode_accelerator_tester.ccfischman@chromium.org2011-07-082-898/+0
| | | | | | | | | | | | | | | | | | This tester was originally intended to be a light-weight mechanism to test HW video decode IPC APIs without pulling in the full chrome stack. Unfortunately it never carved a useful niche out for itself, and there's no point in the svn history where it has worked, so I'm deleting it. For historical interest only, attempts to fix it include closed reviews http://codereview.chromium.org/7019042/ and http://codereview.chromium.org/7053014 BUG=none TEST=none Review URL: http://codereview.chromium.org/7327023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91904 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "Move app/win/* files to base/win/, ui/base/win and chrome/common/ ↵tfarina@chromium.org2011-06-252-4/+4
| | | | | | | | | | | | | | | | directories." The issue with the r90464 was that in the win shared build we build dlls and we need BASE_API to export functions and symbols. BUG=72317 TEST=None TBR=rsesek@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7263009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90505 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 90464 - Move app/win/* files to base/win/, ui/base/win and ↵tfarina@chromium.org2011-06-252-4/+4
| | | | | | | | | | | | | | | | chrome/common/ directories. BUG=72317 TEST=None R=rsesek@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7231016 TBR=tfarina@chromium.org Review URL: http://codereview.chromium.org/7265009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90471 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/win/* files to base/win/, ui/base/win and chrome/common/ directories.tfarina@chromium.org2011-06-252-4/+4
| | | | | | | | | | | BUG=72317 TEST=None R=rsesek@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7231016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90464 0039d316-1c4b-4281-b951-d872f2087c98
* Clamping down media DEPS rules.scherkus@chromium.org2011-06-171-2/+1
| | | | | | | | | BUG=none TEST=checkdeps passes Review URL: http://codereview.chromium.org/7170008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89505 0039d316-1c4b-4281-b951-d872f2087c98
* Automatically put all GL contexts associated with a particular GPU channel ↵apatrick@chromium.org2011-06-161-2/+2
| | | | | | | | | | | | | (and renderer process) in the same share group. This is work towards allowing offscreen canvas contexts to be allocated before compositor view contexts are created. This is a problem because a canvas might be created before the window it will be displayed in exists. This does not fix the bug on its own. BUG=80703 Review URL: http://codereview.chromium.org/7104148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89395 0039d316-1c4b-4281-b951-d872f2087c98
* Move media-specific content/common/gpu files into content/common/gpu/media.fischman@chromium.org2011-06-161-1/+1
| | | | | | | | | | | | | Give the new directory media-flavored OWNERS (in addition to the auto-inherited OWNERS). This should hopefully significantly cut down on OWNERS rubberstamps. BUG=none TEST=trybots & OVDATest passes on ARM. Review URL: http://codereview.chromium.org/7192003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89390 0039d316-1c4b-4281-b951-d872f2087c98
* Add "svn:eol-style to all the DEPS under content.jam@chromium.org2011-06-021-11/+11
| | | | | | Review URL: http://codereview.chromium.org/7066068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87715 0039d316-1c4b-4281-b951-d872f2087c98
* Set the unblock flag to false for all gpu->renderer IPCsjamesr@chromium.org2011-06-011-6/+2
| | | | | | | | | | | | | | | | The GPU process should never send sync IPCs to other processes so we don't need to set the unblock flag for any IPCs in order to avoid deadlocks. This patch sets the unblock flag to false for all renderer->GPU IPCs to preserve order, and adds some more DCHECK()s to enforce that the GPU process does not send any sync IPCs out to other processes. BUG=84065 TEST= Review URL: http://codereview.chromium.org/7104014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87427 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 87371 - Support for glSetSurfaceCHROMIUM.apatrick@chromium.org2011-06-011-9/+9
| | | | | | | | This command allows a previously created GPU surface to be made current for a command buffer. There are no surfaces registered at this point so this command is currently a no-op. Review URL: http://codereview.chromium.org/7077001 Review URL: http://codereview.chromium.org/7006019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87408 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
* Revert 87371 - Broke Compile - Support for glSetSurfaceCHROMIUM.rsesek@chromium.org2011-05-311-9/+9
| | | | | | | | | | This command allows a previously created GPU surface to be made current for a command buffer. There are no surfaces registered at this point so this command is currently a no-op. Review URL: http://codereview.chromium.org/7077001 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/7027008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87373 0039d316-1c4b-4281-b951-d872f2087c98
* Support for glSetSurfaceCHROMIUM.apatrick@chromium.org2011-05-311-9/+9
| | | | | | | This command allows a previously created GPU surface to be made current for a command buffer. There are no surfaces registered at this point so this command is currently a no-op. Review URL: http://codereview.chromium.org/7077001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87371 0039d316-1c4b-4281-b951-d872f2087c98
* Move OWNERS from top level of content to the subdirectories. Before this ↵jam@chromium.org2011-05-311-0/+1
| | | | | | | | change, there were 12 OWNERS under content other than the top-level one (which is a good thing), but those OWNERS couldn't approve adding or removing files. Review URL: http://codereview.chromium.org/7085021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87313 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gpu acceleration with --in-process-gpu and --single-process modes.sievers@google.com2011-05-271-1/+5
| | | | | | | | | | | | 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
* [Re-instate r86681 by reverting its revert in r86687.]fischman@chromium.org2011-05-265-1169/+0
| | | | | | | | | | | | | | | Take 2: Updated OMX decoder for recent PPAPI changes, and added to the build. Had to move from content/gpu to content/common/gpu to allow gpu_video_service.cc to depend on the decoder. Removed some dead code and did some random cleanup while I was in there. BUG=none TEST=chrome compiles on cros/arm! Review URL: http://codereview.chromium.org/6992087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86841 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 86681 - Updated OMX decoder for recent PPAPI changes, and added to ↵fischman@chromium.org2011-05-255-0/+1169
| | | | | | | | | | | | | | | | | | the build. Had to move from content/gpu to content/common/gpu to allow gpu_video_service.cc to depend on the decoder. Removed some dead code and did some random cleanup while I was in there. BUG=none TEST=chrome compiles on cros/arm! Review URL: http://codereview.chromium.org/7057027 TBR=fischman@chromium.org Review URL: http://codereview.chromium.org/6979017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86687 0039d316-1c4b-4281-b951-d872f2087c98
* Updated OMX decoder for recent PPAPI changes, and added to the build.fischman@chromium.org2011-05-255-1169/+0
| | | | | | | | | | | | | Had to move from content/gpu to content/common/gpu to allow gpu_video_service.cc to depend on the decoder. Removed some dead code and did some random cleanup while I was in there. BUG=none TEST=chrome compiles on cros/arm! Review URL: http://codereview.chromium.org/7057027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86681 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-252-2/+2
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* GLContext no longer holds a pointer to a GLSurface.apatrick@chromium.org2011-05-231-12/+19
| | | | | | | | | | This is part of an ongoing effort to treat GL contexts and GL surfaces as independent entities. TEST=run WebGL on mac, windows and linux, trybots BUG=none Review URL: http://codereview.chromium.org/7021014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86332 0039d316-1c4b-4281-b951-d872f2087c98
* Updated video decoder IPC to use PPB_Buffer_Dev's new support for SharedMemory. fischman@chromium.org2011-05-232-11/+20
| | | | | | | | | | | | Plumb through from renderer to GPU process' OMX decoder. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/7034040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86302 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the EOS hang and jerkiness in playback.vhiremath@nvidia.com2011-05-231-3/+5
| | | | | | | | | | | | | | | | | | | | | - output_picture_ should be cleared only after freeing the output buffers. - pop out free_input_buffers_ in Flush. This was missing and creates failure during FreeInputBuffers() - new picture_buffers to be pushed back into assigned_picture_buffers_. Otherwise display gets wrong texture These changes will fix the hang at EOS. BUG=none TEST=gpu_video_tests Review URL: http://codereview.chromium.org/7017006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86254 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-191-3/+3
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* Populating the Gles2TextureToEglImageTranslator class.vhiremath@nvidia.com2011-05-132-0/+114
| | | | | | | | | | | | | | | | App will create /Display/Context/Surface required for this method. App will create the new method for Gles2TextureToEglImageTranslator and pass it with some mechanism to OmxVideoDecodeAccelerator. OmxVideoDecodeAccelerator will use this method to create eglImage handles. Review URL: http://codereview.chromium.org/6900048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85311 0039d316-1c4b-4281-b951-d872f2087c98
* Implement VideoDecoder IPC hooks from plugin to GPU processvrk@google.com2011-05-132-294/+0
| | | | | | | | | | | | | This implements the communciation layers from the Renderer process to the GPU process and back for the AcceleratedVideoDecoder PPAPI interfaces. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6876004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85296 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-122-22/+21
| | | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext TEST=try, including layout tests BUG=none Review URL: http://codereview.chromium.org/7013037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85207 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reland 85013 - Split GLContext::Create*GLContext into ↵antonm@chromium.org2011-05-122-21/+22
| | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext". git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85124 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-122-22/+21
| | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext. TEST=webgl on windows and mac, trybots BUG=none Review URL: http://codereview.chromium.org/6997003 Review URL: http://codereview.chromium.org/7015016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85081 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-112-22/+13
| | | | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext. TEST=webgl on windows and mac, trybots BUG=none Review URL: http://codereview.chromium.org/6997003 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/7015003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85016 0039d316-1c4b-4281-b951-d872f2087c98
* Split GLContext::Create*GLContext into GLSurface::Create*GLSurface plus a ↵apatrick@chromium.org2011-05-112-13/+22
| | | | | | | | | | surface type independent GLContext::CreateGLContext. TEST=webgl on windows and mac, trybots BUG=none Review URL: http://codereview.chromium.org/6997003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85013 0039d316-1c4b-4281-b951-d872f2087c98
* New change for OmxVideoDecodeAccelerator class.vhiremath@nvidia.com2011-05-062-0/+1043
| | | | | | | | | | | | This will use the h/w omx decoder in push model. Newly designed for using with PPAPIs. This has been tested with FakeTest "gpu_video_tests" TEST=Run gpu_video_tests on ARM device. Review URL: http://codereview.chromium.org/6894046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84389 0039d316-1c4b-4281-b951-d872f2087c98
* Add third_party/openmax to content/gpu/DEPS.fischman@google.com2011-05-061-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6930053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84366 0039d316-1c4b-4281-b951-d872f2087c98
* Added about:gpucleanamarinichev@chromium.org2011-05-042-0/+8
| | | | | | | | | | | It removes all contexts from the GPU process. Can rename it to what was originally suggested in the bug, about:gpuclean seemed a little more consistent with other about:gpu* URLs we have. BUG=75215 TEST=tried it Review URL: http://codereview.chromium.org/6870019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84119 0039d316-1c4b-4281-b951-d872f2087c98
* Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. ↵jam@chromium.org2011-05-021-1/+1
| | | | | | | | This allows us to remove usage of the IOThread object, and generally makes IPC::ChannelProxy more robust for future uses. Review URL: http://codereview.chromium.org/6901146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83741 0039d316-1c4b-4281-b951-d872f2087c98
* Move more GPU related files from content/common to content/common/gpu.apatrick@chromium.org2011-04-223-3/+3
| | | | | | | | | | This is just moving files and updating references. There are no functional changes. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/6881072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82715 0039d316-1c4b-4281-b951-d872f2087c98
* Fix diagnostics and log messages in about:gpu.nduca@chromium.org2011-04-221-0/+2
| | | | | | | | BUG=78189 Review URL: http://codereview.chromium.org/6877028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82662 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for base::Closure in the MessageLoop, and reimplement the whole ↵ajwong@chromium.org2011-04-202-9/+6
| | | | | | | | | | | sucker on top of base::Closure. After this, all Task objects that are posted will be wrapped in a closure prior to dispatch. BUG=35223 TEST=unittests. Review URL: http://codereview.chromium.org/6463013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82300 0039d316-1c4b-4281-b951-d872f2087c98
* Collect GPU info on Mac through IO registry for dual GPU systems.zmo@google.com2011-04-201-1/+79
| | | | | | | | | | | | Go through IO Registry to locate PCI based video cards on Mac. If there are two video cards and one of them is Intel, we assume Intel GPU is the integrated one and the other is the discrete one. Chromium GPU process should always use the discrete one (if Mac is handling automatic card switching), and we identify the discrete card in preliminary GPU info collection so we could run through GPU software rendering list and set up the renderer process with approriate GPU feature capabilities. Note that if the IO registry method fails, we fallback to the original "GPU locating through current display" method, so this CL should be pretty safe. BUG=75208,75220 TEST=gpu acceleration is enabled on Mac with Intel/ATI dual GPU. Review URL: http://codereview.chromium.org/6879023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82202 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce no more includes through DEPS. I also added DEPS checking for ↵jam@chromium.org2011-04-181-0/+1
| | | | | | | | | gpu/plugin/worker directories as well. I've moved the breakpad specific code out of content\renderer\renderer_main.cc into chrome\renderer\chrome_render_process_observer.cc. I've also moved the rest of the process-specific initialization from chrome_content_renderer_client.cc there as well, so that all the chrome renderer process init code is one place (some of it existed before chrome_render_process_observer.cc was created). Review URL: http://codereview.chromium.org/6884001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81979 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last Chrome dependencies from renderer, and enforce no more ↵jam@chromium.org2011-04-181-1/+1
| | | | | | | | includes through DEPS. I also added DEPS checking for gpu/plugin/worker directories as well. I moved the Chrome specific browser tests to the chrome directory, and removed render_widget_unittest since it didn't seem to be testing much (there are tests that test it much more fully). I had to move bindings_policy.h, which ideally would be split into separate pieces so that the content layer only has to know about the content bindings. Given that it's basically an enum, I moved the whole file now since it's used in a lot of places, and the value of turning on DEPS checking is really high. Review URL: http://codereview.chromium.org/6874038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81924 0039d316-1c4b-4281-b951-d872f2087c98
* Inverted dependency between code in content/common/gpu and the ↵apatrick@chromium.org2011-04-151-1/+5
| | | | | | | | | | GpuWatchdogThread class.This completes the split between code in content/gpu, which only ever runs in the GPU process and code in content/common/gpu, which can run in any process, though in practice only the GPU process or the browser process.I updated the DEPS file in content/common to enforce the dependency and prevent code that could run in either process depend on code that should only run in the GPU process.TEST=tryBUG=none TEST=try BUG=none Review URL: http://codereview.chromium.org/6840041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81784 0039d316-1c4b-4281-b951-d872f2087c98
* Draft version of the HW video decode tester and few other changes.scherkus@chromium.org2011-04-143-0/+1191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intention is that this tester can be used to decouple HW decode accelerator integration from running the whole Chrome browser. Features: - Independent GUnit executable, which should be possible to use in autotests. - Mimics Renderer process from Gpu video pipeline perspective. * Test bench contains implementation of FakeClient which essentially mimics Renderer process from the GpuVideoDecodeAccelerator's point of view. * FakeClient runs on it's own thread and will communicate with using the IPC messages that are used also within the real use case. * FakeClient will allocate memories using same SharedMemory stuff as the real Renderer code. * Currently reads H.264 Annex B bitstream from file and parses it to NAL units before feeding to the decoder * TODO: Polish and improving the features and configurability. * TODO: GLES texture allocation for textures. - Allows building various test cases and error behaviour as well both on AcceleratedVideoDecoder interface as well as erroneous behaviour from the client. - Allows also checking expected order of calls if we want to enforce certain behaviour across various implementations. Patch by vmr@chromium.org: http://codereview.chromium.org/6720040/ BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81663 0039d316-1c4b-4281-b951-d872f2087c98