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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 7576012: Removed config management from Graphics3D API. It will be better handled in the EGL helper library. (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 PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; 66 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
67 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; 67 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0;
68 // Note: can't be called CreateFont due to Windows #defines. 68 // Note: can't be called CreateFont due to Windows #defines.
69 virtual PP_Resource CreateFontObject( 69 virtual PP_Resource CreateFontObject(
70 PP_Instance instance, 70 PP_Instance instance,
71 const PP_FontDescription_Dev* description) = 0; 71 const PP_FontDescription_Dev* description) = 0;
72 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 72 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
73 const PP_Size& size, 73 const PP_Size& size,
74 PP_Bool is_always_opaque) = 0; 74 PP_Bool is_always_opaque) = 0;
75 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 75 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
76 PP_Config3D_Dev config,
77 PP_Resource share_context, 76 PP_Resource share_context,
78 const int32_t* attrib_list) = 0; 77 const int32_t* attrib_list) = 0;
79 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, 78 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
80 PP_Config3D_Dev config,
81 PP_Resource share_context, 79 PP_Resource share_context,
82 const int32_t* attrib_list) = 0; 80 const int32_t* attrib_list) = 0;
83 virtual PP_Resource CreateImageData(PP_Instance instance, 81 virtual PP_Resource CreateImageData(PP_Instance instance,
84 PP_ImageDataFormat format, 82 PP_ImageDataFormat format,
85 const PP_Size& size, 83 const PP_Size& size,
86 PP_Bool init_to_zero) = 0; 84 PP_Bool init_to_zero) = 0;
87 virtual PP_Resource CreateKeyboardInputEvent( 85 virtual PP_Resource CreateKeyboardInputEvent(
88 PP_Instance instance, 86 PP_Instance instance,
89 PP_InputEvent_Type type, 87 PP_InputEvent_Type type,
90 PP_TimeTicks time_stamp, 88 PP_TimeTicks time_stamp,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 PP_Bool scroll_by_page) = 0; 122 PP_Bool scroll_by_page) = 0;
125 123
126 static const ::pp::proxy::InterfaceID interface_id = 124 static const ::pp::proxy::InterfaceID interface_id =
127 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; 125 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
128 }; 126 };
129 127
130 } // namespace thunk 128 } // namespace thunk
131 } // namespace ppapi 129 } // namespace ppapi
132 130
133 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 131 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698