Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DWebGLFramebufferTest.cpp35 GLRenderbuffer *colorBuffer,
153 GLRenderbuffer *colorBuffer, in testAttachment() argument
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() argument
359 testAttachment(width, height, colorBuffer, GL_DEPTH_STENCIL_ATTACHMENT, &depthStencilBuffer, in testDepthStencilRenderbuffer()
[all …]
/third_party/vk-gl-cts/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…
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp698 …erFragment, 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 …t 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 …actor, 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 …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);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp191 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/skia/modules/svg/src/
DSkSVGXMLDOM.cpp47 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/draw/
DvktDrawShaderLayerTests.cpp670 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_ren… in postRenderCommands()
891 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInf… in testVertexShader() local
895 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
909 renderer.draw(context, colorBuffer->object()); in testVertexShader()
914 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
[all …]
DvktDrawShaderViewportIndexTests.cpp727 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_ren… in postRenderCommands()
952 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(… in testVertexFragmentShader() local
956 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader()
970 renderer.draw(context, colorBuffer->object()); in testVertexFragmentShader()
975 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawShaderLayerTests.cpp670 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_ren… in postRenderCommands()
891 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInf… in testVertexShader() local
895 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
909 renderer.draw(context, colorBuffer->object()); in testVertexShader()
914 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
[all …]
DvktDrawShaderViewportIndexTests.cpp727 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_ren… in postRenderCommands()
952 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(… in testVertexFragmentShader() local
956 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader()
970 renderer.draw(context, colorBuffer->object()); in testVertexFragmentShader()
975 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp111 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/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,
/third_party/vk-gl-cts/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()
367 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in test() local
368 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
379 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
DvktGeometryBasicClass.cpp114 …const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSiz… in iterate() local
173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
180 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp146 const VkBuffer colorBuffer, in draw() argument
198 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, colorBuffer, tcu::IVec2(renderSize.x(), renderSize.… in draw()
367 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in test() local
368 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
379 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
DvktGeometryBasicClass.cpp114 …const BufferWithMemory colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSiz… in iterate() local
173 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
180 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp346 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_TR… in test() local
412 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
425 renderer.draw(context, *colorBuffer); in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp346 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_TR… in test() local
412 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
425 renderer.draw(context, *colorBuffer); in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp375 const BufferWithMemory& colorBuffer, in getPixelBufferAccess() argument
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(), renderSi… in iterate()
605 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate()
606 …tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp375 const BufferWithMemory& colorBuffer, in getPixelBufferAccess() argument
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(), renderSi… in iterate()
605 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate()
606 …tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderProvokingVertexTestsEXT.cpp305 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate() local
308 …const auto colorView = makeImageView(vkd, device, colorBuffer.get(), viewType, colorFormat, color… in iterate()
387 colorBuffer.get(), colorSRR); in iterate()
392 …vkd.cmdCopyImageToBuffer(cmdBuffer, colorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, verif… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderProvokingVertexTestsEXT.cpp305 ImageWithMemory colorBuffer (vkd, device, alloc, colorBufferInfo, MemoryRequirement::Any); in iterate() local
308 …const auto colorView = makeImageView(vkd, device, colorBuffer.get(), viewType, colorFormat, color… in iterate()
387 colorBuffer.get(), colorSRR); in iterate()
392 …vkd.cmdCopyImageToBuffer(cmdBuffer, colorBuffer.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, verif… in iterate()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp141 if(colorBuffer[index] && colorBuffer[index]->getFormat().isFloatFormat()) in isColorClamped()
153 if(colorBuffer[index]) in colorFormat()
155 return colorBuffer[index]->getFormat(); in colorFormat()
1158 …if(!attachments.colorBuffer[index] || attachments.colorBuffer[index]->getFormat() == VK_FORMAT_UND… in colorWriteActive()

123456