1 /* Copyright (c) 2012 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 */ 5 6 /** 7 * Defines the <code>PPP_Graphics3D</code> struct representing a 3D graphics 8 * context within the browser. 9 */ 10 11 label Chrome { 12 M15 = 1.0 13 }; 14 15 /** 16 * <code>PPP_Graphics3D</code> defines the notification interface for a 3D 17 * graphics context. 18 */ 19 [macro="PPP_GRAPHICS_3D_INTERFACE", iname="PPP_Graphics_3D"] 20 interface PPP_Graphics3D { 21 /** 22 * Called when the OpenGL ES window is invalidated and needs to be repainted. 23 */ 24 void Graphics3DContextLost(PP_Instance instance); 25 }; 26