Share via


Creating a Target Application for Profiling the FLAT Display Driver

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The following section introduces a small application, ProfApp, to provide a target for profiling the performance of the FLAT display driver.

ProfApp is explicitly designed to stress a single infrequently used, non-optimized color format conversion to support the steps in How to Profile and Optimize a Display Driver. It is not a general application for thoroughly stressing a display driver.

Note

A display driver that performs well for an application that uses one set of graphics techniques might not perform well for an application that uses a different set of graphics techniques.

Creating a target application for profiling

  1. Create an empty workspace project for a Windows Embedded CE application project named ProfApp. For more information, see Creating a New Project.

  2. From the File menu, choose New Project or File.

    The New Project or File dialog box appears.

  3. Choose the Files tab and add a new C++ source file named ProfApp.cpp to the ProfApp project.

  4. Cut and paste the source code for ProfApp into the ProfApp.cpp file in the OS design. For more information, see Source Code for ProfApp.

  5. From the File menu, choose Close, and then choose Yes when prompted to save the changes.

See Also

Concepts

How to Profile and Optimize a Display Driver