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

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: rebase 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
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | mojo/services/gles2/command_buffer_impl.cc » ('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 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 void DrawAnimationFrame(); 60 void DrawAnimationFrame();
61 61
62 CommandBufferSyncClientPtr sync_client_; 62 CommandBufferSyncClientPtr sync_client_;
63 63
64 gfx::AcceleratedWidget widget_; 64 gfx::AcceleratedWidget widget_;
65 gfx::Size size_; 65 gfx::Size size_;
66 scoped_ptr<gpu::CommandBufferService> command_buffer_; 66 scoped_ptr<gpu::CommandBufferService> command_buffer_;
67 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; 67 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
68 scoped_ptr<gpu::GpuScheduler> scheduler_; 68 scoped_ptr<gpu::GpuScheduler> scheduler_;
69 scoped_ptr<gpu::GpuControlService> gpu_control_;
70 scoped_refptr<gfx::GLSurface> surface_; 69 scoped_refptr<gfx::GLSurface> surface_;
71 base::RepeatingTimer<CommandBufferImpl> timer_; 70 base::RepeatingTimer<CommandBufferImpl> timer_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); 72 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl);
74 }; 73 };
75 74
76 } // namespace services 75 } // namespace services
77 } // namespace mojo 76 } // namespace mojo
78 77
79 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ 78 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | mojo/services/gles2/command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698