forked from g-truc/ogl-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
366 lines (320 loc) · 15.7 KB
/
readme.txt
File metadata and controls
366 lines (320 loc) · 15.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
================================================================================
OpenGL Samples Pack
--------------------------------------------------------------------------------
ogl-samples.g-truc.net
ogl-samples@g-truc.net
================================================================================
The MIT License
--------------------------------------------------------------------------------
Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
================================================================================
Micro beanchmarks instructions
--------------------------------------------------------------------------------
It is required to generate the solution using enabling AUTOMATED_TESTS option
================================================================================
Visual C++ instructions
--------------------------------------------------------------------------------
A Visual C++ 32-bit or 64-bit solution solution can be generated using CMake.
http://www.cmake.org/cmake/resources/software.html
The OpenGL Samples Pack requires at least Visual C++ 2013.
================================================================================
Linux instructions
--------------------------------------------------------------------------------
- Install the GLFW library included in the external directory.
-- sudo make x11-dist-install
- Run CMake to create a makefile for GCC
- Launch the sample from the build output directory
The OpenGL Samples Pack requires at least GCC 4.7.
================================================================================
MacOS instructions
--------------------------------------------------------------------------------
- Install the GLFW library included in the external directory.
-- sudo make cocoa-dist-install
- Run CMake to create a XCode project
- Launch the sample from XCode
The OpenGL Samples Pack requires at least Clang 3.0.
================================================================================
OpenGL Samples Pack 4.5.1.0: 2015-XX-XX
--------------------------------------------------------------------------------
- Added gl-320-fbo-blend-points sample
================================================================================
OpenGL Samples Pack 4.5.1.0: 2015-03-28
--------------------------------------------------------------------------------
- Updated gl-320-fbo-srgb sample to be more meaningful
- Added gl-320-fbo-srgb-decode-ext sample
- Added gl-430-fbo-srgb-decode sample
- Added gl-450-conservative-raster-nv sample
- Added gl-320-fbo-blend sample
- Added gl-320-fbo-srgb sample
- Added gl-320-fbo-srgb-blend sample
- Added gl-320-fbo-srgb-decode-ext sample
- Added gl-500-fbo-layered-nv sample
- Added gl-320-texture-lod sample
- Added gl-320-fbo-depth-stencil sample
- Added gl-440-fbo-depth-stencil sample
- Added gl-500-primitive-shading-nv sample
- Added gl-500-shader-blend-intel sample
- Added gl-500-shader-blend-nv sample
- Reorganized vendor and ARB samples into GL5 hardware samples
================================================================================
OpenGL Samples Pack 4.5.0.0: 2014-09-15
--------------------------------------------------------------------------------
- Added 450-buffer-sparse-arb
- Added 450-caps
- Added 450-clip-control
- Added 450-culling
- Added 450-direct-state-access
- Added 450-fbo-multisample-explicit
- Added 450-query-conditional
- Added 450-query-statistics-arb
- Added 450-texture-barrier
- Added 450-texture-derivative
- Added 450-transform-feedback-arb
================================================================================
OpenGL Samples Pack 4.4.3.0: 2014-08-03
--------------------------------------------------------------------------------
- Added draw_array and draw_call microbenchmark tests
- Fixed buffer storage flags
- Fixed samples using newer API than expected
- Added 320-fbo-integer sample
- Added 320-fbo-integer-blit sample
- Added 330-query-counter sample
- Fixed 320-fbo-multisample-integer sample, GL_NEAREST is required
- Updated 4.3 samples to run on Intel 4.2 drivers
- Fixed GL_MAX_UNIFORM_LOCATIONS caps query
================================================================================
OpenGL Samples Pack 4.4.2.0: 2014-03-29
--------------------------------------------------------------------------------
- Added 'caps' samples for each version of OpenGL
- Added in source build option
- Added 440-texture-sparse-arb sample
- Added 440-texture-cube-arb sample
- Added 440-texture-bindless-arb sample
- Added 440-shader-invocation-nv sample
- Added 440-query-occlusion sample
- Added 440-multi-draw-indirect-id-arb sample
- Added 440-multi-draw-indirect-count-arb sample
- Added 440-glsl-vote-arb sample
- Added 440-fbo-without-attachment sample
- Added 440-buffer-storage
- Added 440-atomic-counter
- Added 430-query-occlusion sample
- Added 430-query-conditional sample
- Fixed 430-multi-draw-indirect sample, alignment access in shader issue
- Added 430-fbo-without-attachment sample
- Added 430-fbo-invalidate sample
- Added 400-texture-cube sample
- Added 330-query-occlusion sample
- Added 330-query-conditional sample
- Added 320-primitive-line-msaa sample
- Added 320-primitive-point-clip sample
- Added 320-primitive-point-quad sample
- Updated multiple samples to use shader storage buffer instead of VAOs
- Updated multiple samples to use texture 2d array instead if texture 2d
- Fixed FreeImage link issue
- Fixed linking error with FreeImage
- Updated readme instructions
================================================================================
OpenGL Samples Pack 4.4.1.3: 2014-02-23
--------------------------------------------------------------------------------
- Improve compilation time
================================================================================
OpenGL Samples Pack 4.4.1.2: 2014-02-18
--------------------------------------------------------------------------------
- Added missing image templates
================================================================================
OpenGL Samples Pack 4.4.1.1: 2014-02-17
--------------------------------------------------------------------------------
- Fixed MacOSX and linux build
- Remove shaders and textures copy, loaded from source
================================================================================
OpenGL Samples Pack 4.4.1.0: 2014-02-11
--------------------------------------------------------------------------------
- Added automated tests with reference images
- Fixed many samples
================================================================================
OpenGL Samples Pack 4.4.0.3: 2013-10-17
--------------------------------------------------------------------------------
- Fixed MacOSX port
================================================================================
OpenGL Samples Pack 4.4.0.3: 2013-10-17
--------------------------------------------------------------------------------
- Fixed MacOSX port
================================================================================
OpenGL Samples Pack 4.4.0.2: 2013-10-16
--------------------------------------------------------------------------------
- Fixed Linux port
- Upgraded to GLFW 3.0
================================================================================
OpenGL Samples Pack 4.4.0.1: 2013-09-14
--------------------------------------------------------------------------------
- Various fixes.
================================================================================
OpenGL Samples Pack 4.4.0.0: 2013-08-11
--------------------------------------------------------------------------------
- Added 5 OpenGL 4.4 samples
================================================================================
OpenGL Samples Pack 4.3.2.2: 2013-05-10
--------------------------------------------------------------------------------
- Fixed various sample bugs
================================================================================
OpenGL Samples Pack 4.3.2.1: 2013-02-24
--------------------------------------------------------------------------------
- Fixed GLFW 2.7.7 source
- Back port many more OpenGL 3.3 samples to OpenGL 3.2
- Fixed OpenGL 3.0 samples which crashed at context creation
================================================================================
OpenGL Samples Pack 4.3.2.0: 2013-02-16
--------------------------------------------------------------------------------
- Added MacOS X support
- Fixed Linux support
- Migrate many samples to OpenGL 3.2
- Removed GLEW
- Replace FreeGLUT by GLFW
- Added 320-glsl-precision sample
- Added 320-glsl-builtin-blocks sample
- Added 320-fbo-shadow sample
- Added 400-fbo-shadow sample
================================================================================
OpenGL Samples Pack 4.3.1.0: 2012-12-22
--------------------------------------------------------------------------------
- Added Intel OpenGL drivers implementation support
- Added 420-draw-image-space-rendering sample
================================================================================
OpenGL Samples Pack 4.3.0.3: 2012-10-31
--------------------------------------------------------------------------------
- Using GLF compiler for all OpenGL 4.2 and 4.3 samples
- Added 430-program-compute-image sample
- Added 430-debug sample
- Added 420-texture-sparse-amd sample
- Added 420-texture-bindless-nv sample
- Updated 430-multi-draw-indirect using a DrawID
================================================================================
OpenGL Samples Pack 4.3.0.2: 2012-09-29
--------------------------------------------------------------------------------
- Added GLSL compiler: -D -I #include
- Complexified some OpenGL 4.3 samples
- Fixed sample exits
- Fixed multisample position sample
- Clean up legacy files
================================================================================
OpenGL Samples Pack 4.3.0.1: 2012-08-30
--------------------------------------------------------------------------------
- Added 430-texture-view sample
- Added 430-image-sampling sample
- Added 430-program-subroutine sample
- Added 420-primitive-line-aa sample
- Fixed 430-multi-draw-indirect, precision issue
- Fixed 430-interface-matching
================================================================================
OpenGL Samples Pack 4.3.0.0: 2012-08-12
--------------------------------------------------------------------------------
- Added 430-texture-copy sample
- Added 430-program-compute sample
- Added 430-multi-draw-indirect sample
- Added 430-interface-matching sample
- Added 430-image-store sample
- Added 430-draw-without-vertex-attrib sample
- Added 430-direct-state-access sample
- Added 430-atomic-counter sample
================================================================================
OpenGL Samples Pack 4.2.3.0: 2012-01-28
--------------------------------------------------------------------------------
- Added 420-blend-op-amd sample
- Added 420-buffer-pinned-amd sample
- Added 420-debug-output sample
- Added 420-fbo-srgb-decode-ext sample
- Added 420-interface-matching sample
- Added 330-texture-format sample
- Added 330-fbo-multisample-explicit-nv sample
- Updated 410-program-binary sample
- Refactored code
================================================================================
OpenGL Samples Pack 4.2.2.1: 2012-01-24
--------------------------------------------------------------------------------
- Fixed bugs
================================================================================
OpenGL Samples Pack 4.2.2.0: 2011-11-26
--------------------------------------------------------------------------------
- Clean up DSA samples and build a single one
- Added image store sample
- Added clamp separate test
- Take advantage of texture max level
- Generalized pipeline and uniform buffer for OpenGL 4.2 samples
- Fixed dynamic uniform variable use for sampler array and uniform block array
- Tessellation without control shader
================================================================================
OpenGL Samples Pack 4.2.1.1: 2011-08-26
--------------------------------------------------------------------------------
- Fixed CTest default value
================================================================================
OpenGL Samples Pack 4.2.1.0: 2011-08-26
--------------------------------------------------------------------------------
- Added CTest
- Rewritten OpenGL 4.2 samples
- Refactored direct state access samples
- Removed some deprecated/duplicated samples
================================================================================
OpenGL Samples Pack 4.2.0.2: 2011-08-11
--------------------------------------------------------------------------------
- Fixed samples on AMD implementation
================================================================================
OpenGL Samples Pack 4.2.0.1: 2011-08-10
--------------------------------------------------------------------------------
- Fixed samples on NVIDIA implementation
================================================================================
OpenGL Samples Pack 4.2.0.0: 2011-08-09
--------------------------------------------------------------------------------
- Added atomic counter sample
- Added buffer uniform sample
- Added draw base instance sample
- Added GLSL interface matching array sample
- Added depth conservative test sample
- Added pixel store for compressed texture 2d sample
- Added immunable texture sample
- Added compressed texture
- Added texture image sample
- Added transform feedback instancing sample
================================================================================
OpenGL Samples Pack 4.1.7.2: 2011-08-04
--------------------------------------------------------------------------------
- Added point sprite sample
- Added interface matching sample
- Fixed interface matching of some samples
- Fixed transform feedback stream sample
- Fixed GLEW extension loading
================================================================================
OpenGL Samples Pack 4.1.7.1: 2011-07-11
--------------------------------------------------------------------------------
- Added Linux support
================================================================================
OpenGL Samples Pack 4.1.7.0: 2011-07-10
--------------------------------------------------------------------------------
- Removed all the workaround used since OpenGL 3.3 beta drivers release
- Some samples refactoring
- Added more transformed feedback tests
- Added pixel store for texture 2d sample
- Fixed extension loading
================================================================================
OpenGL Samples Pack 4.1.6.1: 2011-06-22
--------------------------------------------------------------------------------
- Added this readme.txt
- Added ogl-330-primitive-front-face sample
- Generalized matching by location
- Fixed bugs
================================================================================