diff options
author | 2017-07-28 11:56:47 -0400 | |
---|---|---|
committer | 2017-07-31 16:02:42 +0000 | |
commit | df0e09feacb29290fe94d37f921731b18f2edae0 (patch) | |
tree | 8059c31deb493e101b616578f6db0d4bc4d05438 /src/gpu/ops/GrClearOp.cpp | |
parent | f57c0d67611186ba74179b53b421e64b63a579c7 (diff) |
Remove origin field from GrSurface
This mainly consists of rm origin from GrSurface and the wrapBackEnd*
methods and then re-adding an explicit origin parameter to all the
GrGpu methods that need it.
Change-Id: Iabd79ae98b227b5b9409f3ab5bbcc48af9613c18
Reviewed-on: https://skia-review.googlesource.com/26363
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/ops/GrClearOp.cpp')
-rw-r--r-- | src/gpu/ops/GrClearOp.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gpu/ops/GrClearOp.cpp b/src/gpu/ops/GrClearOp.cpp index 4cc2bf2ac3..b2d7534ebe 100644 --- a/src/gpu/ops/GrClearOp.cpp +++ b/src/gpu/ops/GrClearOp.cpp @@ -3,14 +3,14 @@ * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. - */
-
-#include "GrClearOp.h"
-
-#include "GrGpuCommandBuffer.h"
-#include "GrOpFlushState.h"
+ */ + +#include "GrClearOp.h" + +#include "GrGpuCommandBuffer.h" +#include "GrOpFlushState.h" #include "GrResourceProvider.h" -
+ GrClearOp::GrClearOp(const GrFixedClip& clip, GrColor color, GrSurfaceProxy* proxy) : INHERITED(ClassID()) , fClip(clip) |