| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrTargetCommands.h" | 8 #include "GrTargetCommands.h" |
| 9 | 9 |
| 10 #include "GrInOrderDrawBuffer.h" | 10 #include "GrInOrderDrawBuffer.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 void GrTargetCommands::ClearStencilClip::execute(GrGpu* gpu) { | 105 void GrTargetCommands::ClearStencilClip::execute(GrGpu* gpu) { |
| 106 gpu->clearStencilClip(fRect, fInsideClip, this->renderTarget()); | 106 gpu->clearStencilClip(fRect, fInsideClip, this->renderTarget()); |
| 107 } | 107 } |
| 108 | 108 |
| 109 void GrTargetCommands::CopySurface::execute(GrGpu* gpu) { | 109 void GrTargetCommands::CopySurface::execute(GrGpu* gpu) { |
| 110 gpu->copySurface(this->dst(), this->src(), fSrcRect, fDstPoint); | 110 gpu->copySurface(this->dst(), this->src(), fSrcRect, fDstPoint); |
| 111 } | 111 } |
| 112 | 112 |
| 113 void GrTargetCommands::XferBarrier::execute(GrGpu* gpu) { | 113 void GrTargetCommands::XferBarrier::execute(GrGpu* gpu) { |
| 114 gpu->xferBarrier(fBarrierType); | 114 gpu->xferBarrier(fRenderTarget.get(), fBarrierType); |
| 115 } | 115 } |
| OLD | NEW |