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 7518016: Revert 94743 - Allow the renderer process to map textures from one context into another. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 24 matching lines...) Expand all
35 kGuilty, 35 kGuilty,
36 36
37 // This context definitely did not provoke the loss of context. 37 // This context definitely did not provoke the loss of context.
38 kInnocent, 38 kInnocent,
39 39
40 // It is unknown whether this context provoked the loss of context. 40 // It is unknown whether this context provoked the loss of context.
41 kUnknown 41 kUnknown
42 }; 42 };
43 } 43 }
44 44
45 namespace resource_type {
46 enum ResourceType {
47 kTexture
48 };
49 }
50
51 // Invalid shared memory Id, returned by RegisterSharedMemory in case of 45 // Invalid shared memory Id, returned by RegisterSharedMemory in case of
52 // failure. 46 // failure.
53 const int32 kInvalidSharedMemoryId = -1; 47 const int32 kInvalidSharedMemoryId = -1;
54 48
55 // Common Command Buffer shared memory transfer buffer ID. 49 // Common Command Buffer shared memory transfer buffer ID.
56 const int32 kCommandBufferSharedMemoryId = 4; 50 const int32 kCommandBufferSharedMemoryId = 4;
57 51
58 } // namespace gpu 52 } // namespace gpu
59 53
60 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ 54 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698