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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none Created 3 years, 9 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
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 #include "cc/output/gl_renderer.h" 5 #include "cc/output/gl_renderer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 18 matching lines...) Expand all
29 #include "cc/base/math_util.h" 29 #include "cc/base/math_util.h"
30 #include "cc/debug/debug_colors.h" 30 #include "cc/debug/debug_colors.h"
31 #include "cc/output/compositor_frame.h" 31 #include "cc/output/compositor_frame.h"
32 #include "cc/output/compositor_frame_metadata.h" 32 #include "cc/output/compositor_frame_metadata.h"
33 #include "cc/output/context_provider.h" 33 #include "cc/output/context_provider.h"
34 #include "cc/output/copy_output_request.h" 34 #include "cc/output/copy_output_request.h"
35 #include "cc/output/dynamic_geometry_binding.h" 35 #include "cc/output/dynamic_geometry_binding.h"
36 #include "cc/output/layer_quad.h" 36 #include "cc/output/layer_quad.h"
37 #include "cc/output/output_surface.h" 37 #include "cc/output/output_surface.h"
38 #include "cc/output/output_surface_frame.h" 38 #include "cc/output/output_surface_frame.h"
39 #include "cc/output/render_surface_filters.h"
40 #include "cc/output/renderer_settings.h" 39 #include "cc/output/renderer_settings.h"
41 #include "cc/output/static_geometry_binding.h" 40 #include "cc/output/static_geometry_binding.h"
42 #include "cc/output/texture_mailbox_deleter.h" 41 #include "cc/output/texture_mailbox_deleter.h"
42 #include "cc/paint/render_surface_filters.h"
43 #include "cc/quads/draw_polygon.h" 43 #include "cc/quads/draw_polygon.h"
44 #include "cc/quads/picture_draw_quad.h" 44 #include "cc/quads/picture_draw_quad.h"
45 #include "cc/quads/render_pass.h" 45 #include "cc/quads/render_pass.h"
46 #include "cc/quads/stream_video_draw_quad.h" 46 #include "cc/quads/stream_video_draw_quad.h"
47 #include "cc/quads/texture_draw_quad.h" 47 #include "cc/quads/texture_draw_quad.h"
48 #include "cc/raster/scoped_gpu_raster.h" 48 #include "cc/raster/scoped_gpu_raster.h"
49 #include "cc/resources/resource_pool.h" 49 #include "cc/resources/resource_pool.h"
50 #include "cc/resources/scoped_resource.h" 50 #include "cc/resources/scoped_resource.h"
51 #include "gpu/GLES2/gl2extchromium.h" 51 #include "gpu/GLES2/gl2extchromium.h"
52 #include "gpu/command_buffer/client/context_support.h" 52 #include "gpu/command_buffer/client/context_support.h"
(...skipping 3529 matching lines...) Expand 10 before | Expand all | Expand 10 after
3582 return; 3582 return;
3583 3583
3584 // Report GPU overdraw as a percentage of |max_result|. 3584 // Report GPU overdraw as a percentage of |max_result|.
3585 TRACE_COUNTER1( 3585 TRACE_COUNTER1(
3586 TRACE_DISABLED_BY_DEFAULT("cc.debug.overdraw"), "GPU Overdraw", 3586 TRACE_DISABLED_BY_DEFAULT("cc.debug.overdraw"), "GPU Overdraw",
3587 (std::accumulate(overdraw->begin(), overdraw->end(), 0) * 100) / 3587 (std::accumulate(overdraw->begin(), overdraw->end(), 0) * 100) /
3588 max_result); 3588 max_result);
3589 } 3589 }
3590 3590
3591 } // namespace cc 3591 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698