Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 25 Sep 2007
Offline Last Active Jul 18 2014 03:27 PM

Posts I've Made

In Topic: A simple to use menu/GUI lib that works with DirectX?

29 March 2013 - 04:09 PM

It is relatively easy to use gwen gui, there are samples included for several different rendering frameworks, opengl, direct2d, Allegro, SFML etc. (It takes som tinkering making direct2d work with directx but there exist some good tutorials on how to do it). 

In Topic: Filling opencl buffer/image with zeros

20 March 2013 - 05:08 AM

wasteful might have been a poor choice of words, but what I mean is that since I'm not using complex pattern, i.e. just filling with zero using fill seems a bit overkill.

The Buffer sizes is in ranges between ~64KB and ~128MB. Using a small pattern a float seems to be rather inefficient because even if it zero:ed it still need to do size/4 memcopies. Thats why I thought maybe using unmap/map and memset might be faster, I guess my best option is to time it and compare. (or something similar to that)

In Topic: OpenGL and Mac: No D3D11 level functionality?

09 February 2013 - 02:36 AM

Actually this was one of the greatest dissapointments for me after buying a MBP. Before buying I just looked at the hardware and not into further details about drivers :( 

In Topic: Problem with ID3D11DeviceContext::Map()

24 October 2012 - 12:04 PM

I think the easiest way is to keep the vertices in mainmemory and then make the update against that and send the updated relevant parts via map/updatesubresource with write discard as MJP wrote below.

In Topic: How to create ID3D11Device1?

24 October 2012 - 08:47 AM

Thanks! It works perfectly for the Id3d11Device1, but fails on the id3d11devicecontext1. I guess thats because I use featurelevel 11 and not 11.1 so I don't think thats an issue ^^.