Chromium Code Reviews| Index: src/gpu/GrDrawState.h |
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
| index 97516e80432190adc444b68cf306e55ae5a68933..6b7bee3ac9b1175565c8395c322943b2438e69a3 100644 |
| --- a/src/gpu/GrDrawState.h |
| +++ b/src/gpu/GrDrawState.h |
| @@ -143,6 +143,11 @@ public: |
| /// @} |
| /** |
| + * Determines whether src alpha is guaranteed to be one for all src pixels |
| + */ |
| + bool srcAlphaWillBeOne() const; |
|
Chris Dalton
2014/11/11 00:44:45
Move here to make public
|
| + |
| + /** |
| * Depending on features available in the underlying 3D API and the color blend mode requested |
| * it may or may not be possible to correctly blend with fractional pixel coverage generated by |
| * the fragment shader. |
| @@ -804,11 +809,6 @@ private: |
| GrBlendCoeff* srcCoeff = NULL, |
| GrBlendCoeff* dstCoeff = NULL) const; |
| - /** |
| - * Determines whether src alpha is guaranteed to be one for all src pixels |
| - */ |
| - bool srcAlphaWillBeOne() const; |
| - |
| void invalidateOptState() const; |
| void onReset(const SkMatrix* initialViewMatrix); |