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

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: Fixing rebase errors and cleaning up. Created 4 years, 10 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
« no previous file with comments | « no previous file | include/gpu/GrTextureProvider.h » ('j') | src/gpu/gl/GrGLGpu.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrTexture.h
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index c590d871756d7e0d4f6bc3d0251718898d72d3ac..45510bd21e921c275bf3514e64c5dca073770054 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -46,6 +46,7 @@ public:
protected:
GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&);
+ GrTexture(GrGpu*, LifeCycle, const GrSurfaceDesc&, bool wasMipMapDataProvided);
bsalomon 2016/02/24 14:43:15 Do we need the old constructor? Or alternatively i
cblume 2016/02/24 18:19:19 Done.
void validateDesc() const;
@@ -60,6 +61,7 @@ private:
};
MipMapsStatus fMipMapsStatus;
+ int fMaxMipMapLevel;
friend class GrTexturePriv;
« no previous file with comments | « no previous file | include/gpu/GrTextureProvider.h » ('j') | src/gpu/gl/GrGLGpu.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698