kwinglutils: Deprecate GLTexture dirty state tracking
It's currently being used only by the X11 standalone backend. We should either port the X11 backend to manual dirty state tracking or waiting until it gets dropped. The main motivation for getting rid of the dirty state tracking in the GLTexture is that it keeps kwin open for alternative opengl wrappers, e.g. QOpenGL, and it simplifies GLTexture code.
This commit is contained in:
parent
e9af67af3e
commit
436187762e
1 changed files with 4 additions and 1 deletions
|
@ -117,10 +117,13 @@ public:
|
||||||
* Make the texture fully transparent
|
* Make the texture fully transparent
|
||||||
*/
|
*/
|
||||||
void clear();
|
void clear();
|
||||||
|
/**
|
||||||
|
* @deprecated track modifications to the texture yourself
|
||||||
|
*/
|
||||||
|
void setDirty();
|
||||||
bool isDirty() const;
|
bool isDirty() const;
|
||||||
void setFilter(GLenum filter);
|
void setFilter(GLenum filter);
|
||||||
void setWrapMode(GLenum mode);
|
void setWrapMode(GLenum mode);
|
||||||
void setDirty();
|
|
||||||
|
|
||||||
void generateMipmaps();
|
void generateMipmaps();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue