Home
last modified time | relevance | path

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

123

/external/angle/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 …]
/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/angle/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()
/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/
DvktDrawShaderLayerTests.cpp637 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
672 …copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_ren… in draw()
735 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInf… in testVertexShader() local
739 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
753 renderer.draw(context, colorBuffer->object()); in testVertexShader()
758 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexShader()
795 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInf… in testTessellationShader() local
799 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
813 renderer.draw(context, colorBuffer->object()); in testTessellationShader()
818 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
DvktDrawShaderViewportIndexTests.cpp712 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
767 …copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, tcu::IVec2(m_renderSize.x(), m_ren… in draw()
818 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(… in testVertexFragmentShader() local
822 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader()
836 renderer.draw(context, colorBuffer->object()); in testVertexFragmentShader()
841 const Allocation alloc = colorBuffer->getBoundMemory(); in testVertexFragmentShader()
879 …const SharedPtr<Buffer> colorBuffer = Buffer::createAndAlloc(vk, device, makeBufferCreateInfo(… in testTessellationShader() local
883 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
897 renderer.draw(context, colorBuffer->object()); in testTessellationShader()
902 const Allocation alloc = colorBuffer->getBoundMemory(); in testTessellationShader()
/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/
DvktGeometryBasicClass.cpp111 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate() local
170 copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, *colorBuffer, resolution); in iterate()
177 const Allocation& colorBufferAlloc = colorBuffer.getAllocation(); in iterate()
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()
DvktGeometryLayeredRenderingTests.cpp1245 …const Unique<VkBuffer> colorBuffer (makeBuffer (vk, device, colorBufferSize, VK_BUFFER_USA… in test() local
1246 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer in test()
1271 copyLayeredImageToBuffer(vk, *cmdBuffer, *colorImage, *colorBuffer, params.image); in test()
1328 …const Unique<VkBuffer> colorBuffer (makeBuffer (vk, device, colorBufferSize, VK_BUFFER_USA… in testLayeredReadBack() local
1329 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer (vk, device, allocator, *colorBuffer in testLayeredReadBack()
1413 …vk.cmdCopyBufferToImage(*cmdBuffer, *colorBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMA… in testLayeredReadBack()
1516 …rMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, VK_WHOLE… in testLayeredReadBack()
1519 …ToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region); in testLayeredReadBack()
1600 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_T… in testSecondaryCmdBuffer() local
1601 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Me… in testSecondaryCmdBuffer()
[all …]
/external/OpenCL-CTS/test_conformance/gles/
Dtest_fence_sync.cpp413 glBufferWrapper vtxBuffer, colorBuffer; in test_fence_sync_single() local
415 glGenBuffers( 1, &colorBuffer ); in test_fence_sync_single()
422 glBindBuffer( GL_ARRAY_BUFFER, colorBuffer ); in test_fence_sync_single()
436 streams[ 1 ] = (*clCreateFromGLBuffer_ptr)( context, CL_MEM_READ_WRITE, colorBuffer, &error ); in test_fence_sync_single()
496 glBindBuffer( GL_ARRAY_BUFFER, colorBuffer ); in test_fence_sync_single()
596 glDeleteBuffers( 1, &colorBuffer ); in test_fence_sync_single()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp347 void draw (Context& context, const VkBuffer colorBuffer) const in draw()
365 copyImageToBuffer(vk, *m_cmdBuffer, *m_colorImage, colorBuffer, m_renderSize); in draw()
412 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in test() local
413 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in test()
426 renderer.draw(context, *colorBuffer); in test()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp365 const Buffer& colorBuffer, in getPixelBufferAccess() argument
369 const Allocation& alloc = colorBuffer.getAllocation(); in getPixelBufferAccess()
502 const Buffer* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 }; in iterate() local
587 …copyImageToBuffer(vk, *cmdBuffer, *colorAttachmentImage, colorBuffer[pipelineNdx]->get(), renderSi… in iterate()
595 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat… in iterate()
596 …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()
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()
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()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_fence_sync.cpp423 glBufferWrapper vtxBuffer, colorBuffer; in test_fence_sync_single() local
425 glGenBuffers( 1, &colorBuffer ); in test_fence_sync_single()
432 glBindBuffer( GL_ARRAY_BUFFER, colorBuffer ); in test_fence_sync_single()
466 streams[ 1 ] = (*clCreateFromGLBuffer_ptr)( context, CL_MEM_READ_WRITE, colorBuffer, &error ); in test_fence_sync_single()
541 glBindBuffer( GL_ARRAY_BUFFER, colorBuffer ); in test_fence_sync_single()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderFragmentMaskTests.cpp443 Move<VkBuffer> colorBuffer; //!< Buffer used to copy image data member
707 …const VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(*wd.colorBuffer, 0u, wd.colorB… in drawAndSampleInputAttachment()
898 *wd.colorBuffer, // VkBuffer buffer; in drawAndSampleInputAttachment()
1080 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(*wd.colorBuffer, 0ull, wd… in dispatchSampleImage()
1115 *wd.colorBuffer, // VkBuffer buffer; in dispatchSampleImage()
1171 wd.colorBuffer = makeBuffer(vk, device, wd.colorBufferSize, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT); in test()
1172 …wd.colorBufferAlloc = bindBuffer(vk, device, *allocator, *wd.colorBuffer, MemoryRequirement::HostV… in test()
DvktPipelineStencilExportTests.cpp465 …const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TR… in testStencilExportReplace() local
466 …const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, Mem… in testStencilExportReplace()
523 …copyImageToBuffer(vk, *cmdBuffer, *colorImage, *colorBuffer, tcu::IVec2(renderSize.x(), renderSize… in testStencilExportReplace()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp1143 const std::vector<tcu::Vec4> colorBuffer (drawBuffer.size(), tcu::Vec4(0.5f, 0.5f, 0.5f, 1.0f)); in iterate() local
1150 drawPrimitives(resultImage, drawBuffer, colorBuffer, GL_TRIANGLES); in iterate()
1572 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1576 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1577 extractTriangles(triangles, drawBuffer, colorBuffer); in iterate()
1583 …tcu::TestLog::Message << "\t" << drawBuffer[vtxNdx] << ",\tcolor= " << colorBuffer[vtxNdx] << tcu:… in iterate()
1587 drawPrimitives(resultImage, drawBuffer, colorBuffer, m_primitive); in iterate()
1769 std::vector<tcu::Vec4> colorBuffer; in iterate() local
1773 generateVertices(m_iteration, drawBuffer, colorBuffer); in iterate()
1774 extractLines(lines, drawBuffer, colorBuffer); in iterate()
[all …]

123