OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/renderer_host/compositing_iosurface_layer_mac.h" | 5 #include "content/browser/renderer_host/compositing_iosurface_layer_mac.h" |
6 | 6 |
7 #include <CoreFoundation/CoreFoundation.h> | 7 #include <CoreFoundation/CoreFoundation.h> |
8 #include <OpenGL/gl.h> | 8 #include <OpenGL/gl.h> |
9 | 9 |
10 #include "base/mac/sdk_forward_declarations.h" | 10 #include "base/mac/sdk_forward_declarations.h" |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 context_, | 169 context_, |
170 window_rect, | 170 window_rect, |
171 window_scale_factor, | 171 window_scale_factor, |
172 false)) { | 172 false)) { |
173 renderWidgetHostView_->GotAcceleratedCompositingError(); | 173 renderWidgetHostView_->GotAcceleratedCompositingError(); |
174 return; | 174 return; |
175 } | 175 } |
176 | 176 |
177 needsDisplay_ = NO; | 177 needsDisplay_ = NO; |
178 renderWidgetHostView_->SendPendingLatencyInfoToHost(); | 178 renderWidgetHostView_->SendPendingLatencyInfoToHost(); |
| 179 renderWidgetHostView_->SendPendingSwapAck(); |
179 } | 180 } |
180 | 181 |
181 @end | 182 @end |
OLD | NEW |