Introduce the usage of software OpenGL in existing ActiveX control

Befejezett Kiadva: Dec 16, 2015 Kiszállításkor fizetve
Befejezett Kiszállításkor fizetve

This is a minor quick task to do in C++ Version 6.

Attention:

I'm not allowed to give the whole source to someone.

A solution could be to do the work in here, via skype, teamviewer or alike.

The project itself is an ActiveX control.

It provides an OpenGL window and has a lot of sophisticated functionality.

It complies with no errors, and it runs well - since years.

The usage of OpenGL works ok, also with the ability to set different FSAA levels.

We need the additional functionality to use Microsoft GDI instead of the hardware modes.

This shall be a property of the ActiveX control and must be switchable while the control runs as well.

Now it looks like this:

PIXELFORMATDESCRIPTOR pfd = {

sizeof(PIXELFORMATDESCRIPTOR),

1,

PFD_DRAW_TO_WINDOW |

PFD_SUPPORT_OPENGL |

PFD_GENERIC_ACCELERATED |

PFD_DOUBLEBUFFER |

PFD_SWAP_COPY,

PFD_TYPE_RGBA,

24,

0, 0, 0, 0, 0, 0,

0, 0, 0, 0, 0, 0, 0,

32,

0, 0,

PFD_MAIN_PLANE,

0,

0, 0, 0

};

// and later...

// Get pixel format what supports double-buffering and swap

int pixelFormatsCount = DescribePixelFormat(*pDC, 1, sizeof(pfd), NULL);

for (int i = 1; i < pixelFormatsCount; i++)

{

PIXELFORMATDESCRIPTOR pfdCopy;

memcpy(&pfdCopy, &pfd, sizeof(pfd));

DescribePixelFormat(*pDC, i, sizeof(pfdCopy), &pfdCopy);

if ((([url removed, login to view] & PFD_DOUBLEBUFFER) != 0) &&

(([url removed, login to view] & PFD_SWAP_COPY) != 0))

break;

}

When Microsoft GDI is used on PCs which don't support OpenGL at all, the performance and the functionality is ok.

This must be the same when Microsoft GDI is forced by code.

All the existing functionality of the control must be preserved as it is now.

Microsoft GDI usage is meant as an option only.

---

As said above, work must be done via a remote connection.

Some basic spoken English language capabilities are very wanted.

The work will be assisted by the employer, also the testing.

The test application is a small VB6 program.

We expect a total time of no longer than 4 hours for completion.

C++ Programozás OpenGL Szoftverarchitektúra Visual Basic

Projektazonosító: #9133389

A projektről

4 ajánlat Távolról teljesíthető projekt Utoljára aktív: Dec 18, 2015

Odaítélve:

c4551u5

A proposal has not yet been provided

$80 USD 3 napon belül
(2 értékelés)
2.6

4 szabadúszó tett átlagosan 197$ összegű árajánlatot erre a munkára

super2lao

A proposal has not yet been provided

$357 USD 5 napon belül
(76 vélemény)
7.2
szymszteinsl

Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !R Továbbiak

$250 USD 3 napon belül
(64 vélemény)
6.5
zuiguanglong

Hi,sir How are you today? I checked project's Description. I will finish your project in 18 hours. I am waiting for you. best regards.

$100 USD 3 napon belül
(36 vélemény)
5.9