mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 05:55:42 -04:00
21 lines
516 B
C++
21 lines
516 B
C++
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
|
// SPDX-License-Identifier: GPL-3.0
|
|
|
|
#pragma once
|
|
|
|
#include "util/shadergen.h"
|
|
|
|
class GPUShaderGen : public ShaderGen
|
|
{
|
|
public:
|
|
GPUShaderGen(RenderAPI render_api, bool supports_dual_source_blend);
|
|
~GPUShaderGen();
|
|
|
|
std::string GenerateDisplayVertexShader();
|
|
std::string GenerateDisplayFragmentShader();
|
|
std::string GenerateDisplaySharpBilinearFragmentShader();
|
|
|
|
private:
|
|
void WriteDisplayUniformBuffer(std::stringstream& ss);
|
|
};
|