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

Side by Side Diff: mojo/services/gles2/command_buffer_impl.h

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: crown of aragorn Created 6 years, 5 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 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 #ifndef MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ 5 #ifndef MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_
6 #define MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ 6 #define MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "mojo/public/cpp/system/core.h" 10 #include "mojo/public/cpp/system/core.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 void DrawAnimationFrame(); 54 void DrawAnimationFrame();
55 55
56 CommandBufferSyncClientPtr sync_client_; 56 CommandBufferSyncClientPtr sync_client_;
57 57
58 gfx::AcceleratedWidget widget_; 58 gfx::AcceleratedWidget widget_;
59 gfx::Size size_; 59 gfx::Size size_;
60 scoped_ptr<gpu::CommandBufferService> command_buffer_; 60 scoped_ptr<gpu::CommandBufferService> command_buffer_;
61 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; 61 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
62 scoped_ptr<gpu::GpuScheduler> scheduler_; 62 scoped_ptr<gpu::GpuScheduler> scheduler_;
63 scoped_ptr<gpu::GpuControlService> gpu_control_;
64 base::RepeatingTimer<CommandBufferImpl> timer_; 63 base::RepeatingTimer<CommandBufferImpl> timer_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); 65 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl);
67 }; 66 };
68 67
69 } // namespace services 68 } // namespace services
70 } // namespace mojo 69 } // namespace mojo
71 70
72 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ 71 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698