• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

修订版379f90c0d428809b144b1be7cab37683be12ece8 (tree)
时间2007-09-19 22:03:25
作者Waldo Bastian <waldo.bastian@inte...>
CommiterWaldo Bastian

Log Message

Plan for better test coverage.

更改概述

差异

--- /dev/null
+++ b/test/testplan.txt
@@ -0,0 +1,61 @@
1+
2+Test 1
3+- Initialize & Terminate
4+- vaGetDisplay, vaInitialize, vaTerminate
5+
6+Test 2
7+- Query profiles
8+- vaQueryConfigProfiles, vaMaxNumProfiles
9+
10+Test 3
11+- Query Entrypoints for all profiles
12+- vaQueryConfigEntryPoints, vaMaxNumEntryPoints
13+
14+Test 4
15+- Query Config attributes for all profiles / entrypoints
16+- vaQueryConfigAttributes, vaMaxNumConfigAttributes
17+
18+Test 5
19+- Create & destroy config for each profile / entrypoint
20+- vaCreateConfig
21+- NOTE: vaDestroyConfig does not exist
22+
23+Test 6
24+- Get config attributes of various possible configs
25+- vaGetConfigAttributes
26+- Check if results for vaGetConfigAttributes match with vaQueryConfigAttributes for
27+a given profile / entrypoint
28+
29+Test 7
30+- Create and destroy surfaces
31+- vaCreateSurfaces, vaDestroySurfaces
32+- Create surfaces of 352 x 288 pixels
33+- Create 1, 4 and 16 surfaces, destroy 4, create 6 surfaces, destroy 16, 1
34+and 6 surfaces.
35+
36+Test 8
37+- Create and destroy surfaces of different sizes
38+- Create surfaces of 10 x 10 pixels, 128 x 128 pixels, 176 x 144 pixels, 144 x 176
39+pixels, 352 x 288 pixels, 399 x 299 pixels, 640 x 480 pixels, 1280 x 720
40+pixels
41+
42+Test 9
43+- Create and destroy a context for each profile / entrypoint
44+- Pass 4 surfaces of 352 x 288 pixels
45+- vaCreateContext, vaDestroyContext
46+- See also Test 5
47+
48+Test 10
49+- Create and destroy buffers
50+- vaCreateBuffer, vaDestroyBuffer
51+- For each different buffertype, create a buffer, then destroy them one by
52+one.
53+
54+Test 11
55+- Map & unmap buffers
56+- vaBufferData, vaMapBuffer, vaUnmapBuffer
57+- For each different buffertype, copy data to the buffer with vaBufferData.
58+Then map the buffer and verify the contents of the buffer.
59+
60+
61+