Syndicate content
Updated: 24 min 40 sec ago

Fixed DescribePixelFormatPFD

21 December, 2013 - 22:35
pre style='white-space:pre-wrap;width:81ex'>Fixed DescribePixelFormatPFD When using the PFD codepath, we now call DescribePixelFormat to retrieve an exact interpretation of the pixel format selected by the driver./pre>

Prioritize accelerated formats first

21 December, 2013 - 21:43
pre style='white-space:pre-wrap;width:81ex'>Prioritize accelerated formats first Instead of creating a list of all available formats and iterating through that, we let the driver decide which is the best accelerated format to use for the user parameters. If no such format exists, we fall back to generic acceleration or software acceleration, in turn. This affects issue #21/pre>

Turn 1-element array to ref/out param

21 December, 2013 - 21:41
pre style='white-space:pre-wrap;width:81ex'>Turn 1-element array to ref/out param/pre>

Display renderer information

21 December, 2013 - 21:41
pre style='white-space:pre-wrap;width:81ex'>Display renderer information/pre>

Implemented KeyDown and KeyUp messages

20 December, 2013 - 23:50
pre style='white-space:pre-wrap;width:81ex'>Implemented KeyDown and KeyUp messages/pre>

Clean fix issue #19

20 December, 2013 - 23:43
pre style='white-space:pre-wrap;width:81ex'>Clean fix issue #19 Isolate and commit fix for issue #19 without potential for regressions./pre>

Revert Fix issue #19

20 December, 2013 - 23:41
pre style='white-space:pre-wrap;width:81ex'>Revert Fix issue #19 This reverts commit 2c14ec5f800b8ef6527f05ba26d6c6cca4b417d8./pre>

Fix issue #19

20 December, 2013 - 22:31
pre style='white-space:pre-wrap;width:81ex'>Fix issue #19 Don't filter window messages passed to our window (see http://blogs.msdn.com/b/oldnewthing/archive/2005/02/09/369804.aspx). Additionally, return the correct values for all messages we are actually handling and clean up unmanaged memory after we are done with the window./pre>

Explicitly set WindowProcedure calling convention

20 December, 2013 - 22:29
pre style='white-space:pre-wrap;width:81ex'>Explicitly set WindowProcedure calling convention/pre>

Simplify ProcessEvents implementation

20 December, 2013 - 07:42
pre style='white-space:pre-wrap;width:81ex'>Simplify ProcessEvents implementation Instead of combining PeekMessage+GetMessage, we can simply call PeekMessage(Remove) to achieve the same effect. This also allows us to remove the IsIdle property, which is no longer used anywhere./pre>

Threads with message pump require STA comparment

19 December, 2013 - 09:39
pre style='white-space:pre-wrap;width:81ex'>Threads with message pump require STA comparment May affect issue #19/pre>

Replace Wgl.GetCurrentDC with cached dc

18 December, 2013 - 13:51
pre style='white-space:pre-wrap;width:81ex'>Replace Wgl.GetCurrentDC with cached dc with/pre>

No point in using 16bpp color

18 December, 2013 - 13:29
pre style='white-space:pre-wrap;width:81ex'>No point in using 16bpp color/pre>

Cleaned up temporary context construction

18 December, 2013 - 13:29
pre style='white-space:pre-wrap;width:81ex'>Cleaned up temporary context construction The temporary context is now retained until the actual context has been constructed. If we don't do this, then WGL_ARB_create_context may fail to work correctly on specific GPUs (e.g. Intel). This may affect issue #19./pre>

Fixed GetModesARB implementation

18 December, 2013 - 13:16
pre style='white-space:pre-wrap;width:81ex'>Fixed GetModesARB implementation The correct way to query number of available pixel formats is to use Wgl.Arb.GetPixelFormatAttrib(NumberPixelFormatsArb), not Wgl.Arb.ChoosePixelFormats. This fixes an issue where Intel drivers would fail to report any pixel formats in GetModesARB, even when WGL_ARB_pixel_format is supported./pre>

Minor code cleanup

17 December, 2013 - 22:31
pre style='white-space:pre-wrap;width:81ex'>Minor code cleanup/pre>

Use gdi32 implementations of functions

17 December, 2013 - 21:35
pre style='white-space:pre-wrap;width:81ex'>Use gdi32 implementations of functions Several functions are defined in both gdi32 and opengl32. Using the opengl32/wgl versions did not appear to help with issue #19. Let's use the gdi32 version instead, as suggested here: https://www.opengl.org/wiki/Platform_specifics:_Windows#The_WGL_functions/pre>

Load opengl32.dll before gdi32.dll

17 December, 2013 - 20:24
pre style='white-space:pre-wrap;width:81ex'>Load opengl32.dll before gdi32.dll According to http://stackoverflow.com/questions/199016/wglcreatecontext-in-c-sharp-failing-but-not-in-managed-c, opengl32.dll must be loaded before gdi32.dll. Affect issue #19./pre>

Minor code cleanup

17 December, 2013 - 15:40
pre style='white-space:pre-wrap;width:81ex'>Minor code cleanup No need to wrap Wgl.DescribePixelFormat, just call it directly./pre>

Use opengl32 instead of gdi32 throughout

17 December, 2013 - 15:39
pre style='white-space:pre-wrap;width:81ex'>Use opengl32 instead of gdi32 throughout Since we are dynamically loading opengl32.dll, we are supposed to use the wgl version of functions that exist in both opengl32 and gdi32 dlls./pre>