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

Unified Diff: src/gpu/GrDrawState.h

Issue 498483002: Store vertex size in DrawState when setVertexAttribs is called (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add size assert Created 6 years, 4 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 | src/gpu/GrDrawState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawState.h
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index ce0a583084dffc2f19f21cc03b5257c692a7c466..cc1df05ec31b03bc6fd14766857ee07addea950c 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -783,6 +783,7 @@ private:
uint32_t fFlagBits;
const GrVertexAttrib* fVAPtr;
int fVACount;
+ size_t fVertexSize;
GrStencilSettings fStencilSettings;
uint8_t fCoverage;
DrawFace fDrawFace;
« no previous file with comments | « no previous file | src/gpu/GrDrawState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698