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

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

Issue 81453002: Reland: CC: Adjust tiling creation triggers during pinch-zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CC_soon_bin_optimization_REDUCE_ZOOM_OUT_MEMORY_V2
Patch Set: Crash fix. Created 7 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
« no previous file with comments | « no previous file | cc/layers/picture_image_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PICTURE_IMAGE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_
7 7
8 #include "cc/layers/picture_layer_impl.h" 8 #include "cc/layers/picture_layer_impl.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 16 matching lines...) Expand all
27 bool animating_transform_to_screen, 27 bool animating_transform_to_screen,
28 float* contents_scale_x, 28 float* contents_scale_x,
29 float* contents_scale_y, 29 float* contents_scale_y,
30 gfx::Size* content_bounds) OVERRIDE; 30 gfx::Size* content_bounds) OVERRIDE;
31 31
32 protected: 32 protected:
33 PictureImageLayerImpl(LayerTreeImpl* tree_impl, int id); 33 PictureImageLayerImpl(LayerTreeImpl* tree_impl, int id);
34 34
35 virtual bool ShouldAdjustRasterScale( 35 virtual bool ShouldAdjustRasterScale(
36 bool animating_transform_to_screen) const OVERRIDE; 36 bool animating_transform_to_screen) const OVERRIDE;
37 virtual void CalculateRasterContentsScale( 37 virtual void RecalculateRasterScales(
38 bool animating_transform_to_screen, 38 bool animating_transform_to_screen) OVERRIDE;
39 float* raster_contents_scale,
40 float* low_res_raster_contents_scale) const OVERRIDE;
41 virtual void GetDebugBorderProperties( 39 virtual void GetDebugBorderProperties(
42 SkColor* color, float* width) const OVERRIDE; 40 SkColor* color, float* width) const OVERRIDE;
43 41
44 private: 42 private:
45 DISALLOW_COPY_AND_ASSIGN(PictureImageLayerImpl); 43 DISALLOW_COPY_AND_ASSIGN(PictureImageLayerImpl);
46 }; 44 };
47 45
48 } // namespace cc 46 } // namespace cc
49 47
50 #endif // CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_ 48 #endif // CC_LAYERS_PICTURE_IMAGE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_image_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698