Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75767

QVulkanFunctions, QVulkanDeviceFunctions constness

    XMLWordPrintable

Details

    • Suggestion
    • Status: Reported
    • P2: Important
    • Resolution: Unresolved
    • 5.13.0 Beta3
    • 6.0.0
    • GUI: Vulkan
    • None
    • All

    Description

      Currently, the wrappers contained in QVulkanFunctions and QVulkanDeviceFunctions are non-const methods. However, since they simple read a member variable and call a function it looks they could safely be const.

      Doing that would improve the reusability of QVulkanFunctions and QVulkanDeviceFunctions in conjunction with third party wrappers (in my case, Vulkan-Hpp).

      Attachments

        1. qtbase-vulkan_hpp.patch
          0.3 kB
          Steffen Seeger
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            foobarres Frank Richter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes