mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
gfxstream: nuke unused functions
These functions are unused. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
parent
a026b5d20f
commit
22eba755ad
2 changed files with 2 additions and 17 deletions
|
|
@ -192,7 +192,6 @@ public: \
|
|||
(void)handles[i]; delete_goldfish_##type_name((type_name)handle_u64s[i]))
|
||||
|
||||
DEFINE_RESOURCE_TRACKING_CLASS(CreateMapping, CREATE_MAPPING_IMPL_FOR_TYPE)
|
||||
DEFINE_RESOURCE_TRACKING_CLASS(UnwrapMapping, UNWRAP_MAPPING_IMPL_FOR_TYPE)
|
||||
DEFINE_RESOURCE_TRACKING_CLASS(DestroyMapping, DESTROY_MAPPING_IMPL_FOR_TYPE)
|
||||
|
||||
static uint32_t* sSeqnoPtr = nullptr;
|
||||
|
|
@ -264,9 +263,7 @@ class ResourceTracker::Impl {
|
|||
public:
|
||||
Impl() = default;
|
||||
CreateMapping createMapping;
|
||||
UnwrapMapping unwrapMapping;
|
||||
DestroyMapping destroyMapping;
|
||||
DefaultHandleMapping defaultMapping;
|
||||
|
||||
#define HANDLE_DEFINE_TRIVIAL_INFO_STRUCT(type) \
|
||||
struct type##_Info { \
|
||||
|
|
@ -7641,18 +7638,8 @@ private:
|
|||
|
||||
ResourceTracker::ResourceTracker() : mImpl(new ResourceTracker::Impl()) { }
|
||||
ResourceTracker::~ResourceTracker() { }
|
||||
VulkanHandleMapping* ResourceTracker::createMapping() {
|
||||
return &mImpl->createMapping;
|
||||
}
|
||||
VulkanHandleMapping* ResourceTracker::unwrapMapping() {
|
||||
return &mImpl->unwrapMapping;
|
||||
}
|
||||
VulkanHandleMapping* ResourceTracker::destroyMapping() {
|
||||
return &mImpl->destroyMapping;
|
||||
}
|
||||
VulkanHandleMapping* ResourceTracker::defaultMapping() {
|
||||
return &mImpl->defaultMapping;
|
||||
}
|
||||
VulkanHandleMapping* ResourceTracker::createMapping() { return &mImpl->createMapping; }
|
||||
VulkanHandleMapping* ResourceTracker::destroyMapping() { return &mImpl->destroyMapping; }
|
||||
static ResourceTracker* sTracker = nullptr;
|
||||
// static
|
||||
ResourceTracker* ResourceTracker::get() {
|
||||
|
|
|
|||
|
|
@ -41,9 +41,7 @@ public:
|
|||
static ResourceTracker* get();
|
||||
|
||||
VulkanHandleMapping* createMapping();
|
||||
VulkanHandleMapping* unwrapMapping();
|
||||
VulkanHandleMapping* destroyMapping();
|
||||
VulkanHandleMapping* defaultMapping();
|
||||
|
||||
using HostConnectionGetFunc = HostConnection* (*)();
|
||||
using VkEncoderGetFunc = VkEncoder* (*)(HostConnection*);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue