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: webkit/plugins/ppapi/ppb_graphics_3d_impl.h

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 | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_graphics_3d_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 (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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_
7 7
8 #include "base/memory/scoped_callback_factory.h" 8 #include "base/memory/scoped_callback_factory.h"
9 #include "ppapi/shared_impl/graphics_3d_impl.h" 9 #include "ppapi/shared_impl/graphics_3d_impl.h"
10 #include "ppapi/shared_impl/resource.h" 10 #include "ppapi/shared_impl/resource.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Notifications sent to plugin. 76 // Notifications sent to plugin.
77 void SendContextLost(); 77 void SendContextLost();
78 78
79 // True if context is bound to instance. 79 // True if context is bound to instance.
80 bool bound_to_instance_; 80 bool bound_to_instance_;
81 // True when waiting for compositor to commit our backing texture. 81 // True when waiting for compositor to commit our backing texture.
82 bool commit_pending_; 82 bool commit_pending_;
83 // PluginDelegate's 3D Context. Responsible for providing the command buffer. 83 // PluginDelegate's 3D Context. Responsible for providing the command buffer.
84 scoped_ptr<PluginDelegate::PlatformContext3D> platform_context_; 84 scoped_ptr<PluginDelegate::PlatformContext3D> platform_context_;
85 base::ScopedCallbackFactory<PPB_Graphics3D_Impl> callback_factory_; 85 base::ScopedCallbackFactory<PPB_Graphics3D_Impl> callback_factory_;
86 ScopedRunnableMethodFactory<PPB_Graphics3D_Impl> method_factory_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl); 88 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);
88 }; 89 };
89 90
90 } // namespace ppapi 91 } // namespace ppapi
91 } // namespace webkit 92 } // namespace webkit
92 93
93 #endif // WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_ 94 #endif // WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698