Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include <IOSurface/IOSurface.h> | |
| 6 | |
| 7 #include "base/mac/scoped_cftyperef.h" | |
| 8 #include "gpu/gpu_export.h" | |
| 9 #include "ui/base/cocoa/remote_layer_api.h" | |
| 10 #include "ui/gfx/geometry/size.h" | |
| 11 | |
| 12 namespace gpu { | |
| 13 | |
| 14 struct GPU_EXPORT GpuProcessHostedCALayerTreeParamsMac { | |
| 15 GpuProcessHostedCALayerTreeParamsMac(); | |
| 16 ~GpuProcessHostedCALayerTreeParamsMac(); | |
| 17 | |
| 18 int surface_handle = 0; | |
| 19 CAContextID ca_context_id = 0; | |
| 20 bool fullscreen_low_power_ca_context_valid = false; | |
| 21 CAContextID fullscreen_low_power_ca_context_id = 0; | |
| 22 base::ScopedCFTypeRef<IOSurfaceRef> io_surface; | |
|
piman
2016/05/09 16:23:59
FYI, just a thought, don't worry about it since it
ccameron
2016/05/09 18:40:36
That's an interesting idea -- I'll keep that in mi
| |
| 23 gfx::Size pixel_size; | |
| 24 float scale_factor = 1; | |
| 25 }; | |
| 26 | |
| 27 } // namespace gpu | |
| 28 | |
| OLD | NEW |