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

Side by Side Diff: gpu/command_buffer/common/resource.h

Issue 367002: Added Pepper 3D render context that instantiates the GPU plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This file contains definitions for resource flags, enums, and helper 5 // This file contains definitions for resource flags, enums, and helper
6 // functions. 6 // functions.
7 7
8 #ifndef GPU_COMMAND_BUFFER_COMMON_RESOURCE_H_ 8 #ifndef GPU_COMMAND_BUFFER_COMMON_RESOURCE_H_
9 #define GPU_COMMAND_BUFFER_COMMON_RESOURCE_H_ 9 #define GPU_COMMAND_BUFFER_COMMON_RESOURCE_H_
10 10
11 #include <algorithm> 11 #include <algorithm>
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/scoped_ptr.h"
14 #include "gpu/command_buffer/common/types.h" 13 #include "gpu/command_buffer/common/types.h"
15 #include "gpu/command_buffer/common/logging.h" 14 #include "gpu/command_buffer/common/logging.h"
16 15
17 namespace gpu { 16 namespace gpu {
18 17
19 // A resource ID, key to the resource maps. 18 // A resource ID, key to the resource maps.
20 typedef uint32 ResourceId; 19 typedef uint32 ResourceId;
21 // Invalid resource ID. 20 // Invalid resource ID.
22 static const ResourceId kInvalidResource = 0xffffffffU; 21 static const ResourceId kInvalidResource = 0xffffffffU;
23 22
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 kNone, 191 kNone,
193 kPoint, 192 kPoint,
194 kLinear, 193 kLinear,
195 kNumFilteringMode 194 kNumFilteringMode
196 }; 195 };
197 } // namespace sampler 196 } // namespace sampler
198 197
199 } // namespace gpu 198 } // namespace gpu
200 199
201 #endif // GPU_COMMAND_BUFFER_COMMON_RESOURCE_H_ 200 #endif // GPU_COMMAND_BUFFER_COMMON_RESOURCE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format.h ('k') | gpu/command_buffer/service/cmd_buffer_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698