Skip to content

Commit

Permalink
[VP] Remove blt interface from MhwInterfaces base class
Browse files Browse the repository at this point in the history
Remove blt interface from MhwInterfaces base class.

Change-Id: I1e3cc821db2597bc101a8eb8bd99a11331ffad40
  • Loading branch information
xiaoton1 authored and intel-mediadev committed Feb 28, 2020
1 parent d3864ab commit 7898bbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class MhwInterfaces
MhwVdboxHcpInterface *m_hcpInterface = nullptr;
MhwVdboxHucInterface *m_hucInterface = nullptr;
MhwVdboxVdencInterface *m_vdencInterface = nullptr;
MhwBltInterface *m_bltInterface = nullptr;

//!
//! \brief Calls the factory function to initialize all requested interfaces.
Expand Down Expand Up @@ -130,7 +129,7 @@ class MhwInterfaces
//! \brief Destroys all created MHW interfaces
//! \details If the HAL creation fails, this is used for cleanup
//!
void Destroy();
virtual void Destroy();
};

extern template class MediaInterfacesFactory<MhwInterfaces>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ void MhwInterfaces::Destroy()
MOS_Delete(m_hcpInterface);
MOS_Delete(m_hucInterface);
MOS_Delete(m_vdencInterface);
MOS_Delete(m_bltInterface);
}

Codechal* CodechalDevice::CreateFactory(
Expand Down

0 comments on commit 7898bbf

Please sign in to comment.