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

Unified Diff: chrome/renderer/webplugin_delegate_pepper.h

Issue 1529005: New experimental Pepper device API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_pepper.h
===================================================================
--- chrome/renderer/webplugin_delegate_pepper.h (revision 44555)
+++ chrome/renderer/webplugin_delegate_pepper.h (working copy)
@@ -144,6 +144,26 @@
virtual NPError Device3DMapBuffer(NPDeviceContext3D* context,
int32 id,
NPDeviceBuffer* buffer);
+ virtual NPError Device3DGetNumConfigs(int32* num_configs);
+ virtual NPError Device3DGetConfigAttribs(int32 config,
+ int32* attrib_list);
+ virtual NPError Device3DCreateContext(int32 config,
+ int32* attrib_list,
+ NPDeviceContext3D** context);
+ virtual NPError Device3DRegisterCallback(
+ NPP id,
+ NPDeviceContext3D* context,
+ int32 callback_type,
+ NPDeviceGenericCallbackPtr callback,
+ void* callback_data);
Nico 2011/02/07 04:42:21 Hi, this doesn't actually override the superclass
+ virtual NPError Device3DSynchronizeContext(
+ NPP id,
+ NPDeviceContext3D* context,
+ NPDeviceSynchronizationMode mode,
+ const int32* input_attrib_list,
+ int32* output_attrib_list,
+ NPDeviceSynchronizeContextCallbackPtr callback,
+ void* callback_data);
// WebPluginAudioDeviceDelegate implementation.
virtual NPError DeviceAudioQueryCapability(int32 capability, int32* value);
« no previous file with comments | « build/common.gypi ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698