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

Side by Side Diff: src/gpu/GrGpu.cpp

Issue 1626553002: Revert of added support for PLS path rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « src/gpu/GrGpu.h ('k') | src/gpu/GrPLSGeometryProcessor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrGpu.h" 10 #include "GrGpu.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 } 360 }
361 return false; 361 return false;
362 } 362 }
363 363
364 void GrGpu::resolveRenderTarget(GrRenderTarget* target) { 364 void GrGpu::resolveRenderTarget(GrRenderTarget* target) {
365 SkASSERT(target); 365 SkASSERT(target);
366 this->handleDirtyContext(); 366 this->handleDirtyContext();
367 this->onResolveRenderTarget(target); 367 this->onResolveRenderTarget(target);
368 } 368 }
369 369
370 void GrGpu::performFlushWorkaround() {
371 }
372
373 //////////////////////////////////////////////////////////////////////////////// 370 ////////////////////////////////////////////////////////////////////////////////
374 371
375 void GrGpu::draw(const DrawArgs& args, const GrVertices& vertices) { 372 void GrGpu::draw(const DrawArgs& args, const GrVertices& vertices) {
376 this->handleDirtyContext(); 373 this->handleDirtyContext();
377 if (GrXferBarrierType barrierType = args.fPipeline->xferBarrierType(*this->c aps())) { 374 if (GrXferBarrierType barrierType = args.fPipeline->xferBarrierType(*this->c aps())) {
378 this->xferBarrier(args.fPipeline->getRenderTarget(), barrierType); 375 this->xferBarrier(args.fPipeline->getRenderTarget(), barrierType);
379 } 376 }
380 377
381 GrVertices::Iterator iter; 378 GrVertices::Iterator iter;
382 const GrNonInstancedVertices* verts = iter.init(vertices); 379 const GrNonInstancedVertices* verts = iter.init(vertices);
383 do { 380 do {
384 this->onDraw(args, *verts); 381 this->onDraw(args, *verts);
385 fStats.incNumDraws(); 382 fStats.incNumDraws();
386 } while ((verts = iter.next())); 383 } while ((verts = iter.next()));
387 } 384 }
388
OLDNEW
« no previous file with comments | « src/gpu/GrGpu.h ('k') | src/gpu/GrPLSGeometryProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698