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

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

Issue 53823003: Add can-ignore-rect hint to clear call (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: cleaned up Created 7 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
Index: src/gpu/gl/GrGLCaps.h
===================================================================
--- src/gpu/gl/GrGLCaps.h (revision 12054)
+++ src/gpu/gl/GrGLCaps.h (working copy)
@@ -248,6 +248,8 @@
/// Is there support for discarding the frame buffer
bool discardFBSupport() const { return fDiscardFBSupport; }
+ bool fullClearIsFree() const { return fFullClearIsFree; }
+
private:
/**
* Maintains a bit per GrPixelConfig. It is used to avoid redundantly
@@ -329,6 +331,7 @@
bool fIsCoreProfile : 1;
bool fFixedFunctionSupport : 1;
bool fDiscardFBSupport : 1;
+ bool fFullClearIsFree : 1;
typedef GrDrawTargetCaps INHERITED;
};
« src/gpu/GrDrawTarget.h ('K') | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698