| Index: ppapi/cpp/instance.cc
|
| ===================================================================
|
| --- ppapi/cpp/instance.cc (revision 65093)
|
| +++ ppapi/cpp/instance.cc (working copy)
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ppapi/c/dev/ppp_printing_dev.h"
|
| #include "ppapi/c/ppb_instance.h"
|
| +#include "ppapi/cpp/dev/graphics_3d_dev.h"
|
| #include "ppapi/cpp/dev/scrollbar_dev.h"
|
| #include "ppapi/cpp/dev/widget_dev.h"
|
| #include "ppapi/cpp/graphics_2d.h"
|
| @@ -86,6 +87,12 @@
|
| return ppb_instance_f->BindGraphics(pp_instance(), graphics.pp_resource());
|
| }
|
|
|
| +bool Instance::BindGraphics(const Graphics3D_Dev& graphics) {
|
| + if (!ppb_instance_f)
|
| + return false;
|
| + return ppb_instance_f->BindGraphics(pp_instance(), graphics.pp_resource());
|
| +}
|
| +
|
| bool Instance::IsFullFrame() {
|
| if (!ppb_instance_f)
|
| return false;
|
|
|