gfxstream: guest: remove unnecessary includes in VkEncoder

We probably want to recreate encoder logging, but
just delete it for now.

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:
Gurchetan Singh
2024-08-29 12:29:17 -07:00
committed by Marge Bot
parent 6f0fff4634
commit 6f33f5c626
3 changed files with 2 additions and 6 deletions

View File

@@ -482,8 +482,6 @@ def emit_debug_log(typeInfo, api, cgen):
logFormatStr = ", ".join(logFormat)
logVargsStr = ", ".join(logVargs)
cgen.stmt("ENCODER_DEBUG_LOG(\"%s(%s)\", %s)" % (api.name, logFormatStr, logVargsStr))
def emit_default_encoding(typeInfo, api, cgen):
emit_debug_log(typeInfo, api, cgen)
emit_lock(cgen)

View File

@@ -321,7 +321,6 @@ class IOStream;
}} // namespace gfxstream
"""
encoderImplInclude = f"""
#include "EncoderDebug.h"
#include "Resources.h"
#include "ResourceTracker.h"
#include "Validation.h"
@@ -331,8 +330,6 @@ class IOStream;
#include "{self.guestBaseLibDirPrefix}/AlignedBuf.h"
#include "{self.guestBaseLibDirPrefix}/BumpPool.h"
#include <cutils/properties.h>
#include "goldfish_vk_marshaling_guest.h"
#include "goldfish_vk_reserved_marshaling_guest.h"
#include "goldfish_vk_deepcopy_guest.h"
@@ -356,7 +353,6 @@ class IOStream;
#include "goldfish_vk_private_defs.h"
#include <log/log.h>
#include <cstring>
// Stuff we are not going to use but if included,

View File

@@ -2,6 +2,8 @@ static ResourceTracker* sResourceTracker = nullptr;
static uint32_t sFeatureBits = 0;
static constexpr uint32_t kWatchdogBufferMax = 1'000;
#include <cutils/properties.h>
class VkEncoder::Impl {
public:
Impl(gfxstream::guest::IOStream* stream) : m_stream(stream), m_logEncodes(false) {