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

Unified Diff: include/gpu/GrTypes.h

Issue 580863004: Adding 3D lut color filter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added generationID for 3D texture key Created 6 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/GrTypes.h
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index 22b2e224f6edd3dbe513adb6215d1502d569403a..7df2e6022134719ac746a5c64aec636bf44d064d 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -471,6 +471,7 @@ struct GrTextureDesc {
, fOrigin(kDefault_GrSurfaceOrigin)
, fWidth(0)
, fHeight(0)
+ , fDepth(0)
, fConfig(kUnknown_GrPixelConfig)
, fSampleCnt(0) {
}
@@ -479,6 +480,7 @@ struct GrTextureDesc {
GrSurfaceOrigin fOrigin; //!< origin of the texture
int fWidth; //!< Width of the texture
int fHeight; //!< Height of the texture
+ int fDepth; //!< Depth of the texture
/**
* Format of source data of the texture. Not guaranteed to be the same as

Powered by Google App Engine
This is Rietveld 408576698