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

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

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 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/output/direct_renderer.h ('k') | cc/output/gl_renderer_unittest.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 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 <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "base/trace_event/trace_event.h" 19 #include "base/trace_event/trace_event.h"
20 #include "cc/base/math_util.h" 20 #include "cc/base/math_util.h"
21 #include "cc/output/compositor_frame.h" 21 #include "cc/output/compositor_frame.h"
22 #include "cc/output/compositor_frame_metadata.h" 22 #include "cc/output/compositor_frame_metadata.h"
23 #include "cc/output/context_provider.h" 23 #include "cc/output/context_provider.h"
24 #include "cc/output/copy_output_request.h" 24 #include "cc/output/copy_output_request.h"
25 #include "cc/output/dynamic_geometry_binding.h" 25 #include "cc/output/dynamic_geometry_binding.h"
26 #include "cc/output/gl_frame_data.h" 26 #include "cc/output/gl_frame_data.h"
27 #include "cc/output/layer_quad.h"
27 #include "cc/output/output_surface.h" 28 #include "cc/output/output_surface.h"
28 #include "cc/output/render_surface_filters.h" 29 #include "cc/output/render_surface_filters.h"
29 #include "cc/output/static_geometry_binding.h" 30 #include "cc/output/static_geometry_binding.h"
31 #include "cc/output/texture_mailbox_deleter.h"
30 #include "cc/quads/draw_polygon.h" 32 #include "cc/quads/draw_polygon.h"
31 #include "cc/quads/picture_draw_quad.h" 33 #include "cc/quads/picture_draw_quad.h"
32 #include "cc/quads/render_pass.h" 34 #include "cc/quads/render_pass.h"
33 #include "cc/quads/stream_video_draw_quad.h" 35 #include "cc/quads/stream_video_draw_quad.h"
34 #include "cc/quads/texture_draw_quad.h" 36 #include "cc/quads/texture_draw_quad.h"
35 #include "cc/resources/layer_quad.h" 37 #include "cc/raster/scoped_gpu_raster.h"
36 #include "cc/resources/scoped_gpu_raster.h"
37 #include "cc/resources/scoped_resource.h" 38 #include "cc/resources/scoped_resource.h"
38 #include "cc/resources/texture_mailbox_deleter.h"
39 #include "gpu/GLES2/gl2extchromium.h" 39 #include "gpu/GLES2/gl2extchromium.h"
40 #include "gpu/command_buffer/client/context_support.h" 40 #include "gpu/command_buffer/client/context_support.h"
41 #include "gpu/command_buffer/client/gles2_interface.h" 41 #include "gpu/command_buffer/client/gles2_interface.h"
42 #include "gpu/command_buffer/common/gpu_memory_allocation.h" 42 #include "gpu/command_buffer/common/gpu_memory_allocation.h"
43 #include "third_party/skia/include/core/SkBitmap.h" 43 #include "third_party/skia/include/core/SkBitmap.h"
44 #include "third_party/skia/include/core/SkColor.h" 44 #include "third_party/skia/include/core/SkColor.h"
45 #include "third_party/skia/include/core/SkColorFilter.h" 45 #include "third_party/skia/include/core/SkColorFilter.h"
46 #include "third_party/skia/include/core/SkImage.h" 46 #include "third_party/skia/include/core/SkImage.h"
47 #include "third_party/skia/include/core/SkSurface.h" 47 #include "third_party/skia/include/core/SkSurface.h"
48 #include "third_party/skia/include/gpu/GrContext.h" 48 #include "third_party/skia/include/gpu/GrContext.h"
(...skipping 3458 matching lines...) Expand 10 before | Expand all | Expand 10 after
3507 context_support_->ScheduleOverlayPlane( 3507 context_support_->ScheduleOverlayPlane(
3508 overlay.plane_z_order, 3508 overlay.plane_z_order,
3509 overlay.transform, 3509 overlay.transform,
3510 pending_overlay_resources_.back()->texture_id(), 3510 pending_overlay_resources_.back()->texture_id(),
3511 ToNearestRect(overlay.display_rect), 3511 ToNearestRect(overlay.display_rect),
3512 overlay.uv_rect); 3512 overlay.uv_rect);
3513 } 3513 }
3514 } 3514 }
3515 3515
3516 } // namespace cc 3516 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/direct_renderer.h ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698