Home
last modified time | relevance | path

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

/external/skia/src/shaders/
DSkLights.h45 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir) { in MakeDirectional()
59 const SkVector3& dir() const { in dir()
96 Light(LightType type, const SkColor3f& color, const SkVector3& dirOrPos, in Light()
106 SkVector3 fDirOrPos; // For directional lights, holds the direction towards the
DSkLights.cpp33 SkVector3 dirOrPos; in MakeFromBuffer()
DSkLightingShader.cpp211 SkTArray<SkVector3> lightColors(directionalLights.count()); in onSetData()
/external/skqp/src/shaders/
DSkLights.h45 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir) { in MakeDirectional()
59 const SkVector3& dir() const { in dir()
96 Light(LightType type, const SkColor3f& color, const SkVector3& dirOrPos, in Light()
106 SkVector3 fDirOrPos; // For directional lights, holds the direction towards the
DSkLights.cpp33 SkVector3 dirOrPos; in MakeFromBuffer()
DSkLightingShader.cpp213 SkTArray<SkVector3> lightColors(directionalLights.count()); in onSetData()
/external/skqp/gm/
Dlightingshader2.cpp46 const SkVector3 kLightFromUpperRight = SkVector3::Make(0.788f, 0.394f, 0.473f); in onOnceBeforeDraw()
47 const SkVector3 kLightFromUpperLeft = SkVector3::Make(-0.788f, 0.394f, 0.473f); in onOnceBeforeDraw()
Dlightingshader.cpp73 SkVector3::Make(SK_ScalarRoot2Over2, in onOnceBeforeDraw()
/external/skia/gm/
Dlightingshader2.cpp46 const SkVector3 kLightFromUpperRight = SkVector3::Make(0.788f, 0.394f, 0.473f); in onOnceBeforeDraw()
47 const SkVector3 kLightFromUpperLeft = SkVector3::Make(-0.788f, 0.394f, 0.473f); in onOnceBeforeDraw()
Dlightingshader.cpp73 SkVector3::Make(SK_ScalarRoot2Over2, in onOnceBeforeDraw()
/external/skqp/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()
444 SkVector3 fLightDir;
/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()
444 SkVector3 fLightDir;
/external/skqp/src/core/
DSkDrawShadowInfo.cpp86 SkVector3 v = pts3D[3] - pts3D[0]; in GetSpotShadowTransform()
87 SkVector3 w = h0 - pts3D[0]; in GetSpotShadowTransform()
/external/skia/src/core/
DSkDrawShadowInfo.cpp86 SkVector3 v = pts3D[3] - pts3D[0]; in GetSpotShadowTransform()
87 SkVector3 w = h0 - pts3D[0]; in GetSpotShadowTransform()
/external/skia/include/core/
DSkPoint3.h154 typedef SkPoint3 SkVector3; typedef
/external/skqp/include/core/
DSkPoint3.h154 typedef SkPoint3 SkVector3; typedef
/external/skqp/tools/
Dsk_tool_utils.cpp193 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb()
206 SkVector3 norm; in create_hemi_normal_map()
/external/skia/tools/
Dsk_tool_utils.cpp194 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb()
207 SkVector3 norm; in create_hemi_normal_map()
/external/skqp/tests/
DSerializationTest.cpp586 SkVector3::Make(1.0f, 0.0f, 0.0f))); in DEF_TEST()
/external/skia/tests/
DSerializationTest.cpp586 SkVector3::Make(1.0f, 0.0f, 0.0f))); in DEF_TEST()