Searched refs:edgeOffset (Results 1 – 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | CartoonEdge.frag | 30 vec2 edgeOffset = vec2(m_EdgeWidth) / g_Resolution; 32 vec4 n1 = fetchNormalDepth(texCoord + vec2(-1.0, -1.0) * edgeOffset); 33 vec4 n2 = fetchNormalDepth(texCoord + vec2( 1.0, 1.0) * edgeOffset); 34 vec4 n3 = fetchNormalDepth(texCoord + vec2(-1.0, 1.0) * edgeOffset); 35 vec4 n4 = fetchNormalDepth(texCoord + vec2( 1.0, -1.0) * edgeOffset);
|
D | CartoonEdge15.frag | 33 vec2 edgeOffset = vec2(m_EdgeWidth) / textureSize(m_NormalsTexture, 0); 34 vec4 n1 = fetchNormalDepth(texCoord + vec2(-1.0, -1.0) * edgeOffset); 35 vec4 n2 = fetchNormalDepth(texCoord + vec2( 1.0, 1.0) * edgeOffset); 36 vec4 n3 = fetchNormalDepth(texCoord + vec2(-1.0, 1.0) * edgeOffset); 37 vec4 n4 = fetchNormalDepth(texCoord + vec2( 1.0, -1.0) * edgeOffset);
|
/external/skia/src/gpu/ |
D | GrDrawTarget.cpp | 236 int* edgeOffset) { in VertexSizeAndOffsetsByIdx() argument 277 if (NULL != edgeOffset) { in VertexSizeAndOffsetsByIdx() 278 *edgeOffset = size; in VertexSizeAndOffsetsByIdx() 282 if (NULL != edgeOffset) { in VertexSizeAndOffsetsByIdx() 283 *edgeOffset = -1; in VertexSizeAndOffsetsByIdx() 294 int* edgeOffset) { in VertexSizeAndOffsetsByStage() argument 304 edgeOffset); in VertexSizeAndOffsetsByStage() 449 int edgeOffset; in VertexLayoutUnitTest() local 454 &coverageOffset, &edgeOffset); in VertexLayoutUnitTest() 458 GrAssert(-1 == edgeOffset); in VertexLayoutUnitTest()
|
D | GrDrawTarget.h | 734 int* edgeOffset); 765 int* edgeOffset);
|
/external/skia/src/gpu/gl/ |
D | GrGpuGLShaders.cpp | 934 GrGLvoid* edgeOffset = (int8_t*)(vertexOffset + newEdgeOffset); in setupGeometry() local 939 false, newStride, edgeOffset)); in setupGeometry() 942 false, newStride, edgeOffset)); in setupGeometry()
|