1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:07:45 +00:00

LibGL: Remove sampling code from Sampler2D

Texture sampling now happens entirely in SoftGPU thus this class will
now only be used to hold the sampler configuration.
This commit is contained in:
Stephan Unverwerth 2021-12-23 13:28:19 +01:00 committed by Brian Gianforcaro
parent 39995548e4
commit 4c944eaa41
4 changed files with 0 additions and 121 deletions

View file

@ -27,12 +27,6 @@ public:
static constexpr u8 LOG2_MAX_TEXTURE_SIZE = 11;
public:
Texture2D()
: m_sampler(*this)
{
}
~Texture2D() { }
virtual bool is_texture_2d() const override { return true; }
void upload_texture_data(GLuint lod, GLint internal_format, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels, GLsizei pixels_per_row, u8 byte_alignment);