Searched refs:SkVector3 (Results 1 – 11 of 11) sorted by relevance
/external/skia/include/core/ |
D | SkLights.h | 47 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,
|
D | SkPoint3.h | 121 typedef SkPoint3 SkVector3; typedef
|
/external/skia/gm/ |
D | lightingshader2.cpp | 44 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()
|
D | lightingshader.cpp | 53 SkVector3::Make(SK_ScalarRoot2Over2, in LightingShaderGM()
|
/external/skia/src/core/ |
D | SkColorSpace.cpp | 35 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()
|
D | SkLights.cpp | 33 SkVector3 dirOrPos; in MakeFromBuffer()
|
/external/skia/samplecode/ |
D | SampleLighting.cpp | 18 const SkVector3 dir = SkVector3::Make(SkScalarSin(angle)*SkScalarSin(SK_ScalarPI*0.25f), in create_lights()
|
D | SampleLitAtlas.cpp | 27 , fLightDir(SkVector3::Make(1.0f, 0.0f, 0.0f)) { in DrawLitAtlasDrawable() 446 SkVector3 fLightDir;
|
/external/skia/tools/ |
D | sk_tool_utils.cpp | 264 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/ |
D | SkLightingShader.cpp | 200 SkTArray<SkVector3> lightColors(directionalLights.count()); in onSetData()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 563 SkVector3::Make(1.0f, 0.0f, 0.0f))); in DEF_TEST()
|