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

Side by Side Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 317523002: Corrected namespace for WebGraphicsContext3DImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | webkit/common/gpu/webgraphicscontext3d_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 namespace content { 36 namespace content {
37 class GpuChannelHost; 37 class GpuChannelHost;
38 38
39 const size_t kDefaultCommandBufferSize = 1024 * 1024; 39 const size_t kDefaultCommandBufferSize = 1024 * 1024;
40 const size_t kDefaultStartTransferBufferSize = 1 * 1024 * 1024; 40 const size_t kDefaultStartTransferBufferSize = 1 * 1024 * 1024;
41 const size_t kDefaultMinTransferBufferSize = 1 * 256 * 1024; 41 const size_t kDefaultMinTransferBufferSize = 1 * 256 * 1024;
42 const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024; 42 const size_t kDefaultMaxTransferBufferSize = 16 * 1024 * 1024;
43 43
44 class WebGraphicsContext3DCommandBufferImpl 44 class WebGraphicsContext3DCommandBufferImpl
45 : public WebGraphicsContext3DImpl { 45 : public webkit::gpu::WebGraphicsContext3DImpl {
46 public: 46 public:
47 enum MappedMemoryReclaimLimit { 47 enum MappedMemoryReclaimLimit {
48 kNoLimit = 0, 48 kNoLimit = 0,
49 }; 49 };
50 50
51 struct CONTENT_EXPORT SharedMemoryLimits { 51 struct CONTENT_EXPORT SharedMemoryLimits {
52 SharedMemoryLimits(); 52 SharedMemoryLimits();
53 53
54 size_t command_buffer_size; 54 size_t command_buffer_size;
55 size_t start_transfer_buffer_size; 55 size_t start_transfer_buffer_size;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 scoped_ptr<gpu::gles2::GLES2Implementation> real_gl_; 231 scoped_ptr<gpu::gles2::GLES2Implementation> real_gl_;
232 scoped_ptr<gpu::gles2::GLES2Interface> trace_gl_; 232 scoped_ptr<gpu::gles2::GLES2Interface> trace_gl_;
233 Error last_error_; 233 Error last_error_;
234 SharedMemoryLimits mem_limits_; 234 SharedMemoryLimits mem_limits_;
235 scoped_refptr<ShareGroup> share_group_; 235 scoped_refptr<ShareGroup> share_group_;
236 }; 236 };
237 237
238 } // namespace content 238 } // namespace content
239 239
240 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 240 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/common/gpu/webgraphicscontext3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698