Index: include/gpu/GrXferProcessor.h |
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h |
index fa9dca211e8fcd24ea0fb81c4c8b743da09a33f8..8458a620feb07805de18c474d7c679408cbad972 100644 |
--- a/include/gpu/GrXferProcessor.h |
+++ b/include/gpu/GrXferProcessor.h |
@@ -167,14 +167,14 @@ public: |
const GrProcOptInfo& coveragePOI, |
bool doesStencilWrite, |
GrColor* overrideColor, |
- const GrDrawTargetCaps& caps); |
+ const GrCaps& caps); |
/** |
* Returns whether this XP will require an Xfer barrier on the given rt. If true, outBarrierType |
* is updated to contain the type of barrier needed. |
*/ |
bool willNeedXferBarrier(const GrRenderTarget* rt, |
- const GrDrawTargetCaps& caps, |
+ const GrCaps& caps, |
GrXferBarrierType* outBarrierType) const; |
struct BlendInfo { |
@@ -264,7 +264,7 @@ private: |
const GrProcOptInfo& coveragePOI, |
bool doesStencilWrite, |
GrColor* overrideColor, |
- const GrDrawTargetCaps& caps) = 0; |
+ const GrCaps& caps) = 0; |
/** |
* Sets a unique key on the GrProcessorKeyBuilder that is directly associated with this xfer |
@@ -278,7 +278,7 @@ private: |
* of barrier. |
*/ |
virtual bool onWillNeedXferBarrier(const GrRenderTarget*, |
- const GrDrawTargetCaps&, |
+ const GrCaps&, |
GrXferBarrierType* outBarrierType SK_UNUSED) const { |
return false; |
} |
@@ -320,7 +320,7 @@ public: |
GrXferProcessor* createXferProcessor(const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI, |
const GrDeviceCoordTexture* dstCopy, |
- const GrDrawTargetCaps& caps) const; |
+ const GrCaps& caps) const; |
/** |
* This function returns true if the GrXferProcessor generated from this factory will be able to |
@@ -343,7 +343,7 @@ public: |
virtual void getInvariantOutput(const GrProcOptInfo& colorPOI, const GrProcOptInfo& coveragePOI, |
InvariantOutput*) const = 0; |
- bool willNeedDstCopy(const GrDrawTargetCaps& caps, const GrProcOptInfo& colorPOI, |
+ bool willNeedDstCopy(const GrCaps& caps, const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI) const; |
bool isEqual(const GrXPFactory& that) const { |
@@ -371,7 +371,7 @@ protected: |
uint32_t fClassID; |
private: |
- virtual GrXferProcessor* onCreateXferProcessor(const GrDrawTargetCaps& caps, |
+ virtual GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, |
const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI, |
const GrDeviceCoordTexture* dstCopy) const = 0; |
@@ -379,7 +379,7 @@ private: |
* Returns true if the XP generated by this factory will explicitly read dst in the fragment |
* shader. |
*/ |
- virtual bool willReadDstColor(const GrDrawTargetCaps& caps, |
+ virtual bool willReadDstColor(const GrCaps& caps, |
const GrProcOptInfo& colorPOI, |
const GrProcOptInfo& coveragePOI) const = 0; |