summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Unbind currently bound surface before binding new surface.reveman@google.com2011-07-191-9/+11
| | | | | | | | | BUG=chrome-os-partner:4967 TEST=manual Review URL: http://codereview.chromium.org/7446008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93068 0039d316-1c4b-4281-b951-d872f2087c98
* Execute all GL commands up to the put offset reported by a each flush.This ↵apatrick@chromium.org2011-07-192-20/+6
| | | | | | | | means glFlush is a barrier that prevents reordering of GL commands issued on different command buffers. I used it to replace latches for synchronizing the rendering of WebGL canvas and Pepper 3D with the accelerated compositor. The primary advantage is it is more robust than latches and there is no possibility of deadlock. It should also be possible for WebGL and Pepper 3D to use it whereas exposing SetLatch and WaitLatch would be dangerous.The calls to SetLatch and WaitLatch are still in webkit but they are no-ops. SetLatch and WaitLatch are completely removed elsewhere.I changed CommandBuffer::FlushSync to Finish to reflect the new semantics. Going forward, I will add a synchronous CommandBuffer::WaitForToken and WaitForAvailableEntries, which should eliminate the need to call Finish unless glFinish is called by the client. The Pepper interface is unchanged because I don't want to break binary compatibility.I fixed a bug where the last read token in CmdBufferHelper was stale after receiving a ReportState IPC. That was causing a redundant synchronous flush in the client side SwapBuffers throttling.I removed Yield because it does not make sense with the new semantics. There is no round robin scheduling.Tested with WebGL on Windows and Mac and checked that 72672 did not regress. Review URL: http://codereview.chromium.org/7253052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93066 0039d316-1c4b-4281-b951-d872f2087c98
* Update the widget API to use the new InputEvent resource rather than the oldbrettw@chromium.org2011-07-197-45/+82
| | | | | | | | | | PP_InputEvent struct. TEST=manual BUG=none Review URL: http://codereview.chromium.org/7399035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93044 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant size and type information from VideoDecode PPAPIvrk@google.com2011-07-192-26/+14
| | | | | | | | | | | | | | | | | | | The visible size of the video frame is determined at Create stage. The type of buffer (from system memory or texture-backed via GLES) is decided by the plugin when it calls AssignGLESBuffers or AssignSysmemBuffers in response to ProvidePictureBuffers. The decoded size will be the same as the size requested in ProvidePictureBuffers. Thus these values specified anywhere else is redundant, and introduces a place to have inconsistency. BUG=NONE TEST=ovda unittest passes; gles2 runs w/o crashing Review URL: http://codereview.chromium.org/7021020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93031 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r92885, which was reverted in r92891.alokp@chromium.org2011-07-194-29/+281
| | | | | | | | BUG=86370,78087 TBR=piman Review URL: http://codereview.chromium.org/7431001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93028 0039d316-1c4b-4281-b951-d872f2087c98
* FileManagerDialogTest.SelectFileAndCancel flaky.grt@chromium.org2011-07-191030-0/+164108
|\ | | | | | | | | | | | | | | | | BUG=89733 TBR=robertshield@chromium.org TEST=browser_tests Review URL: http://codereview.chromium.org/7447001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93027 0039d316-1c4b-4281-b951-d872f2087c98
* | Roll ANGLE r704:r705jbauman@chromium.org2011-07-191030-164108/+0
| | | | | | | | | | | | | | | | | | BUG= TEST=try Review URL: http://codereview.chromium.org/7375016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93026 0039d316-1c4b-4281-b951-d872f2087c98
* | Make unfiltered events default to 'handled'.dmichael@chromium.org2011-07-191-0/+2
|/ | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/7426001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93017 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate RegisterProtocolFactory/(Un)RegisterInterceptor.willchan@chromium.org2011-07-198-19/+32
| | | | | | | | | | | | Mark those APIs as private and friend existing uses. BUG=none TEST=none Review URL: http://codereview.chromium.org/7397008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92992 0039d316-1c4b-4281-b951-d872f2087c98
* Adding FileUtilProxy::Entry::{size,last_modified_time},tzik@chromium.org2011-07-194-20/+55
| | | | | | | | | | | | and FileEnumerator::{GetFilesize,GetLastModifiedTime}. BUG=89134 TEST=None Review URL: http://codereview.chromium.org/7355013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92975 0039d316-1c4b-4281-b951-d872f2087c98
* Fix forgotten bool location.brettw@chromium.org2011-07-191-2/+1
| | | | | | | TBR=vtl Review URL: http://codereview.chromium.org/7428003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92973 0039d316-1c4b-4281-b951-d872f2087c98
* Fix vertical range slider.rogerta@chromium.org2011-07-191-4/+25
| | | | | | | | | | | | | BUG=88017 TEST=Load a web page that should display a vertical slider and make sure it appears vertical and correctly instead of horizonatally. Note that the thumb part appears too far to the right; I have confirmed this on all platforms (win,linux,mac). Since bug was was about a windows specific rendering issue, I have opened another bug (89616) to keep track of the right offset. Review URL: http://codereview.chromium.org/7400024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92927 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92885 - Completed the implementation for PPB_Graphics3D interface.alokp@chromium.org2011-07-184-281/+28
| | | | | | | | | | | | | | | | | - Mostly copied from the implementations for PPB_Surface3D and PPB_Context3D. - Added the proxy implementation - Refactored common code between host and plugin side into a common class. I will send the changes to bind Graphics3D with Instance and OpenGLES2 interface in a separate patch. BUG=86370,78087 Review URL: http://codereview.chromium.org/6824006 TBR=alokp@chromium.org Review URL: http://codereview.chromium.org/7398033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92891 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit/data/layout_tests since we have no more tests totony@chromium.org2011-07-183-31/+0
| | | | | | | | | | | | | | upstream. I upstreamed the last test in WebKit r91118. BUG=None TEST=None Review URL: http://codereview.chromium.org/7395015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92889 0039d316-1c4b-4281-b951-d872f2087c98
* Completed the implementation for PPB_Graphics3D interface.alokp@chromium.org2011-07-184-28/+281
| | | | | | | | | | | | | | - Mostly copied from the implementations for PPB_Surface3D and PPB_Context3D. - Added the proxy implementation - Refactored common code between host and plugin side into a common class. I will send the changes to bind Graphics3D with Instance and OpenGLES2 interface in a separate patch. BUG=86370,78087 Review URL: http://codereview.chromium.org/6824006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92885 0039d316-1c4b-4281-b951-d872f2087c98
* Strip fragments prior to looking up blob urls in our map of registered blobs.michaeln@google.com2011-07-181-2/+29
| | | | | | | | BUG=85607 TEST=manual Review URL: http://codereview.chromium.org/7376007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92871 0039d316-1c4b-4281-b951-d872f2087c98
* Fix media code to use initializer-list style for inheritance.scherkus@chromium.org2011-07-182-5/+6
| | | | | | Review URL: http://codereview.chromium.org/7400013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92826 0039d316-1c4b-4281-b951-d872f2087c98
* Removing support dev file interfaces.sanga@chromium.org2011-07-171-17/+0
| | | | | | | | BUG= none TEST= build chrome. Review URL: http://codereview.chromium.org/7395011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92821 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui.dll / libui.so for the component build.darin@chromium.org2011-07-173-44/+86
| | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
* Collect stats on MIME types seen for Flash plug-in loads. This will help uscevans@chromium.org2011-07-151-1/+40
| | | | | | | | | | | | | to make a decision about whether we can tighten anything up for sites which don't use X-Content-Type-Options: nosniff. Also make the MIME type match a substring match just in case there are any: application/x-shockwave-flash; charset=binary BUG=75070 Review URL: http://codereview.chromium.org/7397001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92760 0039d316-1c4b-4281-b951-d872f2087c98
* [Reverted due to check_deps failure]zea@chromium.org2011-07-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert 92749 - Fix problem when 'ended' event was fired before stream really ended. That caused impression that rewind does not work. With that change small JS program var a = new Audio("file:///home/enal/temp/click2/click2.wav"); var num_played = 0; a.addEventListener('canplaythrough', function() { a.play(); }); a.addEventListener('ended', function() { num_played ++; if (num_played < 10) { a.currentTime = 0; a.play(); } }); works correctly, you hear 10 clicks one after another, and it takes ~1.5 seconds to play all 10 sounds (one click is 146ms). Current Chrome plays only beginnings of the first 9 clicks and then entire 10th click -- 'ended' event fires too early, so rewind stops audio playback for all clicks but last one. With that fix you can easily create pool of audio objects -- on 'ended' event just add audio object to the pool. Fix consists of 3 parts: 1) For low-latency code path pass entire "audio state" object to the renderer process. That allows renderer take into account number of pending bytes in the buffer. 2) When using low-latency code path renderer not only fills the buffer with data, but also writes length of data into first word of the buffer. That allows host process to pass correct byte counts to renderer. 3) Renderer now keeps track of the earliest time playback can end based on the number of rendered bytes, and will not call 'ended' callback till that time. BUG=http://code.google.com/p/chromium/issues/detail?id=78992 http://codereview.chromium.org/7328030 Review URL: http://codereview.chromium.org/7328030 TBR=enal@chromium.org Review URL: http://codereview.chromium.org/7395014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92753 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare for WebKitClient rename ↵jamesr@chromium.org2011-07-152-9/+23
| | | | | | | | | | | | | setSharedTimerFireTime->setSharedTimerFireInterval WebKit side is https://bugs.webkit.org/show_bug.cgi?id=64544 BUG=71256 TEST=none Review URL: http://codereview.chromium.org/7388003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92750 0039d316-1c4b-4281-b951-d872f2087c98
* Fix problem when 'ended' event was fired before stream really ended.enal@chromium.org2011-07-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That caused impression that rewind does not work. With that change small JS program var a = new Audio("file:///home/enal/temp/click2/click2.wav"); var num_played = 0; a.addEventListener('canplaythrough', function() { a.play(); }); a.addEventListener('ended', function() { num_played ++; if (num_played < 10) { a.currentTime = 0; a.play(); } }); works correctly, you hear 10 clicks one after another, and it takes ~1.5 seconds to play all 10 sounds (one click is 146ms). Current Chrome plays only beginnings of the first 9 clicks and then entire 10th click -- 'ended' event fires too early, so rewind stops audio playback for all clicks but last one. With that fix you can easily create pool of audio objects -- on 'ended' event just add audio object to the pool. Fix consists of 3 parts: 1) For low-latency code path pass entire "audio state" object to the renderer process. That allows renderer take into account number of pending bytes in the buffer. 2) When using low-latency code path renderer not only fills the buffer with data, but also writes length of data into first word of the buffer. That allows host process to pass correct byte counts to renderer. 3) Renderer now keeps track of the earliest time playback can end based on the number of rendered bytes, and will not call 'ended' callback till that time. BUG=http://code.google.com/p/chromium/issues/detail?id=78992 http://codereview.chromium.org/7328030 Review URL: http://codereview.chromium.org/7328030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92749 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid leaking file handles.yzshen@chromium.org2011-07-155-4/+8
| | | | | | | | | | | | | | AsyncOpenFileCallback: fix the issue that file handle is leaked if the file handle arrives after the requester has died. This change also fixes test_file_system. BUG=79820 TEST=FileIO/FileRef/FileSystem tests in ppapi_tests: Reload the test page, the test still passes. The output files can be deleted when any of these tests finishes running, no matter the test page is still open or not. Review URL: http://codereview.chromium.org/7327025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92727 0039d316-1c4b-4281-b951-d872f2087c98
* Defend against content confusions attacks by Flash.cevans@chromium.org2011-07-151-7/+31
| | | | | | | | | | | If the HTTP header for the intial Flash plug-in file indicates no sniffing, then insist that that Content-Type is either blank, or fully correct before loading the plug-in. BUG=75070 Review URL: http://codereview.chromium.org/7373009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92717 0039d316-1c4b-4281-b951-d872f2087c98
* Fix re-entrancy case in WebPluginImpl::scriptableObject.piman@chromium.org2011-07-151-0/+5
| | | | | | | | | | BUG=None TEST=Manual (with Pepper Flash). Review URL: http://codereview.chromium.org/7383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92710 0039d316-1c4b-4281-b951-d872f2087c98
* Enable fire-and-forget Destroy of HW video decoder, and misc other improvements.fischman@chromium.org2011-07-153-45/+20
| | | | | | | | | | | | | | | | | | | | | | | - Instead of requiring the client to wait for NotifyDestroyDone we do the asynchronous OMX teardown dance on the client's behalf. - Prettify/simplify error handling in OVDA for easier matching of errors to OMX_Core.h and to remove redundant information. - Enable previously-DISABLED_ early-teardown unittests! - Remove passing VideoDecoder_Dev object in PPP_VideoDecoder_Dev calls, because it was unnecssary, and because the ~VideoDecoder_Dev dtor is now not a no-op so we don't want to call it spuriously. - Remove accidentally re-added gpu_video_service_host.cc (originally removed in 92251, accidentally reintroduced by a bad rebase in 92383). BUG=none TEST=ovdatest passes (incl. early-teardown tests) and gles2 works (including reload and EOS handling, no crashes) Review URL: http://codereview.chromium.org/7361010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92704 0039d316-1c4b-4281-b951-d872f2087c98
* Another blank changekinuko@chromium.org2011-07-151-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=tyoshino Review URL: http://codereview.chromium.org/7384009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92680 0039d316-1c4b-4281-b951-d872f2087c98
* Blank change (adding space) to kick buildkinuko@chromium.org2011-07-151-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=ojan Review URL: http://codereview.chromium.org/7386004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92677 0039d316-1c4b-4281-b951-d872f2087c98
* Remove SandboxMountPointProvier::GetBaseDirectoryForOrigin as it's no longer ↵kinuko@chromium.org2011-07-155-40/+24
| | | | | | | | | | | | | used A tiny cleanup. BUG=none TEST=green bots Review URL: http://codereview.chromium.org/7372001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92654 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare for switching timer scheduling to monotonic time (TimeTicks)jamesr@chromium.org2011-07-141-0/+6
| | | | | | | | | | | | | | | | | This adds an #ifdef guarded line to use WTF::monotonicIncreasingTime(), which in chrome is really base::TimeTicks, for the shared timer scheduling. This requires a multi-sided commit since it needs WebKit side changes as well, so the plan is to land this patch, land a WebKit patch that changes behavior and sets the #define, delete the #else branch from webkitclient_impl.cc, then delete the #define upstream. BUG=71256 TEST=none Review URL: http://codereview.chromium.org/7362007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92593 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92590 - add CaptureVideoDecoder for local preview and ↵sky@chromium.org2011-07-145-58/+5
| | | | | | | | | | | | | VideoCaptureModuleImpl for rtc encoding channel. BUG=none TEST=try bots Review URL: http://codereview.chromium.org/7204008 TBR=wjia@chromium.org Review URL: http://codereview.chromium.org/7375007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92592 0039d316-1c4b-4281-b951-d872f2087c98
* add CaptureVideoDecoder for local preview and VideoCaptureModuleImpl for rtc ↵wjia@chromium.org2011-07-145-5/+58
| | | | | | | | | | encoding channel. BUG=none TEST=try bots Review URL: http://codereview.chromium.org/7204008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92590 0039d316-1c4b-4281-b951-d872f2087c98
* Remove untrusted scripting support.dmichael@chromium.org2011-07-143-35/+2
| | | | | | | | | BUG=82606 TEST=ppapi_tests,ppapi_unittests Review URL: http://codereview.chromium.org/7362012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92557 0039d316-1c4b-4281-b951-d872f2087c98
* Removed MemAlloc and MemFree from PPB_Coremball@google.com2011-07-144-6/+14
| | | | | | | | | BUG=81610 TEST=Trybots Review URL: http://codereview.chromium.org/7349016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92554 0039d316-1c4b-4281-b951-d872f2087c98
* Make the URLRequestContext constantbattre@chromium.org2011-07-141-4/+9
| | | | | | | | | | | | | The URLRequestContext is basically a collection of pointers to other data structures. This CL makes sure that these pointers are not easily modified after the construction of the URLRequestContext. BUG=67597 TEST=no Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92511 Review URL: http://codereview.chromium.org/7322010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92521 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92511 - Make the URLRequestContext constantbattre@chromium.org2011-07-141-9/+4
| | | | | | | | | | | | | | The URLRequestContext is basically a collection of pointers to other data structures. This CL makes sure that these pointers are not easily modified after the construction of the URLRequestContext. BUG=67597 TEST=no Review URL: http://codereview.chromium.org/7322010 TBR=battre@chromium.org Review URL: http://codereview.chromium.org/7366005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92512 0039d316-1c4b-4281-b951-d872f2087c98
* Make the URLRequestContext constantbattre@chromium.org2011-07-141-4/+9
| | | | | | | | | | | The URLRequestContext is basically a collection of pointers to other data structures. This CL makes sure that these pointers are not easily modified after the construction of the URLRequestContext. BUG=67597 TEST=no Review URL: http://codereview.chromium.org/7322010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92511 0039d316-1c4b-4281-b951-d872f2087c98
* Remove upstreamed expectations.yurys@chromium.org2011-07-141-3/+0
| | | | | | | | | | TBR=scheib BUG=None TEST=None Review URL: http://codereview.chromium.org/7361012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92491 0039d316-1c4b-4281-b951-d872f2087c98
* Delete filesystem origin info in the origin database if it is emptykinuko@chromium.org2011-07-142-16/+24
| | | | | | | | | | | | Note that we only do this if a filesystem for a particular origin/type pair is deleted via QuotaClient::DeleteOriginData BUG=86087 TEST=manually tested Review URL: http://codereview.chromium.org/7324053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92490 0039d316-1c4b-4281-b951-d872f2087c98
* Adding UMA histogram to Quotatzik@chromium.org2011-07-145-117/+184
| | | | | | | | | | BUG=86993 TEST=None Review URL: http://codereview.chromium.org/7230033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92489 0039d316-1c4b-4281-b951-d872f2087c98
* Mark fast/js/eval-keyword-vs-function.html as having wrong outputyurys@chromium.org2011-07-141-0/+3
| | | | | | | | | | TBR=scheib BUG=None TEST=None Review URL: http://codereview.chromium.org/7363016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92488 0039d316-1c4b-4281-b951-d872f2087c98
* Fix quota unawareness in copying multiple files with CopyDirectory.dmikurube@chromium.org2011-07-142-13/+34
| | | | | | | | | | BUG=89147 TEST=QuotaFileUtilTest.* Review URL: http://codereview.chromium.org/7354016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92483 0039d316-1c4b-4281-b951-d872f2087c98
* Detect and expose loss of OpenGL context using GL_ARB_robustness.kbr@chromium.org2011-07-144-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This CL was originally reviewed under http://codereview.chromium.org/7331020/ . The only difference is the removal of an #include from command_buffer.h that was accidentally left in and which caused a significant increase in the number of files containing static initializers, presumably because of the dependent #include of <iostream>.) This initial patch changes the Linux port to use GLX_ARB_create_context_robustness when available, and tests periodically whether the context has been lost after each draw call and when making the context current. The detection of context loss also works with EGL and ANGLE, although it always reports an unknown reset status. WebKit changes will follow which test the reset status and determine what to do in response; for example, the policy might be to never restore a WebGL context which was lost (due to a GPU reset) and which was determined to be the guilty context. Tested manually with WebGL stress tests and verified on Linux and Windows that in at least some situations it is possible to detect guilty contexts and shut down the associated WebGL application. Some precision of this detection was recently lost and will need to be fixed in following CLs. Also updated and ran GPU unit tests. BUG=88106 TEST=none (tested manually; try servers) R=gman,apatrick,piman Review URL: http://codereview.chromium.org/7362005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92453 0039d316-1c4b-4281-b951-d872f2087c98
* Implement support for cursor:none in Windows, as it already works properly ↵jbates@chromium.org2011-07-142-1/+2
| | | | | | | | | | | | | in Linux and Mac. Windows does not have an invisible cursor type; instead, this change adds a transparent cursor resource (none.cur). To test, I used the html provided in the bug report (copied to www/~jbates/test/cursor_none/). BUG=87489 TEST=in Windows, open html provided in bug report, verify cursor is not visible when above canvas. Review URL: http://codereview.chromium.org/7352003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92451 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CommandLine::GetArgs(), update callers.msw@chromium.org2011-07-131-1/+1
| | | | | | | | | BUG=73195 TEST=none Review URL: http://codereview.chromium.org/7352006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92448 0039d316-1c4b-4281-b951-d872f2087c98
* Add a mock WebAudioDevice for chromium DRTcrogers@google.com2011-07-135-0/+61
| | | | | | | | | BUG=none TEST=none (tested locally that this change allows my provisional layout tests to work) Review URL: http://codereview.chromium.org/7108028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92446 0039d316-1c4b-4281-b951-d872f2087c98
* Add instrumentation and checks to help debugging plugins.piman@chromium.org2011-07-131-0/+8
| | | | | | | | | | BUG=none TEST=about:gpu traces, with pepper flash, check that we see Font and RunOnMainThread traces. Review URL: http://codereview.chromium.org/7358003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92445 0039d316-1c4b-4281-b951-d872f2087c98
* Added extending forward_capacity for large reads.slock@chromium.org2011-07-133-19/+104
| | | | | | | | | | BUG=42956 TEST=test_shell_tests Review URL: http://codereview.chromium.org/7227016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92435 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92429 - Detect and expose loss of OpenGL context using ↵kbr@chromium.org2011-07-134-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GL_ARB_robustness. (Regressed static initalizer size on Linux -- will need to reexamine code to understand why.) This initial patch changes the Linux port to use GLX_ARB_create_context_robustness when available, and tests periodically whether the context has been lost after each draw call and when making the context current. The detection of context loss also works with EGL and ANGLE, although it always reports an unknown reset status. WebKit changes will follow which test the reset status and determine what to do in response; for example, the policy might be to never restore a WebGL context which was lost (due to a GPU reset) and which was determined to be the guilty context. Tested manually with WebGL stress tests and verified on Linux and Windows that in at least some situations it is possible to detect guilty contexts and shut down the associated WebGL application. Some precision of this detection was recently lost and will need to be fixed in following CLs. Also updated and ran GPU unit tests. BUG=88106 TEST=none (tested manually; try servers) Review URL: http://codereview.chromium.org/7331020 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/7346032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92434 0039d316-1c4b-4281-b951-d872f2087c98