Home
last modified time | relevance | path

Searched refs:kDP (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/samplecode/
DSampleShadowReference.cpp111 const SkScalar kDP = 4; // the reference image is 4x bigger than it is displayed on in onDrawContent() local
114 const SkScalar kLightWidth = kDP*400; in onDrawContent()
122 SkPoint3 lightPos = { 175, -800, kDP * 600 }; in onDrawContent()
127 SkPoint3 zPlaneParams = SkPoint3::Make(0, 0, kDP * 2); in onDrawContent()
139 zPlaneParams.fZ = kDP * 3; in onDrawContent()
150 zPlaneParams.fZ = kDP * 4; in onDrawContent()
161 zPlaneParams.fZ = kDP * 6; in onDrawContent()
172 zPlaneParams.fZ = kDP * 8; in onDrawContent()
183 zPlaneParams.fZ = kDP * 16; in onDrawContent()
/third_party/skia/samplecode/
DSampleShadowReference.cpp111 const SkScalar kDP = 4; // the reference image is 4x bigger than it is displayed on in onDrawContent() local
114 const SkScalar kLightWidth = kDP*400; in onDrawContent()
122 SkPoint3 lightPos = { 175, -800, kDP * 600 }; in onDrawContent()
127 SkPoint3 zPlaneParams = SkPoint3::Make(0, 0, kDP * 2); in onDrawContent()
139 zPlaneParams.fZ = kDP * 3; in onDrawContent()
150 zPlaneParams.fZ = kDP * 4; in onDrawContent()
161 zPlaneParams.fZ = kDP * 6; in onDrawContent()
172 zPlaneParams.fZ = kDP * 8; in onDrawContent()
183 zPlaneParams.fZ = kDP * 16; in onDrawContent()