aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBitmapProcState.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-07-29 12:28:04 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-29 12:28:04 -0700
commit5f865b9cf11ac16e41f10d78276d6b8cf68762de (patch)
tree582daf4ae76abb74e106783a804355920803be00 /src/core/SkBitmapProcState.h
parentf20488b4f2139e6ca09fee7e39b731dd8ab467db (diff)
Move LightingShader to effects
Additionally this CL: forces the light colors to be opaque forces the light direction to be normalized adds a raster implementation adds a gm Review URL: https://codereview.chromium.org/1245883003
Diffstat (limited to 'src/core/SkBitmapProcState.h')
-rw-r--r--src/core/SkBitmapProcState.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h
index 31d114291c..af39004ef2 100644
--- a/src/core/SkBitmapProcState.h
+++ b/src/core/SkBitmapProcState.h
@@ -118,6 +118,7 @@ struct SkBitmapProcState {
private:
friend class SkBitmapProcShader;
+ friend class SkLightingShaderImpl;
ShaderProc32 fShaderProc32; // chooseProcs
ShaderProc16 fShaderProc16; // chooseProcs