jak-project/game/graphics/opengl_renderer/SkyBlendCPU.h

29 lines
678 B
C
Raw Normal View History

#pragma once
#include "common/dma/dma_chain_read.h"
#include "game/graphics/opengl_renderer/BucketRenderer.h"
#include "game/graphics/opengl_renderer/SkyBlendCommon.h"
#include "game/graphics/pipelines/opengl.h"
class SkyBlendCPU {
public:
SkyBlendCPU();
~SkyBlendCPU();
SkyBlendStats do_sky_blends(DmaFollower& dma,
SharedRenderState* render_state,
ScopedProfilerNode& prof);
void init_textures(TexturePool& tex_pool);
private:
static constexpr int m_sizes[2] = {32, 64};
std::vector<u8> m_texture_data[2];
2022-03-04 18:22:01 -05:00
struct TexInfo {
GLuint gl;
u32 tbp;
GpuTexture* tex;
} m_textures[2];
};