Home
last modified time | relevance | path

Searched refs:wind (Results 1 – 25 of 64) sorted by relevance

123

/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor_GSImpl.cpp58 GrShaderVar wind("wind", kHalf_GrSLType); in emitGeometryShader() local
59 g->declareGlobal(wind); in emitGeometryShader()
64 g->codeAppendf("%s = sign(area_x2);", wind.c_str()); in emitGeometryShader()
76 position, coverage, wind.c_str()); in emitGeometryShader()
89 this->onEmitGeometryShader(g, wind, emitVertexFn.c_str()); in emitGeometryShader()
92 virtual void onEmitGeometryShader(GrGLSLGeometryBuilder*, const GrShaderVar& wind,
109 void onEmitGeometryShader(GrGLSLGeometryBuilder* g, const GrShaderVar& wind, in onEmitGeometryShader() argument
112 fShader->emitSetupCode(g, "pts", nullptr, wind.c_str(), &vars); in onEmitGeometryShader()
124 g->codeAppendf("int i = %s > 0 ? sk_InvocationID : 1 - sk_InvocationID;", wind.c_str()); in onEmitGeometryShader()
126 g->codeAppendf("float2 left = %s[%s > 0 ? (1 - i) * 2 : i + 1];", hullPts, wind.c_str()); in onEmitGeometryShader()
[all …]
DGrCCTriangleShader.cpp18 const char* wind) { in onEmitVaryings() argument
22 code->appendf("%s = %s;", OutName(fCoverageTimesWind), wind); in onEmitVaryings()
25 code->appendf("%s = %s * %s;", OutName(fCoverageTimesWind), inputCoverage, wind); in onEmitVaryings()
35 const char* repetitionID, const char* wind, in emitSetupCode() argument
53 s->codeAppendf("float2 leftdir = normalize(vectors[%s > 0 ? 0 : 1]);", wind); in emitSetupCode()
54 s->codeAppendf("float2 rightdir = normalize(vectors[%s > 0 ? 1 : 0]);", wind); in emitSetupCode()
69 s->codeAppendf( "float2 n = -vectors[%s > 0 ? i : 1 - i];", wind); in emitSetupCode()
91 const char* wind) { in onEmitVaryings() argument
109 code->appendf("%s = %s * .5;", OutName(fWindTimesHalf), wind); in onEmitVaryings()
DGrCCQuadraticShader.cpp17 const char* repetitionID, const char* wind, in emitSetupCode() argument
29 s->codeAppendf("float2 edgept0 = %s[%s > 0 ? 2 : 0];", pts, wind); in emitSetupCode()
30 s->codeAppendf("float2 edgept1 = %s[%s > 0 ? 0 : 2];", pts, wind); in emitSetupCode()
39 const char* wind) { in onEmitVaryings() argument
49 code->appendf("%s.w = %s;", OutName(fXYDW), wind); in onEmitVaryings()
DGrCCTriangleShader.h21 const char* position, const char* inputCoverage, const char* wind) override;
34 const char* wind, GeometryVars*) const override;
36 const char* position, const char* inputCoverage, const char* wind) override;
DGrCCCubicShader.cpp16 const char* repetitionID, const char* wind, in emitSetupCode() argument
68 "0, 0, orientation[1] * %s);", fKLMMatrix.c_str(), wind, wind); in emitSetupCode()
72 s->codeAppendf("short edgeidx0 = %s > 0 ? 3 : 0;", wind); in emitSetupCode()
DGrCCCoverageProcessor.h162 const char* repetitionID, const char* wind, in emitSetupCode() argument
167 const char* wind) { in emitVaryings() argument
169 this->onEmitVaryings(varyingHandler, scope, code, position, inputCoverage, wind); in emitVaryings()
192 const char* wind) = 0;
DGrCCQuadraticShader.h26 const char* wind, GeometryVars*) const final;
31 const char* position, const char* inputCoverage, const char* wind) final;
DGrCCCubicShader.h27 const char* wind, GeometryVars*) const final;
32 const char* position, const char* inputCoverage, const char* wind) final;
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor_GSImpl.cpp58 GrShaderVar wind("wind", kHalf_GrSLType); in emitGeometryShader() local
59 g->declareGlobal(wind); in emitGeometryShader()
67 g->codeAppendf("%s = sign(area_x2);", wind.c_str()); in emitGeometryShader()
72 g->codeAppendf("%s = sk_in[0].sk_Position.w;", wind.c_str()); in emitGeometryShader()
85 position, coverage, wind.c_str()); in emitGeometryShader()
98 this->onEmitGeometryShader(g, wind, emitVertexFn.c_str()); in emitGeometryShader()
101 virtual void onEmitGeometryShader(GrGLSLGeometryBuilder*, const GrShaderVar& wind,
118 void onEmitGeometryShader(GrGLSLGeometryBuilder* g, const GrShaderVar& wind, in onEmitGeometryShader() argument
121 fShader->emitSetupCode(g, "pts", nullptr, wind.c_str(), &vars); in onEmitGeometryShader()
133 g->codeAppendf("int i = %s > 0 ? sk_InvocationID : 1 - sk_InvocationID;", wind.c_str()); in onEmitGeometryShader()
[all …]
DGrCCTriangleShader.cpp18 const char* wind) { in onEmitVaryings() argument
23 code->appendf("%s = %s;", OutName(fCoverageTimesWind), wind); in onEmitVaryings()
26 code->appendf("%s = %s * %s;", OutName(fCoverageTimesWind), inputCoverage, wind); in onEmitVaryings()
36 const char* repetitionID, const char* wind, in emitSetupCode() argument
54 s->codeAppendf("float2 leftdir = normalize(vectors[%s > 0 ? 0 : 1]);", wind); in emitSetupCode()
55 s->codeAppendf("float2 rightdir = normalize(vectors[%s > 0 ? 1 : 0]);", wind); in emitSetupCode()
70 s->codeAppendf( "float2 n = -vectors[%s > 0 ? i : 1 - i];", wind); in emitSetupCode()
92 const char* wind) { in onEmitVaryings() argument
111 code->appendf("%s = %s * .5;", OutName(fWindTimesHalf), wind); in onEmitVaryings()
DGrCCQuadraticShader.cpp17 const char* repetitionID, const char* wind, in emitSetupCode() argument
29 s->codeAppendf("float2 edgept0 = %s[%s > 0 ? 2 : 0];", pts, wind); in emitSetupCode()
30 s->codeAppendf("float2 edgept1 = %s[%s > 0 ? 0 : 2];", pts, wind); in emitSetupCode()
39 const char* wind) { in onEmitVaryings() argument
49 code->appendf("%s.w = %s;", OutName(fXYDW), wind); in onEmitVaryings()
DGrCCTriangleShader.h21 const char* position, const char* inputCoverage, const char* wind) override;
34 const char* wind, GeometryVars*) const override;
36 const char* position, const char* inputCoverage, const char* wind) override;
DGrCCCubicShader.cpp16 const char* repetitionID, const char* wind, in emitSetupCode() argument
68 "0, 0, orientation[1] * %s);", fKLMMatrix.c_str(), wind, wind); in emitSetupCode()
72 s->codeAppendf("short edgeidx0 = %s > 0 ? 3 : 0;", wind); in emitSetupCode()
DGrCCCoverageProcessor.h171 const char* repetitionID, const char* wind, in emitSetupCode() argument
176 const char* wind) { in emitVaryings() argument
178 this->onEmitVaryings(varyingHandler, scope, code, position, inputCoverage, wind); in emitVaryings()
201 const char* wind) = 0;
DGrCCCubicShader.h27 const char* wind, GeometryVars*) const final;
32 const char* position, const char* inputCoverage, const char* wind) final;
DGrCCQuadraticShader.h26 const char* wind, GeometryVars*) const final;
31 const char* position, const char* inputCoverage, const char* wind) final;
DGrCCPathParser.cpp231 float wind = ax*by - ay*bx; in saveParsedPath() local
232 if ((wind > 0) != (-tessWinding > 0)) { // Tessellator has opposite winding sense. in saveParsedPath()
/external/skqp/src/pathops/
DSkPathOpsWinding.cpp289 int wind = 0; in sortableTop() local
317 SkTSwap(wind, oppWind); in sortableTop()
319 int lastWind = wind; in sortableTop()
323 wind += windValue; in sortableTop()
327 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop()
336 || (abs(wind) == abs(lastWind) in sortableTop()
337 && (windSum ^ wind ^ lastWind) == spanSum)); in sortableTop()
360 SkTSwap(wind, oppWind); in sortableTop()
DSkPathOpsDebug.cpp500 bool SkPathOpsDebug::ValidWind(int wind) { in ValidWind() argument
501 return wind > SK_MinS32 + 0xFFFF && wind < SK_MaxS32 - 0xFFFF; in ValidWind()
504 void SkPathOpsDebug::WindingPrintf(int wind) { in WindingPrintf() argument
505 if (wind == SK_MinS32) { in WindingPrintf()
508 SkDebugf("%d", wind); in WindingPrintf()
1349 int wind = 0; in debugValidate() local
1370 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1372 wind &= 1; in debugValidate()
1383 SkASSERT(wind == 0 || !SkPathOpsDebug::gRunFail); in debugValidate()
/external/skia/src/pathops/
DSkPathOpsWinding.cpp289 int wind = 0; in sortableTop() local
317 SkTSwap(wind, oppWind); in sortableTop()
319 int lastWind = wind; in sortableTop()
323 wind += windValue; in sortableTop()
327 int windSum = SkOpSegment::UseInnerWinding(lastWind, wind) ? wind : lastWind; in sortableTop()
336 || (abs(wind) == abs(lastWind) in sortableTop()
337 && (windSum ^ wind ^ lastWind) == spanSum)); in sortableTop()
360 SkTSwap(wind, oppWind); in sortableTop()
DSkPathOpsDebug.cpp500 bool SkPathOpsDebug::ValidWind(int wind) { in ValidWind() argument
501 return wind > SK_MinS32 + 0xFFFF && wind < SK_MaxS32 - 0xFFFF; in ValidWind()
504 void SkPathOpsDebug::WindingPrintf(int wind) { in WindingPrintf() argument
505 if (wind == SK_MinS32) { in WindingPrintf()
508 SkDebugf("%d", wind); in WindingPrintf()
1349 int wind = 0; in debugValidate() local
1370 wind += next->debugSign() * (op ? minSpan->oppValue() : minSpan->windValue()); in debugValidate()
1372 wind &= 1; in debugValidate()
1383 SkASSERT(wind == 0 || !SkPathOpsDebug::gRunFail); in debugValidate()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowActivity.java207 public void setWindow(TestWindow wind){ in setWindow() argument
208 window = wind; in setWindow()
/external/skia/tests/
DPathOpsDebug.cpp38 bool SkPathOpsDebug::ValidWind(int wind) { in ValidWind() argument
39 return wind > SK_MinS32 + 0xFFFF && wind < SK_MaxS32 - 0xFFFF; in ValidWind()
42 void SkPathOpsDebug::WindingPrintf(int wind) { in WindingPrintf() argument
43 if (wind == SK_MinS32) { in WindingPrintf()
46 SkDebugf("%d", wind); in WindingPrintf()
/external/skqp/tests/
DPathOpsDebug.cpp38 bool SkPathOpsDebug::ValidWind(int wind) { in ValidWind() argument
39 return wind > SK_MinS32 + 0xFFFF && wind < SK_MaxS32 - 0xFFFF; in ValidWind()
42 void SkPathOpsDebug::WindingPrintf(int wind) { in WindingPrintf() argument
43 if (wind == SK_MinS32) { in WindingPrintf()
46 SkDebugf("%d", wind); in WindingPrintf()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/resources/
DTransliterator_Kanji_English.txt401 凩>'[wintry wind]';
1267 屁>'[break wind]';
3018 瀟>'[sound of beating wind and rain]';
4084 繆>'[wind around]';
4092 繚>'[wind round]';
5967 風>'[wind]';
5968 #"風>'[wind]'",
5969 颯>'[sound of wind]';

123