Split GrDrawState and GrOptDrawState into separate classes and remove base class.
Besides splitting the two classes, there are no logical changes here and mostly moving code around.
BUG=skia:
R=bsalomon@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/597323002
diff --git a/include/gpu/GrGpuResourceRef.h b/include/gpu/GrGpuResourceRef.h
index 6b3937b..3320dc0 100644
--- a/include/gpu/GrGpuResourceRef.h
+++ b/include/gpu/GrGpuResourceRef.h
@@ -75,7 +75,8 @@
called. */
void pendingIOComplete() const;
- friend class GrRODrawState;
+ friend class GrDrawState;
+ friend class GrOptDrawState;
friend class GrProgramElement;
GrGpuResource* fResource;