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

Side by Side Diff: gpu/command_buffer/service/gpu_scheduler_linux.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
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 "gpu/command_buffer/service/gpu_scheduler.h" 5 #include "gpu/command_buffer/service/gpu_scheduler.h"
6 #include "ui/gfx/gl/gl_context.h" 6 #include "ui/gfx/gl/gl_context.h"
7 #include "ui/gfx/gl/gl_share_group.h" 7 #include "ui/gfx/gl/gl_share_group.h"
8 #include "ui/gfx/gl/gl_surface.h" 8 #include "ui/gfx/gl/gl_surface.h"
9 9
10 using ::base::SharedMemory; 10 using ::base::SharedMemory;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 size, 51 size,
52 disallowed_extensions, 52 disallowed_extensions,
53 allowed_extensions, 53 allowed_extensions,
54 attribs); 54 attribs);
55 } 55 }
56 56
57 void GpuScheduler::Destroy() { 57 void GpuScheduler::Destroy() {
58 DestroyCommon(); 58 DestroyCommon();
59 } 59 }
60 60
61 void GpuScheduler::WillSwapBuffers() {
62 if (wrapped_swap_buffers_callback_.get()) {
63 wrapped_swap_buffers_callback_->Run();
64 }
65 }
66
67 } // namespace gpu 61 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler.cc ('k') | gpu/command_buffer/service/gpu_scheduler_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698