DescriptionWe now consider a stage to be active if it has a GrTexture *OR* a GrCustomStage/GrGLProgramStage.
This change prepares us for http://codereview.appspot.com/6306097/, which moves the GrTexture *onto* the GrCustomStage; that in turn sets us up for zero- and multi-texture effects.
DEPENDS (probably) on robertphillips@'s change to reset textures + some follow-on work to get rid of half of the vertex layout bits: a stage should default to using positions as texture coordinates.
Patch Set 1 #Patch Set 2 : Remember to call maskStageActive() #Patch Set 3 : Add GrDrawState::stageActive() #Patch Set 4 : Call GrDrawState::stageActive() from GrDrawTarget::StageWillBeUsed() #Patch Set 5 : Why look, the static function is gone! #
Total comments: 6
Patch Set 6 : More isEnabled() #
MessagesTotal messages: 9
|