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

Unified Diff: src/gpu/GrPipeline.h

Issue 2312173002: Revert of Improve usage of window rectangles (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_drawsinreducedclip
Patch Set: Created 4 years, 3 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 | « src/gpu/GrFixedClip.cpp ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPipeline.h
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h
index 8c2f538e27c6bb276c0e9cb3b8da84d71e2220ce..18f1a2a266d819303855016c55c518555357ee4d 100644
--- a/src/gpu/GrPipeline.h
+++ b/src/gpu/GrPipeline.h
@@ -16,9 +16,9 @@
#include "GrPrimitiveProcessor.h"
#include "GrProcOptInfo.h"
#include "GrProgramDesc.h"
-#include "GrScissorState.h"
#include "GrStencilSettings.h"
-#include "GrWindowRectsState.h"
+#include "GrTypesPriv.h"
+#include "GrWindowRectangles.h"
#include "SkMatrix.h"
#include "SkRefCnt.h"
@@ -60,7 +60,7 @@
const GrCaps* fCaps;
GrPipelineOptimizations fOpts;
const GrScissorState* fScissor;
- const GrWindowRectsState* fWindowRectsState;
+ const GrWindowRectangles* fWindowRects;
bool fHasStencilClip;
GrXferProcessor::DstTexture fDstTexture;
};
@@ -154,7 +154,7 @@
const GrScissorState& getScissorState() const { return fScissorState; }
- const GrWindowRectsState& getWindowRectsState() const { return fWindowRectsState; }
+ const GrWindowRectangles& getWindowRectangles() const { return fWindowRects; }
bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAA_Flag); }
bool snapVerticesToPixelCenters() const { return SkToBool(fFlags & kSnapVertices_Flag); }
@@ -223,7 +223,7 @@
typedef GrPendingProgramElement<const GrXferProcessor> ProgramXferProcessor;
RenderTarget fRenderTarget;
GrScissorState fScissorState;
- GrWindowRectsState fWindowRectsState;
+ GrWindowRectangles fWindowRects;
GrStencilSettings fStencilSettings;
GrDrawFace fDrawFace;
uint32_t fFlags;
« no previous file with comments | « src/gpu/GrFixedClip.cpp ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698