Home
last modified time | relevance | path

Searched refs:SkVector3 (Results 1 – 11 of 11) sorted by relevance

/external/skia/include/core/
DSkLights.h47 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir,
63 const SkVector3& dir() const { in dir()
121 SkVector3 fDirOrPos; // For directional lights, holds the direction towards the
132 Light(LightType type, const SkColor3f& color, const SkVector3& dirOrPos,
DSkPoint3.h121 typedef SkPoint3 SkVector3; typedef
/external/skia/gm/
Dlightingshader2.cpp44 const SkVector3 kLightFromUpperRight = SkVector3::Make(0.788f, 0.394f, 0.473f); in onOnceBeforeDraw()
45 const SkVector3 kLightFromUpperLeft = SkVector3::Make(-0.788f, 0.394f, 0.473f); in onOnceBeforeDraw()
Dlightingshader.cpp53 SkVector3::Make(SK_ScalarRoot2Over2, in LightingShaderGM()
/external/skia/src/core/
DSkColorSpace.cpp35 SkVector3 wXYZ = SkVector3::Make(fWX / fWY, 1.0f, (1.0f - fWX - fWY) / fWY); in toXYZD50()
36 SkVector3 XYZ; in toXYZD50()
47 SkVector3 wXYZD50 = SkVector3::Make(0.96422f, 1.0f, 0.82521f); in toXYZD50()
60 SkVector3 srcCone; in toXYZD50()
64 SkVector3 dstCone; in toXYZD50()
DSkLights.cpp33 SkVector3 dirOrPos; in MakeFromBuffer()
/external/skia/samplecode/
DSampleLighting.cpp18 const SkVector3 dir = SkVector3::Make(SkScalarSin(angle)*SkScalarSin(SK_ScalarPI*0.25f), in create_lights()
DSampleLitAtlas.cpp27 , fLightDir(SkVector3::Make(1.0f, 0.0f, 0.0f)) { in DrawLitAtlasDrawable()
446 SkVector3 fLightDir;
/external/skia/tools/
Dsk_tool_utils.cpp264 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb()
277 SkVector3 norm; in create_hemi_normal_map()
/external/skia/src/shaders/
DSkLightingShader.cpp200 SkTArray<SkVector3> lightColors(directionalLights.count()); in onSetData()
/external/skia/tests/
DSerializationTest.cpp563 SkVector3::Make(1.0f, 0.0f, 0.0f))); in DEF_TEST()