aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar krajcevski <krajcevski@google.com>2014-08-18 07:52:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-18 07:52:17 -0700
commitb1aded8edd1d809cded20ff546c6e9218b43cda4 (patch)
treebc77d8b598e7ea9553199358e8881fffe16fb98c /include
parentde512d9a6cbbc5327521b65d06125810009f3dc1 (diff)
Add flag to bench/render pictures
R=robertphillips@google.com, bsalomon@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/464423003
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrContextFactory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrContextFactory.h b/include/gpu/GrContextFactory.h
index f6677bbe29..bc06594c80 100644
--- a/include/gpu/GrContextFactory.h
+++ b/include/gpu/GrContextFactory.h
@@ -202,6 +202,8 @@ public:
return NULL;
}
+ const GrContext::Options& getGlobalOptions() const { return fGlobalOptions; }
+
private:
struct GPUContext {
GLContextType fType;