summaryrefslogtreecommitdiffstats
path: root/cc
Commit message (Collapse)AuthorAgeFilesLines
* cc: Move anti-aliasing decision to parent compositor.reveman@chromium.org2013-01-143-24/+15
| | | | | | | | | | | | This moves the final anti-aliasing decision to the renderer where the exact tile transformation is known. BUG=169163 Review URL: https://chromiumcodereview.appspot.com/11829047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176739 0039d316-1c4b-4281-b951-d872f2087c98
* Move pending tile priorities to active on tree activationbrianderson@chromium.org2013-01-1310-0/+42
| | | | | | | | | | | | This prevents our tile priorites from being stale when the pending tree becomes active. BUG=166780 Review URL: https://chromiumcodereview.appspot.com/11856003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176601 0039d316-1c4b-4281-b951-d872f2087c98
* Decouple texture upload checks, tree activation, and drawing.brianderson@chromium.org2013-01-1212-42/+55
| | | | | | | | | | | | | | | | | | | | | This prevents us from drawing more often than we need to when impl-side-painting is enabled. It removes the concept of scheduling checkForCompletedSetPixels, instead checking for completed uploads 1) before determining whether or not to make the pending tree active and 2) before drawing. Tree activation is handled in two places now: 1) before calculating animations and 2) before a vsync tick. When a pending tree is activated, a request to draw is made. BUG=168724 Review URL: https://chromiumcodereview.appspot.com/11823043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176596 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Raster worker pool needs to accumlate paint time not overwrite itnduca@chromium.org2013-01-123-13/+17
| | | | | | | | | | | R=reveman BUG=168395 Review URL: https://chromiumcodereview.appspot.com/11852016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176563 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Walk layer tree to determine if pending tree can be activated.reveman@chromium.org2013-01-1212-71/+72
| | | | | | | | | | | | | Remove bin counts from tile manager and instead add a AreVisibleResourcesReady() function to LayerTreeImpl that can be used by LTHI to determine if pending tree can be activated. BUG=168119 Review URL: https://chromiumcodereview.appspot.com/11828027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176560 0039d316-1c4b-4281-b951-d872f2087c98
* Separate layer property pushes from tree structure syncs and clean up ↵jamesr@chromium.org2013-01-1215-82/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | scrollbar layer pointers We need sync the cc::Layer tree structure and layer properties to cc::LayerImpls at commit time. We track when properties and tree structure change and use that to decide whether to do a full tree sync or just a property push. This patch separates the property push to always happen seperately from the tree sync. The scrollbar and scroll layer pointer code needed a bit of cleanup to make this work. Before this patch, the way that scrolling worked was during the scrollbar pointer sync inside TreeSynchronizer::synchronizeTrees() was what actually updated the scroll offsets as a side effect of setting the pointer values. This patch rejiggers things so the ScrollbarAnimationController maintains the scroll properties at all times and the scrollbar layers pull values from their controller. As a bonus, this means changes to the scroll offset no longer need a full tree sync - they just need a property push. The scrollable bounds are also now pulled from the layer directly instead of the first child of a layer to avoid depending on properties updating in a specific order and be overall less hacky. This depends on webkit.org/b/106518 BUG=169143 Review URL: https://chromiumcodereview.appspot.com/11821064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176540 0039d316-1c4b-4281-b951-d872f2087c98
* Delay consuming the mailbox in the resource provider until lockForRead.alexst@chromium.org2013-01-111-17/+19
| | | | | | | | | | | | We don't need to consume the mailbox immediately after we receive it, since in UberComp case it causes unnecessary texture creation/deletion. BUG= Review URL: https://chromiumcodereview.appspot.com/11820056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176435 0039d316-1c4b-4281-b951-d872f2087c98
* Shallow flush after calling beginSetPixelsbrianderson@chromium.org2013-01-111-0/+1
| | | | | | | | | | | This reduces the latency of our uploads. BUG=169175 Review URL: https://chromiumcodereview.appspot.com/11830041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176368 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Create tilings on the pending tree if no active treeenne@chromium.org2013-01-111-19/+20
| | | | | | | | | | | | | | If this isn't done, then a pending layer may delay creating tilings until it is activated. This would also cause "activation deadlock" if we then waited until the pending layer had an ideal tiling to activate. R=reveman@chromium.org BUG=169292 Review URL: https://chromiumcodereview.appspot.com/11828052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176360 0039d316-1c4b-4281-b951-d872f2087c98
* Add a time source that is triggered by an external vsync signal insteadskyostil@chromium.org2013-01-115-0/+242
| | | | | | | | | | | | of a built-in timer. This will be used to bring in the system's vsync signal to the frame rate controller. TEST=VSyncTimeSourceTest Review URL: https://chromiumcodereview.appspot.com/11414241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176332 0039d316-1c4b-4281-b951-d872f2087c98
* Enables compositing support for webview.alexst@chromium.org2013-01-111-0/+1
| | | | | | | | | | | | | | | | Mailboxes for the webview are received from RWHVGuest and set on the texture layer with a callback that gets triggered when they are no longer in use by the compositor. An IPC is sent back to the browser with a sync point to ack the presented buffer. BUG=143429 Review URL: https://chromiumcodereview.appspot.com/11824040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176310 0039d316-1c4b-4281-b951-d872f2087c98
* ThreadedTest that a non-null OutputSurface that fails initialization ↵jamesr@chromium.org2013-01-102-1/+36
| | | | | | | | | | | | | | | immediately doesn't crash Unit test to catch things like bug 168691 BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175632 Review URL: https://chromiumcodereview.appspot.com/11782026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176184 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a bug in the layer sorter to deal with layers that are very close ↵whunt@chromium.org2013-01-102-0/+84
| | | | | | | | | | | | | | | together. Due to numeric precision issues, the sorter would produce wrong results for some transformations. The patch checks to see if all tests that compare the edges of the two layers result in significant precision loss. If all tests cause significant precision loss the sorter now declares that it is impossible to tell which layer should be drawn first and falls back to document order for those layers. This produces a consistent result across frames for layers that are close together and eliminated flickering artifacts on the test scene. A unit test is included. The test takes two layers (very close together) and tests to see what order the layer-sorter produces. The correct sorted order of the layers is the same as document order. Without this patch the layer-sorter puts them in the wrong order. BUG=61666 Review URL: https://chromiumcodereview.appspot.com/11362024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176178 0039d316-1c4b-4281-b951-d872f2087c98
* LTHI's bg animation timer should set the fake thread to impl.vollick@chromium.org2013-01-101-0/+18
| | | | | | | | | | | | | The single thread proxy expects this to be true. BUG=165399 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176061 Review URL: https://chromiumcodereview.appspot.com/11532009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176171 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Don't apply --enable-impl-side-painting to browser compositorenne@chromium.org2013-01-101-1/+0
| | | | | | | | | | | | | | | Checking the command line in LayerTreeSettings is dangerous, as both the browser and the renderer will have the same command line args. Moving this flag first, as it causes asserts in debug for --enable-impl-side-painting. The other flags can be moved separately. R=danakj@chromium.org BUG=169173,155209 Review URL: https://chromiumcodereview.appspot.com/11829052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176135 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 176061ricow@chromium.org2013-01-101-1/+0
| | | | | | | | | | | | | | | | | | | | > LTHI's bg animation timer should set the fake thread to impl. > > The single thread proxy expects this to be true. > > BUG=165399 > > > Review URL: https://chromiumcodereview.appspot.com/11532009 This is causing failures on mac: http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.6%20Tests%20%28dbg%29%281%29&number=32119 http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.7%20Tests%20%28dbg%29%281%29&number=5885 TBR=vollick@chromium.org Review URL: https://codereview.chromium.org/11820049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176075 0039d316-1c4b-4281-b951-d872f2087c98
* LTHI's bg animation timer should set the fake thread to impl.vollick@chromium.org2013-01-101-0/+1
| | | | | | | | | | | The single thread proxy expects this to be true. BUG=165399 Review URL: https://chromiumcodereview.appspot.com/11532009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176061 0039d316-1c4b-4281-b951-d872f2087c98
* Remove flags for nonFastScrollable and touchEventHandler regions getting changedyusufo@chromium.org2013-01-102-18/+2
| | | | | | | | | | | | | | Currently, two flags are controlling whether we push these regions to layerImpl from layer and with implSidePainting, we end up not pushing the regions at all since the flags are flipped back after pusing them once. Removing both flags to make sure we get the regions carried over. BUG=168929 Review URL: https://chromiumcodereview.appspot.com/11829041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176024 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor pinch-zoom viewport.wjmaclean@chromium.org2013-01-106-198/+241
| | | | | | | | | | | Refactors the class PinchZoomViewport to (1) move it out of layer_tree_host_impl.* and (2) convert it to Chromium style. BUG=none Review URL: https://chromiumcodereview.appspot.com/11829006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175996 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Prohibit impl-side painting with single threaded compositingenne@chromium.org2013-01-101-3/+4
| | | | | | | | | | | | Just a little cleanup and some extra checks. R=danakj@chromium.org BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11827036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175981 0039d316-1c4b-4281-b951-d872f2087c98
* Clamp invalidation regions of PictureLayer to layer boundsvangelis@chromium.org2013-01-101-1/+5
| | | | | | | | Clamps the incoming invalidation regions of PictureLayer to the actual layer bounds to avoid bloating the update region data structure. It also adds an early out when the invalidation rect is empty. Review URL: https://chromiumcodereview.appspot.com/11824013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175952 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Generate tilings at other scales for impl-side paintingenne@chromium.org2013-01-0914-65/+287
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds infrastructure to make it easy for PictureLayerImpl to manage its set of tilings via PictureLayerImpl::ManageTiles(). The main functionality change is to additionally generate a low-res set of tiles (by default 1/8 resolution). Along with generating tilings at different scales, tile priorities now have the correct resolution set on them so that they can be prioritized correctly. There's a few small bugfixes added here as well for correctness, such as making sure that tilings are sorted in the PictureLayerTilingSet from highest to lowest. (This is the order in which tiles will be used.) It also correctly calculates a synthetic contents scale / content bounds for the PictureLayerImpl to support multiple active contents scales. R=nduca@chromium.org BUG=167300 Review URL: https://chromiumcodereview.appspot.com/11704002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175927 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Delete the element being popped in ScopedPtrVector::pop_back()danakj@chromium.org2013-01-091-0/+1
| | | | | | | | | R=enne Review URL: https://chromiumcodereview.appspot.com/11830031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175922 0039d316-1c4b-4281-b951-d872f2087c98
* This patch prevents the creation of some render targets by informing the ↵whunt@chromium.org2013-01-0912-10/+169
| | | | | | | | | | | logic that determines if a sub-tree needs an intermediate render target about the ability of descendants in its sub-tree ability to clip themselves. BUG= Review URL: https://chromiumcodereview.appspot.com/11567034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175919 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Defer texture allocation (to allow async allocations).epenner@chromium.org2013-01-098-19/+183
| | | | | | | | | | | | | | | | | For textures, delay allocating until the first setPixels or beginSetPixels. This allows us to do a combined async allocation/upload in beginSetPixels. BUG=161337 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173875 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174035 Review URL: https://chromiumcodereview.appspot.com/11622008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175884 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add RasterWorkerPool class.reveman@chromium.org2013-01-095-225/+355
| | | | | | | | | | | | | | | This moves thread pool related code out of the tile manager and into a new RasterWorkerPool class. This doesn't change the behavior of the tile manager in any way it just separates tile management logic from the thread handling logic, which results in a significant cleanup of the tile manager. BUG=155209 TEST=manual Review URL: https://chromiumcodereview.appspot.com/11593030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175877 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor so chromium only GL extensions require gl2extchromium.hgman@chromium.org2013-01-098-0/+8
| | | | | | | | | | | | This is a step toward making third_party/khronos/gl2.h and gl2ext.h have as few modifications as possible. BUG=none Review URL: https://chromiumcodereview.appspot.com/11782020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175858 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the picture width and height to record and raster trace events used by ↵vangelis@chromium.org2013-01-091-2/+4
| | | | | | | | | | | | the picture pile to help with debugging. Review URL: https://chromiumcodereview.appspot.com/11830010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175819 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Improve raster performance of PicturePileImplenne@chromium.org2013-01-091-7/+12
| | | | | | | | | | | | | | Rather than rasterizing back-to-front, raster pictures from front-to-back using clips to prevent drawing over previous content. This prevents overdraw when rasterizing. R=nduca@chromium.org BUG=167306 Review URL: https://chromiumcodereview.appspot.com/11674004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175748 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Preserve currently scrolling layer during tree activationenne@chromium.org2013-01-093-1/+11
| | | | | | | | | BUG=168421 Review URL: https://chromiumcodereview.appspot.com/11826017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175729 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Make the ScopedPtrVector and ScopedPtrDeque containers act like STL ↵danakj@chromium.org2013-01-0929-174/+293
| | | | | | | | | | | | | | | | | | | | | | | | | vector and deque. These classes used methods to match the webcore classes and ease migration. Now they are at odds with the STL versions of these containers. Rename the methods, and change arguments from indexes to iterators, to match the STL containers. isEmpty() => empty() last() => back() first() => front() Peek() => at() append() => push_back() insert(index, value) => insert(iterator, value) remove(index) => erase(iterator) and erase(iterator, iterator) take(index) => take(iterator) takeFront() => take_front() takeBack() => take_back() Review URL: https://chromiumcodereview.appspot.com/11418108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175722 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 175690estade@chromium.org2013-01-0935-359/+69
| | | | | | | | | | | | | | | | | | | | | | > cc: Implement DelegatingRender::drawFrame() method. > > The method sends the render passes it is given to the parent compositor via > the output surface. It should include a valid frame metadata with it. > > Tests: > DelegatingRendererTestDraw.runSingleThread > DelegatingRendererTestDraw.runMultiThread > DelegatingRendererTestResources.runSingleThread > DelegatingRendererTestResources.runMultiThread > > R=piman > BUG=123444 > > Review URL: https://chromiumcodereview.appspot.com/11777025 TBR=danakj@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175694 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Implement DelegatingRender::drawFrame() method.danakj@chromium.org2013-01-0935-69/+359
| | | | | | | | | | | | | | | | | | The method sends the render passes it is given to the parent compositor via the output surface. It should include a valid frame metadata with it. Tests: DelegatingRendererTestDraw.runSingleThread DelegatingRendererTestDraw.runMultiThread DelegatingRendererTestResources.runSingleThread DelegatingRendererTestResources.runMultiThread R=piman BUG=123444 Review URL: https://chromiumcodereview.appspot.com/11777025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175690 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Map the clip_rect in the SharedQuadState to include the drawTransform of ↵danakj@chromium.org2013-01-092-0/+2
| | | | | | | | | | | | | | | | | | the hosting delegated renderer layer. The clip rect is assuming that it draws to its old target space, but it will be drawing to the target space of the delegated renderer layer, so adjust it accordingly. Tests: cc_unittests:DelegatedRendererLayerImplTestSharedData.SharedData BUG=123444 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11828011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175688 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 175632kaiwang@chromium.org2013-01-092-34/+1
| | | | | | | | | | | | | | | | | | > ThreadedTest that a non-null OutputSurface that fails initialization immediately doesn't crash > > Unit test to catch things like bug 168691 > > BUG= > > > Review URL: https://chromiumcodereview.appspot.com/11782026 The new tests this change added fail on Mac and linux TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/11830013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175653 0039d316-1c4b-4281-b951-d872f2087c98
* ThreadedTest that a non-null OutputSurface that fails initialization ↵jamesr@chromium.org2013-01-092-1/+34
| | | | | | | | | | | | | immediately doesn't crash Unit test to catch things like bug 168691 BUG= Review URL: https://chromiumcodereview.appspot.com/11782026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175632 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a method to access the non-composited content root layer picture pile.leandrogracia@chromium.org2013-01-0919-2/+199
| | | | | | | | | | | This method is required to implement the CapturePicture API in Android WebView. BUG=167908 Review URL: https://chromiumcodereview.appspot.com/11731002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175618 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid exposing gl bindings through cc public API headersjamesr@chromium.org2013-01-0825-25/+66
| | | | | | | | | | | | | | | | | | The cc library uses chromium's gles2 bindings in third_party/khronos/... to bind to GL for rendering. However, users of cc may not be able to pull these headers in when including cc API - for instance, on mac any code that includes content/common/view_messages.h pulls in the Apple CGL api through npapi.h. On the 10.6 SDK these headers collide with chromium's gl headers. This avoids exposing gl2.h includes via layer_tree_host.h, mostly by not including prioritized_resource_manager.h directly in l_t_h.h. BUG=156175 Review URL: https://chromiumcodereview.appspot.com/11794019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175554 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix low-res impl-side painting artifactsenne@chromium.org2013-01-0811-26/+98
| | | | | | | | | | | | | | | | Instead of clipping cc::Picture on recorded pixel boundaries (which may be a partial pixel in the final rastered content if content scale < 1), clip only on integral pixels in the final rastered output. This requires recording a small buffer of pixels around every picture, specified via a min contents scale. NOTRY=true R=nduca@chromium.org BUG=167590 Review URL: https://chromiumcodereview.appspot.com/11678003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175542 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Remove gfx::Size::ClampToNonNegative, prevent negative sizes always.danakj@chromium.org2013-01-081-1/+1
| | | | | | | | | | | | | | | | | | This was added with the intention of using Size as a vector, replacing use of IntSize. Since we have Vector2d now, negative sizes should not exist, so clamp them in set_width/set_height and the constructor. Not covered by tests, as we can't test DCHECKs. TBR=sky BUG=160158 Relanding: https://codereview.chromium.org/11365160/ Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=167255 Review URL: https://chromiumcodereview.appspot.com/11410024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175535 0039d316-1c4b-4281-b951-d872f2087c98
* Mailbox support for texture layers.alexst@chromium.org2013-01-087-18/+382
| | | | | | | | | | | | | A callback object is passed along with the mailbox name to the layer. This callback is triggered with a sync point to signal when the mailbox is no longer in use by the compositor. TextureLayerImpl packages a mailbox up as a resource on willDraw and releases it when a new mailbox is ready for consumption or when the layer is destroyed. BUG=123444 Review URL: https://chromiumcodereview.appspot.com/11638028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175529 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that render surface layer list is not dirty/empty before hit testing ↵yusufo@chromium.org2013-01-082-0/+16
| | | | | | | | | | | for touch events BUG=167135 Review URL: https://chromiumcodereview.appspot.com/11776033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175500 0039d316-1c4b-4281-b951-d872f2087c98
* Fix metadata content size.aelias@chromium.org2013-01-082-5/+63
| | | | | | | | | | | | | The previous implementation always returned zero since it checked the bounds of the scroll layer instead of its child. Also add a unit test for the metadata values. BUG=161945 Review URL: https://chromiumcodereview.appspot.com/11779008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175431 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Use maximum tiling contents scales for picture layer scaleenne@chromium.org2013-01-086-36/+105
| | | | | | | | | | | | | | | | | | | Due to the way the math works out for calculating which tiles to use for a given content rect, the content scale for a picture layer has to be the maximum of all the tilings on a layer. Currently, each layer only has one tiling, but this change also creates the infrastructure for adding different tilings over time and clamping contents scales to a minimum. NOTRY=true R=danakj@chromium.org BUG=155209 Review URL: https://chromiumcodereview.appspot.com/11777008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175420 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 175275jamesr@chromium.org2013-01-079-95/+14
| | | | | | | | | | | | | | | | | | | | | | > cc: Set the max frames pending from the thread proxy. > > When a parent compositor is present (ie, ubercompositor), throttle to a single > pending frame. > > Tests: > LayerTreeHostTestMaxPendingFrames.DelegatingRenderer > LayerTreeHostTestMaxPendingFrames.GLRenderer > > BUG=123444 > NOTRY=true > > Review URL: https://chromiumcodereview.appspot.com/11747002 TBR=danakj@chromium.org BUG=168691 Review URL: https://codereview.chromium.org/11784030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175416 0039d316-1c4b-4281-b951-d872f2087c98
* Move VideoFrameProvider to, and remove all usage of WebVideoFrame from cc/danakj@chromium.org2013-01-0713-211/+131
| | | | | | | | | BUG=123444 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11754003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175413 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate from MathUtil::inverse() to gfx::Transform::GetInverse()shawnsingh@google.com2013-01-0713-106/+109
| | | | | | | | BUG=159972, 163769 Review URL: https://codereview.chromium.org/11644008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175363 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ActiveAnimation -> Animationvollick@chromium.org2013-01-0718-396/+396
| | | | | | | | | | | | | | | ActiveAnimation has a bad name. It used to be the case that 'active' animations were a subset of all animations, but now every animation in cc/ is 'active' and I think that's confusing. R=enne@chromium.org BUG=None NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174267 Review URL: https://chromiumcodereview.appspot.com/11636051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175344 0039d316-1c4b-4281-b951-d872f2087c98
* We don't want to tick animation controllers for non-active layersvollick@chromium.org2013-01-0710-0/+39
| | | | | | | | | | | | | With this change, we will only tick animation controllers once one of their corresponding layers is active. R=enne@chromium.org NOTRY=true BUG=None Review URL: https://chromiumcodereview.appspot.com/11633044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175338 0039d316-1c4b-4281-b951-d872f2087c98
* cc: remove loseOutputSurface.danakj@chromium.org2013-01-078-35/+1
| | | | | | | | | | Depends on: https://bugs.webkit.org/show_bug.cgi?id=106089 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11748031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175336 0039d316-1c4b-4281-b951-d872f2087c98