Directory mgllib/

Directory Created:
2006-09-08 10:01
Total Files:
303
Deleted Files:
77
Lines of Code:
17160

[root]/mgllib
        directory in repo mglEyelink (51 files, 4268 lines)
        directory in repo mglTest (20 files, 1751 lines)
        Folder removed from repo mglTestResources (0 files, 0 lines)
        Folder removed from repo unitTests (0 files, 0 lines)

Lines of Code

mgllib/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 3212 (100.0%) 27854 (100.0%) 8.6
justin 2078 (64.7%) 19853 (71.3%) 9.5
chrg 351 (10.9%) 2970 (10.7%) 8.4
dep 430 (13.4%) 1574 (5.7%) 3.6
jonas 36 (1.1%) 1467 (5.3%) 40.7
chris 163 (5.1%) 1290 (4.6%) 7.9
ds 28 (0.9%) 690 (2.5%) 24.6
eli 35 (1.1%) 7 (0.0%) 0.2
tsliu 4 (0.1%) 3 (0.0%) 0.7
frakkopesto 87 (2.7%) 0 (0.0%) 0.0

Most Recent Commits

justin 2012-05-17 21:46 Rev.: 1027

Change set that allows mglCreateTexture to create a texture with a uint8 rgba x width x height matrix. This is much faster than a normal matlab matrix since we don't have to convert into openGL format. mglTestTexFast tests it.

383 lines of code changed in 3 files:

  • mgllib: mglCreateTexture.m (+15 -1), mglPrivateCreateTexture.c (+368 -258), mglPrivateCreateTexture.mexmaci64 (changed)
justin 2012-04-27 12:18 Rev.: 1025

The tilde (ignore output variable) notation was not supported on an older version of matlab, so changed to set a dummy variable

1 lines of code changed in 1 file:

  • mgllib: mglMake.m (+1 -1)
justin 2012-02-15 17:20 Rev.: 1018

Small change to help

1 lines of code changed in 1 file:

  • mgllib: mglBindTexture.m (+1 -1)
justin 2012-02-06 23:07 Rev.: 1016

Change set allows shifting, scaling and cropping of task screen through setting parameters in mglEditScreenParams

10 lines of code changed in 1 file:

  • mgllib: mglVisualAngleCoordinates.m (+10 -2)
justin 2012-02-01 22:01 Rev.: 1011

New function that allows for faster updating of textures (like changing the alpha channel)

216 lines of code changed in 3 files:

  • mgllib: mglBindTexture.c (new 163), mglBindTexture.m (new 53), mglBindTexture.mexmaci64 (new)
chrg 2011-11-01 13:47 Rev.: 991

- Fixed the Windows section of mgl.h to get rid of some compiler warnings.
- mglMake adjusted to set more mex parameters for Windows.

22 lines of code changed in 2 files:

  • mgllib: mgl.h (+3 -3), mglMake.m (+19 -10)
justin 2011-10-26 10:16 Rev.: 990

Adding ability to open an "offscreen context". This allows you to make drawing commands and then use mglFrameGrab to grab the results into a matrix without actually displaying anything on the screen. This is accessed by doing the following:

mglSetParam('offscreenContext',1)
mglOpen(0);

No window will open, you can still use mgl commands to draw and flush and then mglFrameGrab to get the results

4 lines of code changed in 2 files:

  • mgllib: mglPrivateOpen.c (+4 -1), mglPrivateOpen.mexmaci64 (changed)
chrg 2011-10-26 03:01 Rev.: 989

Fixed a bug in mglFillRect3D which caused rotations to be off by a little bit.

CGB

1 lines of code changed in 1 file:

  • mgllib: mglFillRect3D.c (+1 -1)
justin 2011-10-25 18:36 Rev.: 988

Adding comment on how to use offscreen context with frame grab

10 lines of code changed in 1 file:

  • mgllib: mglFrameGrab.m (+10)
chrg 2011-10-25 05:54 Rev.: 982

Updated documentation.

CGB

1 lines of code changed in 1 file:

  • mgllib: mglUnbindFrameBufferObject.m (+1 -1)
chrg 2011-10-25 05:52 Rev.: 981

Framebuffer objects now support multisampling.

CGB

107 lines of code changed in 3 files:

  • mgllib: mglBindFrameBufferObject.c (+19 -6), mglCreateFrameBufferObject.c (+48 -21), mglUnbindFrameBufferObject.c (+40 -1)
justin 2011-10-13 21:00 Rev.: 975

Last commit introduced a weird little bug. If you check the opengl info using the matlab call opengl after the screen is open, it seems to bust opengl calls. That is, nothing draws to the screen. Thank you Mathworks! So, now we check the openGL (To find the display card info so that we can warn about the problem with Radeon HD 5xxx display cards) before the screen is open. Also put a check in mglDescribeDisplays to not call opengl if the screen is open.

11 lines of code changed in 1 file:

  • mgllib: mglDescribeDisplays.m (+11 -3)
justin 2011-10-13 17:14

This change set adds functionality to spoof the vertical refresh waiting that should be done with mglFLush. Apparently there is some bug in the Radeon HD 5xxx series cards such that it doesn't seem to wait for the vertical blank signal. To deal with this, I added a function mglFlushAndWait which now waits for the appropriate amount of time. Also in mglEditScreenParams you can now set 'simulateVerticalBlank' and it will use this new function rather than mglFlush. If initScreen detects that you are using the Radeon HD 5xxxx series card it will give you a warning that you may want to set this.

44 lines of code changed in 4 files:

  • mgllib: mglFlushAndWait.m (new 40), mglGetSecs.c (+1 -1), mglGetSecs.mexmaci64 (changed), mglPrivateOpen.c (+3 -3)
chrg 2011-10-13 01:03 Rev.: 972

- Added new function to render polygons in 3D.

CGB

80 lines of code changed in 1 file:

  • mgllib: mglPolygon3D.c (new 80)
chrg 2011-10-01 01:28 Rev.: 970

- Updated mglGetMouse to have the ability to return mouse coordinates relative to a display if specified.
- Didn't recompile anything since I don't have Lion.

CGB

80 lines of code changed in 4 files:

  • mgllib: mglGetMouse.c (+56 -6), mglGetMouse.m (+13 -5), mglSetMousePosition.c (-1), mglSetMousePosition.m (+11 -5)
chrg 2011-09-20 05:26 Rev.: 969

- Updated the help documentation.

CGB

7 lines of code changed in 1 file:

  • mgllib: mglFillRect3D.m (+7 -6)
dep 2011-09-15 00:39 Rev.: 968

Lion compatible mglMake and mexopt.sh files

353 lines of code changed in 55 files:

  • mgllib: mexopts.10.5.sh (new 286), mexopts.sh (+3 -3), mgl.h (+16 -16), mglBindFrameBufferObject.mexmaci64 (changed), mglBltTexture.mexmaci64 (changed), mglCharToKeycode.mexmaci64 (changed), mglClearScreen.mexmaci64 (changed), mglCreateFrameBufferObject.mexmaci64 (changed), mglDisplayCursor.mexmaci64 (changed), mglDrawImage.mexmaci64 (changed), mglFillOval.mexmaci64 (changed), mglFillRect.mexmaci64 (changed), mglFillRect3D.mexmaci64 (changed), mglFlush.mexmaci64 (changed), mglFrameGrab.mexmaci64 (changed), mglGetGammaTable.mexmaci64 (changed), mglGetKeys.mexmaci64 (changed), mglGetMouse.mexmaci64 (changed), mglGetSecs.mexmaci64 (changed), mglGluAnnulus.mexmaci64 (changed), mglGluDisk.mexmaci64 (changed), mglGluPartialDisk.mexmaci64 (changed), mglIsCursorVisible.mexmaci64 (changed), mglKeycodeToChar.mexmaci64 (changed), mglLines2.mexmaci64 (changed), mglMake.m (+48 -36), mglPoints2.mexmaci64 (changed), mglPoints3.mexmaci64 (changed), mglPolygon.mexmaci64 (changed), mglPrivateClose.mexmaci64 (changed), mglPrivateCreateTexture.mexmaci64 (changed), mglPrivateDeleteTexture.mexmaci64 (changed), mglPrivateDescribeDisplays.mexmaci64 (changed), mglPrivateGetKeyEvent.mexmaci64 (changed), mglPrivateGetMouseEvent.mexmaci64 (changed), mglPrivateInstallSound.mexmaci64 (changed), mglPrivateListener.mexmaci64 (changed), mglPrivateMoveWindow.mexmaci64 (changed), mglPrivateMovie.mexmaci64 (changed), mglPrivateOpen.mexmaci64 (changed), mglPrivatePlaySound.mexmaci64 (changed), mglPrivatePostEvent.mexmaci64 (changed), mglPrivateSwitchDisplay.mexmaci64 (changed), mglQuad.mexmaci64 (changed), mglResolution.mexmaci64 (changed), mglSetGammaTable.mexmaci64 (changed), mglSetMousePosition.mexmaci64 (changed), mglShader.mexmaci64 (changed), mglStencilCreateBegin.mexmaci64 (changed), mglStencilCreateEnd.mexmaci64 (changed), mglStencilSelect.mexmaci64 (changed), mglStrokeText.mexmaci64 (changed), mglText.mexmaci64 (changed), mglTransform.mexmaci64 (changed), mglUnbindFrameBufferObject.mexmaci64 (changed)
chrg 2011-09-14 14:00 Rev.: 967

- Deleted the mexopts.bat files. Library inclusions are now made using #pragma commands in mgl.h.
Now people can use the stock mexopts.sh.
- Changed some of the preprocessor defines in order to make use of the built in Visual Studio ones.
- Recompiled everything under 2010a x64.

CGB

108 lines of code changed in 62 files:

  • mgllib: mexopts64-2010a.bat (del), mexopts64-2011a.bat (del), mgl.h (+10 -3), mglBindFrameBufferObject.mexw64 (changed), mglBltTexture.c (+1 -1), mglBltTexture.mexw64 (changed), mglCharToKeycode.c (+1 -1), mglCharToKeycode.mexw64 (changed), mglClearScreen.mexw64 (changed), mglCreateFrameBufferObject.mexw64 (changed), mglDisplayCursor.c (+5 -2), mglDisplayCursor.mexw64 (changed), mglDrawImage.mexw64 (changed), mglFillOval.mexw64 (changed), mglFillRect.mexw64 (changed), mglFillRect3D.mexw64 (changed), mglFlush.c (+2 -2), mglFlush.mexw64 (changed), mglFrameGrab.mexw64 (changed), mglGetGammaTable.c (+3 -3), mglGetGammaTable.mexw64 (changed), mglGetKeys.mexw64 (changed), mglGetMouse.c (+17 -16), mglGetMouse.mexw64 (changed), mglGetSecs.c (+1 -1), mglGetSecs.mexw64 (changed), mglGluAnnulus.mexw64 (changed), mglGluDisk.mexw64 (changed), mglGluPartialDisk.mexw64 (changed), mglIsCursorVisible.c (+15), mglKeycodeToChar.c (+1 -1), mglKeycodeToChar.mexw64 (changed), mglLines2.mexw64 (changed), mglPoints2.mexw64 (changed), mglPoints3.mexw64 (changed), mglPolygon.mexw64 (changed), mglPrivateClose.c (+2 -2), mglPrivateClose.mexw64 (changed), mglPrivateCreateTexture.mexw64 (changed), mglPrivateDeleteTexture.mexw64 (changed), mglPrivateDescribeDisplays.c (+1 -1), mglPrivateDescribeDisplays.mexw64 (changed), mglPrivateInstallSound.c (+17), mglPrivateMoveWindow.mexw64 (changed), mglPrivateOpen.c (+22 -2), mglPrivateOpen.mexw64 (changed), mglPrivateSwitchDisplay.c (+2 -2), mglPrivateSwitchDisplay.mexw64 (changed), mglQuad.mexw64 (changed), mglResolution.c (+2 -2), mglResolution.mexw64 (changed), mglSetGammaTable.c (+2 -2), mglSetGammaTable.mexw64 (changed), mglSetMousePosition.mexw64 (changed), mglShader.c (+4 -4), mglShader.mexw64 (changed), mglStencilCreateBegin.mexw64 (changed), mglStencilCreateEnd.mexw64 (changed), mglStencilSelect.mexw64 (changed), mglStrokeText.mexw64 (changed), mglTransform.mexw64 (changed), mglUnbindFrameBufferObject.mexw64 (changed)
chrg 2011-09-13 13:36 Rev.: 966

- Added Windows versions of mglKeycodeToChar and mglCharToKeycode.
- Recompiled everything under Matlab 2010a for x64.

Chris

212 lines of code changed in 46 files:

  • mgllib: mexopts64-2010a.bat (new 63), mexopts64-2011a.bat (new 62), mexopts64.bat (del), mglBindFrameBufferObject.mexw64 (changed), mglBltTexture.mexw64 (changed), mglCharToKeycode.c (+49 -4), mglCharToKeycode.mexw64 (new), mglClearScreen.mexw64 (changed), mglCreateFrameBufferObject.mexw64 (changed), mglDisplayCursor.mexw64 (changed), mglDrawImage.mexw64 (changed), mglFillOval.mexw64 (changed), mglFillRect.mexw64 (changed), mglFillRect3D.mexw64 (changed), mglFlush.mexw64 (changed), mglFrameGrab.mexw64 (changed), mglGetGammaTable.mexw64 (changed), mglGetMouse.mexw64 (changed), mglGetSecs.mexw64 (changed), mglGluAnnulus.mexw64 (changed), mglGluDisk.mexw64 (changed), mglGluPartialDisk.mexw64 (changed), mglKeycodeToChar.c (+38 -3), mglKeycodeToChar.mexw64 (new), mglLines2.mexw64 (changed), mglPoints2.mexw64 (changed), mglPoints3.mexw64 (changed), mglPolygon.mexw64 (changed), mglPrivateClose.mexw64 (changed), mglPrivateCreateTexture.mexw64 (changed), mglPrivateDeleteTexture.mexw64 (changed), mglPrivateDescribeDisplays.mexw64 (changed), mglPrivateMoveWindow.mexw64 (changed), mglPrivateOpen.mexw64 (changed), mglPrivateSwitchDisplay.mexw64 (changed), mglQuad.mexw64 (changed), mglResolution.mexw64 (changed), mglSetGammaTable.mexw64 (changed), mglSetMousePosition.mexw64 (changed), mglShader.mexw64 (changed), mglStencilCreateBegin.mexw64 (changed), mglStencilCreateEnd.mexw64 (changed), mglStencilSelect.mexw64 (changed), mglStrokeText.mexw64 (changed), mglTransform.mexw64 (changed), mglUnbindFrameBufferObject.mexw64 (changed)
chrg 2011-09-06 11:59 Rev.: 965

Added fullscreen functionality for the Windows version of MGL. Compiled under 2011a for x64.

Chris

45 lines of code changed in 41 files:

  • mgllib: mglBindFrameBufferObject.mexw64 (changed), mglBltTexture.mexw64 (changed), mglClearScreen.mexw64 (changed), mglCreateFrameBufferObject.mexw64 (changed), mglDisplayCursor.mexw64 (changed), mglDrawImage.mexw64 (changed), mglFillOval.mexw64 (changed), mglFillRect.mexw64 (changed), mglFillRect3D.mexw64 (changed), mglFlush.mexw64 (changed), mglFrameGrab.mexw64 (changed), mglGetGammaTable.mexw64 (changed), mglGetKeys.mexw64 (changed), mglGetMouse.mexw64 (changed), mglGetSecs.mexw64 (changed), mglGluAnnulus.mexw64 (changed), mglGluDisk.mexw64 (changed), mglGluPartialDisk.mexw64 (changed), mglLines2.mexw64 (changed), mglPoints2.mexw64 (changed), mglPoints3.mexw64 (changed), mglPolygon.mexw64 (changed), mglPrivateClose.mexw64 (changed), mglPrivateCreateTexture.mexw64 (changed), mglPrivateDeleteTexture.mexw64 (changed), mglPrivateDescribeDisplays.mexw64 (changed), mglPrivateMoveWindow.mexw64 (changed), mglPrivateOpen.c (+45 -20), mglPrivateOpen.mexw64 (changed), mglPrivateSwitchDisplay.mexw64 (changed), mglQuad.mexw64 (changed), mglResolution.mexw64 (changed), mglSetGammaTable.mexw64 (changed), mglSetMousePosition.mexw64 (changed), mglShader.mexw64 (changed), mglStencilCreateBegin.mexw64 (changed), mglStencilCreateEnd.mexw64 (changed), mglStencilSelect.mexw64 (changed), mglStrokeText.mexw64 (changed), mglTransform.mexw64 (changed), mglUnbindFrameBufferObject.mexw64 (changed)

(307 more)

Generated by StatSVN 0.4.1