diff options
Diffstat (limited to 'ppapi/c/ppp_graphics_3d.h')
-rw-r--r-- | ppapi/c/ppp_graphics_3d.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ppapi/c/ppp_graphics_3d.h b/ppapi/c/ppp_graphics_3d.h new file mode 100644 index 0000000..9916770 --- /dev/null +++ b/ppapi/c/ppp_graphics_3d.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2011 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 PPAPI_C_PPP_GRAPHICS_3D_H_ +#define PPAPI_C_PPP_GRAPHICS_3D_H_ + +#include "ppapi/c/pp_instance.h" + +#define PPP_GRAPHICS_3D_INTERFACE "PPP_Graphics_3D;1.0" + +struct PPP_Graphics3D { + // Called when the OpenGL ES window is invalidated and needs to be repainted. + void (*Graphics3DContextLost)(PP_Instance instance); +}; + +#endif /* PPAPI_C_PPP_GRAPHICS_3D_H_ */ + |