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

Side by Side Diff: components/mus/surfaces/direct_output_surface.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/mus/surfaces/direct_output_surface.h" 5 #include "components/mus/surfaces/direct_output_surface.h"
6 6
7 #include <stdint.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
9 #include "cc/output/context_provider.h" 11 #include "cc/output/context_provider.h"
10 #include "cc/output/output_surface_client.h" 12 #include "cc/output/output_surface_client.h"
11 #include "gpu/command_buffer/client/context_support.h" 13 #include "gpu/command_buffer/client/context_support.h"
12 #include "gpu/command_buffer/client/gles2_interface.h" 14 #include "gpu/command_buffer/client/gles2_interface.h"
13 15
14 namespace mus { 16 namespace mus {
15 17
16 DirectOutputSurface::DirectOutputSurface( 18 DirectOutputSurface::DirectOutputSurface(
(...skipping 14 matching lines...) Expand all
31 } 33 }
32 uint32_t sync_point = 34 uint32_t sync_point =
33 context_provider_->ContextGL()->InsertSyncPointCHROMIUM(); 35 context_provider_->ContextGL()->InsertSyncPointCHROMIUM();
34 context_provider_->ContextSupport()->SignalSyncPoint( 36 context_provider_->ContextSupport()->SignalSyncPoint(
35 sync_point, base::Bind(&OutputSurface::OnSwapBuffersComplete, 37 sync_point, base::Bind(&OutputSurface::OnSwapBuffersComplete,
36 weak_ptr_factory_.GetWeakPtr())); 38 weak_ptr_factory_.GetWeakPtr()));
37 client_->DidSwapBuffers(); 39 client_->DidSwapBuffers();
38 } 40 }
39 41
40 } // namespace mus 42 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/window_tree_host_factory.h ('k') | components/mus/surfaces/surfaces_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698