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

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

Issue 918303003: Revert of fix for windows bot (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | 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 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 "GrAARectRenderer.h" 8 #include "GrAARectRenderer.h"
9 #include "GrBatch.h" 9 #include "GrBatch.h"
10 #include "GrBatchTarget.h" 10 #include "GrBatchTarget.h"
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 720
721 if (this->color() != that->color()) { 721 if (this->color() != that->color()) {
722 fBatch.fColor = GrColor_ILLEGAL; 722 fBatch.fColor = GrColor_ILLEGAL;
723 } 723 }
724 fGeoData.push_back_n(that->geoData()->count(), that->geoData()->begin()) ; 724 fGeoData.push_back_n(that->geoData()->count(), that->geoData()->begin()) ;
725 return true; 725 return true;
726 } 726 }
727 727
728 void generateAAStrokeRectGeometry(void* vertices, 728 void generateAAStrokeRectGeometry(void* vertices,
729 uint32_t offset, 729 uint32_t offset,
730 size_t vertexStride, 730 uint32_t vertexStride,
731 int outerVertexNum, 731 int outerVertexNum,
732 int innerVertexNum, 732 int innerVertexNum,
733 GrColor color, 733 GrColor color,
734 const SkRect& devOutside, 734 const SkRect& devOutside,
735 const SkRect& devOutsideAssist, 735 const SkRect& devOutsideAssist,
736 const SkRect& devInside, 736 const SkRect& devInside,
737 bool miterStroke, 737 bool miterStroke,
738 bool tweakAlphaForCoverage) const { 738 bool tweakAlphaForCoverage) const {
739 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + offset; 739 intptr_t verts = reinterpret_cast<intptr_t>(vertices) + offset;
740 740
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 894
895 if (devInside.isEmpty()) { 895 if (devInside.isEmpty()) {
896 this->fillAARect(target, pipelineBuilder, color, viewMatrix, devOutside, 896 this->fillAARect(target, pipelineBuilder, color, viewMatrix, devOutside,
897 devOutside); 897 devOutside);
898 return; 898 return;
899 } 899 }
900 900
901 this->geometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOu tside, 901 this->geometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOu tside,
902 devOutsideAssist, devInside, true); 902 devOutsideAssist, devInside, true);
903 } 903 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698