Axe a few unused functions from TraceDump
This commit is contained in:
@@ -24,38 +24,6 @@ class GL4TraceDump : public TraceDump {
|
||||
std::unique_ptr<gpu::GraphicsSystem> CreateGraphicsSystem() override {
|
||||
return std::unique_ptr<gpu::GraphicsSystem>(new GL4GraphicsSystem());
|
||||
}
|
||||
|
||||
uintptr_t GetColorRenderTarget(uint32_t pitch, MsaaSamples samples,
|
||||
uint32_t base,
|
||||
ColorRenderTargetFormat format) override {
|
||||
auto command_processor = static_cast<GL4CommandProcessor*>(
|
||||
graphics_system_->command_processor());
|
||||
return command_processor->GetColorRenderTarget(pitch, samples, base,
|
||||
format);
|
||||
}
|
||||
|
||||
uintptr_t GetDepthRenderTarget(uint32_t pitch, MsaaSamples samples,
|
||||
uint32_t base,
|
||||
DepthRenderTargetFormat format) override {
|
||||
auto command_processor = static_cast<GL4CommandProcessor*>(
|
||||
graphics_system_->command_processor());
|
||||
return command_processor->GetDepthRenderTarget(pitch, samples, base,
|
||||
format);
|
||||
}
|
||||
|
||||
uintptr_t GetTextureEntry(const TextureInfo& texture_info,
|
||||
const SamplerInfo& sampler_info) override {
|
||||
auto command_processor = static_cast<GL4CommandProcessor*>(
|
||||
graphics_system_->command_processor());
|
||||
|
||||
auto entry_view =
|
||||
command_processor->texture_cache()->Demand(texture_info, sampler_info);
|
||||
if (!entry_view) {
|
||||
return 0;
|
||||
}
|
||||
auto texture = entry_view->texture;
|
||||
return static_cast<uintptr_t>(texture->handle);
|
||||
}
|
||||
};
|
||||
|
||||
int trace_dump_main(const std::vector<std::wstring>& args) {
|
||||
|
||||
Reference in New Issue
Block a user