summaryrefslogtreecommitdiffstats
path: root/cc/output/gl_renderer_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add external stencil support for Android WebView.aelias@chromium.org2013-07-301-3/+29
| | | | | | | | | | | | | | | | | | For non-rectangular clips, the Android framework populates the stencil buffer before asking WebView to draw. This adds support for CC to use an externally provided stencil buffer instead of always disabling stencil test. This change is the final piece needed to make rotation transforms work correctly. New tests ExternalStencilPixelTest.* NOTRY=true BUG=264053 R=danakj@chromium.org, joth@chromium.org, tedchoc@chromium.org Review URL: https://codereview.chromium.org/20579004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214416 0039d316-1c4b-4281-b951-d872f2087c98
* Blend TextureLayer background-color at draw time.alokp@chromium.org2013-07-121-0/+3
| | | | | | | | | | | | | | | | | This enables the following optimization: 1. The compositor will be able to disable GL blending if the background-color is opaque. 2. For elements that paint directly to a texture layer, i.e. accelerated canvas, video, etc., there is no need to allocate an additional layer just to paint the background. BUG=236982 Review URL: https://chromiumcodereview.appspot.com/18432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211339 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove unused WebKit includes.tfarina@chromium.org2013-07-031-1/+0
| | | | | | | | | | BUG=None TEST=cc_unittests R=danakj@chromium.org Review URL: https://chromiumcodereview.appspot.com/18156005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209941 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Pipe visibility and memory allocation to DelegatingRendererpiman@chromium.org2013-06-291-102/+33
| | | | | | | | | | | | | | | | | | The GPU process makes memory allocation decisions based on the visibility of surface. In the DelegatingRenderer case we don't use the surface directly, but we still have it - just like composite-to-mailbox. So we can use setVisibilityCHROMIUM to signal the GPU process, and listen to the memory allocation callback. This CL refactors a bunch of the logic that was hardcoded in GLRenderer into OutputSurface which is shared. That also opens the door to implementing a memory manager for the software renderer. BUG=123444 Review URL: https://chromiumcodereview.appspot.com/18121005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209287 0039d316-1c4b-4281-b951-d872f2087c98
* Premultiply alpha in shader for non-premultiplied textures.alokp@chromium.org2013-06-291-0/+2
| | | | | | | | | | | | | | | | | | Instead of using different blending equations we can perform the pre-multiplication in the shader itself. I am working on improving the performance of compositing canvas elements with opaque background. This requires blending the canvas texture with the background color in the shader. The implementation of this blending equation becomes much easier if we can assume that textures are always premultiplied. BUG=236982 TEST=compositing/webgl/webgl-nonpremultiplied-blend.html Review URL: https://chromiumcodereview.appspot.com/16943021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209246 0039d316-1c4b-4281-b951-d872f2087c98
* Delete VertexShaderPosTexTransformFlip.alokp@chromium.org2013-06-281-1/+0
| | | | | | | | | | The flip can be easily done using the texture transform in VertexShaderPosTexTransform. There is no need for a different shader just to do the flip. Review URL: https://chromiumcodereview.appspot.com/18084004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209066 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Replace FIXMEs with TODO(danakj)enne@chromium.org2013-06-281-2/+2
| | | | | | | | | R=danakj@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/18050012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209050 0039d316-1c4b-4281-b951-d872f2087c98
* Remove GpuMemoryAllocationForRenderer::enforce_but_do_not_keep_as_policypiman@chromium.org2013-06-261-4/+1
| | | | | | | | | | It's always false, and we're not planning on using the feature at this point. BUG=None Review URL: https://chromiumcodereview.appspot.com/16972012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208614 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix and re-enable DrawRenderPassQuadShaderPermutations testdanakj@chromium.org2013-06-131-96/+20
| | | | | | | | | | | | | | | | | | | | The GLRendererShaderTest.DrawRenderPassQuadShaderPermutations test was not working correctly since it included solid color quads which would change the active program. They are not needed since there is not actual pixel output to look at, instead we should just add the RenderPassDrawQuad meant to trigger a behaviour and then test for that behaviour. Also some of the methods to test for use of a specific program with a mask instead tested for the program without a mask by mistake. R=enne BUG=241318 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/16799004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206201 0039d316-1c4b-4281-b951-d872f2087c98
* Unified OutputSurface::SwapBuffers.aelias@chromium.org2013-06-111-41/+8
| | | | | | | | | | | | | | | | | | | | | This patch introduces a hard contract that CC will always call OutputSurface::SwapBuffers(), and OutputSurface will always respond with OutputSurfaceClient::OnSwapBuffersComplete(), in all rendering modes. I deleted the methods SendFrameToParentCompositor, PostSubBuffer, and OnSendFrameToParentCompositorAck, subsuming them into SwapBuffers. I also deleted all the settings and capabilities specifying which variant needed to be called. This should be a no-op for all graphics modes except for Android WebView, where it has the benefits of ensuring OnSwapBuffersComplete is called and that CompositorFrameMetadata is available even though no parent compositor exists. NOTRY=true BUG=237006 Review URL: https://chromiumcodereview.appspot.com/16304003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205501 0039d316-1c4b-4281-b951-d872f2087c98
* Adding YUVA support for enabling Alpha Playbackvigneshv@chromium.org2013-06-071-0/+1
| | | | | | | | | | | | | | Adding YUVA support for enabling VP8 Alpha Playback. Trying to reland the change that was reverted earlier. Old CL: https://codereview.chromium.org/12157002/ BUG=147355 TBR=jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/16580006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204944 0039d316-1c4b-4281-b951-d872f2087c98
* Implement transform/clip support for Android WebView.aelias@chromium.org2013-06-061-20/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | Transforms are applied above the root-layer. I fixed LTHCommon to forward root-layer transforms to sublayers, as the RenderSurface-based logic was previously clearing transforms and copying over only the scale portion. The clip rect is treated as the viewport for the purposes of DrawQuads and Renderer (this is required to avoid awful performance when the WebView is much larger than the screen). Because y-flipping the clip rect depends on knowledge of the true surface size, I also needed to add a new OutputSurface::SurfaceSize() getter and refactored viewport size throughout the Renderers to separate render-pass draw rect, glViewport rect, and surface size. Scale and translate transforms work with this patch, but rotation is still broken. New tests: LayerTreeHostCommonTest.TransformAboveRootLayer, GLRendererTest2.ScissorAndViewportWithinNonreshapableSurface, RendererPixelTest/2* and 3* NOTRY=true BUG=230463 Review URL: https://chromiumcodereview.appspot.com/15579002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204650 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 204508 "Adding YUVA support for enabling Alpha Playback"dalecurtis@google.com2013-06-061-1/+0
| | | | | | | | | | | | | | | | | | > Adding YUVA support for enabling Alpha Playback > > BUG=147355 > > Review URL: https://chromiumcodereview.appspot.com/12157002 Failing linux_asan with SEGV and heap buffer overflow errors: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASAN%20Tests%20%283%29/builds/9750 TBR=vigneshv@chromium.org Review URL: https://codereview.chromium.org/16564004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204518 0039d316-1c4b-4281-b951-d872f2087c98
* Adding YUVA support for enabling Alpha Playbackvigneshv@chromium.org2013-06-061-0/+1
| | | | | | | | BUG=147355 Review URL: https://chromiumcodereview.appspot.com/12157002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204508 0039d316-1c4b-4281-b951-d872f2087c98
* Move cc/debug/latency_info to ui/base.jbauman@chromium.org2013-05-291-10/+10
| | | | | | | | | | This structure would be useful in ui/surface, which can't depend on cc/. BUG= Review URL: https://chromiumcodereview.appspot.com/14999012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202772 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1/3 (compositor) of adding with device scale factor to transport surfacesccameron@chromium.org2013-05-241-4/+50
| | | | | | | | | | | | | | | | | | | | | Add a DeviceScaleFactor method to RendererClient (and all its instances) to get the scale factor from the layer tree to the output surface. Add a scale factor argument to OutputSurface::Reshape Replace OutputSurface::Reshape's use of WebGraphicsContext3D's reshape with reshapeWithScaleFactor. Implement reshapeWithScaleFactor for command buffer based WebGraphicsContext3Ds, but stop propagating the scale factor argument there. BUG=132714 Review URL: https://chromiumcodereview.appspot.com/15688002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202189 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use antialiasing code path for surfaces if there is a perspective w<0 ↵shawnsingh@chromium.org2013-05-201-5/+59
| | | | | | | | | | | | | | clipping status At this time, the antialiasing shader does not work when the quad+transform being rendered would have triggered a w<0 clipping issue. This patch adds the condition to prevent antialiasing, and adds a test for this scenario. BUG=237892 Review URL: https://chromiumcodereview.appspot.com/14735012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201169 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bad assumption in gl_renderer shader unit tests, and disable one test.shawnsingh@chromium.org2013-05-161-2/+68
| | | | | | | | | | | Disabling the test does not actually reduce test coverage, it was only passing because of the bas assumption in the first place. BUG=241318 Review URL: https://chromiumcodereview.appspot.com/15012028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200614 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix readback from non-root layers.danakj@chromium.org2013-05-081-0/+72
| | | | | | | | | | | | | | | | | | | | | | | The readback was assuming that it was reading from the root render pass, so using the full viewport size when flipping the result, but it should use the size of the currently bound framebuffer. Also, it should not flip if the readback is already in the correct orientation. Tests: LayerTreeHostReadbackPixelTest.ReadbackRootLayer LayerTreeHostReadbackPixelTest.ReadbackRootLayerWithChild LayerTreeHostReadbackPixelTest.ReadbackNonRootLayer LayerTreeHostReadbackPixelTest.ReadbackSmallNonRootLayer LayerTreeHostReadbackPixelTest.ReadbackSmallNonRootLayerWithChild RendererPixelTest.SimpleGreenRect_NonRootRenderPass R=piman@chromium.org BUG=179896 Review URL: https://codereview.chromium.org/15004009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199055 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add software renderer pixel testsenne@chromium.org2013-04-291-28/+28
| | | | | | | | | | | | | | Parameterize the existing gl renderer tests to use the software renderer and reuse them when appropriate. As the software renderer doesn't support filters or antialiasing, these are only turned on for the gl renderer at this point. R=danakj@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/14135011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197121 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land: cc: Fix anti-aliasing of axis-aligned quads.reveman@chromium.org2013-04-251-0/+34
| | | | | | | | | | | | | | | | | Axis-aligned quads with edges not aligned to pixel boundaries are rendered incorrectly. These quads need anti-aliasing but current code that determines if anti-aliasing is needed thinks that no axis-aligned quads need it. This fixes the problem by adding alignment to pixel boundaries as an additional requirement to avoid anti-aliasing. BUG=169374 TEST=GLRendererPixelTest.AxisAligned,GLRendererShaderTest.DrawSolidColorShader Review URL: https://chromiumcodereview.appspot.com/12538005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196534 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 196423 "cc: Fix anti-aliasing of axis-aligned quads."nick@chromium.org2013-04-251-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | [Reason for revert: AxisAligned unit test is failing on some of the Mac bots.] > cc: Fix anti-aliasing of axis-aligned quads. > > Axis-aligned quads with edges not aligned to pixel boundaries > are rendered incorrectly. These quads need anti-aliasing but > current code that determines if anti-aliasing is needed thinks > that no axis-aligned quads need it. > > This fixes the problem by adding alignment to pixel boundaries > as an additional requirement to avoid anti-aliasing. > > BUG=169374 > TEST=GLRendererPixelTest.AxisAligned,GLRendererShaderTest.DrawSolidColorShad > > Review URL: https://chromiumcodereview.appspot.com/12538005 TBR=reveman@chromium.org Review URL: https://codereview.chromium.org/14465006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196427 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix anti-aliasing of axis-aligned quads.reveman@chromium.org2013-04-251-0/+34
| | | | | | | | | | | | | | | | | Axis-aligned quads with edges not aligned to pixel boundaries are rendered incorrectly. These quads need anti-aliasing but current code that determines if anti-aliasing is needed thinks that no axis-aligned quads need it. This fixes the problem by adding alignment to pixel boundaries as an additional requirement to avoid anti-aliasing. BUG=169374 TEST=GLRendererPixelTest.AxisAligned,GLRendererShaderTest.DrawSolidColorShad Review URL: https://chromiumcodereview.appspot.com/12538005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196423 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Support highp texture coordinates in tile shadersbrianderson@chromium.org2013-04-241-7/+7
| | | | | | | | | | | | The previous assumption that tiles would not need highp texture coordinates was incorrect. This adds highp support for tiles and uses it when needed. BUG=233116 Review URL: https://chromiumcodereview.appspot.com/13877020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196246 0039d316-1c4b-4281-b951-d872f2087c98
* Add compositor support for the LatencyInfo.jbauman@chromium.org2013-04-221-4/+4
| | | | | | | | | | This just passes it through from the main thread to the impl thread upon commit (and then to the renderer). BUG=155367 Review URL: https://chromiumcodereview.appspot.com/14092003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195433 0039d316-1c4b-4281-b951-d872f2087c98
* Move swapcomplete callback into OutputSurfacejamesr@chromium.org2013-04-171-2/+0
| | | | | | | | | | | | Things like swap are concepts of an OutputSurface, not a context. Moving the callbacks to OutputSurface will also reduce cc's knowledge of the context guts and let us swap out the GL interface. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194394 Review URL: https://codereview.chromium.org/12545018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194700 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify gl_renderer_unittest.cc.reveman@chromium.org2013-04-171-127/+149
| | | | | | | | | | | Style-only change. R=danakj BUG= Review URL: https://codereview.chromium.org/14205009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194650 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 194394 "Move swapcomplete callback into OutputSurface"cpu@chromium.org2013-04-161-0/+2
| | | | | | | | | | | | | | | | | | It broke android in a weird manner, like it shows in your trybots. > Move swapcomplete callback into OutputSurface > > Things like swap are concepts of an OutputSurface, not a context. Moving the > callbacks to OutputSurface will also reduce cc's knowledge of the context > guts and let us swap out the GL interface. > > Review URL: https://codereview.chromium.org/12545018 TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/14308015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194459 0039d316-1c4b-4281-b951-d872f2087c98
* Move swapcomplete callback into OutputSurfacejamesr@chromium.org2013-04-161-2/+0
| | | | | | | | | | Things like swap are concepts of an OutputSurface, not a context. Moving the callbacks to OutputSurface will also reduce cc's knowledge of the context guts and let us swap out the GL interface. Review URL: https://codereview.chromium.org/12545018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194394 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb cc::LatencyInfo through command buffer and output surfacejbauman@chromium.org2013-04-121-4/+4
| | | | | | | | | | This allows the LatencyInfo struct to pass from the compositor to the gpu process and up to the browser. It only works completely with the passthrough image transport surface at the moment, because that doesn't require passing data through some extra components. BUG=155367 Review URL: https://chromiumcodereview.appspot.com/12614013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193864 0039d316-1c4b-4281-b951-d872f2087c98
* CC: HUD layer shouldn't cause damage when --show-surface-damage-rectsbacker@chromium.org2013-04-031-0/+3
| | | | | | | | | | | | | | Having the HUD layer cause damage defeats the purpose of showing the damage rects (it shows the full frame as damaged). However, we want all of the HUD layer to display. So we drop the HUD layer damage and disable partial swaps when a HUD layer is active. BUG=177724 Review URL: https://chromiumcodereview.appspot.com/12924010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192171 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Use highp precision for texture coords if available and neededbrianderson@chromium.org2013-04-011-31/+40
| | | | | | | | | | | | | | | | | This fixes an earlier version of this patch that had a bug in FragmentShaderRGBATexAlphaMask. High precision is only used when the source is greater than N pixels in any direction to prevent performance regressions. N is determined based on the actual precision of mediump reported by the driver. BUG=183581 BUG=173747 Review URL: https://chromiumcodereview.appspot.com/12665005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191692 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and ↵danakj@chromium.org2013-03-291-2/+2
| | | | | | | | | | cc_tests.gyp The flag flip will be a follow up once ChromeOS build is sorted out. Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191417 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191400 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..."rsleevi@chromium.org2013-03-291-2/+2
| | | | | | | | | | | | | | | | | CrOS bots are unhappy > cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp > > And fix compile errors that it causes. > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364 > > Review URL: https://codereview.chromium.org/13206004 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/13334005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191414 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gypdanakj@chromium.org2013-03-291-2/+2
| | | | | | | | | | And fix compile errors that it causes. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191364 Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191400 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix constructor initialization style.danakj@chromium.org2013-03-291-5/+5
| | | | | | | | | | Style-only change. Move the commas to the end of the line. R=jamesr Review URL: https://codereview.chromium.org/13254004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191388 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191364 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..."danakj@chromium.org2013-03-291-2/+2
| | | | | | | | | | | | | > cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp > > And fix compile errors that it causes. > > Review URL: https://codereview.chromium.org/13206004 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/13316003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191371 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add ‘chromium_code’: 1 to cc.gyp and cc_tests.gypdanakj@chromium.org2013-03-291-2/+2
| | | | | | | | And fix compile errors that it causes. Review URL: https://codereview.chromium.org/13206004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191364 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix lint errors in cc.danakj@chromium.org2013-03-281-16/+28
| | | | | | | | | | | | | This fixes lint errors for a bunch of files including occlusion_tracker_unittest.cc and layer_tree_host_unittest_*.cc, as well as everything remaining under cc/trees/ and cc/output/ R=enne NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12471012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191092 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize SkColorFilters when drawing RenderPassQuadsclholgat@chromium.org2013-03-281-4/+317
| | | | | | | | | | | | | | Pull the color transformation matrix from the SkImageFilter if possible and apply with a shader. Handles all permutations of shaders. BUG=168719 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190786 Review URL: https://chromiumcodereview.appspot.com/12803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191067 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Convert non-const reference arguments to pointers.danakj@chromium.org2013-03-271-24/+32
| | | | | | | | | | | Style-only change. This is forbidden by the style guide. R=jamesr Review URL: https://chromiumcodereview.appspot.com/12912010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190851 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 190786 "Optimize SkColorFilters when drawing RenderPassQuads"jam@chromium.org2013-03-261-317/+4
| | | | | | | | | | | | | | | | | > Optimize SkColorFilters when drawing RenderPassQuads > > Pull the color transformation matrix from the SkImageFilter if possible > and apply with a shader. Handles all permutations of shaders. > > BUG=168719 > > > Review URL: https://chromiumcodereview.appspot.com/12803003 TBR=clholgat@chromium.org Review URL: https://codereview.chromium.org/13101002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190791 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize SkColorFilters when drawing RenderPassQuadsclholgat@chromium.org2013-03-261-4/+317
| | | | | | | | | | | | Pull the color transformation matrix from the SkImageFilter if possible and apply with a shader. Handles all permutations of shaders. BUG=168719 Review URL: https://chromiumcodereview.appspot.com/12803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190786 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cpplint errors in cc/(animation|input|layers|trees|test)/jamesr@chromium.org2013-03-261-6/+6
| | | | | | | | | | | This fixes lint errors in everything except for the few stragglers (occlusion unit test, etc) that haven't been chromified. BUG=144577 Review URL: https://chromiumcodereview.appspot.com/12965007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190767 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix capitalization style in chromified files.danakj@chromium.org2013-03-251-24/+24
| | | | | | | | | | | | | | | | | Style-only change. Many already-chromified files missed a variable or function name here and there. This grabs (hopefully) all of them. For the record, I found these with: git gs '[^a-zA-Z0-9_>\."][a-jl-z]\+[A-Z][A-Za-z0-9_]*\($\|[ !=;,\.^&*)"]\)' R=enne BUG= Review URL: https://chromiumcodereview.appspot.com/12676029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190326 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Formatted gl_renderer_unittest.cc according to Chromium style.ernstm@chromium.org2013-03-241-635/+788
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/12924003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190219 0039d316-1c4b-4281-b951-d872f2087c98
* cc chromification: layer_tree_settingspiman@chromium.org2013-03-211-2/+2
| | | | | | | | BUG=144577 Review URL: https://codereview.chromium.org/12704013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189504 0039d316-1c4b-4281-b951-d872f2087c98
* Chromify prioritized_resource_manager.* and prioritized_resource_unittest.cc.hartmanng@chromium.org2013-03-201-3/+3
| | | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/12731010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189404 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Chromify ManagedMemoryPolicyenne@chromium.org2013-03-191-1/+1
| | | | | | | | | | R=jamesr@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/12886033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189140 0039d316-1c4b-4281-b951-d872f2087c98
* Part 8 of cc/ directory shuffles: resourcesjamesr@chromium.org2013-03-181-2/+2
| | | | | | | | | | | Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681 BUG=190824 TBR=enne@chromium.org, piman@chromium.org, jschuh@chromium.org Review URL: https://codereview.chromium.org/12471007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188696 0039d316-1c4b-4281-b951-d872f2087c98