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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+fix Created 4 years, 7 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/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.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 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 #ifndef CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 bool IsSingleThreaded() const; 414 bool IsSingleThreaded() const;
415 bool IsThreaded() const; 415 bool IsThreaded() const;
416 bool IsRemoteServer() const; 416 bool IsRemoteServer() const;
417 bool IsRemoteClient() const; 417 bool IsRemoteClient() const;
418 void BuildPropertyTreesForTesting(); 418 void BuildPropertyTreesForTesting();
419 419
420 ImageSerializationProcessor* image_serialization_processor() const { 420 ImageSerializationProcessor* image_serialization_processor() const {
421 return image_serialization_processor_; 421 return image_serialization_processor_;
422 } 422 }
423 423
424 void ReportFixedRasterScaleUseCounters(
425 bool has_fixed_raster_scale_blurry_content,
426 bool has_fixed_raster_scale_potential_performance_regression);
427
424 protected: 428 protected:
425 LayerTreeHost(InitParams* params, CompositorMode mode); 429 LayerTreeHost(InitParams* params, CompositorMode mode);
426 void InitializeThreaded( 430 void InitializeThreaded(
427 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 431 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
428 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner, 432 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner,
429 std::unique_ptr<BeginFrameSource> external_begin_frame_source); 433 std::unique_ptr<BeginFrameSource> external_begin_frame_source);
430 void InitializeSingleThreaded( 434 void InitializeSingleThreaded(
431 LayerTreeHostSingleThreadClient* single_thread_client, 435 LayerTreeHostSingleThreadClient* single_thread_client,
432 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 436 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
433 std::unique_ptr<BeginFrameSource> external_begin_frame_source); 437 std::unique_ptr<BeginFrameSource> external_begin_frame_source);
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 592
589 uint32_t surface_id_namespace_; 593 uint32_t surface_id_namespace_;
590 uint32_t next_surface_sequence_; 594 uint32_t next_surface_sequence_;
591 595
592 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
593 }; 597 };
594 598
595 } // namespace cc 599 } // namespace cc
596 600
597 #endif // CC_TREES_LAYER_TREE_HOST_H_ 601 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698