Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(669)

Unified Diff: include/gpu/GrTexture.h

Issue 1249543003: Creating functions for uploading a mipmapped texture. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Removing the concept of a dirty mipmap. It is expected that the texture upload provides the mipmaps. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/gpu/GrTexture.h
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index ddba94065be2600847422bc887b89db46f62f9a0..15d21f41fad6b8df858bd09f08ce9d92a945eff1 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -51,16 +51,14 @@ protected:
private:
size_t onGpuMemorySize() const override;
- void dirtyMipMaps(bool mipMapsDirty);
bsalomon 2015/09/15 13:14:10 What happens if we draw to the base of a texture t
cblume 2015/09/16 18:40:46 You are right. Last night, while writing this, I t
enum MipMapsStatus {
kNotAllocated_MipMapsStatus,
- kAllocated_MipMapsStatus,
- kValid_MipMapsStatus
+ kAllocated_MipMapsStatus
};
MipMapsStatus fMipMapsStatus;
- // These two shift a fixed-point value into normalized coordinates
+ // These two shift a fixed-point value into normalized coordinates
// for this texture if the texture is power of two sized.
int fShiftFixedX;
int fShiftFixedY;

Powered by Google App Engine
This is Rietveld 408576698