Home | History | Annotate | Download | only in executor

Lines Matching refs:Writer

21  * \brief Test log writer.
35 /* Batch result writer. */
133 /* Test result log writer. */
236 static void writeResultItem (const ri::Item& item, xml::Writer& dst)
238 using xml::Writer;
247 dst << Writer::BeginElement("Text") << static_cast<const ri::Text&>(item).text << Writer::EndElement;
253 dst << Writer::BeginElement("Number")
254 << Writer::Attribute("Name", number.name)
255 << Writer::Attribute("Description", number.description)
256 << Writer::Attribute("Unit", number.unit)
257 << Writer::Attribute("Tag", number.tag)
259 << Writer::EndElement;
266 dst << Writer::BeginElement("Image")
267 << Writer::Attribute("Name", image.name)
268 << Writer::Attribute("Description", image.description)
269 << Writer::Attribute("Width", de::toString(image.width))
270 << Writer::Attribute("Height", de::toString(image.height))
271 << Writer::Attribute("Format", getImageFormatName(image.format))
272 << Writer::Attribute("CompressionMode", getImageCompressionName(image.compression))
274 << Writer::EndElement;
281 dst << Writer::BeginElement("ImageSet")
282 << Writer::Attribute("Name", imageSet.name)
283 << Writer::Attribute("Description", imageSet.description);
288 dst << Writer::EndElement;
309 dst << Writer::BeginElement(tagName)
310 << Writer::Attribute("CompileStatus", getStatusName(shader.compileStatus));
315 dst << Writer::EndElement;
322 dst << Writer::BeginElement("ShaderProgram")
323 << Writer::Attribute("LinkStatus", getStatusName(program.linkStatus));
330 dst << Writer::EndElement;
335 dst << Writer::BeginElement("ShaderSource") << static_cast<const ri::ShaderSource&>(item).source << Writer::EndElement;
339 dst << Writer::BeginElement("SpirVAssemblySource") << static_cast<const ri::SpirVSource&>(item).source << Writer::EndElement;
343 dst << Writer::BeginElement("InfoLog") << static_cast<const ri::InfoLog&>(item).log << Writer::EndElement;
349 dst << Writer::BeginElement("Section")
350 << Writer::Attribute("Name", section.name)
351 << Writer::Attribute("Description", section.description);
356 dst << Writer::EndElement;
361 dst << Writer::BeginElement("KernelSource") << static_cast<const ri::KernelSource&>(item).source << Writer::EndElement;
367 dst << Writer::BeginElement("CompileInfo")
368 << Writer::Attribute("Name", compileInfo.name)
369 << Writer::Attribute("Description", compileInfo.description)
370 << Writer::Attribute("CompileStatus", getStatusName(compileInfo.compileStatus));
374 dst << Writer::EndElement;
381 dst << Writer::BeginElement("EglConfig")
382 << Writer::Attribute("BufferSize", de::toString(config.bufferSize))
383 << Writer::Attribute("RedSize", de::toString(config.redSize))
384 << Writer::Attribute("GreenSize", de::toString(config.greenSize))
385 << Writer::Attribute("BlueSize", de::toString(config.blueSize))
386 << Writer::Attribute("LuminanceSize", de::toString(config.luminanceSize))
387 << Writer::Attribute("AlphaSize", de::toString(config.alphaSize))
388 << Writer::Attribute("AlphaMaskSize", de::toString(config.alphaMaskSize))
389 << Writer::Attribute("BindToTextureRGB", getBoolName(config.bindToTextureRGB))
390 << Writer::Attribute("BindToTextureRGBA", getBoolName(config.bindToTextureRGBA))
391 << Writer::Attribute("ColorBufferType", config.colorBufferType)
392 << Writer::Attribute("ConfigCaveat", config.configCaveat)
393 << Writer::Attribute("ConfigID", de::toString(config.configID))
394 << Writer::Attribute("Conformant", config.conformant)
395 << Writer::Attribute("DepthSize", de::toString(config.depthSize))
396 << Writer::Attribute("Level", de::toString(config.level))
397 << Writer::Attribute("MaxPBufferWidth", de::toString(config.maxPBufferWidth))
398 << Writer::Attribute("MaxPBufferHeight", de::toString(config.maxPBufferHeight))
399 << Writer::Attribute("MaxPBufferPixels", de::toString(config.maxPBufferPixels))
400 << Writer::Attribute("MaxSwapInterval", de::toString(config.maxSwapInterval))
401 << Writer::Attribute("MinSwapInterval", de::toString(config.minSwapInterval))
402 << Writer::Attribute("NativeRenderable", getBoolName(config.nativeRenderable))
403 << Writer::Attribute("RenderableType", config.renderableType)
404 << Writer::Attribute("SampleBuffers", de::toString(config.sampleBuffers))
405 << Writer::Attribute("Samples", de::toString(config.samples))
406 << Writer::Attribute("StencilSize", de::toString(config.stencilSize))
407 << Writer::Attribute("SurfaceTypes", config.surfaceTypes)
408 << Writer::Attribute("TransparentType", config.transparentType)
409 << Writer::Attribute("TransparentRedValue", de::toString(config.transparentRedValue))
410 << Writer::Attribute("TransparentGreenValue", de::toString(config.transparentGreenValue))
411 << Writer::Attribute("TransparentBlueValue", de::toString(config.transparentBlueValue))
412 << Writer::EndElement;
419 dst << Writer::BeginElement("EglConfigSet")
420 << Writer::Attribute("Name", configSet.name)
421 << Writer::Attribute("Description", configSet.description);
426 dst << Writer::EndElement;
433 dst << Writer::BeginElement("SampleList")
434 << Writer::Attribute("Name", list.name)
435 << Writer::Attribute("Description", list.description);
442 dst << Writer::EndElement;
449 dst << Writer::BeginElement("SampleInfo");
452 dst << Writer::EndElement;
459 dst << Writer::BeginElement("ValueInfo")
460 << Writer::Attribute("Name", info.name)
461 << Writer::Attribute("Description", info.description)
462 << Writer::Attribute("Tag", getSampleValueTagName(info.tag));
464 dst << Writer::Attribute("Unit", info.unit);
465 dst << Writer::EndElement;
472 dst << Writer::BeginElement("Sample");
475 dst << Writer::EndElement;
482 dst << Writer::BeginElement("Value")
484 << Writer::EndElement;
493 void writeTestResult (const TestCaseResult& result, xe::xml::Writer& xmlWriter)
495 using xml::Writer;
497 xmlWriter << Writer::BeginElement("TestCaseResult")
498 << Writer::Attribute("Version", TEST_LOG_VERSION)
499 << Writer::Attribute("CasePath", result.casePath)
500 << Writer::Attribute("CaseType", getTestCaseTypeName(result.caseType));
506 xmlWriter << Writer::BeginElement("Result")
507 << Writer
509 << Writer::EndElement;
511 xmlWriter << Writer::EndElement;
516 xml::Writer xmlWriter(stream);