We have tricky logic that an earlier part of our GL state flush may change ...
12 years, 5 months ago
(2012-06-01 15:47:22 UTC)
#1
We have tricky logic that an earlier part of our GL state flush may change the
currently bound texture or RT. Later portions of the state flush need to know
whether this happened so we track some bits that we have to remember to clear at
the end of the flush.
When the RT changes (or really the viewport) we can just immediately notify the
program cache now that GrGpuGLShaders is no longer a subclass.
When the texture orientation changes it means we have to resend the texture
matrix and domain (even if their client-side values didn't change). Instead of
tracking a dirty bit, just make the program be aware the last texture
orientation it saw.
Issue 6255073: Remove ugly dirty flags from GrGpuGL state flush
(Closed)
Created 12 years, 5 months ago by bsalomon
Modified 12 years, 5 months ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0