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

Side by Side Diff: gpu/command_buffer/service/gpu_scheduler_win.cc

Issue 7762013: Added GPU process "echo" IPC message. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler_mac.cc ('k') | webkit/plugins/ppapi/plugin_delegate.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <windows.h> 5 #include <windows.h>
6 6
7 #include "gpu/command_buffer/service/gpu_scheduler.h" 7 #include "gpu/command_buffer/service/gpu_scheduler.h"
8 #include "ui/gfx/gl/gl_context.h" 8 #include "ui/gfx/gl/gl_context.h"
9 #include "ui/gfx/gl/gl_share_group.h" 9 #include "ui/gfx/gl/gl_share_group.h"
10 #include "ui/gfx/gl/gl_surface.h" 10 #include "ui/gfx/gl/gl_surface.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 size, 50 size,
51 disallowed_extensions, 51 disallowed_extensions,
52 allowed_extensions, 52 allowed_extensions,
53 attribs); 53 attribs);
54 } 54 }
55 55
56 void GpuScheduler::Destroy() { 56 void GpuScheduler::Destroy() {
57 DestroyCommon(); 57 DestroyCommon();
58 } 58 }
59 59
60 void GpuScheduler::WillSwapBuffers() {
61 if (wrapped_swap_buffers_callback_.get()) {
62 wrapped_swap_buffers_callback_->Run();
63 }
64 }
65
66 } // namespace gpu 60 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler_mac.cc ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698