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:
parent
39995548e4
commit
4c944eaa41
4 changed files with 0 additions and 121 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue