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

Side by Side Diff: cc/layers/content_layer.h

Issue 85143002: Dirty rects always contain full tiles with delegated rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build break Created 7 years 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
« no previous file with comments | « AUTHORS ('k') | cc/layers/tiled_layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #ifndef CC_LAYERS_CONTENT_LAYER_H_ 5 #ifndef CC_LAYERS_CONTENT_LAYER_H_
6 #define CC_LAYERS_CONTENT_LAYER_H_ 6 #define CC_LAYERS_CONTENT_LAYER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/layers/tiled_layer.h" 10 #include "cc/layers/tiled_layer.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual bool SupportsLCDText() const OVERRIDE; 53 virtual bool SupportsLCDText() const OVERRIDE;
54 54
55 virtual skia::RefPtr<SkPicture> GetPicture() const OVERRIDE; 55 virtual skia::RefPtr<SkPicture> GetPicture() const OVERRIDE;
56 56
57 virtual void OnOutputSurfaceCreated() OVERRIDE; 57 virtual void OnOutputSurfaceCreated() OVERRIDE;
58 58
59 protected: 59 protected:
60 explicit ContentLayer(ContentLayerClient* client); 60 explicit ContentLayer(ContentLayerClient* client);
61 virtual ~ContentLayer(); 61 virtual ~ContentLayer();
62 62
63 // TiledLayer implementation.
64 virtual LayerUpdater* Updater() const OVERRIDE;
65
63 private: 66 private:
64 // TiledLayer implementation. 67 // TiledLayer implementation.
65 virtual LayerUpdater* Updater() const OVERRIDE;
66 virtual void CreateUpdaterIfNeeded() OVERRIDE; 68 virtual void CreateUpdaterIfNeeded() OVERRIDE;
67 69
68 void UpdateCanUseLCDText(); 70 void UpdateCanUseLCDText();
69 71
70 ContentLayerClient* client_; 72 ContentLayerClient* client_;
71 scoped_refptr<ContentLayerUpdater> updater_; 73 scoped_refptr<ContentLayerUpdater> updater_;
72 bool can_use_lcd_text_last_frame_; 74 bool can_use_lcd_text_last_frame_;
73 75
74 DISALLOW_COPY_AND_ASSIGN(ContentLayer); 76 DISALLOW_COPY_AND_ASSIGN(ContentLayer);
75 }; 77 };
76 78
77 } // namespace cc 79 } // namespace cc
78 #endif // CC_LAYERS_CONTENT_LAYER_H_ 80 #endif // CC_LAYERS_CONTENT_LAYER_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | cc/layers/tiled_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698