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

Side by Side Diff: ppapi/c/dev/ppb_context_3d_trusted_dev.h

Issue 7206016: Convert most remaining resources to use the API/thunk system. The significant (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | ppapi/ppapi_proxy.gypi » ('j') | ppapi/proxy/ppb_context_3d_proxy.h » ('J')
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 PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_
6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ 6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_
7 7
8 #include "ppapi/c/dev/ppb_context_3d_dev.h" 8 #include "ppapi/c/dev/ppb_context_3d_dev.h"
9 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/c/pp_resource.h" 11 #include "ppapi/c/pp_resource.h"
12 #include "ppapi/c/pp_stdint.h" 12 #include "ppapi/c/pp_stdint.h"
13 13
14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_4 "PPB_Context3DTrusted(Dev);0.4" 14 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_4 "PPB_Context3DTrusted(Dev);0.4"
15 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE \ 15 #define PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE \
16 PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_4 16 PPB_CONTEXT_3D_TRUSTED_DEV_INTERFACE_0_4
17 17
18 // TODO(brettw) Remove these generic names from the global namespace!
18 typedef enum { 19 typedef enum {
19 kNoError, 20 kNoError,
20 kInvalidSize, 21 kInvalidSize,
21 kOutOfBounds, 22 kOutOfBounds,
22 kUnknownCommand, 23 kUnknownCommand,
23 kInvalidArguments, 24 kInvalidArguments,
24 kLostContext, 25 kLostContext,
25 kGenericError 26 kGenericError
26 } PPB_Context3DTrustedError; 27 } PPB_Context3DTrustedError;
27 28
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Like FlushSync, but returns before processing commands if the get offset is 99 // Like FlushSync, but returns before processing commands if the get offset is
99 // different than last_known_get. Allows synchronization with the command 100 // different than last_known_get. Allows synchronization with the command
100 // processor without forcing immediate command execution. 101 // processor without forcing immediate command execution.
101 struct PP_Context3DTrustedState (*FlushSyncFast)(PP_Resource context, 102 struct PP_Context3DTrustedState (*FlushSyncFast)(PP_Resource context,
102 int32_t put_offset, 103 int32_t put_offset,
103 int32_t last_known_get); 104 int32_t last_known_get);
104 }; 105 };
105 106
106 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_ 107 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_TRUSTED_DEV_H_
107 108
OLDNEW
« no previous file with comments | « no previous file | ppapi/ppapi_proxy.gypi » ('j') | ppapi/proxy/ppb_context_3d_proxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698