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

Unified Diff: include/gpu/GrCaps.h

Issue 2221393004: Include EXT_window_rectangles API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « no previous file | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrCaps.h
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index c6b535d0bba9bad4e63eaea8004cca5ba0fa755d..924546f91ca65a4960f4167537c8b84218f9e5f2 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -264,6 +264,7 @@ public:
}
}
+ int maxWindowRectangles() const { return fMaxWindowRectangles; }
virtual bool isConfigTexturable(GrPixelConfig config) const = 0;
virtual bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const = 0;
@@ -340,6 +341,7 @@ protected:
int fMaxColorSampleCount;
int fMaxStencilSampleCount;
int fMaxRasterSamples;
+ int fMaxWindowRectangles;
private:
virtual void onApplyOptionsOverrides(const GrContextOptions&) {};
« no previous file with comments | « no previous file | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698