opengl-dlp-stereo 0.1.5.2 → 0.1.5.4
raw patch · 3 files changed
+8/−9 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- opengl-dlp-stereo.cabal +6/−6
- src/Graphics/Rendering/DLP.hs +1/−1
- src/Graphics/Rendering/DLP/Callbacks.hs +1/−2
opengl-dlp-stereo.cabal view
@@ -1,5 +1,5 @@ name: opengl-dlp-stereo-version: 0.1.5.2+version: 0.1.5.4 synopsis: Library and example for using DLP stereo in OpenGL description: This package contains functions for rendering 3D stereo using DLP 3-D Ready Sync projectors and active-shutter stereo glasses. It also includes a sample application (see \<<https://youtu.be/l3rZbMB2XjM>\>) and notes regarding hardware setup for DLP. In particular, note that this technique does not require a graphics card that supports @GL_STEREO@. This package also works with VR systems such as Google Cardboard \<<https://www.google.com/get/cardboard/>\>. @@ -7,25 +7,25 @@ license-file: LICENSE author: Brian W Bush <consult@brianwbush.info> maintainer: Brian W Bush <consult@brianwbush.info>-copyright: (c) 2015 Brian W Bush+copyright: (c) 2015-2016 Brian W Bush category: Graphics build-type: Simple cabal-version: >= 1.10 stability: Stable-homepage: https://bitbucket.org/bwbush/opengl-dlp-stereo+homepage: https://bitbucket.org/functionally/opengl-dlp-stereo bug-reports: https://bwbush.atlassian.net/projects/HOGLDLP/issues/-package-url: https://bitbucket.org/bwbush/opengl-dlp-stereo/downloads/opengl-dlp-stereo-0.1.5.2.tar.gz+package-url: https://bitbucket.org/functionally/opengl-dlp-stereo/downloads/opengl-dlp-stereo-0.1.5.4.tar.gz extra-source-files: ReadMe.md source-repository head type: git- location: https://bwbush@bitbucket.org/bwbush/opengl-dlp-stereo.git+ location: https://bitbucket.org/functionally/opengl-dlp-stereo.git library exposed-modules: Graphics.Rendering.DLP Graphics.Rendering.DLP.Callbacks- build-depends: base >= 4.8.1 && < 5+ build-depends: base >= 4.8 && < 5 , data-default >= 0.5.3 , GLUT >= 2.7.0.1 , OpenGL >= 2.12.0.1
src/Graphics/Rendering/DLP.hs view
@@ -182,7 +182,7 @@ drawDlp dlp = do DlpState encoding _ <- get dlp- unless (encoding `elem` [LeftOnly, RightOnly]) $ do+ unless (encoding `elem` [LeftOnly, RightOnly, QuadBuffer]) $ do (Position x0 y0, Size w h) <- get viewport color <- dlpColor' dlp let
src/Graphics/Rendering/DLP/Callbacks.hs view
@@ -120,7 +120,7 @@ doQuad :: IORef DlpState -- ^ A reference to the DLP state. -> DlpDisplay -- ^ The display information. -> DisplayCallback -- ^ The display callback.-doQuad dlpRef DlpDisplay{..} =+doQuad _ DlpDisplay{..} = do sequence_ [@@ -129,7 +129,6 @@ preDisplay doDisplay eye postDisplay- drawDlp dlpRef | (eye, buffer) <- zip [LeftDlp, RightDlp] [BackLeftBuffer, BackRightBuffer] ]