summaryrefslogtreecommitdiffstats
path: root/ppapi/c/dev/ppp_graphics_3d_dev.h
blob: d0a4e16a52f0c414c4c271ae6a9a508d82e58b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2010 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_DEV_PPP_GRAPHICS_3D_DEV_H_
#define PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_

#include "ppapi/c/pp_instance.h"

#define PPP_GRAPHICS_3D_DEV_INTERFACE "PPP_Graphics_3D(Dev);0.1"

struct PPP_Graphics3D_Dev {
  // Called when the OpenGL ES window is invalidated and needs to be repainted.
  void (*Graphics3DContextLost)(PP_Instance instance);
};

#endif  /* PPAPI_C_DEV_PPP_GRAPHICS_3D_DEV_H_ */