With this change a GrCustomStage implementer needs to define "static const char*
Name()" in a GrCustomStage subclass rather than having to implement separate
name() functions in the generic and GL-specific subclasses.
LGTM, mostly http://codereview.appspot.com/6220061/diff/2001/include/gpu/GrCustomStage.h File include/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6220061/diff/2001/include/gpu/GrCustomStage.h#newcode19 include/gpu/GrCustomStage.h:19: Subclasses must have a function produces a ...
http://codereview.appspot.com/6220061/diff/2001/include/gpu/GrCustomStage.h File include/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6220061/diff/2001/include/gpu/GrCustomStage.h#newcode19 include/gpu/GrCustomStage.h:19: Subclasses must have a function produces a human-readable name: ...
Issue 6220061: Tunnel name requests through factory, forcing custom effect and custom prog stage to use same impl
(Closed)
Created 13 years ago by bsalomon
Modified 13 years ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 5