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

Unified Diff: src/gpu/GrClipMaskManager.h

Issue 678683005: Scissor rect on drawinfo (Closed) Base URL: https://skia.googlesource.com/skia.git@clip_to_target
Patch Set: feedback inc Created 6 years, 2 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 | « no previous file | src/gpu/GrClipMaskManager.cpp » ('j') | src/gpu/GrGpu.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrClipMaskManager.h
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index 8a4b45a82e2d016445123b05f174ef1c058f75e9..6ed8e99dfe35080a9b5d92b55201c540125d2d58 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -11,6 +11,7 @@
#include "GrClipMaskCache.h"
#include "GrContext.h"
#include "GrDrawState.h"
+#include "GrDrawTarget.h"
#include "GrReducedClip.h"
#include "GrStencil.h"
#include "GrTexture.h"
@@ -51,9 +52,9 @@ public:
* clip. devBounds is optional but can help optimize clipping.
*/
bool setupClipping(const GrClipData* clipDataIn,
+ GrDrawTarget::DrawInfo*,
GrDrawState::AutoRestoreEffects*,
- GrDrawState::AutoRestoreStencil*,
- const SkRect* devBounds);
+ GrDrawState::AutoRestoreStencil*);
/**
* Purge resources to free up memory. TODO: This class shouldn't hold any long lived refs
« no previous file with comments | « no previous file | src/gpu/GrClipMaskManager.cpp » ('j') | src/gpu/GrGpu.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698