diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-24 19:34:24 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-24 19:34:24 +0000 |
commit | 97632e2039e3ec0b9342f5e7c074bf631c738a9f (patch) | |
tree | 71e51bad650961671a0aa96b433403fc5a8ff544 /gpu/gpu_plugin/gpu_plugin.h | |
parent | d4edbe5e406c5773d66d65214b963ed474b34cf4 (diff) | |
download | chromium_src-97632e2039e3ec0b9342f5e7c074bf631c738a9f.zip chromium_src-97632e2039e3ec0b9342f5e7c074bf631c738a9f.tar.gz chromium_src-97632e2039e3ec0b9342f5e7c074bf631c738a9f.tar.bz2 |
Branched gpu process and command buffer code into Chrome tree. Fixed up paths and other minor changes to make it work in the Chrome tree. Will remove copy from O3D tree shortly. Only works in Windows currently.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/436017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu_plugin/gpu_plugin.h')
-rw-r--r-- | gpu/gpu_plugin/gpu_plugin.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gpu/gpu_plugin/gpu_plugin.h b/gpu/gpu_plugin/gpu_plugin.h new file mode 100644 index 0000000..0f90f77 --- /dev/null +++ b/gpu/gpu_plugin/gpu_plugin.h @@ -0,0 +1,30 @@ +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef GPU_GPU_PLUGIN_GPU_PLUGIN_H_ +#define GPU_GPU_PLUGIN_GPU_PLUGIN_H_ + +#include "gpu/np_utils/np_headers.h" + +typedef struct _NPPluginFuncs NPPluginFuncs; +typedef struct _NPNetscapeFuncs NPNetscapeFuncs; + +namespace gpu_plugin { + +// Declarations of NPAPI plugin entry points. + +NPError NP_GetEntryPoints(NPPluginFuncs* funcs); + +#if defined(OS_LINUX) +NPError NP_Initialize(NPNetscapeFuncs *browser_funcs, + NPPluginFuncs* plugin_funcs); +#else +NPError NP_Initialize(NPNetscapeFuncs* browser_funcs); +#endif + +NPError NP_Shutdown(); + +} // namespace gpu_plugin + +#endif // GPU_GPU_PLUGIN_GPU_PLUGIN_H_ |