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

Side by Side Diff: ui/accelerated_widget_mac/accelerated_widget_mac.h

Issue 1532813002: Replace IOSurfaceManager by directly passing IOSurface Mach ports over Chrome IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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 #ifndef UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ 5 #ifndef UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_
6 #define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ 6 #define UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_
7 7
8 #include <IOSurface/IOSurface.h> 8 #include <IOSurface/IOSurface.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/mac/scoped_cftyperef.h" 11 #include "base/mac/scoped_cftyperef.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h" 14 #include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h"
15 #include "ui/accelerated_widget_mac/surface_handle_types.h" 15 #include "ui/base/cocoa/remote_layer_api.h"
16 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
17 #include "ui/gfx/geometry/size.h" 17 #include "ui/gfx/geometry/size.h"
18 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
19 19
20 #if defined(__OBJC__) 20 #if defined(__OBJC__)
21 #import <Cocoa/Cocoa.h> 21 #import <Cocoa/Cocoa.h>
22 #import "base/mac/scoped_nsobject.h" 22 #import "base/mac/scoped_nsobject.h"
23 #include "ui/base/cocoa/remote_layer_api.h"
24 #endif // __OBJC__ 23 #endif // __OBJC__
25 24
26 class SkCanvas; 25 class SkCanvas;
27 26
28 namespace cc { 27 namespace cc {
29 class SoftwareFrameData; 28 class SoftwareFrameData;
30 } 29 }
31 30
32 namespace ui { 31 namespace ui {
33 32
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 CAContextID ca_context_id, 128 CAContextID ca_context_id,
130 base::ScopedCFTypeRef<IOSurfaceRef> io_surface, 129 base::ScopedCFTypeRef<IOSurfaceRef> io_surface,
131 const gfx::Size& pixel_size, 130 const gfx::Size& pixel_size,
132 float scale_factor, 131 float scale_factor,
133 base::TimeTicks* vsync_timebase, 132 base::TimeTicks* vsync_timebase,
134 base::TimeDelta* vsync_interval); 133 base::TimeDelta* vsync_interval);
135 134
136 } // namespace ui 135 } // namespace ui
137 136
138 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_ 137 #endif // UI_ACCELERATED_WIDGET_MAC_ACCELERATED_WIDGET_MAC_H_
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/BUILD.gn ('k') | ui/accelerated_widget_mac/accelerated_widget_mac.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698