X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fapisurface.cpp;h=7bf3c8fe5f20c8531d27a4a4feacbfc320c5ad6c;hb=e181b99a776865a5aca43a64cf6afbaa371583ab;hp=b8e820bc82f16f333aed5639fa0e59e93207f0f8;hpb=0478e5ce57e0e579468e03ad8d9022d650a99324;p=apitrace diff --git a/gui/apisurface.cpp b/gui/apisurface.cpp index b8e820b..7bf3c8f 100644 --- a/gui/apisurface.cpp +++ b/gui/apisurface.cpp @@ -44,7 +44,6 @@ QImage ApiSurface::thumb() const return m_thumb; } - int ApiSurface::depth() const { return m_depth; @@ -55,6 +54,17 @@ void ApiSurface::setDepth(int depth) m_depth = depth; } +QString ApiSurface::formatName() const +{ + return m_formatName; +} + +void ApiSurface::setFormatName(const QString &str) +{ + m_formatName = str; +} + + ApiTexture::ApiTexture() : ApiSurface() {