Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: cc/layer_impl.cc

Issue 11360093: Mark layers that can use LCD text based on layer transform and opacity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed unit tests Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "cc/layer_impl.h" 7 #include "cc/layer_impl.h"
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 29 matching lines...) Expand all
40 , m_backgroundColor(0) 40 , m_backgroundColor(0)
41 , m_doubleSided(true) 41 , m_doubleSided(true)
42 , m_layerPropertyChanged(false) 42 , m_layerPropertyChanged(false)
43 , m_layerSurfacePropertyChanged(false) 43 , m_layerSurfacePropertyChanged(false)
44 , m_masksToBounds(false) 44 , m_masksToBounds(false)
45 , m_contentsOpaque(false) 45 , m_contentsOpaque(false)
46 , m_opacity(1.0) 46 , m_opacity(1.0)
47 , m_preserves3D(false) 47 , m_preserves3D(false)
48 , m_useParentBackfaceVisibility(false) 48 , m_useParentBackfaceVisibility(false)
49 , m_drawCheckerboardForMissingTiles(false) 49 , m_drawCheckerboardForMissingTiles(false)
50 , m_useLCDText(false) 50 , m_canUseLCDText(false)
51 , m_drawsContent(false) 51 , m_drawsContent(false)
52 , m_forceRenderSurface(false) 52 , m_forceRenderSurface(false)
53 , m_isContainerForFixedPositionLayers(false) 53 , m_isContainerForFixedPositionLayers(false)
54 , m_fixedToContainerLayer(false) 54 , m_fixedToContainerLayer(false)
55 , m_renderTarget(0) 55 , m_renderTarget(0)
56 , m_drawDepth(0) 56 , m_drawDepth(0)
57 , m_drawOpacity(0) 57 , m_drawOpacity(0)
58 , m_drawOpacityIsAnimating(false) 58 , m_drawOpacityIsAnimating(false)
59 , m_debugBorderColor(0) 59 , m_debugBorderColor(0)
60 , m_debugBorderWidth(0) 60 , m_debugBorderWidth(0)
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 702
703 void LayerImpl::setVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbarLayer) 703 void LayerImpl::setVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbarLayer)
704 { 704 {
705 if (!m_scrollbarAnimationController) 705 if (!m_scrollbarAnimationController)
706 m_scrollbarAnimationController = ScrollbarAnimationController::create(th is); 706 m_scrollbarAnimationController = ScrollbarAnimationController::create(th is);
707 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer); 707 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer);
708 m_scrollbarAnimationController->updateScrollOffset(this); 708 m_scrollbarAnimationController->updateScrollOffset(this);
709 } 709 }
710 710
711 } // namespace cc 711 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_impl.h ('k') | cc/layer_impl_unittest.cc » ('j') | cc/layer_tree_host_common.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698