gfxstream: Fix compiler warnings

.. for some unused function arguments.

Reviewed-by: Marcin Radomski <dextero@google.com>
Reviewed-by: Aaron Ruby <aruby@qnx.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35323>
This commit is contained in:
Serdar Kocdemir 2025-05-27 10:17:01 +01:00 committed by Marge Bot
parent 3ade950b6f
commit fd40649768
2 changed files with 2 additions and 2 deletions

View file

@ -177,7 +177,7 @@ class Gralloc {
virtual bool treatBlobAsImage() { return false; }
virtual int32_t getDataspace(const AHardwareBuffer* ahb) {
virtual int32_t getDataspace(const AHardwareBuffer* /*ahb*/) {
return GFXSTREAM_AHB_DATASPACE_UNKNOWN;
}
};

View file

@ -39,7 +39,7 @@ public:
return m_bufsize < len ? len : m_bufsize;
}
virtual int connect(const char* serviceName = nullptr) { return 0; }
virtual int connect(const char* /*serviceName*/ = nullptr) { return 0; }
virtual uint64_t processPipeInit() { return 0; }
virtual void *allocBuffer(size_t minSize) = 0;