Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: gpu/pgl/pgl.h

Issue 552007: Resubmitting r36268 with a fix for mac:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | gpu/pgl/pgl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/pgl/pgl.h
===================================================================
--- gpu/pgl/pgl.h (revision 0)
+++ gpu/pgl/pgl.h (revision 0)
@@ -0,0 +1,23 @@
+// 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 GPU_PGL_PGL_H
+#define GPU_PGL_PGL_H
+
+#include "npapi.h"
+#include "npapi_extensions.h"
+
+extern "C" {
+typedef void* PGLContext;
+typedef bool PGLBoolean;
+
+PGLContext pglCreateContext(NPP npp,
+ NPDevice* device,
+ NPDeviceContext3D* device_context);
+PGLBoolean pglMakeCurrent(PGLContext pgl_context);
+PGLBoolean pglSwapBuffers();
+PGLBoolean pglDestroyContext(PGLContext pgl_context);
+} // extern "C"
+
+#endif // GPU_PGL_PGL_H
Property changes on: gpu\pgl\pgl.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | gpu/pgl/pgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698