ogl-samples.g-truc.net [email protected]
Copyright (c) 2005 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.
It is required to generate the solution using enabling AUTOMATED_TESTS option
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.
- 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.
- 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.
- Added gl-320-fbo-multisample-mask sample
- Added gl-430-glsl-std430 sample
- Added gl-430-glsl-std140 sample
- Added gl-320-glsl-uniform-align sample
- Added gl-320-fbo-readpixels-staging sample
- Added gl-320-fbo-readpixels-async sample
- Added gl-320-fbo-readpixels-client sample
- Added gl-400-fbo-multisample-interpolate sample
- Added gl-400-fbo-multisample-mask sample
- Improved test automation: A single template image per test with heuristics
- Improved gl-320-fbo-srgb-blend test
- Improved and fixed many tests
- Added gl-320-fbo-blend-points sample
- Added gl-400-buffer-uniform-array sample
- Added gl-410-buffer-uniform-array sample
- Added gl-430-texture-fetch-dependent sample
- Many updated samples
- Updated template images for current drivers
- Updated GLM to 0.9.7.1 and GLI to 0.7.1.0
- Fixed gl-320-draw-instanced #55
- Fixed gl-430-program-binary #48
- 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
- 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
- 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
- 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
- Improve compilation time
- Added missing image templates
- Fixed MacOSX and linux build
- Remove shaders and textures copy, loaded from source
- Added automated tests with reference images
- Fixed many samples
- Fixed MacOSX port
- Fixed MacOSX port
- Fixed Linux port
- Upgraded to GLFW 3.0
- Various fixes.
- Added 5 OpenGL 4.4 samples
- Fixed various sample bugs
- 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
- 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
- Added Intel OpenGL drivers implementation support
- Added 420-draw-image-space-rendering sample
- 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
- Added GLSL compiler: -D -I #include
- Complexified some OpenGL 4.3 samples
- Fixed sample exits
- Fixed multisample position sample
- Clean up legacy files
- 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
- 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
- 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
- Fixed bugs
- 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
- Fixed CTest default value
- Added CTest
- Rewritten OpenGL 4.2 samples
- Refactored direct state access samples
- Removed some deprecated/duplicated samples
- Fixed samples on AMD implementation
- Fixed samples on NVIDIA implementation
- 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
- Added point sprite sample
- Added interface matching sample
- Fixed interface matching of some samples
- Fixed transform feedback stream sample
- Fixed GLEW extension loading
- Added Linux support
- 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
- Added this readme.txt
- Added ogl-330-primitive-front-face sample
- Generalized matching by location
- Fixed bugs