Home
last modified time | relevance | path

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

12

/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp588 unsigned char* colorBuffer, in getReferenceColor() argument
593 memcpy(colorBuffer, m_red_color, colorBufferSize); in getReferenceColor()
597 memcpy(colorBuffer, m_green_color, colorBufferSize); in getReferenceColor()
601 memset(colorBuffer, 0, colorBufferSize); in getReferenceColor()
635 unsigned char* colorBuffer, in getReferenceColor() argument
640 memcpy(colorBuffer, m_white_color, colorBufferSize); in getReferenceColor()
644 memset(colorBuffer, 0, colorBufferSize); in getReferenceColor()
747 unsigned char* colorBuffer, in getReferenceColor() argument
752 memcpy(colorBuffer, m_white_color, colorBufferSize); in getReferenceColor()
756 memset(colorBuffer, 0, colorBufferSize); in getReferenceColor()
[all …]
DesextcGeometryShaderLayeredRenderingBoundaryCondition.hpp64 virtual void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer,
138 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
190 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
225 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
269 …virtual void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferS…
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp694 …erFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeColorWrite() argument
710 colorBuffer.setPixel(combinedColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeColorWrite()
715 …t numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer) in executeRGBA8ColorWrite() argument
718 const int xStride = colorBuffer.getRowPitch(); in executeRGBA8ColorWrite()
719 const int yStride = colorBuffer.getSlicePitch(); in executeRGBA8ColorWrite()
720 deUint8* const basePtr = (deUint8*)colorBuffer.getDataPtr(); in executeRGBA8ColorWrite()
738 …actor, const Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeMaskedColorWrite() argument
746 …Vec4 originalColor = colorBuffer.getPixel(fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y… in executeMaskedColorWrite()
757 colorBuffer.setPixel(newColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeMaskedColorWrite()
762 …t Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer) in executeSignedValueWrite() argument
[all …]
DrrFragmentOperations.hpp146 …rFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
147 … numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer);
148 … const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
149 … Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
150 … 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/draw/
DvktDrawShaderViewportIndexTests.cpp731 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
750 …copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_ren… in draw()
817 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(… in testVertexShader() local
821 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
835 renderer.draw(context, colorBuffer->object()); in testVertexShader()
840 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
874 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(… in testTessellationShader() local
878 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
892 renderer.draw(context, colorBuffer->object()); in testTessellationShader()
897 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
DvktDrawShaderLayerTests.cpp814 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
849 …copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_ren… in draw()
919 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInf… in testVertexShader() local
923 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
937 renderer.draw(context, colorBuffer->object()); in testVertexShader()
942 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
981 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInf… in testTessellationShader() local
985 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
999 renderer.draw(context, colorBuffer->object()); in testTessellationShader()
1004 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
/external/skia/src/core/
DSkColorSpaceXformer.cpp184 SkColor* colorBuffer, int count) { in apply() argument
186 this->apply(colorBuffer, lattice.fColors, count); in apply()
188 lattice.fXCount, lattice.fYCount, lattice.fBounds, colorBuffer}; in apply()
DSkColorSpaceXformCanvas.cpp149 SkSTArray<16, SkColor> colorBuffer; in onDrawImageLattice() local
152 colorBuffer.reset(count); in onDrawImageLattice()
154 fXformer->apply(lattice, colorBuffer.begin(), count), in onDrawImageLattice()
226 SkSTArray<16, SkColor> colorBuffer; in onDrawBitmapLattice() local
229 colorBuffer.reset(count); in onDrawBitmapLattice()
231 fXformer->apply(lattice, colorBuffer.begin(), count), dst, in onDrawBitmapLattice()
/external/skqp/src/core/
DSkColorSpaceXformer.cpp184 SkColor* colorBuffer, int count) { in apply() argument
186 this->apply(colorBuffer, lattice.fColors, count); in apply()
188 lattice.fXCount, lattice.fYCount, lattice.fBounds, colorBuffer}; in apply()
DSkColorSpaceXformCanvas.cpp149 SkSTArray<16, SkColor> colorBuffer; in onDrawImageLattice() local
152 colorBuffer.reset(count); in onDrawImageLattice()
154 fXformer->apply(lattice, colorBuffer.begin(), count), in onDrawImageLattice()
226 SkSTArray<16, SkColor> colorBuffer; in onDrawBitmapLattice() local
229 colorBuffer.reset(count); in onDrawBitmapLattice()
231 fXformer->apply(lattice, colorBuffer.begin(), count), dst, in onDrawBitmapLattice()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp146 const VkBuffer colorBuffer, in draw() argument
198 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.… in draw()
371 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSiz… in test() local
372 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
383 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
DvktGeometryBasicClass.cpp112 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate() local
171 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
178 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
DvktGeometryLayeredRenderingTests.cpp1039 …const Unique<VkBuffer> colorBuffer (makeBuffer (vk, device, makeBufferCreateInfo(colorBuff… in test() local
1040 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer in test()
1098 …ToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region); in test()
1111 *colorBuffer, // VkBuffer buffer; in test()
1177 …const Unique<VkBuffer> colorBuffer (makeBuffer (vk, device, makeBufferCreateInfo(colorBuff… in testLayeredReadBack() local
1178 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer in testLayeredReadBack()
1264 …vk.cmdCopyBufferToImage(*cmdBuffer, *colorBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMA… in testLayeredReadBack()
1347 …rMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, VK_WHOLE… in testLayeredReadBack()
1350 …ToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region); in testLayeredReadBack()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp353 const Buffer& colorBuffer, in getPixelBufferAccess() argument
358 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess()
487 const Buffer* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 }; in iterate() local
572 …copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, colorBuffer[pipelineNdx]->get(), renderSi… in iterate()
580 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate()
581 …tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat… in iterate()
DvktTessellationGeometryPointSizeTests.cpp328 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeByt… in test() local
387 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in test()
394 const Allocation& alloc = colorBuffer.getAllocation(); in test()
DvktTessellationCommonEdgeTests.cpp363 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in test() local
424 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in test()
432 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in test()
DvktTessellationGeometryGridRenderTests.cpp553 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK… in iterate() local
600 …copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize, VK_ACCESS_COLOR… in iterate()
607 const Allocation& alloc = colorBuffer.getAllocation(); in iterate()
DvktTessellationMiscDrawTests.cpp174 …const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, V… in runTest() local
275 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, renderSize); in runTest()
281 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in runTest()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp368 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
386 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, m_renderSize); in draw()
435 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSiz… in test() local
436 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
449 renderer.draw(context, *colorBuffer); in test()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp1141 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate() local
1148 drawPrimitives(resultImage, drawBuffer, colorBuffer, GL_TRIANGLES); in iterate()
1570 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1574 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1575 extractTriangles(triangles, drawBuffer, colorBuffer); in iterate()
1581 …tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu:… in iterate()
1585 drawPrimitives(resultImage, drawBuffer, colorBuffer, m_primitive); in iterate()
1767 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1771 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1772 extractLines(lines, drawBuffer, colorBuffer); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilExportTests.cpp501 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in testStencilExportReplace() local
502 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in testStencilExportReplace()
559 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, *colorBuffer, tcu::IVec2(renderSize.x(), renderSize… in testStencilExportReplace()
DvktPipelineFramebufferAttachmentTests.cpp409 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in test() local
410 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
625 …ToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region); in test()
636 *colorBuffer, // VkBuffer buffer; in test()
817 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_T… in testNoAtt() local
818 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Me… in testNoAtt()
918 …vk.cmdCopyImageToBuffer(*cmdBuffer, *image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u… in testNoAtt()
929 *colorBuffer, // VkBuffer buffer; in testNoAtt()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp983 Move<VkBuffer> colorBuffer; member
1262 …m_uCopy.colorBuffer = makeBuffer(m_vk, m_device, m_uCopy.colorBufferSize, VK_BUFFER_USAGE_TRA… in uploadCopy()
1263 …m_uCopy.colorBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uCopy.colorBuffer, Memory… in uploadCopy()
1295 *m_uCopy.colorBuffer, // VkBuffer buffer; in uploadCopy()
1336 …m_vk.cmdCopyBufferToImage(*m_cmdBuffer, *m_uCopy.colorBuffer, m_image, VK_IMAGE_LAYOUT_TRANSFER_DS… in uploadCopy()
1749 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRA… in testMutable() local
1750 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Memo… in testMutable()
1756 executor.run(context, *colorBuffer); in testMutable()
2256 …const Unique<VkBuffer> colorBuffer(makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSF… in testSwapchainMutable() local
2257 …const UniquePtr<Allocation> colorBufferAlloc(bindBuffer(vk, device, allocator, *colorBuffer, Memor… in testSwapchainMutable()
[all …]

12