Home
last modified time | relevance | path

Searched refs:colorBuffer (Results 1 – 25 of 34) sorted by relevance

12

/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp642 …erFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeColorWrite() argument
658 colorBuffer.setPixel(combinedColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeColorWrite()
663 …t numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer) in executeRGBA8ColorWrite() argument
666 const int xStride = colorBuffer.getRowPitch(); in executeRGBA8ColorWrite()
667 const int yStride = colorBuffer.getSlicePitch(); in executeRGBA8ColorWrite()
668 deUint8* const basePtr = (deUint8*)colorBuffer.getDataPtr(); in executeRGBA8ColorWrite()
686 …actor, const Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeMaskedColorWrite() argument
694 …Vec4 originalColor = colorBuffer.getPixel(fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y… in executeMaskedColorWrite()
705 colorBuffer.setPixel(newColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeMaskedColorWrite()
710 …t Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer) in executeSignedValueWrite() argument
[all …]
DrrFragmentOperations.hpp145 …rFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
146 … numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer);
147 … const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
148 … Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
149 … Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
/external/deqp/modules/glshared/
DglsFragmentOpUtil.cpp213 …id ReferenceQuadRenderer::flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer, in flushFragmentBuffer() argument
219 …m_fragmentProcessor.render(colorBuffer, depthBuffer, stencilBuffer, &m_fragmentBuffer[0], m_fragme… in flushFragmentBuffer()
223 void ReferenceQuadRenderer::render (const tcu::PixelBufferAccess& colorBuffer, in render() argument
262 flushFragmentBuffer(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer), in render()
272 flushFragmentBuffer(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer), in render()
DglsFragmentOpUtil.hpp118 void render (const tcu::PixelBufferAccess& colorBuffer,
130 void flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer,
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp109 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate() local
179 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in iterate()
183 …rMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBuf… in iterate()
194 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
DvktGeometryInstancedRenderingTests.cpp343 const VkBuffer colorBuffer, in draw() argument
444 …eToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, &region); in draw()
457 colorBuffer, // VkBuffer buffer; in draw()
638 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSiz… in test() local
639 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
650 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
DvktGeometryLayeredRenderingTests.cpp922 …const Unique<VkBuffer> colorBuffer (makeBuffer (vk, device, makeBufferCreateInfo(colorBuff… in test() local
923 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer in test()
997 …ToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region); in test()
1010 *colorBuffer, // VkBuffer buffer; in test()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp350 const Buffer& colorBuffer, in getPixelBufferAccess() argument
355 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess()
484 const Buffer* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 }; in iterate() local
583 …mdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer[pipelineNdx]->g… in iterate()
587 …VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, colorBuffer[pipelineNdx]->get(), 0ull, colo… in iterate()
599 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate()
600 …tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat… in iterate()
DvktTessellationWindingTests.cpp274 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in iterate() local
380 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in iterate()
384 … VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in iterate()
395 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
DvktTessellationGeometryPointSizeTests.cpp325 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeByt… in test() local
398 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in test()
402 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in test()
413 const Allocation& alloc = colorBuffer.getAllocation(); in test()
DvktTessellationCommonEdgeTests.cpp360 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in test() local
435 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in test()
439 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in test()
451 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in test()
DvktTessellationGeometryGridRenderTests.cpp550 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in iterate() local
612 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in iterate()
616 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in iterate()
627 const Allocation& alloc = colorBuffer.getAllocation(); in iterate()
DvktTessellationMiscDrawTests.cpp171 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, V… in runTest() local
286 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in runTest()
290 … VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in runTest()
300 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in runTest()
DvktTessellationPrimitiveDiscardTests.cpp443 const Buffer colorBuffer(vk, device, allocator, in test() local
537 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in test()
541 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in test()
559 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in test()
DvktTessellationShaderInputOutputTests.cpp105 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in runTest() local
181 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in runTest()
185 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in runTest()
195 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in runTest()
DvktTessellationUserDefinedIO.cpp807 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in iterate() local
892 …dBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in iterate()
896 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in iterate()
909 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp594 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
661 …uffer(*m_cmdBuffer, *m_colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, &region); in draw()
674 colorBuffer, // VkBuffer buffer; in draw()
731 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSiz… in test() local
732 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
745 renderer.draw(context, *colorBuffer); in test()
DvktFragmentOperationsEarlyFragmentTests.cpp659 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSi… in iterate() local
660 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Me… in iterate()
749 …Buffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegio… in iterate()
752 … VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); in iterate()
DvktFragmentOperationsScissorTests.cpp571 void draw (Context& context, const Vec4& scissorAreaFloat, const VkBuffer colorBuffer) const in draw()
643 …uffer(*m_cmdBuffer, *m_colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, &region); in draw()
656 colorBuffer, // VkBuffer buffer; in draw()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp1013 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate() local
1020 drawPrimitives(resultImage, drawBuffer, colorBuffer, GL_TRIANGLES); in iterate()
1442 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1446 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1447 extractTriangles(triangles, drawBuffer, colorBuffer); in iterate()
1453 …tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu:… in iterate()
1457 drawPrimitives(resultImage, drawBuffer, colorBuffer, m_primitive); in iterate()
1639 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1643 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1644 extractLines(lines, drawBuffer, colorBuffer); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp572 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in test() local
573 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
691 …ToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region); in test()
702 *colorBuffer, // VkBuffer buffer; in test()
/external/deqp/modules/egl/
DteglRenderTests.cpp387 tcu::TextureLevel colorBuffer; in renderReference() local
406 colorBuffer.setStorage(getColorFormat(colorBits), numSamples, width, height); in renderReference()
407 …rr::clearMultisampleColorBuffer(colorBuffer, CLEAR_COLOR, rr::WindowRectangle(0, 0, width, height)… in renderReference()
421 …rget renderTarget(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess()), in renderReference()
428 …:ViewportState)(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess()))); in renderReference()
446 …ColorBuffer(dst, rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess())); in renderReference()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp1290 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate() local
1297 drawPrimitives(resultImage, drawBuffer, colorBuffer, GL_TRIANGLES); in iterate()
1720 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1724 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1725 extractTriangles(triangles, drawBuffer, colorBuffer); in iterate()
1731 …tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu:… in iterate()
1735 drawPrimitives(resultImage, drawBuffer, colorBuffer, m_primitive); in iterate()
1986 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1993 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1994 extractLines(lines, drawBuffer, colorBuffer); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp1797 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate() local
1801 drawPrimitives(resultImage, drawBuffer, colorBuffer, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST); in iterate()
2379 std::vector<tcu::Vec4> colorBuffer; in iterate() local
2383 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
2384 extractTriangles(triangles, drawBuffer, colorBuffer); in iterate()
2390 …tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu:… in iterate()
2394 drawPrimitives(resultImage, drawBuffer, colorBuffer, m_primitiveTopology); in iterate()
2657 std::vector<tcu::Vec4> colorBuffer; in iterate() local
2664 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
2665 extractLines(lines, drawBuffer, colorBuffer); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp598 …const rr::MultisamplePixelBufferAccess colorBuffer = rr::MultisamplePixelBufferAccess::fromSingle… in iterate() local
599 const rr::RenderTarget renderTarget (colorBuffer); in iterate()
600 const rr::RenderState renderState ((rr::ViewportState(colorBuffer))); in iterate()

12