Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 19449002: Replace all instances of GrRect with SkRect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/texdata.cpp ('k') | include/gpu/GrClipData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrAARectRenderer.h
diff --git a/include/gpu/GrAARectRenderer.h b/include/gpu/GrAARectRenderer.h
index a19b07afcae2b31207d9a597decd2d6152950613..607329a720c8ad7e2c61a2293cccb947a1859075 100644
--- a/include/gpu/GrAARectRenderer.h
+++ b/include/gpu/GrAARectRenderer.h
@@ -9,9 +9,9 @@
#ifndef GrAARectRenderer_DEFINED
#define GrAARectRenderer_DEFINED
-#include "GrRect.h"
#include "GrRefCnt.h"
#include "SkMatrix.h"
+#include "SkRect.h"
class GrGpu;
class GrDrawTarget;
@@ -40,9 +40,9 @@ public:
void fillAARect(GrGpu* gpu,
GrDrawTarget* target,
- const GrRect& rect,
+ const SkRect& rect,
const SkMatrix& combinedMatrix,
- const GrRect& devRect,
+ const SkRect& devRect,
bool useVertexCoverage) {
#ifdef SHADER_AA_FILL_RECT
if (combinedMatrix.rectStaysRect()) {
@@ -61,9 +61,9 @@ public:
void strokeAARect(GrGpu* gpu,
GrDrawTarget* target,
- const GrRect& rect,
+ const SkRect& rect,
const SkMatrix& combinedMatrix,
- const GrRect& devRect,
+ const SkRect& devRect,
SkScalar width,
bool useVertexCoverage);
@@ -87,19 +87,19 @@ private:
// since we now have a coverage vertex attribute
void geometryFillAARect(GrGpu* gpu,
GrDrawTarget* target,
- const GrRect& rect,
+ const SkRect& rect,
const SkMatrix& combinedMatrix,
- const GrRect& devRect,
+ const SkRect& devRect,
bool useVertexCoverage);
void shaderFillAARect(GrGpu* gpu,
GrDrawTarget* target,
- const GrRect& rect,
+ const SkRect& rect,
const SkMatrix& combinedMatrix);
void shaderFillAlignedAARect(GrGpu* gpu,
GrDrawTarget* target,
- const GrRect& rect,
+ const SkRect& rect,
const SkMatrix& combinedMatrix);
void geometryStrokeAARect(GrGpu* gpu,
« no previous file with comments | « gm/texdata.cpp ('k') | include/gpu/GrClipData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698