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

Unified Diff: src/gpu/gl/GrGpuGL.h

Issue 23542013: Improve handling of FF vertex array state (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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: src/gpu/gl/GrGpuGL.h
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
index 669f21c9be57707f45540acc4ed91707825fcaf3..98873928171757ea701ab557edcbd3935c425ff3 100644
--- a/src/gpu/gl/GrGpuGL.h
+++ b/src/gpu/gl/GrGpuGL.h
@@ -303,6 +303,9 @@ private:
fDefaultVertexArrayBoundIndexBufferID = false;
fDefaultVertexArrayBoundIndexBufferIDIsValid = false;
fDefaultVertexArrayAttribState.invalidate();
robertphillips 2013/09/09 13:53:33 NULL !=?
bsalomon 2013/09/09 14:11:44 Done.
+ if (fVBOVertexArray) {
+ fVBOVertexArray->invalidateCachedState();
+ }
}
void notifyVertexArrayDelete(GrGLuint id) {

Powered by Google App Engine
This is Rietveld 408576698