summaryrefslogtreecommitdiffstats
path: root/ppapi/api/ppp_graphics_3d.idl
blob: 007cae7aba9e57719b04a1184e2166a4c242172c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Copyright (c) 2012 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.
 */

/**
 * Defines the <code>PPP_Graphics3D</code> struct representing a 3D graphics
 * context within the browser.
 */

label Chrome {
  M15 = 1.0
};

/**
 * <code>PPP_Graphics3D</code> defines the notification interface for a 3D 
 * graphics context.
 */
[macro="PPP_GRAPHICS_3D_INTERFACE", iname="PPP_Graphics_3D"]
interface PPP_Graphics3D {
  /**
   * Called when the OpenGL ES window is invalidated and needs to be repainted.
   */
  void Graphics3DContextLost(PP_Instance instance);
};