Home | History | Annotate | Download | only in tests

Lines Matching refs:surface

46 	XvMCSurface		surface = {0};
78 assert(XvMCCreateSurface(display, NULL, &surface) == XvMCBadContext);
79 /* Test NULL surface */
82 assert(XvMCCreateSurface(display, &context, &surface) == Success);
83 /* Test surface id assigned */
84 assert(surface.surface_id != 0);
86 assert(surface.context_id == context.context_id);
87 /* Test surface type id assigned and correct */
88 assert(surface.surface_type_id == surface_type_id);
90 assert(surface.width == width && surface.height == height);
92 assert(XvMCDestroySurface(display, &surface) == Success);
93 /* Test NULL surface */