/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
H A D | esextcFragmentShadingRateAttachmentTests.cpp | 193 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA32UI, m_tcParam.framebufferSize, m_tcParam.framebufferSize, in setupTest() 203 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGBA32UI, m_tcParam.framebufferSize, m_tcParam.framebufferSize); in setupTest() 231 const deUint32 srWidth = (m_tcParam.framebufferSize + m_srTexelWidth - 1) / m_srTexelWidth; in setupTest() 232 const deUint32 srHeight = (m_tcParam.framebufferSize + m_srTexelHeight - 1) / m_srTexelHeight; in setupTest() 324 m_scissorBox = { m_tcParam.framebufferSize / 3, m_tcParam.framebufferSize / 3, m_tcParam.framebufferSize / 3, in setupTest() 325 m_tcParam.framebufferSize / in setupTest() [all...] |
H A D | esextcFragmentShadingRateCombinedTests.cpp | 219 << " uint index = ((gl_GlobalInvocationID.y * " << m_tcParam.framebufferSize in genCS() 288 gl.texStorage2DMultisample(textureTarget, 4, GL_RGBA32F, m_tcParam.framebufferSize, m_tcParam.framebufferSize, in setupTest() 296 gl.texStorage2D(textureTarget, 1, GL_RGBA32F, m_tcParam.framebufferSize, m_tcParam.framebufferSize); in setupTest() 314 const deUint32 srWidth = (m_tcParam.framebufferSize + m_srTexelWidth - 1) / m_srTexelWidth; in setupTest() 315 const deUint32 srHeight = (m_tcParam.framebufferSize + m_srTexelHeight - 1) / m_srTexelHeight; in setupTest() 443 m_tcParam.framebufferSize * m_tcParam.framebufferSize * sampleCount * sizeof(deUint32) * kChannels; in iterate() 474 gl.dispatchCompute(m_tcParam.framebufferSize, m_tcPara in iterate() [all...] |
H A D | esextcFragmentShadingRateAttachmentTests.hpp | 61 deUint32 framebufferSize; member
|
H A D | esextcFragmentShadingRateCombinedTests.hpp | 51 deInt32 framebufferSize; member
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleResolveRenderAreaTests.cpp | 65 const tcu::IVec2 framebufferSize, in MultisampleRenderAreaTestInstance() 71 , m_framebufferSize (framebufferSize) in MultisampleRenderAreaTestInstance() 91 const tcu::IVec2& framebufferSize); 207 const tcu::IVec2& framebufferSize) in preparePipelineWrapper() 209 const std::vector<VkViewport> viewports { makeViewport(framebufferSize) }; in preparePipelineWrapper() 210 const std::vector<VkRect2D> scissors { makeRect2D(framebufferSize) }; in preparePipelineWrapper() 434 const tcu::IVec2 framebufferSize, in MultisampleRenderAreaTest() 440 , m_framebufferSize (framebufferSize) in MultisampleRenderAreaTest() 62 MultisampleRenderAreaTestInstance(Context& context, const PipelineConstructionType pipelineConstructionType, const deUint32 sampleCount, const tcu::IVec2 framebufferSize, const TestShape testShape, const VkFormat colorFormat) MultisampleRenderAreaTestInstance() argument 202 preparePipelineWrapper(GraphicsPipelineWrapper& gpw, const PipelineLayoutWrapper& pipelineLayout, const VkRenderPass renderPass, const ShaderWrapper vertexModule, const ShaderWrapper fragmentModule, const tcu::IVec2& framebufferSize) preparePipelineWrapper() argument 430 MultisampleRenderAreaTest(tcu::TestContext& testCtx, const std::string name, const PipelineConstructionType pipelineConstructionType, const deUint32 sampleCount, const tcu::IVec2 framebufferSize, const TestShape testShape, const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM) MultisampleRenderAreaTest() argument
|
H A D | vktPipelineMultisampledRenderToSingleSampledTests.cpp | 261 UVec2 framebufferSize; //!< Size of the framebuffer member 653 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.floatColor1Format)), in logTestImages() 654 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.floatColor2Format)), in logTestImages() 655 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.intColorFormat)), in logTestImages() 656 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.depthStencilFormat)), in logTestImages() 683 const IVec2 size (wd.framebufferSize in logTestImages() [all...] |
H A D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 369 std::vector<Vec2> ndcTransformEachSampleInPixel (const UVec2& framebufferSize, const deUint32 numSamplesPerPixel, const SampleAccessor& access) in ndcTransformEachSampleInPixel() argument 373 for (deUint32 y = 0; y < framebufferSize.y(); ++y) in ndcTransformEachSampleInPixel() 374 for (deUint32 x = 0; x < framebufferSize.x(); ++x) in ndcTransformEachSampleInPixel() 382 locations.push_back(Vec2(-1.0f + 2.0f * (globalX / static_cast<float>(framebufferSize.x())), in ndcTransformEachSampleInPixel() 383 -1.0f + 2.0f * (globalY / static_cast<float>(framebufferSize.y())))); in ndcTransformEachSampleInPixel() 422 std::vector<Vec2> genFramebufferStandardSampleLocations (const VkSampleCountFlagBits numSamples, const UVec2& framebufferSize) in genFramebufferStandardSampleLocations() argument 486 return ndcTransformEachSampleInPixel(framebufferSize, static_cast<deUint32>(numSamples), AccessStandardSampleLocationsArray(pSampleLocation)); in genFramebufferStandardSampleLocations() 490 std::vector<Vec2> getSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& framebufferSize) in getSampleLocations() argument 492 return ndcTransformEachSampleInPixel(framebufferSize, pixelGrid.samplesPerPixel(), AccessMultisamplePixelGrid(&pixelGrid)); in getSampleLocations()
|
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 463 std::vector<Vec2> genFramebufferSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& gridSize, const UVec2& framebufferSize) in genFramebufferSampleLocations() argument 467 for (deUint32 y = 0; y < framebufferSize.y(); ++y) in genFramebufferSampleLocations() 468 for (deUint32 x = 0; x < framebufferSize.x(); ++x) in genFramebufferSampleLocations() 476 locations.push_back(Vec2(-1.0f + 2.0f * (globalX / static_cast<float>(framebufferSize.x())), in genFramebufferSampleLocations() 477 -1.0f + 2.0f * (globalY / static_cast<float>(framebufferSize.y())))); in genFramebufferSampleLocations() 852 const UVec2& framebufferSize) in bake() 923 m_renderPass.createFramebuffer(vk, device, static_cast<deUint32>(m_attachments.size()), dataOrNullPtr(m_images), dataOrNullPtr(m_attachments), framebufferSize.x(), framebufferSize.y()); in bake() 849 bake(const DeviceInterface& vk, const VkDevice device, const PipelineConstructionType pipelineConstructionType, const UVec2& framebufferSize) bake() argument
|
H A D | vktPipelineDescriptorLimitsTests.cpp | 169 const tcu::IVec2 framebufferSize, in TestParams() 174 , m_framebufferSize (framebufferSize) in TestParams()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Clear11.cpp | 400 gl::Extents framebufferSize; in clearFramebuffer() local 405 framebufferSize = depthStencilAttachment->getSize(); in clearFramebuffer() 411 framebufferSize = colorAttachment->getSize(); in clearFramebuffer() 418 if (clearParams.scissor.x >= framebufferSize.width || in clearFramebuffer() 419 clearParams.scissor.y >= framebufferSize.height || clearParams.scissor.width == 0 || in clearFramebuffer() 436 clearParams.scissor.x + clearParams.scissor.width < framebufferSize.width || in clearFramebuffer() 437 clearParams.scissor.y + clearParams.scissor.height < framebufferSize.height; in clearFramebuffer() 706 stateManager->setSimpleViewport(framebufferSize); in clearFramebuffer()
|
H A D | Framebuffer11.cpp | 99 gl::Extents framebufferSize = colorAttachment->getSize(); in clearImpl() local 100 presentPathFastClearParams.scissor.y = framebufferSize.height - in clearImpl()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleResolveRenderAreaTests.cpp | 63 const tcu::IVec2 framebufferSize, in MultisampleRenderAreaTestInstance() 69 , m_framebufferSize (framebufferSize) in MultisampleRenderAreaTestInstance() 89 const tcu::IVec2& framebufferSize); 205 const tcu::IVec2& framebufferSize) in preparePipelineWrapper() 207 const std::vector<VkViewport> viewports { makeViewport(framebufferSize) }; in preparePipelineWrapper() 208 const std::vector<VkRect2D> scissors { makeRect2D(framebufferSize) }; in preparePipelineWrapper() 428 const tcu::IVec2 framebufferSize, in MultisampleRenderAreaTest() 434 , m_framebufferSize (framebufferSize) in MultisampleRenderAreaTest() 60 MultisampleRenderAreaTestInstance(Context& context, const PipelineConstructionType pipelineConstructionType, const deUint32 sampleCount, const tcu::IVec2 framebufferSize, const TestShape testShape, const VkFormat colorFormat) MultisampleRenderAreaTestInstance() argument 200 preparePipelineWrapper(GraphicsPipelineWrapper& gpw, const VkPipelineLayout pipelineLayout, const VkRenderPass renderPass, const VkShaderModule vertexModule, const VkShaderModule fragmentModule, const tcu::IVec2& framebufferSize) preparePipelineWrapper() argument 424 MultisampleRenderAreaTest(tcu::TestContext& testCtx, const std::string name, const PipelineConstructionType pipelineConstructionType, const deUint32 sampleCount, const tcu::IVec2 framebufferSize, const TestShape testShape, const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM) MultisampleRenderAreaTest() argument
|
H A D | vktPipelineMultisampledRenderToSingleSampledTests.cpp | 259 UVec2 framebufferSize; //!< Size of the framebuffer member 649 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.floatColor1Format)), in logTestImages() 650 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.floatColor2Format)), in logTestImages() 651 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.intColorFormat)), in logTestImages() 652 wd.framebufferSize.x() * wd.framebufferSize.y() * tcu::getPixelSize(mapVkFormat(params.depthStencilFormat)), in logTestImages() 679 const IVec2 size (wd.framebufferSize in logTestImages() [all...] |
H A D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 367 std::vector<Vec2> ndcTransformEachSampleInPixel (const UVec2& framebufferSize, const deUint32 numSamplesPerPixel, const SampleAccessor& access) in ndcTransformEachSampleInPixel() argument 371 for (deUint32 y = 0; y < framebufferSize.y(); ++y) in ndcTransformEachSampleInPixel() 372 for (deUint32 x = 0; x < framebufferSize.x(); ++x) in ndcTransformEachSampleInPixel() 380 locations.push_back(Vec2(-1.0f + 2.0f * (globalX / static_cast<float>(framebufferSize.x())), in ndcTransformEachSampleInPixel() 381 -1.0f + 2.0f * (globalY / static_cast<float>(framebufferSize.y())))); in ndcTransformEachSampleInPixel() 420 std::vector<Vec2> genFramebufferStandardSampleLocations (const VkSampleCountFlagBits numSamples, const UVec2& framebufferSize) in genFramebufferStandardSampleLocations() argument 484 return ndcTransformEachSampleInPixel(framebufferSize, static_cast<deUint32>(numSamples), AccessStandardSampleLocationsArray(pSampleLocation)); in genFramebufferStandardSampleLocations() 488 std::vector<Vec2> getSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& framebufferSize) in getSampleLocations() argument 490 return ndcTransformEachSampleInPixel(framebufferSize, pixelGrid.samplesPerPixel(), AccessMultisamplePixelGrid(&pixelGrid)); in getSampleLocations()
|
H A D | vktPipelineDescriptorLimitsTests.cpp | 168 const tcu::IVec2 framebufferSize, in DescriptorLimitTestInstance() 174 , m_framebufferSize (framebufferSize) in DescriptorLimitTestInstance() 683 const tcu::IVec2 framebufferSize, in DescriptorLimitTest() 689 , m_framebufferSize (framebufferSize) in DescriptorLimitTest() 164 DescriptorLimitTestInstance(Context& context, const PipelineConstructionType pipelineConstructionType, const TestType testType, const bool useCompShader, const tcu::IVec2 framebufferSize, const deUint32 descCount) DescriptorLimitTestInstance() argument 677 DescriptorLimitTest(tcu::TestContext& testContext, const std::string& name, const std::string& description, const PipelineConstructionType pipelineConstructionType, const TestType testType, const bool useCompShader, const tcu::IVec2 framebufferSize, const deUint32 descCount) DescriptorLimitTest() argument
|
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 462 std::vector<Vec2> genFramebufferSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& gridSize, const UVec2& framebufferSize) in genFramebufferSampleLocations() argument 466 for (deUint32 y = 0; y < framebufferSize.y(); ++y) in genFramebufferSampleLocations() 467 for (deUint32 x = 0; x < framebufferSize.x(); ++x) in genFramebufferSampleLocations() 475 locations.push_back(Vec2(-1.0f + 2.0f * (globalX / static_cast<float>(framebufferSize.x())), in genFramebufferSampleLocations() 476 -1.0f + 2.0f * (globalY / static_cast<float>(framebufferSize.y())))); in genFramebufferSampleLocations() 848 const UVec2& framebufferSize) in bake() 920 m_framebuffer = makeFramebuffer (vk, device, *m_renderPass, static_cast<deUint32>(m_attachments.size()), dataOrNullPtr(m_attachments), framebufferSize.x(), framebufferSize.y()); in bake() 846 bake(const DeviceInterface& vk, const VkDevice device, const UVec2& framebufferSize) bake() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | BlitFramebufferPerf.cpp | 119 unsigned int framebufferSize = 512; member 163 GLuint size = param.framebufferSize; in initializeBenchmark() 190 auto size = param.framebufferSize; in drawBenchmark()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawScissorTests.cpp | 69 ColorQuad scissorQuad (ColorQuad quad, VkRect2D scissor, VkExtent2D framebufferSize) in scissorQuad() argument 79 right = de::min(right, (int)framebufferSize.width); in scissorQuad() 83 bottom = de::min(bottom, (int)framebufferSize.height); in scissorQuad() 233 , framebufferSize ({WIDTH,HEIGHT}) in TestParams() 241 VkExtent2D framebufferSize; member 402 VkExtent2D framebufferSize = m_params.framebufferSize; in iterate() local 439 const FramebufferCreateInfo framebufferCreateInfo(*renderPass, colorAttachment, framebufferSize.width, framebufferSize.height, 1); in iterate() 536 const VkRect2D renderArea = makeRect2D(m_params.framebufferSize); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawScissorTests.cpp | 69 ColorQuad scissorQuad (ColorQuad quad, VkRect2D scissor, VkExtent2D framebufferSize) in scissorQuad() argument 79 right = de::min(right, (int)framebufferSize.width); in scissorQuad() 83 bottom = de::min(bottom, (int)framebufferSize.height); in scissorQuad() 233 , framebufferSize ({WIDTH,HEIGHT}) in TestParams() 241 VkExtent2D framebufferSize; member 402 VkExtent2D framebufferSize = m_params.framebufferSize; in iterate() local 439 const FramebufferCreateInfo framebufferCreateInfo(*renderPass, colorAttachment, framebufferSize.width, framebufferSize.height, 1); in iterate() 536 const VkRect2D renderArea = makeRect2D(m_params.framebufferSize); in iterate() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | FramebufferD3D.cpp | 47 const gl::Extents &framebufferSize = framebufferObject->getFirstNonNullAttachment()->getSize(); in GetClearParameters() local 60 framebufferSize.width, framebufferSize.height); in GetClearParameters()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageCompressionTranscodingSupport.cpp | 1770 const VkExtent2D framebufferSize (makeExtent2D(dstImageResolution[0], dstImageResolution[1])); in transcodeRead() 1771 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, DE_LENGTH_OF_ARRAY(attachmentBindInfos), attachmentBindInfos, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcodeRead() 1903 const VkExtent2D framebufferSize (renderSize); in transcodeWrite() 1904 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, DE_LENGTH_OF_ARRAY(attachmentBindInfos), attachmentBindInfos, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcodeWrite() 2356 const VkExtent2D framebufferSize (makeExtent2D(dstImageResolution[0], dstImageResolution[1])); in transcodeRead() 2357 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, 0, DE_NULL, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcodeRead() 2495 const VkExtent2D framebufferSize (makeExtent2 in transcodeWrite() [all...] |
H A D | vktImageTranscodingSupportTests.cpp | 654 const VkExtent2D framebufferSize (makeExtent2D(m_parameters.size[0], m_parameters.size[1])); in transcode() 655 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, 0, DE_NULL, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcode()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageCompressionTranscodingSupport.cpp | 1755 const VkExtent2D framebufferSize (makeExtent2D(dstImageResolution[0], dstImageResolution[1])); in transcodeRead() 1756 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, DE_LENGTH_OF_ARRAY(attachmentBindInfos), attachmentBindInfos, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcodeRead() 1888 const VkExtent2D framebufferSize (renderSize); in transcodeWrite() 1889 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, DE_LENGTH_OF_ARRAY(attachmentBindInfos), attachmentBindInfos, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcodeWrite() 2341 const VkExtent2D framebufferSize (makeExtent2D(dstImageResolution[0], dstImageResolution[1])); in transcodeRead() 2342 const Move<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, 0, DE_NULL, framebufferSize.width, framebufferSize.height, SINGLE_LAYER)); in transcodeRead() 2480 const VkExtent2D framebufferSize (makeExtent2 in transcodeWrite() [all...] |
/third_party/libdrm/tests/ttmtest/src/ |
H A D | xf86dristr.h | 329 CARD32 framebufferSize B32;
|
H A D | xf86dri.c | 582 *fbSize = rep.framebufferSize;
|