/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | WebGLFramebufferTest.cpp | 35 GLRenderbuffer *colorBuffer, 153 GLRenderbuffer *colorBuffer, in testAttachment() 160 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuffer); in testAttachment() 176 void testAttachments(GLRenderbuffer &colorBuffer, in testAttachments() argument 185 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testAttachments() 199 GLRenderbuffer colorBuffer; in testColorRenderbuffer() local 200 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testColorRenderbuffer() 203 testAttachment(width, height, &colorBuffer, GL_COLOR_ATTACHMENT0, &colorBuffer, in testColorRenderbuffer() 327 GLRenderbuffer *colorBuffer, in testDepthStencilRenderbuffer() 151 testAttachment(GLint width, GLint height, GLRenderbuffer *colorBuffer, GLenum attachment, GLRenderbuffer *buffer, GLbitfield allowedStatuses) testAttachment() argument 325 testDepthStencilRenderbuffer(GLint width, GLint height, GLRenderbuffer *colorBuffer, GLbitfield allowedStatuses) testDepthStencilRenderbuffer() argument 375 GLRenderbuffer colorBuffer; TEST_P() local 512 GLRenderbuffer colorBuffer; checkValidColorDepthCombination() local 575 GLRenderbuffer colorBuffer; testUsingIncompleteFramebuffer() local 618 GLRenderbuffer colorBuffer; testFramebufferIncompleteAttachment() local 646 GLRenderbuffer colorBuffer; testFramebufferIncompleteMissingAttachment() local 663 GLRenderbuffer colorBuffer; testFramebufferIncompleteDimensions() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLayeredRenderingBoundaryCondition.cpp | 584 * @param colorBuffer will be used to store the requested data(buffor size should be greater than or equal colorBufferSize) 588 unsigned char* colorBuffer, in getReferenceColor() 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() 631 * @param colorBuffer will be used to store the requested data(buffer size should be greater than or equal colorBufferSize) 635 unsigned char* colorBuffer, in getReferenceColor() 640 memcpy(colorBuffer, m_white_color, colorBufferSize); in getReferenceColor() 644 memset(colorBuffer, 0, colorBufferSize); in getReferenceColor() 743 * @param colorBuffer wil 587 getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize) getReferenceColor() argument 634 getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize) getReferenceColor() argument 746 getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize) getReferenceColor() argument 835 getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize) getReferenceColor() argument [all...] |
H A D | esextcGeometryShaderLayeredRenderingBoundaryCondition.hpp | 64 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 colorBufferSize);
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrFragmentOperations.hpp | 146 void executeColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer); 147 void executeRGBA8ColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer); 148 void executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer); 149 void executeSignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer); 150 void executeUnsignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
|
H A D | rrFragmentOperations.cpp | 698 void FragmentProcessor::executeColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeColorWrite() argument 714 colorBuffer.setPixel(combinedColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeColorWrite() 719 void FragmentProcessor::executeRGBA8ColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer) in executeRGBA8ColorWrite() argument 722 const int xStride = colorBuffer.getRowPitch(); in executeRGBA8ColorWrite() 723 const int yStride = colorBuffer.getSlicePitch(); in executeRGBA8ColorWrite() 724 deUint8* const basePtr = (deUint8*)colorBuffer.getDataPtr(); in executeRGBA8ColorWrite() 742 void FragmentProcessor::executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const Vec4& colorMaskFactor, const Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer) in executeMaskedColorWrite() argument 750 Vec4 originalColor = colorBuffer.getPixel(fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeMaskedColorWrite() 761 colorBuffer.setPixel(newColor, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeMaskedColorWrite() 766 void FragmentProcessor::executeSignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer) in executeSignedValueWrite() argument 781 executeUnsignedValueWrite(int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer) executeUnsignedValueWrite() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
H A D | DXGISwapChainWindowSurfaceWGL.cpp | 191 ID3D11Texture2D *colorBuffer = nullptr; in bindTexImage() local 193 reinterpret_cast<void **>(&colorBuffer)); in bindTexImage() 200 mTextureHandle = mFunctionsWGL->dxRegisterObjectNV(mDeviceHandle, colorBuffer, textureID, in bindTexImage() 202 SafeRelease(colorBuffer); in bindTexImage() 491 ID3D11Texture2D *colorBuffer = nullptr; in createSwapChain() local 493 reinterpret_cast<void **>(&colorBuffer)); in createSwapChain() 502 mFunctionsWGL->dxRegisterObjectNV(mDeviceHandle, colorBuffer, mColorRenderbufferID, in createSwapChain() 504 SafeRelease(colorBuffer); in createSwapChain() 514 mTextureHandle = mFunctionsWGL->dxRegisterObjectNV(mDeviceHandle, colorBuffer, mTextureID, in createSwapChain()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
H A D | vktFragmentShadingRateMiscTests.cpp | 220 vk::ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D); in testEnableDisable() 340 const std::vector<VkImageView> attachmentViews { colorBuffer.getImageView(), fsrAttView.get() }; in testEnableDisable() 464 colorBuffer.getImage(), colorSRR); in testEnableDisable() 467 ctx.vkd.cmdCopyImageToBuffer(cmdBuffer, colorBuffer.getImage(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer.getBuffer(), 1u, ©Region); in testEnableDisable() 473 invalidateAlloc(ctx.vkd, ctx.device, colorBuffer.getBufferAllocation()); in testEnableDisable() 498 const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, fbExtent, colorBuffer.getBufferAllocation().getHostPtr()); in testEnableDisable() 522 vk::ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, imageType, colorSRR); in testNoFrag() 528 const std::vector<VkImageView> attachmentViews { colorBuffer.getImageView(), depthBuffer.getImageView() }; in testNoFrag() 639 colorBuffer in testNoFrag() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawShaderLayerTests.cpp | 670 void draw (Context& context, const VkBuffer colorBuffer) const in draw() 716 postRenderCommands(context, colorBuffer); in draw() 728 postRenderCommands(context, colorBuffer); in draw() 742 postRenderCommands(context, colorBuffer); in draw() 762 void postRenderCommands(Context& context, VkBuffer colorBuffer) const in postRenderCommands() 765 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_renderSize.y()), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_colorSubresourceRange.layerCount); in postRenderCommands() 891 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); in testVertexShader() local 895 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader() 909 renderer.draw(context, colorBuffer->object()); in testVertexShader() 914 const Allocation alloc = colorBuffer in testVertexShader() 951 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); testTessellationShader() local [all...] |
H A D | vktDrawShaderViewportIndexTests.cpp | 727 void draw (Context& context, const VkBuffer colorBuffer) in draw() argument 772 postRenderCommands(context, colorBuffer); in draw() 784 postRenderCommands(context, colorBuffer); in draw() 798 postRenderCommands(context, colorBuffer); in draw() 852 void postRenderCommands(Context& context, VkBuffer colorBuffer) const in postRenderCommands() 855 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_renderSize.y())); in postRenderCommands() 952 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); in testVertexFragmentShader() local 956 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader() 970 renderer.draw(context, colorBuffer->object()); in testVertexFragmentShader() 975 const Allocation alloc = colorBuffer in testVertexFragmentShader() 1013 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); testTessellationShader() local [all...] |
/third_party/skia/modules/svg/src/ |
H A D | SkSVGXMLDOM.cpp | 47 char colorBuffer[8]; in setSVGColor() local 48 int res = snprintf(colorBuffer, sizeof(colorBuffer), "#%06x", (svgThemeColor.color & 0xFFFFFF)); in setSVGColor() 52 attr->fValue = dupstr(fAlloc, colorBuffer, strlen(colorBuffer)); in setSVGColor()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolFragInvocationTests.cpp | 132 ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, imageType, colorSRR); in testInvocations() 140 const auto framebuffer = makeFramebuffer(ctx.vkd, ctx.device, renderPass.get(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in testInvocations() 222 colorBuffer.getImage(), colorSRR); in testInvocations() 226 ctx.vkd.cmdCopyImageToBuffer(primaryCmdBuffer, colorBuffer.getImage(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer.getBuffer(), 1u, ©Region); in testInvocations() 234 const auto resultAllocation = colorBuffer.getBufferAllocation(); in testInvocations()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineInputAttributeOffsetTests.cpp | 372 ImageWithBuffer colorBuffer(ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D); in iterate() 376 renderPass.createFramebuffer(ctx.vkd, ctx.device, colorBuffer.getImage(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in iterate() 465 colorBuffer.getImage(), in iterate() 466 colorBuffer.getBuffer(), in iterate() 477 invalidateAlloc(ctx.vkd, ctx.device, colorBuffer.getBufferAllocation()); in iterate() 482 const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, fbExtent, colorBuffer.getBufferAllocation().getHostPtr()); in iterate()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFragmentOpUtil.cpp | 213 void ReferenceQuadRenderer::flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer, in flushFragmentBuffer() argument 219 m_fragmentProcessor.render(colorBuffer, depthBuffer, stencilBuffer, &m_fragmentBuffer[0], m_fragmentBufferSize, faceType, state); 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()
|
H A D | glsFragmentOpUtil.hpp | 118 void render (const tcu::PixelBufferAccess& colorBuffer, 130 void flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawShaderLayerTests.cpp | 681 void draw (Context& context, const VkBuffer colorBuffer) const in draw() 727 postRenderCommands(context, colorBuffer); in draw() 739 postRenderCommands(context, colorBuffer); in draw() 753 postRenderCommands(context, colorBuffer); in draw() 773 void postRenderCommands(Context& context, VkBuffer colorBuffer) const in postRenderCommands() 776 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_renderSize.y()), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_colorSubresourceRange.layerCount); in postRenderCommands() 902 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); in testVertexShader() local 906 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader() 920 renderer.draw(context, colorBuffer->object()); in testVertexShader() 925 const Allocation alloc = colorBuffer in testVertexShader() 962 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); testTessellationShader() local [all...] |
H A D | vktDrawShaderViewportIndexTests.cpp | 731 void draw (Context& context, const VkBuffer colorBuffer) in draw() argument 776 postRenderCommands(context, colorBuffer); in draw() 788 postRenderCommands(context, colorBuffer); in draw() 802 postRenderCommands(context, colorBuffer); in draw() 856 void postRenderCommands(Context& context, VkBuffer colorBuffer) const in postRenderCommands() 859 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_renderSize.y())); in postRenderCommands() 956 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); in testVertexFragmentShader() local 960 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader() 974 renderer.draw(context, colorBuffer->object()); in testVertexFragmentShader() 979 const Allocation alloc = colorBuffer in testVertexFragmentShader() 1017 const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT), allocator, MemoryRequirement::HostVisible); testTessellationShader() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | RenderPipelineGL.cpp | 111 GLuint colorBuffer = static_cast<GLuint>(static_cast<uint8_t>(attachment)); in ApplyColorState() local 113 gl.Enablei(GL_BLEND, colorBuffer); in ApplyColorState() 114 gl.BlendEquationSeparatei(colorBuffer, GLBlendMode(state->blend->color.operation), in ApplyColorState() 116 gl.BlendFuncSeparatei(colorBuffer, in ApplyColorState() 122 gl.Disablei(GL_BLEND, colorBuffer); in ApplyColorState() 124 gl.ColorMaski(colorBuffer, state->writeMask & wgpu::ColorWriteMask::Red, in ApplyColorState()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicClass.cpp | 114 const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate() 173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate() 180 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
|
H A D | vktGeometryInstancedRenderingTests.cpp | 146 const VkBuffer colorBuffer, in draw() 198 copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.y())); in draw() 367 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT)); in test() 368 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test() 379 draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInstancePosition); in test() 142 draw(Context& context, const UVec2& renderSize, const VkFormat colorFormat, const Vec4& clearColor, const VkBuffer colorBuffer, const int numDrawInstances, const std::vector<Vec4>& perInstanceAttribute) draw() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicClass.cpp | 114 const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate() 173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate() 180 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
|
H A D | vktGeometryInstancedRenderingTests.cpp | 146 const VkBuffer colorBuffer, in draw() 198 copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.y())); in draw() 367 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT)); in test() 368 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test() 379 draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInstancePosition); in test() 142 draw(Context& context, const UVec2& renderSize, const VkFormat colorFormat, const Vec4& clearColor, const VkBuffer colorBuffer, const int numDrawInstances, const std::vector<Vec4>& perInstanceAttribute) draw() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 346 void draw (Context& context, const VkBuffer colorBuffer) const in draw() 364 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, m_renderSize); in draw() 411 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT)); in test() 412 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test() 425 renderer.draw(context, *colorBuffer); in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
H A D | vktFragmentOperationsScissorMultiViewportTests.cpp | 346 void draw (Context& context, const VkBuffer colorBuffer) const in draw() 364 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, m_renderSize); in draw() 411 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT)); in test() 412 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); in test() 425 renderer.draw(context, *colorBuffer); in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationGeometryPassthroughTests.cpp | 375 const BufferWithMemory& colorBuffer, in getPixelBufferAccess() 379 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess() 512 const BufferWithMemory* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 }; in iterate() local 597 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, colorBuffer[pipelineNdx]->get(), renderSize); in iterate() 605 tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, renderSize); in iterate() 606 tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat, renderSize); in iterate() 373 getPixelBufferAccess(const DeviceInterface& vk, const VkDevice device, const BufferWithMemory& colorBuffer, const VkFormat colorFormat, const tcu::IVec2& renderSize) getPixelBufferAccess() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationGeometryPassthroughTests.cpp | 375 const BufferWithMemory& colorBuffer, in getPixelBufferAccess() 379 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess() 512 const BufferWithMemory* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 }; in iterate() local 597 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, colorBuffer[pipelineNdx]->get(), renderSize); in iterate() 605 tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, renderSize); in iterate() 606 tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat, renderSize); in iterate() 373 getPixelBufferAccess(const DeviceInterface& vk, const VkDevice device, const BufferWithMemory& colorBuffer, const VkFormat colorFormat, const tcu::IVec2& renderSize) getPixelBufferAccess() argument
|