blob: b9dbc14683b58bca495bb99de7c326cc26a11bcd [file] [log] [blame]
[email protected]5bba4dc22010-08-17 19:45:281// Copyright (c) 2010 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]0bd753682010-12-16 18:15:525#ifndef WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_
6#define WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_
[email protected]5bba4dc22010-08-17 19:45:287
[email protected]66789462011-04-07 20:07:188#include "ppapi/c/dev/ppb_graphics_3d_dev.h"
9#include "webkit/plugins/ppapi/resource.h"
[email protected]5bba4dc22010-08-17 19:45:2810
[email protected]0bd753682010-12-16 18:15:5211namespace webkit {
12namespace ppapi {
[email protected]5bba4dc22010-08-17 19:45:2813
[email protected]66789462011-04-07 20:07:1814class PPB_Graphics3D_Impl : public Resource {
[email protected]5bba4dc22010-08-17 19:45:2815 public:
[email protected]66789462011-04-07 20:07:1816 explicit PPB_Graphics3D_Impl(PluginInstance* instance);
17 virtual ~PPB_Graphics3D_Impl();
18
[email protected]81870ae2010-08-30 01:31:0719 static const PPB_Graphics3D_Dev* GetInterface();
[email protected]66789462011-04-07 20:07:1820
21 // Resource override.
22 virtual PPB_Graphics3D_Impl* AsPPB_Graphics3D_Impl();
23
24 bool Init(PP_Config3D_Dev config,
25 PP_Resource share_context,
26 const int32_t* attrib_list);
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);
[email protected]5bba4dc22010-08-17 19:45:2830};
31
[email protected]0bd753682010-12-16 18:15:5232} // namespace ppapi
33} // namespace webkit
[email protected]5bba4dc22010-08-17 19:45:2834
[email protected]0bd753682010-12-16 18:15:5235#endif // WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_3D_IMPL_H_
[email protected]542bdfe2010-11-30 03:55:4736