summaryrefslogtreecommitdiffstats
path: root/cc/CCDelegatedRendererLayerImplTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove WTF HashMap and PassOwnPtr dependencies for CCRenderPassdanakj@chromium.org2012-09-261-4/+5
| | | | | | | | | | | | | | | | We add a ScopedPtrHashMap and ScopedPtrVector which preserve the behaviour of HashMap<T, OwnPtr<V> > and Vector<OwnPtr<T>> and use these for CCRenderPass and any code that creates CCRenderPass objects. R=enne,jamesr BUG=152049 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158729 Review URL: https://chromiumcodereview.appspot.com/10979010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158837 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 158729 - Remove WTF HashMap and PassOwnPtr dependencies for CCRenderPassdanakj@chromium.org2012-09-261-5/+4
| | | | | | | | | | | | | | | | | We add a ScopedPtrHashMap and ScopedPtrVector which preserve the behaviour of HashMap<T, OwnPtr<V> > and Vector<OwnPtr<T>> and use these for CCRenderPass and any code that creates CCRenderPass objects. R=enne,jamesr BUG=152049 Review URL: https://chromiumcodereview.appspot.com/10979010 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/10984036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158738 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WTF HashMap and PassOwnPtr dependencies for CCRenderPassdanakj@chromium.org2012-09-261-4/+5
| | | | | | | | | | | | | | We add a ScopedPtrHashMap and ScopedPtrVector which preserve the behaviour of HashMap<T, OwnPtr<V> > and Vector<OwnPtr<T>> and use these for CCRenderPass and any code that creates CCRenderPass objects. R=enne,jamesr BUG=152049 Review URL: https://chromiumcodereview.appspot.com/10979010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158729 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove TextureUploaderOption.reveman@chromium.org2012-09-221-1/+1
| | | | | | | | | | | After stopping to throttle partial uploads this option is no longer needed. BUG= TEST=cc_unittests Review URL: https://chromiumcodereview.appspot.com/10961008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158192 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ubercomp DelegatedRendererLayer.danakj@chromium.org2012-09-201-0/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a layer that owns a set of RenderPasses with DrawQuads, and is able to insert those RenderPasses and DrawQuads into the current frame during CCLayerTreeHostImpl::calculateRenderPasses(). The layer owns whatever quads/passes you give to it, and copies them with modifications as needed into the current frame via the QuadSink. Quads from the layer's root RenderPass are merged into its target RenderPass, with the transform and opacity being modified if needed. Other RenderPasses are inserted into the frame as-is, with RenderPass ids being adjusted to not collide with any other RenderPasses in the frame, and using a scheme that allows the layer to reverse-lookup its own copy of a RenderPass from the id it generated. Moved from: https://bugs.webkit.org/show_bug.cgi?id=94145 Tests: CCDelegatedRendererLayerImplTestSimple.AddsContributingRenderPasses CCDelegatedRendererLayerImplTestSimple.AddsQuadsToContributingRenderPasses CCDelegatedRendererLayerImplTestSimple.AddsQuadsToTargetRenderPass CCDelegatedRendererLayerImplTestSimple.QuadsFromRootRenderPassAreModifiedForTheTarget CCDelegatedRendererLayerImplTestOwnSurface.AddsRenderPasses CCDelegatedRendererLayerImplTestOwnSurface.AddsQuadsToContributingRenderPasses CCDelegatedRendererLayerImplTestOwnSurface.AddsQuadsToTargetRenderPass CCDelegatedRendererLayerImplTestOwnSurface.QuadsFromRootRenderPassAreNotModifiedForTheTarget BUG=123445 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157700 Review URL: https://chromiumcodereview.appspot.com/10916307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157794 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 157700 - Add the ubercomp DelegatedRendererLayer.ilevy@chromium.org2012-09-201-379/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a layer that owns a set of RenderPasses with DrawQuads, and is able to insert those RenderPasses and DrawQuads into the current frame during CCLayerTreeHostImpl::calculateRenderPasses(). The layer owns whatever quads/passes you give to it, and copies them with modifications as needed into the current frame via the QuadSink. Quads from the layer's root RenderPass are merged into its target RenderPass, with the transform and opacity being modified if needed. Other RenderPasses are inserted into the frame as-is, with RenderPass ids being adjusted to not collide with any other RenderPasses in the frame, and using a scheme that allows the layer to reverse-lookup its own copy of a RenderPass from the id it generated. Moved from: https://bugs.webkit.org/show_bug.cgi?id=94145 Tests: CCDelegatedRendererLayerImplTestSimple.AddsContributingRenderPasses CCDelegatedRendererLayerImplTestSimple.AddsQuadsToContributingRenderPasses CCDelegatedRendererLayerImplTestSimple.AddsQuadsToTargetRenderPass CCDelegatedRendererLayerImplTestSimple.QuadsFromRootRenderPassAreModifiedForTheTarget CCDelegatedRendererLayerImplTestOwnSurface.AddsRenderPasses CCDelegatedRendererLayerImplTestOwnSurface.AddsQuadsToContributingRenderPasses CCDelegatedRendererLayerImplTestOwnSurface.AddsQuadsToTargetRenderPass CCDelegatedRendererLayerImplTestOwnSurface.QuadsFromRootRenderPassAreNotModifiedForTheTarget BUG=123445 Review URL: https://chromiumcodereview.appspot.com/10916307 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/10957011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157704 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ubercomp DelegatedRendererLayer.danakj@chromium.org2012-09-201-0/+379
This adds a layer that owns a set of RenderPasses with DrawQuads, and is able to insert those RenderPasses and DrawQuads into the current frame during CCLayerTreeHostImpl::calculateRenderPasses(). The layer owns whatever quads/passes you give to it, and copies them with modifications as needed into the current frame via the QuadSink. Quads from the layer's root RenderPass are merged into its target RenderPass, with the transform and opacity being modified if needed. Other RenderPasses are inserted into the frame as-is, with RenderPass ids being adjusted to not collide with any other RenderPasses in the frame, and using a scheme that allows the layer to reverse-lookup its own copy of a RenderPass from the id it generated. Moved from: https://bugs.webkit.org/show_bug.cgi?id=94145 Tests: CCDelegatedRendererLayerImplTestSimple.AddsContributingRenderPasses CCDelegatedRendererLayerImplTestSimple.AddsQuadsToContributingRenderPasses CCDelegatedRendererLayerImplTestSimple.AddsQuadsToTargetRenderPass CCDelegatedRendererLayerImplTestSimple.QuadsFromRootRenderPassAreModifiedForTheTarget CCDelegatedRendererLayerImplTestOwnSurface.AddsRenderPasses CCDelegatedRendererLayerImplTestOwnSurface.AddsQuadsToContributingRenderPasses CCDelegatedRendererLayerImplTestOwnSurface.AddsQuadsToTargetRenderPass CCDelegatedRendererLayerImplTestOwnSurface.QuadsFromRootRenderPassAreNotModifiedForTheTarget BUG=123445 Review URL: https://chromiumcodereview.appspot.com/10916307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157700 0039d316-1c4b-4281-b951-d872f2087c98