├── .github └── workflows │ └── haskell-ci.yml ├── .gitignore ├── .gitmodules ├── CHANGELOG.md ├── LICENSE ├── OpenGLRaw.cabal ├── README.md ├── RegistryProcessor ├── LICENSE ├── RegistryProcessor.cabal ├── Setup.hs └── src │ ├── DeclarationParser.hs │ ├── Main.hs │ ├── ManPages.hs │ ├── MangledRegistry.hs │ └── Registry.hs ├── Setup.hs ├── cbits └── HsOpenGLRaw.c └── src └── Graphics ├── GL.hs └── GL ├── AMD.hs ├── AMD ├── BlendMinmaxFactor.hs ├── DebugOutput.hs ├── DepthClampSeparate.hs ├── DrawBuffersBlend.hs ├── FramebufferMultisampleAdvanced.hs ├── FramebufferSamplePositions.hs ├── GPUShaderHalfFloat.hs ├── GPUShaderInt64.hs ├── InterleavedElements.hs ├── MultiDrawIndirect.hs ├── NameGenDelete.hs ├── OcclusionQueryEvent.hs ├── PerformanceMonitor.hs ├── PinnedMemory.hs ├── QueryBufferObject.hs ├── SamplePositions.hs ├── SeamlessCubemapPerTexture.hs ├── SparseTexture.hs ├── StencilOperationExtended.hs ├── TransformFeedback4.hs └── VertexShaderTessellator.hs ├── APPLE.hs ├── APPLE ├── AuxDepthStencil.hs ├── ClientStorage.hs ├── ElementArray.hs ├── Fence.hs ├── FloatPixels.hs ├── FlushBufferRange.hs ├── ObjectPurgeable.hs ├── RGB422.hs ├── RowBytes.hs ├── SpecularVector.hs ├── TextureRange.hs ├── TransformHint.hs ├── VertexArrayObject.hs ├── VertexArrayRange.hs ├── VertexProgramEvaluators.hs └── YCbCr422.hs ├── ARB.hs ├── ARB ├── BaseInstance.hs ├── BindlessTexture.hs ├── BlendFuncExtended.hs ├── BufferStorage.hs ├── CLEvent.hs ├── ClearBufferObject.hs ├── ClearTexture.hs ├── ClipControl.hs ├── ColorBufferFloat.hs ├── CompressedTexturePixelStorage.hs ├── ComputeShader.hs ├── ComputeVariableGroupSize.hs ├── ConditionalRenderInverted.hs ├── CopyBuffer.hs ├── CopyImage.hs ├── CullDistance.hs ├── DebugOutput.hs ├── DepthBufferFloat.hs ├── DepthClamp.hs ├── DepthTexture.hs ├── DirectStateAccess.hs ├── DrawBuffers.hs ├── DrawBuffersBlend.hs ├── DrawElementsBaseVertex.hs ├── DrawIndirect.hs ├── DrawInstanced.hs ├── ES2Compatibility.hs ├── ES31Compatibility.hs ├── ES32Compatibility.hs ├── ES3Compatibility.hs ├── EnhancedLayouts.hs ├── ExplicitUniformLocation.hs ├── FragmentProgram.hs ├── FragmentShader.hs ├── FramebufferNoAttachments.hs ├── FramebufferObjectCompatibility.hs ├── FramebufferObjectCore.hs ├── FramebufferSRGB.hs ├── GPUShader5.hs ├── GPUShaderFP64.hs ├── GPUShaderInt64.hs ├── GeometryShader4.hs ├── GetProgramBinary.hs ├── GetTextureSubImage.hs ├── GlSpirv.hs ├── HalfFloatPixel.hs ├── HalfFloatVertex.hs ├── ImagingCompatibility.hs ├── ImagingCore.hs ├── IndirectParameters.hs ├── InstancedArrays.hs ├── InternalformatQuery.hs ├── InternalformatQuery2.hs ├── InvalidateSubdata.hs ├── MapBufferAlignment.hs ├── MapBufferRange.hs ├── MatrixPalette.hs ├── MultiBind.hs ├── MultiDrawIndirect.hs ├── Multisample.hs ├── Multitexture.hs ├── OcclusionQuery.hs ├── OcclusionQuery2.hs ├── ParallelShaderCompile.hs ├── PipelineStatisticsQuery.hs ├── PixelBufferObject.hs ├── PointParameters.hs ├── PointSprite.hs ├── PolygonOffsetClamp.hs ├── ProgramInterfaceQuery.hs ├── ProvokingVertex.hs ├── QueryBufferObject.hs ├── RobustnessCompatibility.hs ├── RobustnessCore.hs ├── SampleLocations.hs ├── SampleShading.hs ├── SamplerObjects.hs ├── SeamlessCubeMap.hs ├── SeamlessCubemapPerTexture.hs ├── SeparateShaderObjects.hs ├── ShaderAtomicCounters.hs ├── ShaderImageLoadStore.hs ├── ShaderObjects.hs ├── ShaderStorageBufferObject.hs ├── ShaderSubroutine.hs ├── ShadingLanguage100.hs ├── ShadingLanguageInclude.hs ├── Shadow.hs ├── ShadowAmbient.hs ├── SparseBuffer.hs ├── SparseTexture.hs ├── SpirvExtensions.hs ├── StencilTexturing.hs ├── Sync.hs ├── TessellationShader.hs ├── TextureBarrier.hs ├── TextureBorderClamp.hs ├── TextureBufferObject.hs ├── TextureBufferObjectRGB32.hs ├── TextureBufferRange.hs ├── TextureCompression.hs ├── TextureCompressionBPTC.hs ├── TextureCompressionRGTC.hs ├── TextureCubeMap.hs ├── TextureCubeMapArray.hs ├── TextureEnvCombine.hs ├── TextureEnvDot3.hs ├── TextureFilterAnisotropic.hs ├── TextureFilterMinmax.hs ├── TextureFloat.hs ├── TextureGather.hs ├── TextureMirrorClampToEdge.hs ├── TextureMirroredRepeat.hs ├── TextureMultisample.hs ├── TextureRG.hs ├── TextureRGB10A2UI.hs ├── TextureRectangle.hs ├── TextureStencil8.hs ├── TextureStorage.hs ├── TextureStorageMultisample.hs ├── TextureSwizzle.hs ├── TextureView.hs ├── TimerQuery.hs ├── TransformFeedback2.hs ├── TransformFeedback3.hs ├── TransformFeedbackInstanced.hs ├── TransformFeedbackOverflowQuery.hs ├── TransposeMatrix.hs ├── UniformBufferObject.hs ├── VertexArrayBGRA.hs ├── VertexArrayObject.hs ├── VertexAttrib64Bit.hs ├── VertexAttribBinding.hs ├── VertexBlend.hs ├── VertexBufferObject.hs ├── VertexProgram.hs ├── VertexShader.hs ├── VertexType10f11f11fRev.hs ├── VertexType2101010RevCompatibility.hs ├── VertexType2101010RevCore.hs ├── ViewportArray.hs └── WindowPos.hs ├── ATI.hs ├── ATI ├── DrawBuffers.hs ├── ElementArray.hs ├── EnvmapBumpmap.hs ├── FragmentShader.hs ├── MapObjectBuffer.hs ├── Meminfo.hs ├── PNTriangles.hs ├── PixelFormatFloat.hs ├── SeparateStencil.hs ├── TextFragmentShader.hs ├── TextureEnvCombine3.hs ├── TextureFloat.hs ├── TextureMirrorOnce.hs ├── VertexArrayObject.hs ├── VertexAttribArrayObject.hs └── VertexStreams.hs ├── Compatibility30.hs ├── Compatibility31.hs ├── Compatibility32.hs ├── Compatibility33.hs ├── Compatibility40.hs ├── Compatibility41.hs ├── Compatibility42.hs ├── Compatibility43.hs ├── Compatibility44.hs ├── Compatibility45.hs ├── Compatibility46.hs ├── Core30.hs ├── Core31.hs ├── Core32.hs ├── Core33.hs ├── Core40.hs ├── Core41.hs ├── Core42.hs ├── Core43.hs ├── Core44.hs ├── Core45.hs ├── Core46.hs ├── EXT.hs ├── EXT ├── ABGR.hs ├── BGRA.hs ├── BindableUniform.hs ├── BlendColor.hs ├── BlendEquationSeparate.hs ├── BlendFuncSeparate.hs ├── BlendMinmax.hs ├── BlendSubtract.hs ├── CMYKA.hs ├── ClipVolumeHint.hs ├── ColorSubtable.hs ├── CompiledVertexArray.hs ├── Convolution.hs ├── CoordinateFrame.hs ├── CopyTexture.hs ├── CullVertex.hs ├── DebugLabel.hs ├── DebugMarker.hs ├── DepthBoundsTest.hs ├── DirectStateAccess.hs ├── DrawBuffers2.hs ├── DrawInstanced.hs ├── DrawRangeElements.hs ├── EglImageStorage.hs ├── ExternalBuffer.hs ├── FogCoord.hs ├── FourTwoTwoPixels.hs ├── FramebufferBlit.hs ├── FramebufferMultisample.hs ├── FramebufferMultisampleBlitScaled.hs ├── FramebufferObject.hs ├── FramebufferSRGB.hs ├── GPUProgramParameters.hs ├── GPUShader4.hs ├── GeometryShader4.hs ├── Histogram.hs ├── IndexArrayFormats.hs ├── IndexFunc.hs ├── IndexMaterial.hs ├── LightTexture.hs ├── MemoryObject.hs ├── MemoryObjectFd.hs ├── MemoryObjectWin32.hs ├── MultiDrawArrays.hs ├── Multisample.hs ├── PackedDepthStencil.hs ├── PackedFloat.hs ├── PackedPixels.hs ├── PalettedTexture.hs ├── PixelBufferObject.hs ├── PixelTransform.hs ├── PointParameters.hs ├── PolygonOffset.hs ├── PolygonOffsetClamp.hs ├── ProvokingVertex.hs ├── RasterMultisample.hs ├── RescaleNormal.hs ├── SecondaryColor.hs ├── Semaphore.hs ├── SemaphoreFd.hs ├── SemaphoreWin32.hs ├── SeparateShaderObjects.hs ├── SeparateSpecularColor.hs ├── ShaderFramebufferFetch.hs ├── ShaderFramebufferFetchNonCoherent.hs ├── ShaderImageLoadStore.hs ├── SharedTexturePalette.hs ├── StencilClearTag.hs ├── StencilTwoSide.hs ├── StencilWrap.hs ├── Subtexture.hs ├── Texture.hs ├── Texture3D.hs ├── TextureArray.hs ├── TextureBufferObject.hs ├── TextureCompressionLATC.hs ├── TextureCompressionRGTC.hs ├── TextureCompressionS3TC.hs ├── TextureCubeMap.hs ├── TextureEnvCombine.hs ├── TextureEnvDot3.hs ├── TextureFilterAnisotropic.hs ├── TextureFilterMinmax.hs ├── TextureInteger.hs ├── TextureLODBias.hs ├── TextureMirrorClamp.hs ├── TextureObject.hs ├── TexturePerturbNormal.hs ├── TextureSNorm.hs ├── TextureSRGB.hs ├── TextureSRGBDecode.hs ├── TextureSRGBR8.hs ├── TextureSharedExponent.hs ├── TextureSwizzle.hs ├── TimerQuery.hs ├── TransformFeedback.hs ├── VertexArray.hs ├── VertexArrayBGRA.hs ├── VertexAttrib64Bit.hs ├── VertexShader.hs ├── VertexWeighting.hs ├── Win32KeyedMutex.hs ├── WindowRectangles.hs └── X11SyncObject.hs ├── ExtensionPredicates.hs ├── Foreign.hs ├── Functions.hs ├── Functions ├── F01.hs ├── F02.hs ├── F03.hs ├── F04.hs ├── F05.hs ├── F06.hs ├── F07.hs ├── F08.hs ├── F09.hs ├── F10.hs ├── F11.hs ├── F12.hs ├── F13.hs ├── F14.hs ├── F15.hs ├── F16.hs ├── F17.hs ├── F18.hs ├── F19.hs ├── F20.hs ├── F21.hs ├── F22.hs ├── F23.hs ├── F24.hs ├── F25.hs ├── F26.hs ├── F27.hs ├── F28.hs ├── F29.hs ├── F30.hs ├── F31.hs ├── F32.hs └── F33.hs ├── GREMEDY.hs ├── GREMEDY ├── FrameTerminator.hs └── StringMarker.hs ├── GetProcAddress.hs ├── Groups.hs ├── HP.hs ├── HP ├── ConvolutionBorderModes.hs ├── ImageTransform.hs ├── OcclusionTest.hs └── TextureLighting.hs ├── IBM.hs ├── IBM ├── CullVertex.hs ├── MultimodeDrawArrays.hs ├── RasterposClip.hs ├── StaticData.hs ├── TextureMirroredRepeat.hs └── VertexArrayLists.hs ├── INGR.hs ├── INGR ├── BlendFuncSeparate.hs ├── ColorClamp.hs └── InterlaceRead.hs ├── INTEL.hs ├── INTEL ├── BlackholeRender.hs ├── ConservativeRasterization.hs ├── FramebufferCmaa.hs ├── MapTexture.hs ├── ParallelArrays.hs └── PerformanceQuery.hs ├── KHR.hs ├── KHR ├── BlendEquationAdvanced.hs ├── BlendEquationAdvancedCoherent.hs ├── ContextFlushControl.hs ├── DebugCompatibility.hs ├── DebugCore.hs ├── NoError.hs ├── ParallelShaderCompile.hs ├── Robustness.hs ├── ShaderSubgroup.hs ├── TextureCompressionASTCHDR.hs └── TextureCompressionASTCLDR.hs ├── MESA.hs ├── MESA ├── FramebufferFlipY.hs ├── PackInvert.hs ├── ProgramBinaryFormats.hs ├── ResizeBuffers.hs ├── TileRasterOrder.hs ├── WindowPos.hs └── YCbCrTexture.hs ├── MESAX.hs ├── MESAX └── TextureStack.hs ├── NV.hs ├── NV ├── AlphaToCoverageDitherControl.hs ├── BindlessMultiDrawIndirect.hs ├── BindlessMultiDrawIndirectCount.hs ├── BindlessTexture.hs ├── BlendEquationAdvanced.hs ├── BlendEquationAdvancedCoherent.hs ├── BlendMinmaxFactor.hs ├── ClipSpaceWScaling.hs ├── CommandList.hs ├── ComputeProgram5.hs ├── ConditionalRender.hs ├── ConservativeRaster.hs ├── ConservativeRasterDilate.hs ├── ConservativeRasterPreSnap.hs ├── ConservativeRasterPreSnapTriangles.hs ├── CopyDepthToColor.hs ├── CopyImage.hs ├── DeepTexture3D.hs ├── DepthBufferFloat.hs ├── DepthClamp.hs ├── DrawTexture.hs ├── DrawVulkanImage.hs ├── Evaluators.hs ├── ExplicitMultisample.hs ├── Fence.hs ├── FillRectangle.hs ├── FloatBuffer.hs ├── FogDistance.hs ├── FragmentCoverageToColor.hs ├── FragmentProgram.hs ├── FragmentProgram2.hs ├── FramebufferMixedSamples.hs ├── FramebufferMultisampleCoverage.hs ├── GPUMulticast.hs ├── GPUProgram4.hs ├── GPUProgram5.hs ├── GPUShader5.hs ├── GeometryProgram4.hs ├── HalfFloat.hs ├── InternalformatSampleQuery.hs ├── LightMaxExponent.hs ├── MemoryAttachment.hs ├── MeshShader.hs ├── MultisampleCoverage.hs ├── MultisampleFilterHint.hs ├── OcclusionQuery.hs ├── PackedDepthStencil.hs ├── ParameterBufferObject.hs ├── PathRenderingCompatibility.hs ├── PathRenderingCore.hs ├── PathRenderingSharedEdge.hs ├── PixelDataRange.hs ├── PointSprite.hs ├── PresentVideo.hs ├── PrimitiveRestart.hs ├── QueryResource.hs ├── QueryResourceTag.hs ├── RegisterCombiners.hs ├── RegisterCombiners2.hs ├── RepresentativeFragmentTest.hs ├── RobustnessVideoMemoryPurge.hs ├── SampleLocations.hs ├── ScissorExclusive.hs ├── ShaderBufferLoad.hs ├── ShaderBufferStore.hs ├── ShaderSubgroupPartitioned.hs ├── ShaderThreadGroup.hs ├── ShadingRateImage.hs ├── TessellationProgram5.hs ├── TexgenEmboss.hs ├── TexgenReflection.hs ├── TextureBarrier.hs ├── TextureEnvCombine4.hs ├── TextureExpandNormal.hs ├── TextureMultisample.hs ├── TextureRectangle.hs ├── TextureShader.hs ├── TextureShader2.hs ├── TextureShader3.hs ├── TransformFeedback.hs ├── TransformFeedback2.hs ├── UniformBufferUnifiedMemory.hs ├── VDPAUInterop.hs ├── VDPAUInterop2.hs ├── VertexArrayRange.hs ├── VertexArrayRange2.hs ├── VertexAttribInteger64Bit.hs ├── VertexBufferUnifiedMemory.hs ├── VertexProgram.hs ├── VertexProgram2Option.hs ├── VertexProgram3.hs ├── VertexProgram4.hs ├── VideoCapture.hs └── ViewportSwizzle.hs ├── NVX.hs ├── NVX ├── ConditionalRender.hs ├── GPUMemoryInfo.hs ├── GPUMulticast2.hs ├── LinkedGPUMulticast.hs └── ProgressFence.hs ├── OES.hs ├── OES ├── ByteCoordinates.hs ├── CompressedPalettedTexture.hs ├── FixedPoint.hs ├── QueryMatrix.hs ├── ReadFormat.hs └── SinglePrecision.hs ├── OML.hs ├── OML ├── Interlace.hs ├── Resample.hs └── Subsample.hs ├── OVR.hs ├── OVR └── Multiview.hs ├── PGI.hs ├── PGI ├── MiscHints.hs └── VertexHints.hs ├── REND.hs ├── REND └── ScreenCoordinates.hs ├── S3.hs ├── S3 └── S3TC.hs ├── SGI.hs ├── SGI ├── ColorMatrix.hs ├── ColorTable.hs └── TextureColorTable.hs ├── SGIS.hs ├── SGIS ├── DetailTexture.hs ├── FogFunction.hs ├── GenerateMipmap.hs ├── Multisample.hs ├── PixelTexture.hs ├── PointLineTexgen.hs ├── PointParameters.hs ├── SharpenTexture.hs ├── Texture4D.hs ├── TextureBorderClamp.hs ├── TextureColorMask.hs ├── TextureEdgeClamp.hs ├── TextureFilter4.hs ├── TextureLOD.hs └── TextureSelect.hs ├── SGIX.hs ├── SGIX ├── Async.hs ├── AsyncHistogram.hs ├── AsyncPixel.hs ├── BlendAlphaMinmax.hs ├── CalligraphicFragment.hs ├── Clipmap.hs ├── ConvolutionAccuracy.hs ├── DepthTexture.hs ├── FlushRaster.hs ├── FogOffset.hs ├── FragmentLighting.hs ├── Framezoom.hs ├── IglooInterface.hs ├── Instruments.hs ├── Interlace.hs ├── IrInstrument1.hs ├── ListPriority.hs ├── PixelTexture.hs ├── PixelTiles.hs ├── PolynomialFFD.hs ├── ReferencePlane.hs ├── Resample.hs ├── ScalebiasHint.hs ├── Shadow.hs ├── ShadowAmbient.hs ├── Sprite.hs ├── Subsample.hs ├── TagSampleBuffer.hs ├── TextureAddEnv.hs ├── TextureCoordinateClamp.hs ├── TextureLODBias.hs ├── TextureMultiBuffer.hs ├── TextureScaleBias.hs ├── VertexPreclip.hs ├── YCrCb.hs └── YCrCbA.hs ├── SUN.hs ├── SUN ├── ConvolutionBorderModes.hs ├── GlobalAlpha.hs ├── MeshArray.hs ├── SliceAccum.hs ├── TriangleList.hs └── Vertex.hs ├── SUNX.hs ├── SUNX └── ConstantData.hs ├── ThreeDFX.hs ├── ThreeDFX ├── Multisample.hs ├── Tbuffer.hs └── TextureCompressionFXT1.hs ├── Tokens.hs ├── Types.hs ├── Version10.hs ├── Version11.hs ├── Version12.hs ├── Version13.hs ├── Version14.hs ├── Version15.hs ├── Version20.hs ├── Version21.hs ├── WIN.hs └── WIN ├── PhongShading.hs └── SpecularFog.hs /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *~ 3 | **/.cabal-sandbox 4 | **/.stack-work/ 5 | **/dist 6 | **/highlight.js 7 | **/stack.yaml 8 | **/stack.yaml.lock 9 | **/style.css 10 | cabal.sandbox.config 11 | /RegistryProcessor/Graphics/ 12 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "RegistryProcessor/OpenGL-Registry"] 2 | path = RegistryProcessor/OpenGL-Registry 3 | url = https://github.com/KhronosGroup/OpenGL-Registry 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Hackage](https://img.shields.io/hackage/v/OpenGLRaw.svg)](https://hackage.haskell.org/package/OpenGLRaw) 2 | [![Stackage LTS](https://www.stackage.org/package/OpenGLRaw/badge/lts)](https://www.stackage.org/lts/package/OpenGLRaw) 3 | [![Stackage nightly](https://www.stackage.org/package/OpenGLRaw/badge/nightly)](https://www.stackage.org/nightly/package/OpenGLRaw) 4 | [![Build Status](https://github.com/haskell-opengl/OpenGLRaw/actions/workflows/haskell-ci.yml/badge.svg)](https://github.com/haskell-opengl/OpenGLRaw/actions/workflows/haskell-ci.yml) 5 | -------------------------------------------------------------------------------- /RegistryProcessor/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/BlendMinmaxFactor.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.BlendMinmaxFactor 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.BlendMinmaxFactor ( 15 | -- * Extension Support 16 | glGetAMDBlendMinmaxFactor, 17 | gl_AMD_blend_minmax_factor, 18 | -- * Enums 19 | pattern GL_FACTOR_MAX_AMD, 20 | pattern GL_FACTOR_MIN_AMD 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/DepthClampSeparate.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.DepthClampSeparate 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.DepthClampSeparate ( 15 | -- * Extension Support 16 | glGetAMDDepthClampSeparate, 17 | gl_AMD_depth_clamp_separate, 18 | -- * Enums 19 | pattern GL_DEPTH_CLAMP_FAR_AMD, 20 | pattern GL_DEPTH_CLAMP_NEAR_AMD 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/DrawBuffersBlend.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.AMD.DrawBuffersBlend 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.AMD.DrawBuffersBlend ( 14 | -- * Extension Support 15 | glGetAMDDrawBuffersBlend, 16 | gl_AMD_draw_buffers_blend, 17 | -- * Functions 18 | glBlendEquationIndexedAMD, 19 | glBlendEquationSeparateIndexedAMD, 20 | glBlendFuncIndexedAMD, 21 | glBlendFuncSeparateIndexedAMD 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Functions 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/MultiDrawIndirect.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.AMD.MultiDrawIndirect 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.AMD.MultiDrawIndirect ( 14 | -- * Extension Support 15 | glGetAMDMultiDrawIndirect, 16 | gl_AMD_multi_draw_indirect, 17 | -- * Functions 18 | glMultiDrawArraysIndirectAMD, 19 | glMultiDrawElementsIndirectAMD 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/PinnedMemory.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.PinnedMemory 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.PinnedMemory ( 15 | -- * Extension Support 16 | glGetAMDPinnedMemory, 17 | gl_AMD_pinned_memory, 18 | -- * Enums 19 | pattern GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/QueryBufferObject.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.QueryBufferObject 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.QueryBufferObject ( 15 | -- * Extension Support 16 | glGetAMDQueryBufferObject, 17 | gl_AMD_query_buffer_object, 18 | -- * Enums 19 | pattern GL_QUERY_BUFFER_AMD, 20 | pattern GL_QUERY_BUFFER_BINDING_AMD, 21 | pattern GL_QUERY_RESULT_NO_WAIT_AMD 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/SamplePositions.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.SamplePositions 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.SamplePositions ( 15 | -- * Extension Support 16 | glGetAMDSamplePositions, 17 | gl_AMD_sample_positions, 18 | -- * Enums 19 | pattern GL_SUBSAMPLE_DISTANCE_AMD, 20 | -- * Functions 21 | glSetMultisamplefvAMD 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/SeamlessCubemapPerTexture.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.SeamlessCubemapPerTexture 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.SeamlessCubemapPerTexture ( 15 | -- * Extension Support 16 | glGetAMDSeamlessCubemapPerTexture, 17 | gl_AMD_seamless_cubemap_per_texture, 18 | -- * Enums 19 | pattern GL_TEXTURE_CUBE_MAP_SEAMLESS 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/AMD/TransformFeedback4.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.AMD.TransformFeedback4 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.AMD.TransformFeedback4 ( 15 | -- * Extension Support 16 | glGetAMDTransformFeedback4, 17 | gl_AMD_transform_feedback4, 18 | -- * Enums 19 | pattern GL_STREAM_RASTERIZATION_AMD 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/AuxDepthStencil.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.AuxDepthStencil 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.AuxDepthStencil ( 15 | -- * Extension Support 16 | glGetAPPLEAuxDepthStencil, 17 | gl_APPLE_aux_depth_stencil, 18 | -- * Enums 19 | pattern GL_AUX_DEPTH_STENCIL_APPLE 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/ClientStorage.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.ClientStorage 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.ClientStorage ( 15 | -- * Extension Support 16 | glGetAPPLEClientStorage, 17 | gl_APPLE_client_storage, 18 | -- * Enums 19 | pattern GL_UNPACK_CLIENT_STORAGE_APPLE 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/RGB422.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.RGB422 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.RGB422 ( 15 | -- * Extension Support 16 | glGetAPPLERGB422, 17 | gl_APPLE_rgb_422, 18 | -- * Enums 19 | pattern GL_RGB_422_APPLE, 20 | pattern GL_RGB_RAW_422_APPLE, 21 | pattern GL_UNSIGNED_SHORT_8_8_APPLE, 22 | pattern GL_UNSIGNED_SHORT_8_8_REV_APPLE 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/RowBytes.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.RowBytes 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.RowBytes ( 15 | -- * Extension Support 16 | glGetAPPLERowBytes, 17 | gl_APPLE_row_bytes, 18 | -- * Enums 19 | pattern GL_PACK_ROW_BYTES_APPLE, 20 | pattern GL_UNPACK_ROW_BYTES_APPLE 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/SpecularVector.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.SpecularVector 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.SpecularVector ( 15 | -- * Extension Support 16 | glGetAPPLESpecularVector, 17 | gl_APPLE_specular_vector, 18 | -- * Enums 19 | pattern GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/TransformHint.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.TransformHint 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.TransformHint ( 15 | -- * Extension Support 16 | glGetAPPLETransformHint, 17 | gl_APPLE_transform_hint, 18 | -- * Enums 19 | pattern GL_TRANSFORM_HINT_APPLE 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/APPLE/YCbCr422.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.APPLE.YCbCr422 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.APPLE.YCbCr422 ( 15 | -- * Extension Support 16 | glGetAPPLEYCbCr422, 17 | gl_APPLE_ycbcr_422, 18 | -- * Enums 19 | pattern GL_UNSIGNED_SHORT_8_8_APPLE, 20 | pattern GL_UNSIGNED_SHORT_8_8_REV_APPLE, 21 | pattern GL_YCBCR_422_APPLE 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/BaseInstance.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.BaseInstance 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.BaseInstance ( 14 | -- * Extension Support 15 | glGetARBBaseInstance, 16 | gl_ARB_base_instance, 17 | -- * Functions 18 | glDrawArraysInstancedBaseInstance, 19 | glDrawElementsInstancedBaseInstance, 20 | glDrawElementsInstancedBaseVertexBaseInstance 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Functions 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/CLEvent.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.CLEvent 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.CLEvent ( 15 | -- * Extension Support 16 | glGetARBCLEvent, 17 | gl_ARB_cl_event, 18 | -- * Enums 19 | pattern GL_SYNC_CL_EVENT_ARB, 20 | pattern GL_SYNC_CL_EVENT_COMPLETE_ARB, 21 | -- * Functions 22 | glCreateSyncFromCLeventARB 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/ClearBufferObject.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.ClearBufferObject 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.ClearBufferObject ( 14 | -- * Extension Support 15 | glGetARBClearBufferObject, 16 | gl_ARB_clear_buffer_object, 17 | -- * Functions 18 | glClearBufferData, 19 | glClearBufferSubData 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/ClearTexture.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.ClearTexture 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.ClearTexture ( 15 | -- * Extension Support 16 | glGetARBClearTexture, 17 | gl_ARB_clear_texture, 18 | -- * Enums 19 | pattern GL_CLEAR_TEXTURE, 20 | -- * Functions 21 | glClearTexImage, 22 | glClearTexSubImage 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/CopyBuffer.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.CopyBuffer 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.CopyBuffer ( 15 | -- * Extension Support 16 | glGetARBCopyBuffer, 17 | gl_ARB_copy_buffer, 18 | -- * Enums 19 | pattern GL_COPY_READ_BUFFER, 20 | pattern GL_COPY_WRITE_BUFFER, 21 | -- * Functions 22 | glCopyBufferSubData 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/CopyImage.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.CopyImage 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.CopyImage ( 14 | -- * Extension Support 15 | glGetARBCopyImage, 16 | gl_ARB_copy_image, 17 | -- * Functions 18 | glCopyImageSubData 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/CullDistance.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.CullDistance 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.CullDistance ( 15 | -- * Extension Support 16 | glGetARBCullDistance, 17 | gl_ARB_cull_distance, 18 | -- * Enums 19 | pattern GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES, 20 | pattern GL_MAX_CULL_DISTANCES 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/DepthBufferFloat.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.DepthBufferFloat 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.DepthBufferFloat ( 15 | -- * Extension Support 16 | glGetARBDepthBufferFloat, 17 | gl_ARB_depth_buffer_float, 18 | -- * Enums 19 | pattern GL_DEPTH32F_STENCIL8, 20 | pattern GL_DEPTH_COMPONENT32F, 21 | pattern GL_FLOAT_32_UNSIGNED_INT_24_8_REV 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/DepthClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.DepthClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.DepthClamp ( 15 | -- * Extension Support 16 | glGetARBDepthClamp, 17 | gl_ARB_depth_clamp, 18 | -- * Enums 19 | pattern GL_DEPTH_CLAMP 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/DrawBuffersBlend.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.DrawBuffersBlend 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.DrawBuffersBlend ( 14 | -- * Extension Support 15 | glGetARBDrawBuffersBlend, 16 | gl_ARB_draw_buffers_blend, 17 | -- * Functions 18 | glBlendEquationSeparateiARB, 19 | glBlendEquationiARB, 20 | glBlendFuncSeparateiARB, 21 | glBlendFunciARB 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Functions 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/DrawElementsBaseVertex.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.DrawElementsBaseVertex 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.DrawElementsBaseVertex ( 14 | -- * Extension Support 15 | glGetARBDrawElementsBaseVertex, 16 | gl_ARB_draw_elements_base_vertex, 17 | -- * Functions 18 | glDrawElementsBaseVertex, 19 | glDrawElementsInstancedBaseVertex, 20 | glDrawRangeElementsBaseVertex, 21 | glMultiDrawElementsBaseVertex 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Functions 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/DrawInstanced.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.DrawInstanced 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.DrawInstanced ( 14 | -- * Extension Support 15 | glGetARBDrawInstanced, 16 | gl_ARB_draw_instanced, 17 | -- * Functions 18 | glDrawArraysInstancedARB, 19 | glDrawElementsInstancedARB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/ES31Compatibility.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.ES31Compatibility 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.ES31Compatibility ( 15 | -- * Extension Support 16 | glGetARBES31Compatibility, 17 | gl_ARB_ES3_1_compatibility, 18 | -- * Enums 19 | pattern GL_BACK, 20 | -- * Functions 21 | glMemoryBarrierByRegion 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/ExplicitUniformLocation.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.ExplicitUniformLocation 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.ExplicitUniformLocation ( 15 | -- * Extension Support 16 | glGetARBExplicitUniformLocation, 17 | gl_ARB_explicit_uniform_location, 18 | -- * Enums 19 | pattern GL_MAX_UNIFORM_LOCATIONS 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/FragmentShader.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.FragmentShader 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.FragmentShader ( 15 | -- * Extension Support 16 | glGetARBFragmentShader, 17 | gl_ARB_fragment_shader, 18 | -- * Enums 19 | pattern GL_FRAGMENT_SHADER_ARB, 20 | pattern GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB, 21 | pattern GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/FramebufferSRGB.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.FramebufferSRGB 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.FramebufferSRGB ( 15 | -- * Extension Support 16 | glGetARBFramebufferSRGB, 17 | gl_ARB_framebuffer_sRGB, 18 | -- * Enums 19 | pattern GL_FRAMEBUFFER_SRGB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/GetTextureSubImage.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.GetTextureSubImage 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.GetTextureSubImage ( 14 | -- * Extension Support 15 | glGetARBGetTextureSubImage, 16 | gl_ARB_get_texture_sub_image, 17 | -- * Functions 18 | glGetCompressedTextureSubImage, 19 | glGetTextureSubImage 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/GlSpirv.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.GlSpirv 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.GlSpirv ( 15 | -- * Extension Support 16 | glGetARBGlSpirv, 17 | gl_ARB_gl_spirv, 18 | -- * Enums 19 | pattern GL_SHADER_BINARY_FORMAT_SPIR_V_ARB, 20 | pattern GL_SPIR_V_BINARY_ARB, 21 | -- * Functions 22 | glSpecializeShaderARB 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/HalfFloatPixel.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.HalfFloatPixel 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.HalfFloatPixel ( 15 | -- * Extension Support 16 | glGetARBHalfFloatPixel, 17 | gl_ARB_half_float_pixel, 18 | -- * Types 19 | GLhalfARB, 20 | -- * Enums 21 | pattern GL_HALF_FLOAT_ARB 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Types 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/HalfFloatVertex.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.HalfFloatVertex 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.HalfFloatVertex ( 15 | -- * Extension Support 16 | glGetARBHalfFloatVertex, 17 | gl_ARB_half_float_vertex, 18 | -- * Types 19 | GLhalf, 20 | -- * Enums 21 | pattern GL_HALF_FLOAT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Types 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/InstancedArrays.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.InstancedArrays 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.InstancedArrays ( 15 | -- * Extension Support 16 | glGetARBInstancedArrays, 17 | gl_ARB_instanced_arrays, 18 | -- * Enums 19 | pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB, 20 | -- * Functions 21 | glVertexAttribDivisorARB 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/InternalformatQuery.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.InternalformatQuery 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.InternalformatQuery ( 15 | -- * Extension Support 16 | glGetARBInternalformatQuery, 17 | gl_ARB_internalformat_query, 18 | -- * Enums 19 | pattern GL_NUM_SAMPLE_COUNTS, 20 | -- * Functions 21 | glGetInternalformativ 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/InvalidateSubdata.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.InvalidateSubdata 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.InvalidateSubdata ( 14 | -- * Extension Support 15 | glGetARBInvalidateSubdata, 16 | gl_ARB_invalidate_subdata, 17 | -- * Functions 18 | glInvalidateBufferData, 19 | glInvalidateBufferSubData, 20 | glInvalidateFramebuffer, 21 | glInvalidateSubFramebuffer, 22 | glInvalidateTexImage, 23 | glInvalidateTexSubImage 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/MapBufferAlignment.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.MapBufferAlignment 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.MapBufferAlignment ( 15 | -- * Extension Support 16 | glGetARBMapBufferAlignment, 17 | gl_ARB_map_buffer_alignment, 18 | -- * Enums 19 | pattern GL_MIN_MAP_BUFFER_ALIGNMENT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/MultiBind.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.MultiBind 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.MultiBind ( 14 | -- * Extension Support 15 | glGetARBMultiBind, 16 | gl_ARB_multi_bind, 17 | -- * Functions 18 | glBindBuffersBase, 19 | glBindBuffersRange, 20 | glBindImageTextures, 21 | glBindSamplers, 22 | glBindTextures, 23 | glBindVertexBuffers 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/MultiDrawIndirect.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.MultiDrawIndirect 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.MultiDrawIndirect ( 14 | -- * Extension Support 15 | glGetARBMultiDrawIndirect, 16 | gl_ARB_multi_draw_indirect, 17 | -- * Functions 18 | glMultiDrawArraysIndirect, 19 | glMultiDrawElementsIndirect 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/OcclusionQuery2.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.OcclusionQuery2 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.OcclusionQuery2 ( 15 | -- * Extension Support 16 | glGetARBOcclusionQuery2, 17 | gl_ARB_occlusion_query2, 18 | -- * Enums 19 | pattern GL_ANY_SAMPLES_PASSED 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/PointSprite.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.PointSprite 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.PointSprite ( 15 | -- * Extension Support 16 | glGetARBPointSprite, 17 | gl_ARB_point_sprite, 18 | -- * Enums 19 | pattern GL_COORD_REPLACE_ARB, 20 | pattern GL_POINT_SPRITE_ARB 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/PolygonOffsetClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.PolygonOffsetClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.PolygonOffsetClamp ( 15 | -- * Extension Support 16 | glGetARBPolygonOffsetClamp, 17 | gl_ARB_polygon_offset_clamp, 18 | -- * Enums 19 | pattern GL_POLYGON_OFFSET_CLAMP, 20 | -- * Functions 21 | glPolygonOffsetClamp 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/QueryBufferObject.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.QueryBufferObject 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.QueryBufferObject ( 15 | -- * Extension Support 16 | glGetARBQueryBufferObject, 17 | gl_ARB_query_buffer_object, 18 | -- * Enums 19 | pattern GL_QUERY_BUFFER, 20 | pattern GL_QUERY_BUFFER_BARRIER_BIT, 21 | pattern GL_QUERY_BUFFER_BINDING, 22 | pattern GL_QUERY_RESULT_NO_WAIT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/SampleShading.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.SampleShading 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.SampleShading ( 15 | -- * Extension Support 16 | glGetARBSampleShading, 17 | gl_ARB_sample_shading, 18 | -- * Enums 19 | pattern GL_MIN_SAMPLE_SHADING_VALUE_ARB, 20 | pattern GL_SAMPLE_SHADING_ARB, 21 | -- * Functions 22 | glMinSampleShadingARB 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/SeamlessCubeMap.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.SeamlessCubeMap 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.SeamlessCubeMap ( 15 | -- * Extension Support 16 | glGetARBSeamlessCubeMap, 17 | gl_ARB_seamless_cube_map, 18 | -- * Enums 19 | pattern GL_TEXTURE_CUBE_MAP_SEAMLESS 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/SeamlessCubemapPerTexture.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.SeamlessCubemapPerTexture 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.SeamlessCubemapPerTexture ( 15 | -- * Extension Support 16 | glGetARBSeamlessCubemapPerTexture, 17 | gl_ARB_seamless_cubemap_per_texture, 18 | -- * Enums 19 | pattern GL_TEXTURE_CUBE_MAP_SEAMLESS 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/ShadingLanguage100.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.ShadingLanguage100 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.ShadingLanguage100 ( 15 | -- * Extension Support 16 | glGetARBShadingLanguage100, 17 | gl_ARB_shading_language_100, 18 | -- * Enums 19 | pattern GL_SHADING_LANGUAGE_VERSION_ARB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/Shadow.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.Shadow 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.Shadow ( 15 | -- * Extension Support 16 | glGetARBShadow, 17 | gl_ARB_shadow, 18 | -- * Enums 19 | pattern GL_COMPARE_R_TO_TEXTURE_ARB, 20 | pattern GL_TEXTURE_COMPARE_FUNC_ARB, 21 | pattern GL_TEXTURE_COMPARE_MODE_ARB 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/ShadowAmbient.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.ShadowAmbient 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.ShadowAmbient ( 15 | -- * Extension Support 16 | glGetARBShadowAmbient, 17 | gl_ARB_shadow_ambient, 18 | -- * Enums 19 | pattern GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/SpirvExtensions.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.SpirvExtensions 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.SpirvExtensions ( 15 | -- * Extension Support 16 | glGetARBSpirvExtensions, 17 | gl_ARB_spirv_extensions, 18 | -- * Enums 19 | pattern GL_NUM_SPIR_V_EXTENSIONS, 20 | pattern GL_SPIR_V_EXTENSIONS 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/StencilTexturing.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.StencilTexturing 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.StencilTexturing ( 15 | -- * Extension Support 16 | glGetARBStencilTexturing, 17 | gl_ARB_stencil_texturing, 18 | -- * Enums 19 | pattern GL_DEPTH_STENCIL_TEXTURE_MODE 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureBarrier.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.TextureBarrier 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.TextureBarrier ( 14 | -- * Extension Support 15 | glGetARBTextureBarrier, 16 | gl_ARB_texture_barrier, 17 | -- * Functions 18 | glTextureBarrier 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureBorderClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureBorderClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureBorderClamp ( 15 | -- * Extension Support 16 | glGetARBTextureBorderClamp, 17 | gl_ARB_texture_border_clamp, 18 | -- * Enums 19 | pattern GL_CLAMP_TO_BORDER_ARB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureBufferObjectRGB32.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureBufferObjectRGB32 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureBufferObjectRGB32 ( 15 | -- * Extension Support 16 | glGetARBTextureBufferObjectRGB32, 17 | gl_ARB_texture_buffer_object_rgb32, 18 | -- * Enums 19 | pattern GL_RGB32F, 20 | pattern GL_RGB32I, 21 | pattern GL_RGB32UI 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureEnvDot3.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureEnvDot3 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureEnvDot3 ( 15 | -- * Extension Support 16 | glGetARBTextureEnvDot3, 17 | gl_ARB_texture_env_dot3, 18 | -- * Enums 19 | pattern GL_DOT3_RGBA_ARB, 20 | pattern GL_DOT3_RGB_ARB 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureFilterAnisotropic.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureFilterAnisotropic 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureFilterAnisotropic ( 15 | -- * Extension Support 16 | glGetARBTextureFilterAnisotropic, 17 | gl_ARB_texture_filter_anisotropic, 18 | -- * Enums 19 | pattern GL_MAX_TEXTURE_MAX_ANISOTROPY, 20 | pattern GL_TEXTURE_MAX_ANISOTROPY 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureFilterMinmax.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureFilterMinmax 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureFilterMinmax ( 15 | -- * Extension Support 16 | glGetARBTextureFilterMinmax, 17 | gl_ARB_texture_filter_minmax, 18 | -- * Enums 19 | pattern GL_TEXTURE_REDUCTION_MODE_ARB, 20 | pattern GL_WEIGHTED_AVERAGE_ARB 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureGather.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureGather 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureGather ( 15 | -- * Extension Support 16 | glGetARBTextureGather, 17 | gl_ARB_texture_gather, 18 | -- * Enums 19 | pattern GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB, 20 | pattern GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB, 21 | pattern GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureMirrorClampToEdge.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureMirrorClampToEdge 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureMirrorClampToEdge ( 15 | -- * Extension Support 16 | glGetARBTextureMirrorClampToEdge, 17 | gl_ARB_texture_mirror_clamp_to_edge, 18 | -- * Enums 19 | pattern GL_MIRROR_CLAMP_TO_EDGE 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureMirroredRepeat.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureMirroredRepeat 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureMirroredRepeat ( 15 | -- * Extension Support 16 | glGetARBTextureMirroredRepeat, 17 | gl_ARB_texture_mirrored_repeat, 18 | -- * Enums 19 | pattern GL_MIRRORED_REPEAT_ARB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureRGB10A2UI.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureRGB10A2UI 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureRGB10A2UI ( 15 | -- * Extension Support 16 | glGetARBTextureRGB10A2UI, 17 | gl_ARB_texture_rgb10_a2ui, 18 | -- * Enums 19 | pattern GL_RGB10_A2UI 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureStencil8.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureStencil8 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureStencil8 ( 15 | -- * Extension Support 16 | glGetARBTextureStencil8, 17 | gl_ARB_texture_stencil8, 18 | -- * Enums 19 | pattern GL_STENCIL_INDEX, 20 | pattern GL_STENCIL_INDEX8 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureStorage.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TextureStorage 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TextureStorage ( 15 | -- * Extension Support 16 | glGetARBTextureStorage, 17 | gl_ARB_texture_storage, 18 | -- * Enums 19 | pattern GL_TEXTURE_IMMUTABLE_FORMAT, 20 | -- * Functions 21 | glTexStorage1D, 22 | glTexStorage2D, 23 | glTexStorage3D 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Tokens 28 | import Graphics.GL.Functions 29 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TextureStorageMultisample.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.TextureStorageMultisample 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.TextureStorageMultisample ( 14 | -- * Extension Support 15 | glGetARBTextureStorageMultisample, 16 | gl_ARB_texture_storage_multisample, 17 | -- * Functions 18 | glTexStorage2DMultisample, 19 | glTexStorage3DMultisample 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TimerQuery.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.TimerQuery 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.TimerQuery ( 15 | -- * Extension Support 16 | glGetARBTimerQuery, 17 | gl_ARB_timer_query, 18 | -- * Enums 19 | pattern GL_TIMESTAMP, 20 | pattern GL_TIME_ELAPSED, 21 | -- * Functions 22 | glGetQueryObjecti64v, 23 | glGetQueryObjectui64v, 24 | glQueryCounter 25 | ) where 26 | 27 | import Graphics.GL.ExtensionPredicates 28 | import Graphics.GL.Tokens 29 | import Graphics.GL.Functions 30 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/TransformFeedbackInstanced.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ARB.TransformFeedbackInstanced 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ARB.TransformFeedbackInstanced ( 14 | -- * Extension Support 15 | glGetARBTransformFeedbackInstanced, 16 | gl_ARB_transform_feedback_instanced, 17 | -- * Functions 18 | glDrawTransformFeedbackInstanced, 19 | glDrawTransformFeedbackStreamInstanced 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/VertexArrayBGRA.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.VertexArrayBGRA 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.VertexArrayBGRA ( 15 | -- * Extension Support 16 | glGetARBVertexArrayBGRA, 17 | gl_ARB_vertex_array_bgra, 18 | -- * Enums 19 | pattern GL_BGRA 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ARB/VertexType10f11f11fRev.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ARB.VertexType10f11f11fRev 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ARB.VertexType10f11f11fRev ( 15 | -- * Extension Support 16 | glGetARBVertexType10f11f11fRev, 17 | gl_ARB_vertex_type_10f_11f_11f_rev, 18 | -- * Enums 19 | pattern GL_UNSIGNED_INT_10F_11F_11F_REV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/MapObjectBuffer.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ATI.MapObjectBuffer 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ATI.MapObjectBuffer ( 14 | -- * Extension Support 15 | glGetATIMapObjectBuffer, 16 | gl_ATI_map_object_buffer, 17 | -- * Functions 18 | glMapObjectBufferATI, 19 | glUnmapObjectBufferATI 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/Meminfo.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ATI.Meminfo 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ATI.Meminfo ( 15 | -- * Extension Support 16 | glGetATIMeminfo, 17 | gl_ATI_meminfo, 18 | -- * Enums 19 | pattern GL_RENDERBUFFER_FREE_MEMORY_ATI, 20 | pattern GL_TEXTURE_FREE_MEMORY_ATI, 21 | pattern GL_VBO_FREE_MEMORY_ATI 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/PixelFormatFloat.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ATI.PixelFormatFloat 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ATI.PixelFormatFloat ( 15 | -- * Extension Support 16 | glGetATIPixelFormatFloat, 17 | gl_ATI_pixel_format_float, 18 | -- * Enums 19 | pattern GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI, 20 | pattern GL_RGBA_FLOAT_MODE_ATI 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/TextFragmentShader.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ATI.TextFragmentShader 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ATI.TextFragmentShader ( 15 | -- * Extension Support 16 | glGetATITextFragmentShader, 17 | gl_ATI_text_fragment_shader, 18 | -- * Enums 19 | pattern GL_TEXT_FRAGMENT_SHADER_ATI 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/TextureEnvCombine3.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ATI.TextureEnvCombine3 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ATI.TextureEnvCombine3 ( 15 | -- * Extension Support 16 | glGetATITextureEnvCombine3, 17 | gl_ATI_texture_env_combine3, 18 | -- * Enums 19 | pattern GL_MODULATE_ADD_ATI, 20 | pattern GL_MODULATE_SIGNED_ADD_ATI, 21 | pattern GL_MODULATE_SUBTRACT_ATI 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/TextureMirrorOnce.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ATI.TextureMirrorOnce 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ATI.TextureMirrorOnce ( 15 | -- * Extension Support 16 | glGetATITextureMirrorOnce, 17 | gl_ATI_texture_mirror_once, 18 | -- * Enums 19 | pattern GL_MIRROR_CLAMP_ATI, 20 | pattern GL_MIRROR_CLAMP_TO_EDGE_ATI 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/ATI/VertexAttribArrayObject.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ATI.VertexAttribArrayObject 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ATI.VertexAttribArrayObject ( 14 | -- * Extension Support 15 | glGetATIVertexAttribArrayObject, 16 | gl_ATI_vertex_attrib_array_object, 17 | -- * Functions 18 | glGetVertexAttribArrayObjectfvATI, 19 | glGetVertexAttribArrayObjectivATI, 20 | glVertexAttribArrayObjectATI 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Functions 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/ABGR.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.ABGR 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.ABGR ( 15 | -- * Extension Support 16 | glGetEXTABGR, 17 | gl_EXT_abgr, 18 | -- * Enums 19 | pattern GL_ABGR_EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/BGRA.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.BGRA 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.BGRA ( 15 | -- * Extension Support 16 | glGetEXTBGRA, 17 | gl_EXT_bgra, 18 | -- * Enums 19 | pattern GL_BGRA_EXT, 20 | pattern GL_BGR_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/BlendSubtract.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.BlendSubtract 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.BlendSubtract ( 15 | -- * Extension Support 16 | glGetEXTBlendSubtract, 17 | gl_EXT_blend_subtract, 18 | -- * Enums 19 | pattern GL_FUNC_REVERSE_SUBTRACT_EXT, 20 | pattern GL_FUNC_SUBTRACT_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/CMYKA.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.CMYKA 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.CMYKA ( 15 | -- * Extension Support 16 | glGetEXTCMYKA, 17 | gl_EXT_cmyka, 18 | -- * Enums 19 | pattern GL_CMYKA_EXT, 20 | pattern GL_CMYK_EXT, 21 | pattern GL_PACK_CMYK_HINT_EXT, 22 | pattern GL_UNPACK_CMYK_HINT_EXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/ClipVolumeHint.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.ClipVolumeHint 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.ClipVolumeHint ( 15 | -- * Extension Support 16 | glGetEXTClipVolumeHint, 17 | gl_EXT_clip_volume_hint, 18 | -- * Enums 19 | pattern GL_CLIP_VOLUME_CLIPPING_HINT_EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/ColorSubtable.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.ColorSubtable 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.ColorSubtable ( 14 | -- * Extension Support 15 | glGetEXTColorSubtable, 16 | gl_EXT_color_subtable, 17 | -- * Functions 18 | glColorSubTableEXT, 19 | glCopyColorSubTableEXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/CopyTexture.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.CopyTexture 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.CopyTexture ( 14 | -- * Extension Support 15 | glGetEXTCopyTexture, 16 | gl_EXT_copy_texture, 17 | -- * Functions 18 | glCopyTexImage1DEXT, 19 | glCopyTexImage2DEXT, 20 | glCopyTexSubImage1DEXT, 21 | glCopyTexSubImage2DEXT, 22 | glCopyTexSubImage3DEXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/DebugMarker.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.DebugMarker 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.DebugMarker ( 14 | -- * Extension Support 15 | glGetEXTDebugMarker, 16 | gl_EXT_debug_marker, 17 | -- * Functions 18 | glInsertEventMarkerEXT, 19 | glPopGroupMarkerEXT, 20 | glPushGroupMarkerEXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Functions 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/DepthBoundsTest.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.DepthBoundsTest 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.DepthBoundsTest ( 15 | -- * Extension Support 16 | glGetEXTDepthBoundsTest, 17 | gl_EXT_depth_bounds_test, 18 | -- * Enums 19 | pattern GL_DEPTH_BOUNDS_EXT, 20 | pattern GL_DEPTH_BOUNDS_TEST_EXT, 21 | -- * Functions 22 | glDepthBoundsEXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/DrawBuffers2.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.DrawBuffers2 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.DrawBuffers2 ( 14 | -- * Extension Support 15 | glGetEXTDrawBuffers2, 16 | gl_EXT_draw_buffers2, 17 | -- * Functions 18 | glColorMaskIndexedEXT, 19 | glDisableIndexedEXT, 20 | glEnableIndexedEXT, 21 | glGetBooleanIndexedvEXT, 22 | glGetIntegerIndexedvEXT, 23 | glIsEnabledIndexedEXT 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/DrawInstanced.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.DrawInstanced 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.DrawInstanced ( 14 | -- * Extension Support 15 | glGetEXTDrawInstanced, 16 | gl_EXT_draw_instanced, 17 | -- * Functions 18 | glDrawArraysInstancedEXT, 19 | glDrawElementsInstancedEXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/EglImageStorage.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.EglImageStorage 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.EglImageStorage ( 14 | -- * Extension Support 15 | glGetEXTEglImageStorage, 16 | gl_EXT_EGL_image_storage, 17 | -- * Types 18 | GLeglImageOES, 19 | -- * Functions 20 | glEGLImageTargetTexStorageEXT, 21 | glEGLImageTargetTextureStorageEXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Types 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/ExternalBuffer.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.ExternalBuffer 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.ExternalBuffer ( 14 | -- * Extension Support 15 | glGetEXTExternalBuffer, 16 | gl_EXT_external_buffer, 17 | -- * Functions 18 | glBufferStorageExternalEXT, 19 | glNamedBufferStorageExternalEXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/FourTwoTwoPixels.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.FourTwoTwoPixels 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.FourTwoTwoPixels ( 15 | -- * Extension Support 16 | glGetEXTFourTwoTwoPixels, 17 | gl_EXT_422_pixels, 18 | -- * Enums 19 | pattern GL_422_AVERAGE_EXT, 20 | pattern GL_422_EXT, 21 | pattern GL_422_REV_AVERAGE_EXT, 22 | pattern GL_422_REV_EXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/FramebufferMultisampleBlitScaled.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.FramebufferMultisampleBlitScaled 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.FramebufferMultisampleBlitScaled ( 15 | -- * Extension Support 16 | glGetEXTFramebufferMultisampleBlitScaled, 17 | gl_EXT_framebuffer_multisample_blit_scaled, 18 | -- * Enums 19 | pattern GL_SCALED_RESOLVE_FASTEST_EXT, 20 | pattern GL_SCALED_RESOLVE_NICEST_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/FramebufferSRGB.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.FramebufferSRGB 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.FramebufferSRGB ( 15 | -- * Extension Support 16 | glGetEXTFramebufferSRGB, 17 | gl_EXT_framebuffer_sRGB, 18 | -- * Enums 19 | pattern GL_FRAMEBUFFER_SRGB_CAPABLE_EXT, 20 | pattern GL_FRAMEBUFFER_SRGB_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/GPUProgramParameters.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.GPUProgramParameters 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.GPUProgramParameters ( 14 | -- * Extension Support 15 | glGetEXTGPUProgramParameters, 16 | gl_EXT_gpu_program_parameters, 17 | -- * Functions 18 | glProgramEnvParameters4fvEXT, 19 | glProgramLocalParameters4fvEXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/IndexFunc.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.IndexFunc 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.IndexFunc ( 15 | -- * Extension Support 16 | glGetEXTIndexFunc, 17 | gl_EXT_index_func, 18 | -- * Enums 19 | pattern GL_INDEX_TEST_EXT, 20 | pattern GL_INDEX_TEST_FUNC_EXT, 21 | pattern GL_INDEX_TEST_REF_EXT, 22 | -- * Functions 23 | glIndexFuncEXT 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Tokens 28 | import Graphics.GL.Functions 29 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/MemoryObjectFd.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.MemoryObjectFd 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.MemoryObjectFd ( 15 | -- * Extension Support 16 | glGetEXTMemoryObjectFd, 17 | gl_EXT_memory_object_fd, 18 | -- * Enums 19 | pattern GL_HANDLE_TYPE_OPAQUE_FD_EXT, 20 | -- * Functions 21 | glImportMemoryFdEXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/MultiDrawArrays.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.MultiDrawArrays 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.MultiDrawArrays ( 14 | -- * Extension Support 15 | glGetEXTMultiDrawArrays, 16 | gl_EXT_multi_draw_arrays, 17 | -- * Functions 18 | glMultiDrawArraysEXT, 19 | glMultiDrawElementsEXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/PackedDepthStencil.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.PackedDepthStencil 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.PackedDepthStencil ( 15 | -- * Extension Support 16 | glGetEXTPackedDepthStencil, 17 | gl_EXT_packed_depth_stencil, 18 | -- * Enums 19 | pattern GL_DEPTH24_STENCIL8_EXT, 20 | pattern GL_DEPTH_STENCIL_EXT, 21 | pattern GL_TEXTURE_STENCIL_SIZE_EXT, 22 | pattern GL_UNSIGNED_INT_24_8_EXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/PackedFloat.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.PackedFloat 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.PackedFloat ( 15 | -- * Extension Support 16 | glGetEXTPackedFloat, 17 | gl_EXT_packed_float, 18 | -- * Enums 19 | pattern GL_R11F_G11F_B10F_EXT, 20 | pattern GL_RGBA_SIGNED_COMPONENTS_EXT, 21 | pattern GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/PolygonOffsetClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.PolygonOffsetClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.PolygonOffsetClamp ( 15 | -- * Extension Support 16 | glGetEXTPolygonOffsetClamp, 17 | gl_EXT_polygon_offset_clamp, 18 | -- * Enums 19 | pattern GL_POLYGON_OFFSET_CLAMP_EXT, 20 | -- * Functions 21 | glPolygonOffsetClampEXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/RescaleNormal.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.RescaleNormal 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.RescaleNormal ( 15 | -- * Extension Support 16 | glGetEXTRescaleNormal, 17 | gl_EXT_rescale_normal, 18 | -- * Enums 19 | pattern GL_RESCALE_NORMAL_EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/SemaphoreFd.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.SemaphoreFd 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.SemaphoreFd ( 15 | -- * Extension Support 16 | glGetEXTSemaphoreFd, 17 | gl_EXT_semaphore_fd, 18 | -- * Enums 19 | pattern GL_HANDLE_TYPE_OPAQUE_FD_EXT, 20 | -- * Functions 21 | glImportSemaphoreFdEXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/SeparateSpecularColor.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.SeparateSpecularColor 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.SeparateSpecularColor ( 15 | -- * Extension Support 16 | glGetEXTSeparateSpecularColor, 17 | gl_EXT_separate_specular_color, 18 | -- * Enums 19 | pattern GL_LIGHT_MODEL_COLOR_CONTROL_EXT, 20 | pattern GL_SEPARATE_SPECULAR_COLOR_EXT, 21 | pattern GL_SINGLE_COLOR_EXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/ShaderFramebufferFetch.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.ShaderFramebufferFetch 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.ShaderFramebufferFetch ( 15 | -- * Extension Support 16 | glGetEXTShaderFramebufferFetch, 17 | gl_EXT_shader_framebuffer_fetch, 18 | -- * Enums 19 | pattern GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/SharedTexturePalette.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.SharedTexturePalette 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.SharedTexturePalette ( 15 | -- * Extension Support 16 | glGetEXTSharedTexturePalette, 17 | gl_EXT_shared_texture_palette, 18 | -- * Enums 19 | pattern GL_SHARED_TEXTURE_PALETTE_EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/StencilClearTag.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.StencilClearTag 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.StencilClearTag ( 15 | -- * Extension Support 16 | glGetEXTStencilClearTag, 17 | gl_EXT_stencil_clear_tag, 18 | -- * Enums 19 | pattern GL_STENCIL_CLEAR_TAG_VALUE_EXT, 20 | pattern GL_STENCIL_TAG_BITS_EXT, 21 | -- * Functions 22 | glStencilClearTagEXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/StencilTwoSide.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.StencilTwoSide 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.StencilTwoSide ( 15 | -- * Extension Support 16 | glGetEXTStencilTwoSide, 17 | gl_EXT_stencil_two_side, 18 | -- * Enums 19 | pattern GL_ACTIVE_STENCIL_FACE_EXT, 20 | pattern GL_STENCIL_TEST_TWO_SIDE_EXT, 21 | -- * Functions 22 | glActiveStencilFaceEXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/StencilWrap.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.StencilWrap 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.StencilWrap ( 15 | -- * Extension Support 16 | glGetEXTStencilWrap, 17 | gl_EXT_stencil_wrap, 18 | -- * Enums 19 | pattern GL_DECR_WRAP_EXT, 20 | pattern GL_INCR_WRAP_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/Subtexture.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.Subtexture 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.Subtexture ( 14 | -- * Extension Support 15 | glGetEXTSubtexture, 16 | gl_EXT_subtexture, 17 | -- * Functions 18 | glTexSubImage1DEXT, 19 | glTexSubImage2DEXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureEnvDot3.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureEnvDot3 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureEnvDot3 ( 15 | -- * Extension Support 16 | glGetEXTTextureEnvDot3, 17 | gl_EXT_texture_env_dot3, 18 | -- * Enums 19 | pattern GL_DOT3_RGBA_EXT, 20 | pattern GL_DOT3_RGB_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureFilterAnisotropic.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureFilterAnisotropic 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureFilterAnisotropic ( 15 | -- * Extension Support 16 | glGetEXTTextureFilterAnisotropic, 17 | gl_EXT_texture_filter_anisotropic, 18 | -- * Enums 19 | pattern GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, 20 | pattern GL_TEXTURE_MAX_ANISOTROPY_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureFilterMinmax.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureFilterMinmax 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureFilterMinmax ( 15 | -- * Extension Support 16 | glGetEXTTextureFilterMinmax, 17 | gl_EXT_texture_filter_minmax, 18 | -- * Enums 19 | pattern GL_TEXTURE_REDUCTION_MODE_EXT, 20 | pattern GL_WEIGHTED_AVERAGE_EXT 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureLODBias.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureLODBias 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureLODBias ( 15 | -- * Extension Support 16 | glGetEXTTextureLODBias, 17 | gl_EXT_texture_lod_bias, 18 | -- * Enums 19 | pattern GL_MAX_TEXTURE_LOD_BIAS_EXT, 20 | pattern GL_TEXTURE_FILTER_CONTROL_EXT, 21 | pattern GL_TEXTURE_LOD_BIAS_EXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureMirrorClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureMirrorClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureMirrorClamp ( 15 | -- * Extension Support 16 | glGetEXTTextureMirrorClamp, 17 | gl_EXT_texture_mirror_clamp, 18 | -- * Enums 19 | pattern GL_MIRROR_CLAMP_EXT, 20 | pattern GL_MIRROR_CLAMP_TO_BORDER_EXT, 21 | pattern GL_MIRROR_CLAMP_TO_EDGE_EXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TexturePerturbNormal.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TexturePerturbNormal 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TexturePerturbNormal ( 15 | -- * Extension Support 16 | glGetEXTTexturePerturbNormal, 17 | gl_EXT_texture_perturb_normal, 18 | -- * Enums 19 | pattern GL_PERTURB_EXT, 20 | pattern GL_TEXTURE_NORMAL_EXT, 21 | -- * Functions 22 | glTextureNormalEXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureSRGBDecode.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureSRGBDecode 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureSRGBDecode ( 15 | -- * Extension Support 16 | glGetEXTTextureSRGBDecode, 17 | gl_EXT_texture_sRGB_decode, 18 | -- * Enums 19 | pattern GL_DECODE_EXT, 20 | pattern GL_SKIP_DECODE_EXT, 21 | pattern GL_TEXTURE_SRGB_DECODE_EXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureSRGBR8.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureSRGBR8 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureSRGBR8 ( 15 | -- * Extension Support 16 | glGetEXTTextureSRGBR8, 17 | gl_EXT_texture_sRGB_R8, 18 | -- * Enums 19 | pattern GL_SR8_EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TextureSharedExponent.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TextureSharedExponent 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TextureSharedExponent ( 15 | -- * Extension Support 16 | glGetEXTTextureSharedExponent, 17 | gl_EXT_texture_shared_exponent, 18 | -- * Enums 19 | pattern GL_RGB9_E5_EXT, 20 | pattern GL_TEXTURE_SHARED_SIZE_EXT, 21 | pattern GL_UNSIGNED_INT_5_9_9_9_REV_EXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/TimerQuery.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.TimerQuery 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.TimerQuery ( 15 | -- * Extension Support 16 | glGetEXTTimerQuery, 17 | gl_EXT_timer_query, 18 | -- * Enums 19 | pattern GL_TIME_ELAPSED_EXT, 20 | -- * Functions 21 | glGetQueryObjecti64vEXT, 22 | glGetQueryObjectui64vEXT 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/VertexArrayBGRA.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.VertexArrayBGRA 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.VertexArrayBGRA ( 15 | -- * Extension Support 16 | glGetEXTVertexArrayBGRA, 17 | gl_EXT_vertex_array_bgra, 18 | -- * Enums 19 | pattern GL_BGRA 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/Win32KeyedMutex.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.EXT.Win32KeyedMutex 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.EXT.Win32KeyedMutex ( 14 | -- * Extension Support 15 | glGetEXTWin32KeyedMutex, 16 | gl_EXT_win32_keyed_mutex, 17 | -- * Functions 18 | glAcquireKeyedMutexWin32EXT, 19 | glReleaseKeyedMutexWin32EXT 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/EXT/X11SyncObject.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.EXT.X11SyncObject 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.EXT.X11SyncObject ( 15 | -- * Extension Support 16 | glGetEXTX11SyncObject, 17 | gl_EXT_x11_sync_object, 18 | -- * Enums 19 | pattern GL_SYNC_X11_FENCE_EXT, 20 | -- * Functions 21 | glImportSyncEXT 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/GREMEDY.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.GREMEDY 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing GREMEDY extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.GREMEDY ( 16 | module Graphics.GL.GREMEDY.FrameTerminator, 17 | module Graphics.GL.GREMEDY.StringMarker 18 | ) where 19 | 20 | import Graphics.GL.GREMEDY.FrameTerminator 21 | import Graphics.GL.GREMEDY.StringMarker 22 | -------------------------------------------------------------------------------- /src/Graphics/GL/GREMEDY/FrameTerminator.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.GREMEDY.FrameTerminator 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.GREMEDY.FrameTerminator ( 14 | -- * Extension Support 15 | glGetGREMEDYFrameTerminator, 16 | gl_GREMEDY_frame_terminator, 17 | -- * Functions 18 | glFrameTerminatorGREMEDY 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/GREMEDY/StringMarker.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.GREMEDY.StringMarker 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.GREMEDY.StringMarker ( 14 | -- * Extension Support 15 | glGetGREMEDYStringMarker, 16 | gl_GREMEDY_string_marker, 17 | -- * Functions 18 | glStringMarkerGREMEDY 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/HP.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.HP 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing HP extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.HP ( 16 | module Graphics.GL.HP.ConvolutionBorderModes, 17 | module Graphics.GL.HP.ImageTransform, 18 | module Graphics.GL.HP.OcclusionTest, 19 | module Graphics.GL.HP.TextureLighting 20 | ) where 21 | 22 | import Graphics.GL.HP.ConvolutionBorderModes 23 | import Graphics.GL.HP.ImageTransform 24 | import Graphics.GL.HP.OcclusionTest 25 | import Graphics.GL.HP.TextureLighting 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/HP/OcclusionTest.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.HP.OcclusionTest 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.HP.OcclusionTest ( 15 | -- * Extension Support 16 | glGetHPOcclusionTest, 17 | gl_HP_occlusion_test, 18 | -- * Enums 19 | pattern GL_OCCLUSION_TEST_HP, 20 | pattern GL_OCCLUSION_TEST_RESULT_HP 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/HP/TextureLighting.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.HP.TextureLighting 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.HP.TextureLighting ( 15 | -- * Extension Support 16 | glGetHPTextureLighting, 17 | gl_HP_texture_lighting, 18 | -- * Enums 19 | pattern GL_TEXTURE_LIGHTING_MODE_HP, 20 | pattern GL_TEXTURE_POST_SPECULAR_HP, 21 | pattern GL_TEXTURE_PRE_SPECULAR_HP 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/IBM/CullVertex.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.IBM.CullVertex 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.IBM.CullVertex ( 15 | -- * Extension Support 16 | glGetIBMCullVertex, 17 | gl_IBM_cull_vertex, 18 | -- * Enums 19 | pattern GL_CULL_VERTEX_IBM 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/IBM/MultimodeDrawArrays.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.IBM.MultimodeDrawArrays 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.IBM.MultimodeDrawArrays ( 14 | -- * Extension Support 15 | glGetIBMMultimodeDrawArrays, 16 | gl_IBM_multimode_draw_arrays, 17 | -- * Functions 18 | glMultiModeDrawArraysIBM, 19 | glMultiModeDrawElementsIBM 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/IBM/RasterposClip.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.IBM.RasterposClip 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.IBM.RasterposClip ( 15 | -- * Extension Support 16 | glGetIBMRasterposClip, 17 | gl_IBM_rasterpos_clip, 18 | -- * Enums 19 | pattern GL_RASTER_POSITION_UNCLIPPED_IBM 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/IBM/StaticData.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.IBM.StaticData 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.IBM.StaticData ( 15 | -- * Extension Support 16 | glGetIBMStaticData, 17 | gl_IBM_static_data, 18 | -- * Enums 19 | pattern GL_ALL_STATIC_DATA_IBM, 20 | pattern GL_STATIC_VERTEX_ARRAY_IBM, 21 | -- * Functions 22 | glFlushStaticDataIBM 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/IBM/TextureMirroredRepeat.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.IBM.TextureMirroredRepeat 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.IBM.TextureMirroredRepeat ( 15 | -- * Extension Support 16 | glGetIBMTextureMirroredRepeat, 17 | gl_IBM_texture_mirrored_repeat, 18 | -- * Enums 19 | pattern GL_MIRRORED_REPEAT_IBM 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/INGR.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.INGR 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing INGR extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.INGR ( 16 | module Graphics.GL.INGR.BlendFuncSeparate, 17 | module Graphics.GL.INGR.ColorClamp, 18 | module Graphics.GL.INGR.InterlaceRead 19 | ) where 20 | 21 | import Graphics.GL.INGR.BlendFuncSeparate 22 | import Graphics.GL.INGR.ColorClamp 23 | import Graphics.GL.INGR.InterlaceRead 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/INGR/BlendFuncSeparate.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.INGR.BlendFuncSeparate 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.INGR.BlendFuncSeparate ( 14 | -- * Extension Support 15 | glGetINGRBlendFuncSeparate, 16 | gl_INGR_blend_func_separate, 17 | -- * Functions 18 | glBlendFuncSeparateINGR 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/INGR/InterlaceRead.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.INGR.InterlaceRead 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.INGR.InterlaceRead ( 15 | -- * Extension Support 16 | glGetINGRInterlaceRead, 17 | gl_INGR_interlace_read, 18 | -- * Enums 19 | pattern GL_INTERLACE_READ_INGR 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/INTEL/BlackholeRender.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.INTEL.BlackholeRender 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.INTEL.BlackholeRender ( 15 | -- * Extension Support 16 | glGetINTELBlackholeRender, 17 | gl_INTEL_blackhole_render, 18 | -- * Enums 19 | pattern GL_BLACKHOLE_RENDER_INTEL 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/INTEL/ConservativeRasterization.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.INTEL.ConservativeRasterization 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.INTEL.ConservativeRasterization ( 15 | -- * Extension Support 16 | glGetINTELConservativeRasterization, 17 | gl_INTEL_conservative_rasterization, 18 | -- * Enums 19 | pattern GL_CONSERVATIVE_RASTERIZATION_INTEL 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/INTEL/FramebufferCmaa.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.INTEL.FramebufferCmaa 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.INTEL.FramebufferCmaa ( 14 | -- * Extension Support 15 | glGetINTELFramebufferCmaa, 16 | gl_INTEL_framebuffer_CMAA, 17 | -- * Functions 18 | glApplyFramebufferAttachmentCMAAINTEL 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/KHR/BlendEquationAdvancedCoherent.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.KHR.BlendEquationAdvancedCoherent 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.KHR.BlendEquationAdvancedCoherent ( 15 | -- * Extension Support 16 | glGetKHRBlendEquationAdvancedCoherent, 17 | gl_KHR_blend_equation_advanced_coherent, 18 | -- * Enums 19 | pattern GL_BLEND_ADVANCED_COHERENT_KHR 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/KHR/ContextFlushControl.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.KHR.ContextFlushControl 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.KHR.ContextFlushControl ( 15 | -- * Extension Support 16 | glGetKHRContextFlushControl, 17 | gl_KHR_context_flush_control, 18 | -- * Enums 19 | pattern GL_CONTEXT_RELEASE_BEHAVIOR, 20 | pattern GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH, 21 | pattern GL_NONE 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/KHR/NoError.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.KHR.NoError 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.KHR.NoError ( 15 | -- * Extension Support 16 | glGetKHRNoError, 17 | gl_KHR_no_error, 18 | -- * Enums 19 | pattern GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/MESA/PackInvert.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.MESA.PackInvert 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.MESA.PackInvert ( 15 | -- * Extension Support 16 | glGetMESAPackInvert, 17 | gl_MESA_pack_invert, 18 | -- * Enums 19 | pattern GL_PACK_INVERT_MESA 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/MESA/ProgramBinaryFormats.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.MESA.ProgramBinaryFormats 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.MESA.ProgramBinaryFormats ( 15 | -- * Extension Support 16 | glGetMESAProgramBinaryFormats, 17 | gl_MESA_program_binary_formats, 18 | -- * Enums 19 | pattern GL_PROGRAM_BINARY_FORMAT_MESA 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/MESA/ResizeBuffers.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.MESA.ResizeBuffers 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.MESA.ResizeBuffers ( 14 | -- * Extension Support 15 | glGetMESAResizeBuffers, 16 | gl_MESA_resize_buffers, 17 | -- * Functions 18 | glResizeBuffersMESA 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/MESA/TileRasterOrder.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.MESA.TileRasterOrder 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.MESA.TileRasterOrder ( 15 | -- * Extension Support 16 | glGetMESATileRasterOrder, 17 | gl_MESA_tile_raster_order, 18 | -- * Enums 19 | pattern GL_TILE_RASTER_ORDER_FIXED_MESA, 20 | pattern GL_TILE_RASTER_ORDER_INCREASING_X_MESA, 21 | pattern GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/MESA/YCbCrTexture.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.MESA.YCbCrTexture 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.MESA.YCbCrTexture ( 15 | -- * Extension Support 16 | glGetMESAYCbCrTexture, 17 | gl_MESA_ycbcr_texture, 18 | -- * Enums 19 | pattern GL_UNSIGNED_SHORT_8_8_MESA, 20 | pattern GL_UNSIGNED_SHORT_8_8_REV_MESA, 21 | pattern GL_YCBCR_MESA 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/MESAX.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.MESAX 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing MESAX extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.MESAX ( 16 | module Graphics.GL.MESAX.TextureStack 17 | ) where 18 | 19 | import Graphics.GL.MESAX.TextureStack 20 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/BindlessMultiDrawIndirect.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.BindlessMultiDrawIndirect 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.BindlessMultiDrawIndirect ( 14 | -- * Extension Support 15 | glGetNVBindlessMultiDrawIndirect, 16 | gl_NV_bindless_multi_draw_indirect, 17 | -- * Functions 18 | glMultiDrawArraysIndirectBindlessNV, 19 | glMultiDrawElementsIndirectBindlessNV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/BindlessMultiDrawIndirectCount.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.BindlessMultiDrawIndirectCount 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.BindlessMultiDrawIndirectCount ( 14 | -- * Extension Support 15 | glGetNVBindlessMultiDrawIndirectCount, 16 | gl_NV_bindless_multi_draw_indirect_count, 17 | -- * Functions 18 | glMultiDrawArraysIndirectBindlessCountNV, 19 | glMultiDrawElementsIndirectBindlessCountNV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/BlendEquationAdvancedCoherent.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.BlendEquationAdvancedCoherent 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.BlendEquationAdvancedCoherent ( 15 | -- * Extension Support 16 | glGetNVBlendEquationAdvancedCoherent, 17 | gl_NV_blend_equation_advanced_coherent, 18 | -- * Enums 19 | pattern GL_BLEND_ADVANCED_COHERENT_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/BlendMinmaxFactor.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.BlendMinmaxFactor 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.BlendMinmaxFactor ( 15 | -- * Extension Support 16 | glGetNVBlendMinmaxFactor, 17 | gl_NV_blend_minmax_factor, 18 | -- * Enums 19 | pattern GL_FACTOR_MAX_AMD, 20 | pattern GL_FACTOR_MIN_AMD 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/ComputeProgram5.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.ComputeProgram5 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.ComputeProgram5 ( 15 | -- * Extension Support 16 | glGetNVComputeProgram5, 17 | gl_NV_compute_program5, 18 | -- * Enums 19 | pattern GL_COMPUTE_PROGRAM_NV, 20 | pattern GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/ConservativeRasterPreSnap.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.ConservativeRasterPreSnap 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.ConservativeRasterPreSnap ( 15 | -- * Extension Support 16 | glGetNVConservativeRasterPreSnap, 17 | gl_NV_conservative_raster_pre_snap, 18 | -- * Enums 19 | pattern GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/CopyDepthToColor.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.CopyDepthToColor 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.CopyDepthToColor ( 15 | -- * Extension Support 16 | glGetNVCopyDepthToColor, 17 | gl_NV_copy_depth_to_color, 18 | -- * Enums 19 | pattern GL_DEPTH_STENCIL_TO_BGRA_NV, 20 | pattern GL_DEPTH_STENCIL_TO_RGBA_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/CopyImage.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.CopyImage 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.CopyImage ( 14 | -- * Extension Support 15 | glGetNVCopyImage, 16 | gl_NV_copy_image, 17 | -- * Functions 18 | glCopyImageSubDataNV 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/DeepTexture3D.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.DeepTexture3D 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.DeepTexture3D ( 15 | -- * Extension Support 16 | glGetNVDeepTexture3D, 17 | gl_NV_deep_texture3D, 18 | -- * Enums 19 | pattern GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV, 20 | pattern GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/DepthClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.DepthClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.DepthClamp ( 15 | -- * Extension Support 16 | glGetNVDepthClamp, 17 | gl_NV_depth_clamp, 18 | -- * Enums 19 | pattern GL_DEPTH_CLAMP_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/DrawTexture.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.DrawTexture 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.DrawTexture ( 14 | -- * Extension Support 15 | glGetNVDrawTexture, 16 | gl_NV_draw_texture, 17 | -- * Functions 18 | glDrawTextureNV 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/DrawVulkanImage.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.DrawVulkanImage 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.DrawVulkanImage ( 14 | -- * Extension Support 15 | glGetNVDrawVulkanImage, 16 | gl_NV_draw_vulkan_image, 17 | -- * Functions 18 | glDrawVkImageNV, 19 | glGetVkProcAddrNV, 20 | glSignalVkFenceNV, 21 | glSignalVkSemaphoreNV, 22 | glWaitVkSemaphoreNV 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/FillRectangle.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.FillRectangle 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.FillRectangle ( 15 | -- * Extension Support 16 | glGetNVFillRectangle, 17 | gl_NV_fill_rectangle, 18 | -- * Enums 19 | pattern GL_FILL_RECTANGLE_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/FogDistance.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.FogDistance 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.FogDistance ( 15 | -- * Extension Support 16 | glGetNVFogDistance, 17 | gl_NV_fog_distance, 18 | -- * Enums 19 | pattern GL_EYE_PLANE, 20 | pattern GL_EYE_PLANE_ABSOLUTE_NV, 21 | pattern GL_EYE_RADIAL_NV, 22 | pattern GL_FOG_DISTANCE_MODE_NV 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/LightMaxExponent.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.LightMaxExponent 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.LightMaxExponent ( 15 | -- * Extension Support 16 | glGetNVLightMaxExponent, 17 | gl_NV_light_max_exponent, 18 | -- * Enums 19 | pattern GL_MAX_SHININESS_NV, 20 | pattern GL_MAX_SPOT_EXPONENT_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/MultisampleCoverage.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.MultisampleCoverage 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.MultisampleCoverage ( 15 | -- * Extension Support 16 | glGetNVMultisampleCoverage, 17 | gl_NV_multisample_coverage, 18 | -- * Enums 19 | pattern GL_COLOR_SAMPLES_NV, 20 | pattern GL_SAMPLES_ARB 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/MultisampleFilterHint.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.MultisampleFilterHint 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.MultisampleFilterHint ( 15 | -- * Extension Support 16 | glGetNVMultisampleFilterHint, 17 | gl_NV_multisample_filter_hint, 18 | -- * Enums 19 | pattern GL_MULTISAMPLE_FILTER_HINT_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/PackedDepthStencil.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.PackedDepthStencil 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.PackedDepthStencil ( 15 | -- * Extension Support 16 | glGetNVPackedDepthStencil, 17 | gl_NV_packed_depth_stencil, 18 | -- * Enums 19 | pattern GL_DEPTH_STENCIL_NV, 20 | pattern GL_UNSIGNED_INT_24_8_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/PathRenderingSharedEdge.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.PathRenderingSharedEdge 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.PathRenderingSharedEdge ( 15 | -- * Extension Support 16 | glGetNVPathRenderingSharedEdge, 17 | gl_NV_path_rendering_shared_edge, 18 | -- * Enums 19 | pattern GL_SHARED_EDGE_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/QueryResourceTag.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.QueryResourceTag 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.QueryResourceTag ( 14 | -- * Extension Support 15 | glGetNVQueryResourceTag, 16 | gl_NV_query_resource_tag, 17 | -- * Functions 18 | glDeleteQueryResourceTagNV, 19 | glGenQueryResourceTagNV, 20 | glQueryResourceTagNV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Functions 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/RepresentativeFragmentTest.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.RepresentativeFragmentTest 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.RepresentativeFragmentTest ( 15 | -- * Extension Support 16 | glGetNVRepresentativeFragmentTest, 17 | gl_NV_representative_fragment_test, 18 | -- * Enums 19 | pattern GL_REPRESENTATIVE_FRAGMENT_TEST_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/RobustnessVideoMemoryPurge.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.RobustnessVideoMemoryPurge 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.RobustnessVideoMemoryPurge ( 15 | -- * Extension Support 16 | glGetNVRobustnessVideoMemoryPurge, 17 | gl_NV_robustness_video_memory_purge, 18 | -- * Enums 19 | pattern GL_PURGED_CONTEXT_RESET_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/ShaderBufferStore.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.ShaderBufferStore 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.ShaderBufferStore ( 15 | -- * Extension Support 16 | glGetNVShaderBufferStore, 17 | gl_NV_shader_buffer_store, 18 | -- * Enums 19 | pattern GL_READ_WRITE, 20 | pattern GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV, 21 | pattern GL_WRITE_ONLY 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/ShaderSubgroupPartitioned.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.ShaderSubgroupPartitioned 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.ShaderSubgroupPartitioned ( 15 | -- * Extension Support 16 | glGetNVShaderSubgroupPartitioned, 17 | gl_NV_shader_subgroup_partitioned, 18 | -- * Enums 19 | pattern GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/ShaderThreadGroup.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.ShaderThreadGroup 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.ShaderThreadGroup ( 15 | -- * Extension Support 16 | glGetNVShaderThreadGroup, 17 | gl_NV_shader_thread_group, 18 | -- * Enums 19 | pattern GL_SM_COUNT_NV, 20 | pattern GL_WARPS_PER_SM_NV, 21 | pattern GL_WARP_SIZE_NV 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/TexgenEmboss.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.TexgenEmboss 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.TexgenEmboss ( 15 | -- * Extension Support 16 | glGetNVTexgenEmboss, 17 | gl_NV_texgen_emboss, 18 | -- * Enums 19 | pattern GL_EMBOSS_CONSTANT_NV, 20 | pattern GL_EMBOSS_LIGHT_NV, 21 | pattern GL_EMBOSS_MAP_NV 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/TexgenReflection.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.TexgenReflection 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.TexgenReflection ( 15 | -- * Extension Support 16 | glGetNVTexgenReflection, 17 | gl_NV_texgen_reflection, 18 | -- * Enums 19 | pattern GL_NORMAL_MAP_NV, 20 | pattern GL_REFLECTION_MAP_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/TextureBarrier.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.TextureBarrier 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.TextureBarrier ( 14 | -- * Extension Support 15 | glGetNVTextureBarrier, 16 | gl_NV_texture_barrier, 17 | -- * Functions 18 | glTextureBarrierNV 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/TextureExpandNormal.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.TextureExpandNormal 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.TextureExpandNormal ( 15 | -- * Extension Support 16 | glGetNVTextureExpandNormal, 17 | gl_NV_texture_expand_normal, 18 | -- * Enums 19 | pattern GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/TextureShader2.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.TextureShader2 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.TextureShader2 ( 15 | -- * Extension Support 16 | glGetNVTextureShader2, 17 | gl_NV_texture_shader2, 18 | -- * Enums 19 | pattern GL_DOT_PRODUCT_TEXTURE_3D_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/VDPAUInterop2.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NV.VDPAUInterop2 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NV.VDPAUInterop2 ( 14 | -- * Extension Support 15 | glGetNVVDPAUInterop2, 16 | gl_NV_vdpau_interop2, 17 | -- * Functions 18 | glVDPAURegisterVideoSurfaceWithPictureStructureNV 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/VertexArrayRange2.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.VertexArrayRange2 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.VertexArrayRange2 ( 15 | -- * Extension Support 16 | glGetNVVertexArrayRange2, 17 | gl_NV_vertex_array_range2, 18 | -- * Enums 19 | pattern GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/VertexProgram2Option.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.VertexProgram2Option 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.VertexProgram2Option ( 15 | -- * Extension Support 16 | glGetNVVertexProgram2Option, 17 | gl_NV_vertex_program2_option, 18 | -- * Enums 19 | pattern GL_MAX_PROGRAM_CALL_DEPTH_NV, 20 | pattern GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/NV/VertexProgram3.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.NV.VertexProgram3 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.NV.VertexProgram3 ( 15 | -- * Extension Support 16 | glGetNVVertexProgram3, 17 | gl_NV_vertex_program3, 18 | -- * Enums 19 | pattern GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NVX/ConditionalRender.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NVX.ConditionalRender 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NVX.ConditionalRender ( 14 | -- * Extension Support 15 | glGetNVXConditionalRender, 16 | gl_NVX_conditional_render, 17 | -- * Functions 18 | glBeginConditionalRenderNVX, 19 | glEndConditionalRenderNVX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Functions 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/NVX/ProgressFence.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.NVX.ProgressFence 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.NVX.ProgressFence ( 14 | -- * Extension Support 15 | glGetNVXProgressFence, 16 | gl_NVX_progress_fence, 17 | -- * Functions 18 | glClientWaitSemaphoreui64NVX, 19 | glCreateProgressFenceNVX, 20 | glSignalSemaphoreui64NVX, 21 | glWaitSemaphoreui64NVX 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Functions 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/OES/QueryMatrix.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.OES.QueryMatrix 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.OES.QueryMatrix ( 14 | -- * Extension Support 15 | glGetOESQueryMatrix, 16 | gl_OES_query_matrix, 17 | -- * Functions 18 | glQueryMatrixxOES 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/OES/ReadFormat.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.OES.ReadFormat 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.OES.ReadFormat ( 15 | -- * Extension Support 16 | glGetOESReadFormat, 17 | gl_OES_read_format, 18 | -- * Enums 19 | pattern GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, 20 | pattern GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/OES/SinglePrecision.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.OES.SinglePrecision 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.OES.SinglePrecision ( 14 | -- * Extension Support 15 | glGetOESSinglePrecision, 16 | gl_OES_single_precision, 17 | -- * Functions 18 | glClearDepthfOES, 19 | glClipPlanefOES, 20 | glDepthRangefOES, 21 | glFrustumfOES, 22 | glGetClipPlanefOES, 23 | glOrthofOES 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/OML.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.OML 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing OML extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.OML ( 16 | module Graphics.GL.OML.Interlace, 17 | module Graphics.GL.OML.Resample, 18 | module Graphics.GL.OML.Subsample 19 | ) where 20 | 21 | import Graphics.GL.OML.Interlace 22 | import Graphics.GL.OML.Resample 23 | import Graphics.GL.OML.Subsample 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/OML/Interlace.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.OML.Interlace 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.OML.Interlace ( 15 | -- * Extension Support 16 | glGetOMLInterlace, 17 | gl_OML_interlace, 18 | -- * Enums 19 | pattern GL_INTERLACE_OML, 20 | pattern GL_INTERLACE_READ_OML 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/OML/Subsample.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.OML.Subsample 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.OML.Subsample ( 15 | -- * Extension Support 16 | glGetOMLSubsample, 17 | gl_OML_subsample, 18 | -- * Enums 19 | pattern GL_FORMAT_SUBSAMPLE_244_244_OML, 20 | pattern GL_FORMAT_SUBSAMPLE_24_24_OML 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/OVR.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.OVR 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing OVR extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.OVR ( 16 | module Graphics.GL.OVR.Multiview 17 | ) where 18 | 19 | import Graphics.GL.OVR.Multiview 20 | -------------------------------------------------------------------------------- /src/Graphics/GL/PGI.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.PGI 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing PGI extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.PGI ( 16 | module Graphics.GL.PGI.MiscHints, 17 | module Graphics.GL.PGI.VertexHints 18 | ) where 19 | 20 | import Graphics.GL.PGI.MiscHints 21 | import Graphics.GL.PGI.VertexHints 22 | -------------------------------------------------------------------------------- /src/Graphics/GL/REND.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.REND 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing REND extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.REND ( 16 | module Graphics.GL.REND.ScreenCoordinates 17 | ) where 18 | 19 | import Graphics.GL.REND.ScreenCoordinates 20 | -------------------------------------------------------------------------------- /src/Graphics/GL/REND/ScreenCoordinates.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.REND.ScreenCoordinates 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.REND.ScreenCoordinates ( 15 | -- * Extension Support 16 | glGetRENDScreenCoordinates, 17 | gl_REND_screen_coordinates, 18 | -- * Enums 19 | pattern GL_INVERTED_SCREEN_W_REND, 20 | pattern GL_SCREEN_COORDINATES_REND 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/S3.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.S3 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing S3 extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.S3 ( 16 | module Graphics.GL.S3.S3TC 17 | ) where 18 | 19 | import Graphics.GL.S3.S3TC 20 | -------------------------------------------------------------------------------- /src/Graphics/GL/S3/S3TC.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.S3.S3TC 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.S3.S3TC ( 15 | -- * Extension Support 16 | glGetS3S3TC, 17 | gl_S3_s3tc, 18 | -- * Enums 19 | pattern GL_RGB4_S3TC, 20 | pattern GL_RGBA4_DXT5_S3TC, 21 | pattern GL_RGBA4_S3TC, 22 | pattern GL_RGBA_DXT5_S3TC, 23 | pattern GL_RGBA_S3TC, 24 | pattern GL_RGB_S3TC 25 | ) where 26 | 27 | import Graphics.GL.ExtensionPredicates 28 | import Graphics.GL.Tokens 29 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGI.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.SGI 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing SGI extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.SGI ( 16 | module Graphics.GL.SGI.ColorMatrix, 17 | module Graphics.GL.SGI.ColorTable, 18 | module Graphics.GL.SGI.TextureColorTable 19 | ) where 20 | 21 | import Graphics.GL.SGI.ColorMatrix 22 | import Graphics.GL.SGI.ColorTable 23 | import Graphics.GL.SGI.TextureColorTable 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGI/TextureColorTable.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGI.TextureColorTable 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGI.TextureColorTable ( 15 | -- * Extension Support 16 | glGetSGITextureColorTable, 17 | gl_SGI_texture_color_table, 18 | -- * Enums 19 | pattern GL_PROXY_TEXTURE_COLOR_TABLE_SGI, 20 | pattern GL_TEXTURE_COLOR_TABLE_SGI 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIS/GenerateMipmap.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIS.GenerateMipmap 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIS.GenerateMipmap ( 15 | -- * Extension Support 16 | glGetSGISGenerateMipmap, 17 | gl_SGIS_generate_mipmap, 18 | -- * Enums 19 | pattern GL_GENERATE_MIPMAP_HINT_SGIS, 20 | pattern GL_GENERATE_MIPMAP_SGIS 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIS/TextureBorderClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIS.TextureBorderClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIS.TextureBorderClamp ( 15 | -- * Extension Support 16 | glGetSGISTextureBorderClamp, 17 | gl_SGIS_texture_border_clamp, 18 | -- * Enums 19 | pattern GL_CLAMP_TO_BORDER_SGIS 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIS/TextureColorMask.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIS.TextureColorMask 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIS.TextureColorMask ( 15 | -- * Extension Support 16 | glGetSGISTextureColorMask, 17 | gl_SGIS_texture_color_mask, 18 | -- * Enums 19 | pattern GL_TEXTURE_COLOR_WRITEMASK_SGIS, 20 | -- * Functions 21 | glTextureColorMaskSGIS 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | import Graphics.GL.Functions 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIS/TextureEdgeClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIS.TextureEdgeClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIS.TextureEdgeClamp ( 15 | -- * Extension Support 16 | glGetSGISTextureEdgeClamp, 17 | gl_SGIS_texture_edge_clamp, 18 | -- * Enums 19 | pattern GL_CLAMP_TO_EDGE_SGIS 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIS/TextureLOD.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIS.TextureLOD 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIS.TextureLOD ( 15 | -- * Extension Support 16 | glGetSGISTextureLOD, 17 | gl_SGIS_texture_lod, 18 | -- * Enums 19 | pattern GL_TEXTURE_BASE_LEVEL_SGIS, 20 | pattern GL_TEXTURE_MAX_LEVEL_SGIS, 21 | pattern GL_TEXTURE_MAX_LOD_SGIS, 22 | pattern GL_TEXTURE_MIN_LOD_SGIS 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/AsyncHistogram.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.AsyncHistogram 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.AsyncHistogram ( 15 | -- * Extension Support 16 | glGetSGIXAsyncHistogram, 17 | gl_SGIX_async_histogram, 18 | -- * Enums 19 | pattern GL_ASYNC_HISTOGRAM_SGIX, 20 | pattern GL_MAX_ASYNC_HISTOGRAM_SGIX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/BlendAlphaMinmax.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.BlendAlphaMinmax 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.BlendAlphaMinmax ( 15 | -- * Extension Support 16 | glGetSGIXBlendAlphaMinmax, 17 | gl_SGIX_blend_alpha_minmax, 18 | -- * Enums 19 | pattern GL_ALPHA_MAX_SGIX, 20 | pattern GL_ALPHA_MIN_SGIX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/CalligraphicFragment.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.CalligraphicFragment 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.CalligraphicFragment ( 15 | -- * Extension Support 16 | glGetSGIXCalligraphicFragment, 17 | gl_SGIX_calligraphic_fragment, 18 | -- * Enums 19 | pattern GL_CALLIGRAPHIC_FRAGMENT_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/ConvolutionAccuracy.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.ConvolutionAccuracy 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.ConvolutionAccuracy ( 15 | -- * Extension Support 16 | glGetSGIXConvolutionAccuracy, 17 | gl_SGIX_convolution_accuracy, 18 | -- * Enums 19 | pattern GL_CONVOLUTION_HINT_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/DepthTexture.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.DepthTexture 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.DepthTexture ( 15 | -- * Extension Support 16 | glGetSGIXDepthTexture, 17 | gl_SGIX_depth_texture, 18 | -- * Enums 19 | pattern GL_DEPTH_COMPONENT16_SGIX, 20 | pattern GL_DEPTH_COMPONENT24_SGIX, 21 | pattern GL_DEPTH_COMPONENT32_SGIX 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/FlushRaster.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.SGIX.FlushRaster 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.SGIX.FlushRaster ( 14 | -- * Extension Support 15 | glGetSGIXFlushRaster, 16 | gl_SGIX_flush_raster, 17 | -- * Functions 18 | glFlushRasterSGIX 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/FogOffset.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.FogOffset 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.FogOffset ( 15 | -- * Extension Support 16 | glGetSGIXFogOffset, 17 | gl_SGIX_fog_offset, 18 | -- * Enums 19 | pattern GL_FOG_OFFSET_SGIX, 20 | pattern GL_FOG_OFFSET_VALUE_SGIX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/Framezoom.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.Framezoom 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.Framezoom ( 15 | -- * Extension Support 16 | glGetSGIXFramezoom, 17 | gl_SGIX_framezoom, 18 | -- * Enums 19 | pattern GL_FRAMEZOOM_FACTOR_SGIX, 20 | pattern GL_FRAMEZOOM_SGIX, 21 | pattern GL_MAX_FRAMEZOOM_FACTOR_SGIX, 22 | -- * Functions 23 | glFrameZoomSGIX 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Tokens 28 | import Graphics.GL.Functions 29 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/IglooInterface.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.SGIX.IglooInterface 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.SGIX.IglooInterface ( 14 | -- * Extension Support 15 | glGetSGIXIglooInterface, 16 | gl_SGIX_igloo_interface, 17 | -- * Functions 18 | glIglooInterfaceSGIX 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/Interlace.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.Interlace 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.Interlace ( 15 | -- * Extension Support 16 | glGetSGIXInterlace, 17 | gl_SGIX_interlace, 18 | -- * Enums 19 | pattern GL_INTERLACE_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/IrInstrument1.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.IrInstrument1 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.IrInstrument1 ( 15 | -- * Extension Support 16 | glGetSGIXIrInstrument1, 17 | gl_SGIX_ir_instrument1, 18 | -- * Enums 19 | pattern GL_IR_INSTRUMENT1_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/PixelTexture.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.PixelTexture 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.PixelTexture ( 15 | -- * Extension Support 16 | glGetSGIXPixelTexture, 17 | gl_SGIX_pixel_texture, 18 | -- * Enums 19 | pattern GL_PIXEL_TEX_GEN_MODE_SGIX, 20 | pattern GL_PIXEL_TEX_GEN_SGIX, 21 | -- * Functions 22 | glPixelTexGenSGIX 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/ReferencePlane.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.ReferencePlane 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.ReferencePlane ( 15 | -- * Extension Support 16 | glGetSGIXReferencePlane, 17 | gl_SGIX_reference_plane, 18 | -- * Enums 19 | pattern GL_REFERENCE_PLANE_EQUATION_SGIX, 20 | pattern GL_REFERENCE_PLANE_SGIX, 21 | -- * Functions 22 | glReferencePlaneSGIX 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/Resample.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.Resample 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.Resample ( 15 | -- * Extension Support 16 | glGetSGIXResample, 17 | gl_SGIX_resample, 18 | -- * Enums 19 | pattern GL_PACK_RESAMPLE_SGIX, 20 | pattern GL_RESAMPLE_DECIMATE_SGIX, 21 | pattern GL_RESAMPLE_REPLICATE_SGIX, 22 | pattern GL_RESAMPLE_ZERO_FILL_SGIX, 23 | pattern GL_UNPACK_RESAMPLE_SGIX 24 | ) where 25 | 26 | import Graphics.GL.ExtensionPredicates 27 | import Graphics.GL.Tokens 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/ScalebiasHint.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.ScalebiasHint 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.ScalebiasHint ( 15 | -- * Extension Support 16 | glGetSGIXScalebiasHint, 17 | gl_SGIX_scalebias_hint, 18 | -- * Enums 19 | pattern GL_SCALEBIAS_HINT_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/Shadow.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.Shadow 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.Shadow ( 15 | -- * Extension Support 16 | glGetSGIXShadow, 17 | gl_SGIX_shadow, 18 | -- * Enums 19 | pattern GL_TEXTURE_COMPARE_OPERATOR_SGIX, 20 | pattern GL_TEXTURE_COMPARE_SGIX, 21 | pattern GL_TEXTURE_GEQUAL_R_SGIX, 22 | pattern GL_TEXTURE_LEQUAL_R_SGIX 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/ShadowAmbient.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.ShadowAmbient 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.ShadowAmbient ( 15 | -- * Extension Support 16 | glGetSGIXShadowAmbient, 17 | gl_SGIX_shadow_ambient, 18 | -- * Enums 19 | pattern GL_SHADOW_AMBIENT_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/TagSampleBuffer.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.SGIX.TagSampleBuffer 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.SGIX.TagSampleBuffer ( 14 | -- * Extension Support 15 | glGetSGIXTagSampleBuffer, 16 | gl_SGIX_tag_sample_buffer, 17 | -- * Functions 18 | glTagSampleBufferSGIX 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/TextureAddEnv.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.TextureAddEnv 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.TextureAddEnv ( 15 | -- * Extension Support 16 | glGetSGIXTextureAddEnv, 17 | gl_SGIX_texture_add_env, 18 | -- * Enums 19 | pattern GL_TEXTURE_ENV_BIAS_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/TextureCoordinateClamp.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.TextureCoordinateClamp 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.TextureCoordinateClamp ( 15 | -- * Extension Support 16 | glGetSGIXTextureCoordinateClamp, 17 | gl_SGIX_texture_coordinate_clamp, 18 | -- * Enums 19 | pattern GL_TEXTURE_MAX_CLAMP_R_SGIX, 20 | pattern GL_TEXTURE_MAX_CLAMP_S_SGIX, 21 | pattern GL_TEXTURE_MAX_CLAMP_T_SGIX 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/TextureLODBias.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.TextureLODBias 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.TextureLODBias ( 15 | -- * Extension Support 16 | glGetSGIXTextureLODBias, 17 | gl_SGIX_texture_lod_bias, 18 | -- * Enums 19 | pattern GL_TEXTURE_LOD_BIAS_R_SGIX, 20 | pattern GL_TEXTURE_LOD_BIAS_S_SGIX, 21 | pattern GL_TEXTURE_LOD_BIAS_T_SGIX 22 | ) where 23 | 24 | import Graphics.GL.ExtensionPredicates 25 | import Graphics.GL.Tokens 26 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/TextureMultiBuffer.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.TextureMultiBuffer 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.TextureMultiBuffer ( 15 | -- * Extension Support 16 | glGetSGIXTextureMultiBuffer, 17 | gl_SGIX_texture_multi_buffer, 18 | -- * Enums 19 | pattern GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/VertexPreclip.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.VertexPreclip 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.VertexPreclip ( 15 | -- * Extension Support 16 | glGetSGIXVertexPreclip, 17 | gl_SGIX_vertex_preclip, 18 | -- * Enums 19 | pattern GL_VERTEX_PRECLIP_HINT_SGIX, 20 | pattern GL_VERTEX_PRECLIP_SGIX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/YCrCb.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.YCrCb 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.YCrCb ( 15 | -- * Extension Support 16 | glGetSGIXYCrCb, 17 | gl_SGIX_ycrcb, 18 | -- * Enums 19 | pattern GL_YCRCB_422_SGIX, 20 | pattern GL_YCRCB_444_SGIX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SGIX/YCrCbA.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SGIX.YCrCbA 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SGIX.YCrCbA ( 15 | -- * Extension Support 16 | glGetSGIXYCrCbA, 17 | gl_SGIX_ycrcba, 18 | -- * Enums 19 | pattern GL_YCRCBA_SGIX, 20 | pattern GL_YCRCB_SGIX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/SUN/ConvolutionBorderModes.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SUN.ConvolutionBorderModes 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SUN.ConvolutionBorderModes ( 15 | -- * Extension Support 16 | glGetSUNConvolutionBorderModes, 17 | gl_SUN_convolution_border_modes, 18 | -- * Enums 19 | pattern GL_WRAP_BORDER_SUN 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SUN/MeshArray.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SUN.MeshArray 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SUN.MeshArray ( 15 | -- * Extension Support 16 | glGetSUNMeshArray, 17 | gl_SUN_mesh_array, 18 | -- * Enums 19 | pattern GL_QUAD_MESH_SUN, 20 | pattern GL_TRIANGLE_MESH_SUN, 21 | -- * Functions 22 | glDrawMeshArraysSUN 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/SUN/SliceAccum.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SUN.SliceAccum 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SUN.SliceAccum ( 15 | -- * Extension Support 16 | glGetSUNSliceAccum, 17 | gl_SUN_slice_accum, 18 | -- * Enums 19 | pattern GL_SLICE_ACCUM_SUN 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/SUNX.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.SUNX 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing SUNX extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.SUNX ( 16 | module Graphics.GL.SUNX.ConstantData 17 | ) where 18 | 19 | import Graphics.GL.SUNX.ConstantData 20 | -------------------------------------------------------------------------------- /src/Graphics/GL/SUNX/ConstantData.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.SUNX.ConstantData 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.SUNX.ConstantData ( 15 | -- * Extension Support 16 | glGetSUNXConstantData, 17 | gl_SUNX_constant_data, 18 | -- * Enums 19 | pattern GL_TEXTURE_CONSTANT_DATA_SUNX, 20 | pattern GL_UNPACK_CONSTANT_DATA_SUNX, 21 | -- * Functions 22 | glFinishTextureSUNX 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | import Graphics.GL.Functions 28 | -------------------------------------------------------------------------------- /src/Graphics/GL/ThreeDFX.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ThreeDFX 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing 3DFX extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.ThreeDFX ( 16 | module Graphics.GL.ThreeDFX.Multisample, 17 | module Graphics.GL.ThreeDFX.Tbuffer, 18 | module Graphics.GL.ThreeDFX.TextureCompressionFXT1 19 | ) where 20 | 21 | import Graphics.GL.ThreeDFX.Multisample 22 | import Graphics.GL.ThreeDFX.Tbuffer 23 | import Graphics.GL.ThreeDFX.TextureCompressionFXT1 24 | -------------------------------------------------------------------------------- /src/Graphics/GL/ThreeDFX/Multisample.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ThreeDFX.Multisample 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ThreeDFX.Multisample ( 15 | -- * Extension Support 16 | glGetThreeDFXMultisample, 17 | gl_3DFX_multisample, 18 | -- * Enums 19 | pattern GL_MULTISAMPLE_3DFX, 20 | pattern GL_MULTISAMPLE_BIT_3DFX, 21 | pattern GL_SAMPLES_3DFX, 22 | pattern GL_SAMPLE_BUFFERS_3DFX 23 | ) where 24 | 25 | import Graphics.GL.ExtensionPredicates 26 | import Graphics.GL.Tokens 27 | -------------------------------------------------------------------------------- /src/Graphics/GL/ThreeDFX/Tbuffer.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.ThreeDFX.Tbuffer 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -------------------------------------------------------------------------------- 12 | 13 | module Graphics.GL.ThreeDFX.Tbuffer ( 14 | -- * Extension Support 15 | glGetThreeDFXTbuffer, 16 | gl_3DFX_tbuffer, 17 | -- * Functions 18 | glTbufferMask3DFX 19 | ) where 20 | 21 | import Graphics.GL.ExtensionPredicates 22 | import Graphics.GL.Functions 23 | -------------------------------------------------------------------------------- /src/Graphics/GL/ThreeDFX/TextureCompressionFXT1.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.ThreeDFX.TextureCompressionFXT1 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.ThreeDFX.TextureCompressionFXT1 ( 15 | -- * Extension Support 16 | glGetThreeDFXTextureCompressionFXT1, 17 | gl_3DFX_texture_compression_FXT1, 18 | -- * Enums 19 | pattern GL_COMPRESSED_RGBA_FXT1_3DFX, 20 | pattern GL_COMPRESSED_RGB_FXT1_3DFX 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/WIN.hs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- | 3 | -- Module : Graphics.GL.WIN 4 | -- Copyright : (c) Sven Panne 2019 5 | -- License : BSD3 6 | -- 7 | -- Maintainer : Sven Panne 8 | -- Stability : stable 9 | -- Portability : portable 10 | -- 11 | -- A convenience module, combining all raw modules containing WIN extensions. 12 | -- 13 | -------------------------------------------------------------------------------- 14 | 15 | module Graphics.GL.WIN ( 16 | module Graphics.GL.WIN.PhongShading, 17 | module Graphics.GL.WIN.SpecularFog 18 | ) where 19 | 20 | import Graphics.GL.WIN.PhongShading 21 | import Graphics.GL.WIN.SpecularFog 22 | -------------------------------------------------------------------------------- /src/Graphics/GL/WIN/PhongShading.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.WIN.PhongShading 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.WIN.PhongShading ( 15 | -- * Extension Support 16 | glGetWINPhongShading, 17 | gl_WIN_phong_shading, 18 | -- * Enums 19 | pattern GL_PHONG_HINT_WIN, 20 | pattern GL_PHONG_WIN 21 | ) where 22 | 23 | import Graphics.GL.ExtensionPredicates 24 | import Graphics.GL.Tokens 25 | -------------------------------------------------------------------------------- /src/Graphics/GL/WIN/SpecularFog.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE PatternSynonyms #-} 2 | -------------------------------------------------------------------------------- 3 | -- | 4 | -- Module : Graphics.GL.WIN.SpecularFog 5 | -- Copyright : (c) Sven Panne 2019 6 | -- License : BSD3 7 | -- 8 | -- Maintainer : Sven Panne 9 | -- Stability : stable 10 | -- Portability : portable 11 | -- 12 | -------------------------------------------------------------------------------- 13 | 14 | module Graphics.GL.WIN.SpecularFog ( 15 | -- * Extension Support 16 | glGetWINSpecularFog, 17 | gl_WIN_specular_fog, 18 | -- * Enums 19 | pattern GL_FOG_SPECULAR_TEXTURE_WIN 20 | ) where 21 | 22 | import Graphics.GL.ExtensionPredicates 23 | import Graphics.GL.Tokens 24 | --------------------------------------------------------------------------------