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

Side by Side Diff: cc/output/direct_renderer.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/output/ca_layer_overlay.cc ('k') | cc/scheduler/compositor_timing_history.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "cc/output/direct_renderer.h" 5 #include "cc/output/direct_renderer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <unordered_map> 9 #include <unordered_map>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/numerics/safe_conversions.h" 14 #include "base/numerics/safe_conversions.h"
15 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
16 #include "cc/base/math_util.h" 16 #include "cc/base/math_util.h"
17 #include "cc/output/bsp_tree.h" 17 #include "cc/output/bsp_tree.h"
18 #include "cc/output/bsp_walk_action.h" 18 #include "cc/output/bsp_walk_action.h"
19 #include "cc/output/copy_output_request.h" 19 #include "cc/output/copy_output_request.h"
20 #include "cc/output/renderer_settings.h" 20 #include "cc/output/renderer_settings.h"
21 #include "cc/quads/draw_quad.h" 21 #include "cc/quads/draw_quad.h"
22 #include "cc/resources/scoped_resource.h" 22 #include "cc/resources/scoped_resource.h"
23 #include "ui/gfx/geometry/quad_f.h" 23 #include "ui/gfx/geometry/quad_f.h"
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 auto iter = render_pass_textures_.find(id); 585 auto iter = render_pass_textures_.find(id);
586 return iter != render_pass_textures_.end() && iter->second->id(); 586 return iter != render_pass_textures_.end() && iter->second->id();
587 } 587 }
588 588
589 // static 589 // static
590 gfx::Size DirectRenderer::RenderPassTextureSize(const RenderPass* render_pass) { 590 gfx::Size DirectRenderer::RenderPassTextureSize(const RenderPass* render_pass) {
591 return render_pass->output_rect.size(); 591 return render_pass->output_rect.size();
592 } 592 }
593 593
594 } // namespace cc 594 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/ca_layer_overlay.cc ('k') | cc/scheduler/compositor_timing_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698