| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We introduced this flag as a workaround for web sites which are not compatible
with HTML5 form validation. However we have received just one bug report [1]
caused by this feature since January 2011.
It's safe to remove the flag because the feature didn't make many
incompatibility issues.
[1] http://webkit.org/b/44436
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10640016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144125 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For Delegate/Observer-type classes that specify an
interface but do not have any particular lifetime
requirements, make their destructors protected. This is to
allow their interfaces to be implemented safely by
RefCounted types. With public destructors, it's possible to
do "scoped_ptr<Delegate> foo", and then assign a
RefCountedDelegateImpl, which would lead to a double free.
As none of these Delegates actually need public destructors
(ownership of the Delegate* is not transferred during a
function call / class constructor), mark the destructors
protected so that it becomes a compile warning to try to
delete them via the Delegate*.
BUG=123295
TEST=it compiles
Review URL: https://chromiumcodereview.appspot.com/10383262
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144086 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10577040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144082 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When an new frame comes in from a renderer, we do a pointer flip from an old to a new renderer texture. Previously, We waited until the next UI frame cleared (via OnCompositingEnded) before ACKing the renderer. This ensured that there were no pending UI GL calls in the pipeline referring to the old renderer texture.
With this CL, we ACK the renderer once we have kicked the frame (a form of flow control ensuring that the renderer does not race ahead of the UI) and use a SyncPoint in the GPU process to make sure all the pipelined UI draw calls have cleared before processing more renderer draw calls.
TEST=none
BUG=112299
Review URL: https://chromiumcodereview.appspot.com/10576015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144053 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that webkit.org/b/88467 has landed the IDB front end can directly respond
to property requests (name, version, flags, etc) from script, so the IPC
plumbing to route these requests to the back end can be removed.
R=michaeln@chromium.org,dgrogan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10657011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144052 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/10658018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143935 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
AcceleratedSurfaceMsg_BuffersSwappedACK and AcceleratedSurfaceMsg_PostSubBufferACK were handled the same way in the GPU process. So merge them.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10663003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143922 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces uses of IPC::Message::Sender with IPC::Sender and
IPC::Channel::Listener with IPC::Listener. I also fixed up header files where
it was obvious.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10662005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change
- provides an improved lock-free SeqLock implementation which eliminates any potential blocking of readers.
- provides a higher-level and simpler API as was suggested by Darin.
- ThreadSanitizer report suppressions are replaced with correct synchronization.
- eliminates nasty kMaximumContentionCount and associated histogram.
Review URL: https://chromiumcodereview.appspot.com/8772004
TBR=dvyukov@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10656020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change
- provides an improved lock-free SeqLock implementation which eliminates any potential blocking of readers.
- provides a higher-level and simpler API as was suggested by Darin.
- ThreadSanitizer report suppressions are replaced with correct synchronization.
- eliminates nasty kMaximumContentionCount and associated histogram.
Review URL: https://chromiumcodereview.appspot.com/8772004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143903 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
browser, decoupled from backbuffer drop.
For failures we suspect caused by this patch see:
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/6243
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28amd64%29/builds/2706
- - - - - - - - -
On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface.
RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete.
BUG=112842
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142408
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142541
Review URL: https://chromiumcodereview.appspot.com/10052018
TBR=mmocny@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10658007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=133650
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10575041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143700 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=127664
TEST=Build on Chrome OS, check that the log message appears.
Review URL: https://chromiumcodereview.appspot.com/10630023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143696 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
streaming speech recognition webservice (Speech CL2.3).
The support is very experimental by now and has a lot of debugging code for helping the development.
BUG=116954
TEST=content_unittests:GoogleStreamingRemoteEngineTest
Review URL: https://chromiumcodereview.appspot.com/10546020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143616 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
decoupled from backbuffer drop.
On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface.
RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete.
BUG=112842
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142408
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142541
Review URL: https://chromiumcodereview.appspot.com/10052018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143590 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BrowsingInstance/SiteInstances, Sandbox needs to be relaxed on Windows
Due to the complexity of managing graphics contexts across channels, and the need for relaxing sandboxing on Windows to allow renderer-to-renderer communication, guests should have their own BrowsingInstance/SiteInstance for the time being.
This restriction needs to go away in the long term.
BUG=none
TEST=content_unittests --gtest_filter="RenderViewHostManager*", and content_unittests --gtest_filter="SiteInstance*"
Review URL: https://chromiumcodereview.appspot.com/10500011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143544 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
WebKit change http://trac.webkit.org/changeset/120888 changes
deleteFunction(IDBKey) to call deleteFunction(IDBKeyRange), so we can
clean up the Chromium code too.
Review URL: https://chromiumcodereview.appspot.com/10650005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143495 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make discarding Frontbuffer on mac actually drop resources without a discarded backbuffer.
BUG=132444,132813
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10535147
TBR=mmocny@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10580010
TBR=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10653005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143465 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstreaming "Request desktop site" feature from Android. Previous CLs:
* http://codereview.chromium.org/9999010/
Stores the original request URL in NavigationEntry
* http://codereview.chromium.org/10170016/
Adds info about user agent overrides to WebContents and NavigationEntries
* https://bugs.webkit.org/show_bug.cgi?id=83959
Adds ability to override the user agent string per-WebFrameClient
The previous CLs added the framework to the browser and renderer to support
overriding the default user agent with a different string. This CL connects the
two sides, letting the browser pass information about the user agent override the
renderer should be using for a given navigation.
There's a slightly out of date doc at http://go/chrome_android_rds that's being
adjusted as CLs land.
Changes from previous CLs:
* The user agent override string is now stored in the RendererPreferences instead
of directly inside the RenderViewImpl and WebContentsImpl.
* Setting the user agent override for a WebContents forces a reload if a page is
currently being loaded to avoid giving different parts of a web page different
user agents.
Additions:
* The browser-side lets the renderer know about the user agent override string
through an IPC call that occurs when the user agent is set in WebContentsImpl
and when a RenderViewImpl is created.
* Instant + Prefetch classes have been adjusted to set carry over the override flags
from the WebContents they're being used for.
* A new function is added to the NavigationController to allow setting the override
flag for a particular NavigationEntry before it is loaded.
* The NavigationController is alerted to new navigations by the renderer with an IPC
call and saves the override state in the relevant NavigationEntry.
* DocumentState stores whether the user agent override was used for a given navigation,
and is set in RenderViewImpl::didCreateDataSource(). Both browser- and
renderer-initiated navigations go through here, with
browser-initiated navigations using a ViewMsg_Navigate_Params.
* WebFrameClient::userAgentOverride() is overridden by RenderViewImpl to return the
user agent for the current main frame. If the main frame is provisionally loading
something, we use the override for the provisional load instead.
Internal bugs=6272286,6213026
BUG=112923
TEST=
Review URL: https://chromiumcodereview.appspot.com/10450002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143279 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=132813
Review URL: https://chromiumcodereview.appspot.com/10581030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143230 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allows avoiding trivial sync IPC calls for metadata implemented in
http://webkit.org/b/88467 and sets the stage for more dramatic
improvements by moving IndexedDB logic from the browser to the
renderer and eliminating the V8 utility process.
BUG=129470
Review URL: https://chromiumcodereview.appspot.com/10533057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143202 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
MakeCurrent on OSMesa needs the size of the surface that it is being made current with.
BUG=none
TEST=run aura chrome with --use-gl=osmesa
Review URL: https://chromiumcodereview.appspot.com/10544081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143071 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
131: Update the DEPS file so that the RLZ project can build standalone.
132: URLFetcher has moved from content to net, update references.
Also remove now unnecessary code.
No functionality change.
BUG=118220
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10577015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142985 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever InitializeSandbox() is called, the current process should have only one thread.
We log an error if that's not the case.
BUG=
TEST=
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10548061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142981 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GpuMemoryManager will periodically schedule a Manage which calculates and assigns memory allocation limits for client contexts. At the moment, this process is kicked off when tab visibility changes, which is relatively infrequent.
However, the future direction is for the GpuMemoryManager to track and manage client allocations as memory usage changes, which may happen with each generated frame, once for each client. We would like to be able to limit the rate at which we assign allocations, which for now is set to once every 16ms.
BUG=120246
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10535063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142972 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove content::URLFetcher.
Update all references.
Add explicit dependency on content_common from browser, since template_url_fetcher.cc calls AssociateURLFetcherWithRenderView
(there are probably other direct uses of content_common).
BUG=118220
TEST=
TBR=satorux@chromium.org,mnissler@chromium.org,mal@chromium.org,jhawkins@chromium.org,sky@chromium.org,rlp@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10554008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make discarding Frontbuffer on mac actually drop resources without a discarded backbuffer.
BUG=132444
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10535147
TBR=mmocny@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10580010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142880 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=112299
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10541185
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142869 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We had two different message filters in GpuChannel. One counted unprocessed messages and another processed a message. By merging the two classes, we keep the count of unprocessed messages consistent.
TEST=none
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10565039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142849 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10533163
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142830 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=129103
Review URL: https://chromiumcodereview.appspot.com/10559017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142817 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This eliminates differences vs. downstream.
CommandLine, TraceEvent -> content/common, since they are used from browser, renderer, app
LibraryLoader.java -> content/app to match native
Remove JNIHelper which has bitmap helper tools. It was misleadingly
named and incorrectly included (nothing depends on it upstream).
It yet needs to find its right place.
Review URL: https://chromiumcodereview.appspot.com/10532155
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
browser, decoupled from backbuffer drop.
Reason (speculative):
According to http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28amd64%29/builds/2556
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/6039
after this commit those bots startet faling VMTest stage.
On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface.
RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete.
BUG=112842
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142408
Review URL: https://chromiumcodereview.appspot.com/10052018
TBR=mmocny@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10563021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142692 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=128423
TEST=Manual run.
Change-Id: Ic1d93a28e865dc13d6bd70edbcb7fa6a229f8503
Review URL: https://chromiumcodereview.appspot.com/10557025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142656 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=109810
TEST=manual testing
Review URL: https://chromiumcodereview.appspot.com/10532168
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142554 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
decoupled from backbuffer drop.
On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface.
RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete.
BUG=112842
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142408
Review URL: https://chromiumcodereview.appspot.com/10052018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142541 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=132829
TEST=Repro steps in bug.
Review URL: https://chromiumcodereview.appspot.com/10544189
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142534 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes to the renderer.
BUG=126586
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10407023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142519 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
the compositor's context.
BUG=129103
TEST=re-enable HW video decode, don't see flashing
Review URL: https://chromiumcodereview.appspot.com/10542175
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142509 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=acolwell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10556017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142486 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=132829
TEST=Repro steps in bug.
Review URL: https://chromiumcodereview.appspot.com/10535182
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142484 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make GLX/VA-API callers ensure that the proper GLX context context is
current before performing any GLX/VA-API calls.
Also remove unused parent glx context handle from VaapiH264Decoder.
BUG=128423
TEST=Manual run.
Change-Id: I8d2a69e3717aeb3508fb495f28a8c47fc84c8db5
Review URL: https://chromiumcodereview.appspot.com/10559007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142433 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
browser, decoupled from backbuffer drop.
On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface.
RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete.
BUG=112842
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10052018
TBR=mmocny@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10557014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add instantiation of VAVDA to GVDA::Initialize().
BUG=117062
TEST=Manual run.
Change-Id: Id7a267a406dbede78a5e8039e42c9664c011a66b
Review URL: https://chromiumcodereview.appspot.com/10554005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142411 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
decoupled from backbuffer drop.
On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface.
RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete.
BUG=112842
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/10052018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142408 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some TODOs for follow-up tasks.
Leave URLFetcher::Create in content, but move it to url_fetcher.cc.
BUG=118220
TEST=
Review URL: https://chromiumcodereview.appspot.com/10534154
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142355 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These seem to be causing a lot of gpu process crashes.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10548039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142340 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10532153
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142339 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not lose a pointer to video decode accelerator after its creation.
BUG=132912
TEST=Manual run.
Change-Id: Ic19b19d77b7b0b13ad4109fa077c3984d8dad14c
Review URL: https://chromiumcodereview.appspot.com/10535179
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142320 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Starting classes for content view, content view client. Includes some
relevant deps needed to build or pass a sanity check.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10536066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142309 0039d316-1c4b-4281-b951-d872f2087c98
|