Lines Matching refs:Writer
236 static void writeResultItem (const ri::Item& item, xml::Writer& dst) in writeResultItem()
238 using xml::Writer; in writeResultItem()
247 …dst << Writer::BeginElement("Text") << static_cast<const ri::Text&>(item).text << Writer::EndEleme… in writeResultItem()
253 dst << Writer::BeginElement("Number") in writeResultItem()
254 << Writer::Attribute("Name", number.name) in writeResultItem()
255 << Writer::Attribute("Description", number.description) in writeResultItem()
256 << Writer::Attribute("Unit", number.unit) in writeResultItem()
257 << Writer::Attribute("Tag", number.tag) in writeResultItem()
259 << Writer::EndElement; in writeResultItem()
266 dst << Writer::BeginElement("Image") in writeResultItem()
267 << Writer::Attribute("Name", image.name) in writeResultItem()
268 << Writer::Attribute("Description", image.description) in writeResultItem()
269 << Writer::Attribute("Width", de::toString(image.width)) in writeResultItem()
270 << Writer::Attribute("Height", de::toString(image.height)) in writeResultItem()
271 << Writer::Attribute("Format", getImageFormatName(image.format)) in writeResultItem()
272 << Writer::Attribute("CompressionMode", getImageCompressionName(image.compression)) in writeResultItem()
274 << Writer::EndElement; in writeResultItem()
281 dst << Writer::BeginElement("ImageSet") in writeResultItem()
282 << Writer::Attribute("Name", imageSet.name) in writeResultItem()
283 << Writer::Attribute("Description", imageSet.description); in writeResultItem()
288 dst << Writer::EndElement; in writeResultItem()
309 dst << Writer::BeginElement(tagName) in writeResultItem()
310 << Writer::Attribute("CompileStatus", getStatusName(shader.compileStatus)); in writeResultItem()
315 dst << Writer::EndElement; in writeResultItem()
322 dst << Writer::BeginElement("ShaderProgram") in writeResultItem()
323 << Writer::Attribute("LinkStatus", getStatusName(program.linkStatus)); in writeResultItem()
330 dst << Writer::EndElement; in writeResultItem()
335 …dst << Writer::BeginElement("ShaderSource") << static_cast<const ri::ShaderSource&>(item).source <… in writeResultItem()
339 …dst << Writer::BeginElement("InfoLog") << static_cast<const ri::InfoLog&>(item).log << Writer::End… in writeResultItem()
345 dst << Writer::BeginElement("Section") in writeResultItem()
346 << Writer::Attribute("Name", section.name) in writeResultItem()
347 << Writer::Attribute("Description", section.description); in writeResultItem()
352 dst << Writer::EndElement; in writeResultItem()
357 …dst << Writer::BeginElement("KernelSource") << static_cast<const ri::KernelSource&>(item).source <… in writeResultItem()
363 dst << Writer::BeginElement("CompileInfo") in writeResultItem()
364 << Writer::Attribute("Name", compileInfo.name) in writeResultItem()
365 << Writer::Attribute("Description", compileInfo.description) in writeResultItem()
366 << Writer::Attribute("CompileStatus", getStatusName(compileInfo.compileStatus)); in writeResultItem()
370 dst << Writer::EndElement; in writeResultItem()
377 dst << Writer::BeginElement("EglConfig") in writeResultItem()
378 << Writer::Attribute("BufferSize", de::toString(config.bufferSize)) in writeResultItem()
379 << Writer::Attribute("RedSize", de::toString(config.redSize)) in writeResultItem()
380 << Writer::Attribute("GreenSize", de::toString(config.greenSize)) in writeResultItem()
381 << Writer::Attribute("BlueSize", de::toString(config.blueSize)) in writeResultItem()
382 << Writer::Attribute("LuminanceSize", de::toString(config.luminanceSize)) in writeResultItem()
383 << Writer::Attribute("AlphaSize", de::toString(config.alphaSize)) in writeResultItem()
384 << Writer::Attribute("AlphaMaskSize", de::toString(config.alphaMaskSize)) in writeResultItem()
385 << Writer::Attribute("BindToTextureRGB", getBoolName(config.bindToTextureRGB)) in writeResultItem()
386 << Writer::Attribute("BindToTextureRGBA", getBoolName(config.bindToTextureRGBA)) in writeResultItem()
387 << Writer::Attribute("ColorBufferType", config.colorBufferType) in writeResultItem()
388 << Writer::Attribute("ConfigCaveat", config.configCaveat) in writeResultItem()
389 << Writer::Attribute("ConfigID", de::toString(config.configID)) in writeResultItem()
390 << Writer::Attribute("Conformant", config.conformant) in writeResultItem()
391 << Writer::Attribute("DepthSize", de::toString(config.depthSize)) in writeResultItem()
392 << Writer::Attribute("Level", de::toString(config.level)) in writeResultItem()
393 << Writer::Attribute("MaxPBufferWidth", de::toString(config.maxPBufferWidth)) in writeResultItem()
394 << Writer::Attribute("MaxPBufferHeight", de::toString(config.maxPBufferHeight)) in writeResultItem()
395 << Writer::Attribute("MaxPBufferPixels", de::toString(config.maxPBufferPixels)) in writeResultItem()
396 << Writer::Attribute("MaxSwapInterval", de::toString(config.maxSwapInterval)) in writeResultItem()
397 << Writer::Attribute("MinSwapInterval", de::toString(config.minSwapInterval)) in writeResultItem()
398 << Writer::Attribute("NativeRenderable", getBoolName(config.nativeRenderable)) in writeResultItem()
399 << Writer::Attribute("RenderableType", config.renderableType) in writeResultItem()
400 << Writer::Attribute("SampleBuffers", de::toString(config.sampleBuffers)) in writeResultItem()
401 << Writer::Attribute("Samples", de::toString(config.samples)) in writeResultItem()
402 << Writer::Attribute("StencilSize", de::toString(config.stencilSize)) in writeResultItem()
403 << Writer::Attribute("SurfaceTypes", config.surfaceTypes) in writeResultItem()
404 << Writer::Attribute("TransparentType", config.transparentType) in writeResultItem()
405 << Writer::Attribute("TransparentRedValue", de::toString(config.transparentRedValue)) in writeResultItem()
406 << Writer::Attribute("TransparentGreenValue", de::toString(config.transparentGreenValue)) in writeResultItem()
407 << Writer::Attribute("TransparentBlueValue", de::toString(config.transparentBlueValue)) in writeResultItem()
408 << Writer::EndElement; in writeResultItem()
415 dst << Writer::BeginElement("EglConfigSet") in writeResultItem()
416 << Writer::Attribute("Name", configSet.name) in writeResultItem()
417 << Writer::Attribute("Description", configSet.description); in writeResultItem()
422 dst << Writer::EndElement; in writeResultItem()
429 dst << Writer::BeginElement("SampleList") in writeResultItem()
430 << Writer::Attribute("Name", list.name) in writeResultItem()
431 << Writer::Attribute("Description", list.description); in writeResultItem()
438 dst << Writer::EndElement; in writeResultItem()
445 dst << Writer::BeginElement("SampleInfo"); in writeResultItem()
448 dst << Writer::EndElement; in writeResultItem()
455 dst << Writer::BeginElement("ValueInfo") in writeResultItem()
456 << Writer::Attribute("Name", info.name) in writeResultItem()
457 << Writer::Attribute("Description", info.description) in writeResultItem()
458 << Writer::Attribute("Tag", getSampleValueTagName(info.tag)); in writeResultItem()
460 dst << Writer::Attribute("Unit", info.unit); in writeResultItem()
461 dst << Writer::EndElement; in writeResultItem()
468 dst << Writer::BeginElement("Sample"); in writeResultItem()
471 dst << Writer::EndElement; in writeResultItem()
478 dst << Writer::BeginElement("Value") in writeResultItem()
480 << Writer::EndElement; in writeResultItem()
489 void writeTestResult (const TestCaseResult& result, xe::xml::Writer& xmlWriter) in writeTestResult()
491 using xml::Writer; in writeTestResult()
493 xmlWriter << Writer::BeginElement("TestCaseResult") in writeTestResult()
494 << Writer::Attribute("Version", TEST_LOG_VERSION) in writeTestResult()
495 << Writer::Attribute("CasePath", result.casePath) in writeTestResult()
496 << Writer::Attribute("CaseType", getTestCaseTypeName(result.caseType)); in writeTestResult()
502 xmlWriter << Writer::BeginElement("Result") in writeTestResult()
503 << Writer::Attribute("StatusCode", getTestStatusCodeName(result.statusCode)) in writeTestResult()
505 << Writer::EndElement; in writeTestResult()
507 xmlWriter << Writer::EndElement; in writeTestResult()
512 xml::Writer xmlWriter(stream); in writeTestResult()