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

Unified Diff: third_party/glew/include/GL/osmew.h

Issue 3158007: Deleted glew from third party.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « third_party/glew/include/GL/glxew.h ('k') | third_party/glew/include/GL/wglew.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/glew/include/GL/osmew.h
===================================================================
--- third_party/glew/include/GL/osmew.h (revision 55816)
+++ third_party/glew/include/GL/osmew.h (working copy)
@@ -1,51 +0,0 @@
-// Copyright (c) 2009 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 __osmew_h__
-#define __osmew_h__
-#define __OSMEW_H__
-
-#include <GL/glew.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if !defined(GLAPIENTRY)
-#if defined(_WIN32)
-#define GLAPIENTRY __stdcall
-#else
-#define GLAPIENTRY
-#endif
-#endif
-
-#define OSMEW_GET_FUN(x) x
-
-// Subset of OSMesa functions.
-
-typedef struct osmesa_context *OSMesaContext;
-typedef OSMesaContext (GLAPIENTRY * PFNOSMESACREATECONTEXTPROC) (GLenum format, OSMesaContext sharelist);
-typedef void (GLAPIENTRY * PFNOSMESADESTROYCONTEXTPROC) (OSMesaContext ctx);
-typedef GLboolean (GLAPIENTRY * PFNOSMESAMAKECURRENTPROC) (OSMesaContext ctx, void* buffer, GLenum type, GLsizei width, GLsizei height);
-typedef OSMesaContext (GLAPIENTRY * PFNOSMESAGETCURRENTCONTEXTPROC) (void);
-
-#define OSMesaCreateContext OSMEW_GET_FUN(__osmesaCreateContext)
-#define OSMesaDestroyContext OSMEW_GET_FUN(__osmesaDestroyContext)
-#define OSMesaMakeCurrent OSMEW_GET_FUN(__osmesaMakeCurrent)
-#define OSMesaGetCurrentContext OSMEW_GET_FUN(__osmesaGetCurrentContext)
-
-extern PFNOSMESACREATECONTEXTPROC __osmesaCreateContext;
-extern PFNOSMESADESTROYCONTEXTPROC __osmesaDestroyContext;
-extern PFNOSMESAMAKECURRENTPROC __osmesaMakeCurrent;
-extern PFNOSMESAGETCURRENTCONTEXTPROC __osmesaGetCurrentContext;
-
-void osmewInit ();
-
-#undef GLAPIENTRY
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __osmew_h__ */
« no previous file with comments | « third_party/glew/include/GL/glxew.h ('k') | third_party/glew/include/GL/wglew.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698