Script Development for the Graphics Device Interface Performance Test (Windows CE 5.0)
You can write a script for the Graphics Device Interface Performance Test. A script is a .txt file that contains a list of test cases with keywords that modify the behavior of each test case.
For information about test cases that you can include in a script, see Test Cases for the Graphics Device Interface Performance Test. For information keywords that are common to multiple test cases, see Keywords for a Script for the Graphics Device Interface Performance Test.
While writing a script, consider the following guidelines:
- Use the # character to identify a line as a comment.
- In a list, use a comma to separate values.
- If a comma-separated list is too long for a single line, use a backslash (\) character at the end of the line, and then continue the list on the next line.
- With a group of values, for example a list of rectangle coordinates, surround each group with parentheses to make the script easier to read.
The following table shows scripts for the Graphics Device Interface Performance Test that the CETK provides at <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU>.
Script | Description |
---|---|
Allropsscript.txt | Determines which raster operations (ROPs) a display driver accelerates and then tests the accelerated ROPs. This script provides broad information about the optimization of a display driver.
Only a small subset of ROPs are commonly used and typically these ROPs are optimized. The Iescript.txt, Rdpscript.txt, and Srccopysizes.txt scripts test common ROPs. The Allropsscript.txt script tests all ROPs to ensure that there is no significant performance bottleneck in a ROP that is not commonly used. |
Iescript.txt | Generates information that might help you optimize common display driver operations in a run-time image that includes Microsoft® Internet Explorer for Windows® CE Internet browser. |
Rdpscript.txt | Generates information that might help you optimize common display driver operations in a run-time image that includes Remote Desktop Protocol (RDP). |
Srccopysizes.txt | Generates information that shows how display driver operations scale with number of pixels transferred. This information might help you assess the general effectiveness of hardware or software optimizations because the SRCCOPY ROP is a common ROP. |
See Also
Graphics Device Interface Performance Test | Font-related Keywords for a Script for the Graphics Device Interface Performance Test | String-related Keywords for a Script for the Graphics Device Interface Performance Test | Command-Line Parameters for the Graphics Device Interface Performance Test
Send Feedback on this topic to the authors