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

Side by Side Diff: include/GL/osmesa.h

Issue 246843006: mesa: Disable use of "pragma export" on OS X. clang doesn't understand it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/mesa/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/GL/gl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Mesa 3-D graphics library 2 * Mesa 3-D graphics library
3 * Version: 6.5 3 * Version: 6.5
4 * 4 *
5 * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. 5 * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
6 * 6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a 7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"), 8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation 9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #define OSMESA_HEIGHT 0x21 94 #define OSMESA_HEIGHT 0x21
95 #define OSMESA_FORMAT 0x22 95 #define OSMESA_FORMAT 0x22
96 #define OSMESA_TYPE 0x23 96 #define OSMESA_TYPE 0x23
97 #define OSMESA_MAX_WIDTH 0x24 /* new in 4.0 */ 97 #define OSMESA_MAX_WIDTH 0x24 /* new in 4.0 */
98 #define OSMESA_MAX_HEIGHT 0x25 /* new in 4.0 */ 98 #define OSMESA_MAX_HEIGHT 0x25 /* new in 4.0 */
99 99
100 100
101 typedef struct osmesa_context *OSMesaContext; 101 typedef struct osmesa_context *OSMesaContext;
102 102
103 103
104 #if defined(__QUICKDRAW__) 104 /* See https://bugs.freedesktop.org/show_bug.cgi?id=77749 */
105 #if 0 /* defined(__QUICKDRAW__) */
105 #pragma export on 106 #pragma export on
106 #endif 107 #endif
107 108
108 109
109 /* 110 /*
110 * Create an Off-Screen Mesa rendering context. The only attribute needed is 111 * Create an Off-Screen Mesa rendering context. The only attribute needed is
111 * an RGBA vs Color-Index mode flag. 112 * an RGBA vs Color-Index mode flag.
112 * 113 *
113 * Input: format - one of OSMESA_COLOR_INDEX, OSMESA_RGBA, OSMESA_BGRA, 114 * Input: format - one of OSMESA_COLOR_INDEX, OSMESA_RGBA, OSMESA_BGRA,
114 * OSMESA_ARGB, OSMESA_RGB, or OSMESA_BGR. 115 * OSMESA_ARGB, OSMESA_RGB, or OSMESA_BGR.
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 */ 275 */
275 GLAPI void GLAPIENTRY 276 GLAPI void GLAPIENTRY
276 OSMesaColorClamp(GLboolean enable); 277 OSMesaColorClamp(GLboolean enable);
277 278
278 #ifdef __cplusplus 279 #ifdef __cplusplus
279 } 280 }
280 #endif 281 #endif
281 282
282 283
283 #endif 284 #endif
OLDNEW
« no previous file with comments | « include/GL/gl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698