diff options
author | 2015-11-11 12:01:09 -0800 | |
---|---|---|
committer | 2015-11-11 12:01:09 -0800 | |
commit | a13e202563979fd5076936606dcc1d660da8c632 (patch) | |
tree | ac377b3d24ac59902849302c3bf9f088083c2f42 /include/gpu/GrContext.h | |
parent | 084db25d47dbad3ffbd7d15c04b63d344b351f90 (diff) |
Move GrBatchFlushState from GrDrawTarget to GrDrawingManager
This CL:
moves the flushState
disables immediate mode (it was proving difficult to implement)
also moves the program unit test to the drawing manager
BUG=skia:4094
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/1437843002
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 2d77a0f449..c40241656d 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -399,6 +399,7 @@ private: // TODO: have the CMM use drawContexts and rm this friending friend class GrClipMaskManager; // the CMM is friended just so it can call 'drawingManager' + friend class GrDrawingManager; // for access to drawingManager for ProgramUnitTest GrDrawingManager* drawingManager() { return fDrawingManager; } GrContext(); // init must be called after the constructor. |