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

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

Issue 7301010: Fixed improper destruction of transfer buffers that are still in use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « content/renderer/gpu/renderer_gl_context.cc ('k') | no next file » | 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 GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
6 #define GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 6 #define GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
7 7
8 #include "../common/types.h" 8 #include "../common/types.h"
9 9
10 namespace gpu { 10 namespace gpu {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // failure. 50 // failure.
51 const int32 kInvalidSharedMemoryId = -1; 51 const int32 kInvalidSharedMemoryId = -1;
52 52
53 // Common Command Buffer shared memory transfer buffer ID. 53 // Common Command Buffer shared memory transfer buffer ID.
54 const int32 kCommandBufferSharedMemoryId = 4; 54 const int32 kCommandBufferSharedMemoryId = 4;
55 55
56 // Common Latch shared memory transfer buffer ID. 56 // Common Latch shared memory transfer buffer ID.
57 const int32 kLatchSharedMemoryId = 5; 57 const int32 kLatchSharedMemoryId = 5;
58 58
59 // Invalid latch ID. 59 // Invalid latch ID.
60 const int32 kInvalidLatchId = 0xffffffffu; 60 const uint32 kInvalidLatchId = 0xffffffffu;
61 61
62 } // namespace gpu 62 } // namespace gpu
63 63
64 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 64 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/renderer_gl_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698