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

Unified Diff: src/gpu/gl/GrGLCaps.cpp

Issue 2251573002: Implement difference clip rects with window rectangles (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: return type Created 4 years, 4 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
Index: src/gpu/gl/GrGLCaps.cpp
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 4d856ac9320d9b1b58e5a3e9f0d1d8b1eb4583d9..75ae77687975c595f879d01446b6bce8b8e7ac60 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -463,8 +463,6 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
if (ctxInfo.hasExtension("GL_EXT_window_rectangles")) {
GR_GL_GetIntegerv(gli, GR_GL_MAX_WINDOW_RECTANGLES, &fMaxWindowRectangles);
- // Protect ourselves against tracking huge amounts of window rectangle state.
- fMaxWindowRectangles = SkTMin(31, fMaxWindowRectangles);
}
if (kPowerVR54x_GrGLRenderer == ctxInfo.renderer() ||
« src/gpu/GrCaps.cpp ('K') | « src/gpu/GrWindowRectangles.h ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698