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

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

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 }; 42 };
43 } 43 }
44 44
45 // Invalid shared memory Id, returned by RegisterSharedMemory in case of 45 // Invalid shared memory Id, returned by RegisterSharedMemory in case of
46 // failure. 46 // failure.
47 const int32 kInvalidSharedMemoryId = -1; 47 const int32 kInvalidSharedMemoryId = -1;
48 48
49 // Common Command Buffer shared memory transfer buffer ID. 49 // Common Command Buffer shared memory transfer buffer ID.
50 const int32 kCommandBufferSharedMemoryId = 4; 50 const int32 kCommandBufferSharedMemoryId = 4;
51 51
52 // Size of a mailbox name is bytes.
Ken Russell (switch to Gerrit) 2012/04/26 01:10:53 is -> in
53 const int32 kMailboxSize = 32;
Ken Russell (switch to Gerrit) 2012/04/26 01:10:53 Unfortunate that this can't be implicit in the typ
54
52 } // namespace gpu 55 } // namespace gpu
53 56
54 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 57 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698