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:
committed by
Marge Bot
parent
3ade950b6f
commit
fd40649768
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user