OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 #ifndef GPU_PGL_PGL_H |
| 6 #define GPU_PGL_PGL_H |
| 7 |
| 8 #include "npapi.h" |
| 9 #include "npapi_extensions.h" |
| 10 |
| 11 extern "C" { |
| 12 typedef void* PGLContext; |
| 13 typedef bool PGLBoolean; |
| 14 |
| 15 PGLContext pglCreateContext(NPP npp, |
| 16 NPDevice* device, |
| 17 NPDeviceContext3D* device_context); |
| 18 PGLBoolean pglMakeCurrent(PGLContext pgl_context); |
| 19 PGLBoolean pglSwapBuffers(); |
| 20 PGLBoolean pglDestroyContext(PGLContext pgl_context); |
| 21 } // extern "C" |
| 22 |
| 23 #endif // GPU_PGL_PGL_H |
OLD | NEW |