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

Side by Side Diff: cc/playback/display_list_raster_source.h

Issue 1279843004: cc: Plumb more details about pixel refs to tile manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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 | « cc/playback/display_item_list.cc ('k') | cc/playback/display_list_raster_source.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_ 5 #ifndef CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_
6 #define CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_ 6 #define CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 22 matching lines...) Expand all
33 void PlaybackToSharedCanvas(SkCanvas* canvas, 33 void PlaybackToSharedCanvas(SkCanvas* canvas,
34 const gfx::Rect& canvas_rect, 34 const gfx::Rect& canvas_rect,
35 float contents_scale) const override; 35 float contents_scale) const override;
36 void PerformSolidColorAnalysis( 36 void PerformSolidColorAnalysis(
37 const gfx::Rect& content_rect, 37 const gfx::Rect& content_rect,
38 float contents_scale, 38 float contents_scale,
39 RasterSource::SolidColorAnalysis* analysis) const override; 39 RasterSource::SolidColorAnalysis* analysis) const override;
40 bool IsSolidColor() const override; 40 bool IsSolidColor() const override;
41 SkColor GetSolidColor() const override; 41 SkColor GetSolidColor() const override;
42 gfx::Size GetSize() const override; 42 gfx::Size GetSize() const override;
43 void GatherPixelRefs(const gfx::Rect& content_rect, 43 void GatherPixelRefs(
44 float contents_scale, 44 const gfx::Rect& content_rect,
45 std::vector<SkPixelRef*>* pixel_refs) const override; 45 float contents_scale,
46 std::vector<skia::PositionPixelRef>* pixel_refs) const override;
46 bool CoversRect(const gfx::Rect& content_rect, 47 bool CoversRect(const gfx::Rect& content_rect,
47 float contents_scale) const override; 48 float contents_scale) const override;
48 bool HasRecordings() const override; 49 bool HasRecordings() const override;
49 void SetShouldAttemptToUseDistanceFieldText() override; 50 void SetShouldAttemptToUseDistanceFieldText() override;
50 bool ShouldAttemptToUseDistanceFieldText() const override; 51 bool ShouldAttemptToUseDistanceFieldText() const override;
51 void DidBeginTracing() override; 52 void DidBeginTracing() override;
52 void AsValueInto(base::trace_event::TracedValue* array) const override; 53 void AsValueInto(base::trace_event::TracedValue* array) const override;
53 skia::RefPtr<SkPicture> GetFlattenedPicture() override; 54 skia::RefPtr<SkPicture> GetFlattenedPicture() override;
54 size_t GetPictureMemoryUsage() const override; 55 size_t GetPictureMemoryUsage() const override;
55 bool CanUseLCDText() const override; 56 bool CanUseLCDText() const override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const gfx::Rect& canvas_bitmap_rect, 93 const gfx::Rect& canvas_bitmap_rect,
93 const gfx::Rect& canvas_playback_rect, 94 const gfx::Rect& canvas_playback_rect,
94 float contents_scale) const; 95 float contents_scale) const;
95 96
96 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource); 97 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource);
97 }; 98 };
98 99
99 } // namespace cc 100 } // namespace cc
100 101
101 #endif // CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_ 102 #endif // CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_
OLDNEW
« no previous file with comments | « cc/playback/display_item_list.cc ('k') | cc/playback/display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698