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

Side by Side Diff: components/exo/surface.cc

Issue 2708153005: Rename SurfaceIdAllocator to LocalSurfaceIdAllocator (Closed)
Patch Set: Delete useless include Created 3 years, 10 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 | « components/exo/surface.h ('k') | content/browser/compositor/image_transport_factory.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/exo/surface.h" 5 #include "components/exo/surface.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/trace_event/trace_event.h" 13 #include "base/trace_event/trace_event.h"
14 #include "base/trace_event/trace_event_argument.h" 14 #include "base/trace_event/trace_event_argument.h"
15 #include "cc/quads/render_pass.h" 15 #include "cc/quads/render_pass.h"
16 #include "cc/quads/shared_quad_state.h" 16 #include "cc/quads/shared_quad_state.h"
17 #include "cc/quads/solid_color_draw_quad.h" 17 #include "cc/quads/solid_color_draw_quad.h"
18 #include "cc/quads/texture_draw_quad.h" 18 #include "cc/quads/texture_draw_quad.h"
19 #include "cc/resources/single_release_callback.h" 19 #include "cc/resources/single_release_callback.h"
20 #include "cc/surfaces/local_surface_id_allocator.h"
20 #include "cc/surfaces/sequence_surface_reference_factory.h" 21 #include "cc/surfaces/sequence_surface_reference_factory.h"
21 #include "cc/surfaces/surface.h" 22 #include "cc/surfaces/surface.h"
22 #include "cc/surfaces/surface_id_allocator.h"
23 #include "cc/surfaces/surface_manager.h" 23 #include "cc/surfaces/surface_manager.h"
24 #include "components/exo/buffer.h" 24 #include "components/exo/buffer.h"
25 #include "components/exo/pointer.h" 25 #include "components/exo/pointer.h"
26 #include "components/exo/surface_delegate.h" 26 #include "components/exo/surface_delegate.h"
27 #include "components/exo/surface_observer.h" 27 #include "components/exo/surface_observer.h"
28 #include "third_party/khronos/GLES2/gl2.h" 28 #include "third_party/khronos/GLES2/gl2.h"
29 #include "ui/aura/env.h" 29 #include "ui/aura/env.h"
30 #include "ui/aura/window_delegate.h" 30 #include "ui/aura/window_delegate.h"
31 #include "ui/aura/window_targeter.h" 31 #include "ui/aura/window_targeter.h"
32 #include "ui/base/class_property.h" 32 #include "ui/base/class_property.h"
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 render_pass->CreateAndAppendDrawQuad<cc::SolidColorDrawQuad>(); 829 render_pass->CreateAndAppendDrawQuad<cc::SolidColorDrawQuad>();
830 solid_quad->SetNew(quad_state, quad_rect, quad_rect, SK_ColorBLACK, false); 830 solid_quad->SetNew(quad_state, quad_rect, quad_rect, SK_ColorBLACK, false);
831 } 831 }
832 832
833 frame.render_pass_list.push_back(std::move(render_pass)); 833 frame.render_pass_list.push_back(std::move(render_pass));
834 compositor_frame_sink_holder_->GetCompositorFrameSink() 834 compositor_frame_sink_holder_->GetCompositorFrameSink()
835 ->SubmitCompositorFrame(local_surface_id_, std::move(frame)); 835 ->SubmitCompositorFrame(local_surface_id_, std::move(frame));
836 } 836 }
837 837
838 } // namespace exo 838 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/surface.h ('k') | content/browser/compositor/image_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698