/external/chromium_org/third_party/skia/src/effects/ |
SkEmbossMask.h | 17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
|
SkEmbossMaskFilter.cpp | 16 SkEmbossMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { 17 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light)); 48 SkEmbossMaskFilter::Light light; local 50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 51 light.fAmbient = SkToU8(am); 52 light.fSpecular = SkToU8(sp); 54 return SkEmbossMaskFilter::Create(blurSigma, light); 108 Light light = fLight; local 137 Light light; local [all...] |
/external/skia/src/effects/ |
SkEmbossMask.h | 17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
|
SkEmbossMaskFilter.cpp | 16 SkEmbossMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { 17 return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light)); 48 SkEmbossMaskFilter::Light light; local 50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 51 light.fAmbient = SkToU8(am); 52 light.fSpecular = SkToU8(sp); 54 return SkEmbossMaskFilter::Create(blurSigma, light); 108 Light light = fLight; local [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkEmbossMaskFilter.h | 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 19 struct Light { 26 static SkEmbossMaskFilter* Create(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light); 46 Light fLight;
|
/external/skia/include/effects/ |
SkEmbossMaskFilter.h | 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 19 struct Light { 26 static SkEmbossMaskFilter* Create(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light); 44 Light fLight;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
light.c | 31 #include "light.h" 52 if (ctx->Light.ShadeModel == mode) 56 ctx->Light.ShadeModel = mode; 86 if (ctx->Light.ProvokingVertex == mode) 90 ctx->Light.ProvokingVertex = mode; 96 * per-light state. 104 struct gl_light *light; local 107 light = &ctx->Light.Light[lnum] 634 struct gl_light *light, *list = &ctx->Light.EnabledList; local 887 struct gl_light *light; local 949 struct gl_light *light; local [all...] |
state.h | 55 if (ctx->Light.Enabled && 56 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR)
|
/external/mesa3d/src/mesa/main/ |
light.c | 31 #include "light.h" 52 if (ctx->Light.ShadeModel == mode) 56 ctx->Light.ShadeModel = mode; 86 if (ctx->Light.ProvokingVertex == mode) 90 ctx->Light.ProvokingVertex = mode; 96 * per-light state. 104 struct gl_light *light; local 107 light = &ctx->Light.Light[lnum] 634 struct gl_light *light, *list = &ctx->Light.EnabledList; local 887 struct gl_light *light; local 949 struct gl_light *light; local [all...] |
state.h | 55 if (ctx->Light.Enabled && 56 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR)
|
/frameworks/base/services/core/java/com/android/server/lights/ |
LightsManager.java | 30 public abstract Light getLight(int id);
|
Light.java | 19 public abstract class Light { 25 * Light brightness is managed by a user setting. 30 * Light brightness is managed by a light sensor.
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 60 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 63 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 185 en_lights |= get_light_mode(&ctx->Light.Light[i]) << 2 * i; 190 PUSH_DATAb(push, ctx->Light.Enabled); 199 struct gl_lightmodel *m = &ctx->Light.Model; 209 (!ctx->Light.Enabled && ctx->Fog.ColorSumEnabled ? 285 struct gl_light *l = &ctx->Light.Light[i]; 315 (ctx->Light.ColorMaterialEnabled && [all...] |
nv20_state_tnl.c | 92 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 95 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 179 struct gl_lightmodel *m = &ctx->Light.Model; 193 PUSH_DATAb(push, ctx->Light.Model.TwoSide); 201 struct gl_light *l = &ctx->Light.Light[i]; 231 (ctx->Light.ColorMaterialEnabled && \ 232 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_##attr(side))) 239 float (*mat)[4] = ctx->Light.Material.Attrib; 245 COPY_3V(c_factor, ctx->Light.Model.Ambient) [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 60 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 63 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 185 en_lights |= get_light_mode(&ctx->Light.Light[i]) << 2 * i; 190 PUSH_DATAb(push, ctx->Light.Enabled); 199 struct gl_lightmodel *m = &ctx->Light.Model; 209 (!ctx->Light.Enabled && ctx->Fog.ColorSumEnabled ? 285 struct gl_light *l = &ctx->Light.Light[i]; 315 (ctx->Light.ColorMaterialEnabled && [all...] |
nv20_state_tnl.c | 92 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 95 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 179 struct gl_lightmodel *m = &ctx->Light.Model; 193 PUSH_DATAb(push, ctx->Light.Model.TwoSide); 201 struct gl_light *l = &ctx->Light.Light[i]; 231 (ctx->Light.ColorMaterialEnabled && \ 232 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_##attr(side))) 239 float (*mat)[4] = ctx->Light.Material.Attrib; 245 COPY_3V(c_factor, ctx->Light.Model.Ambient) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_statevars.c | 59 const struct gl_material *mat = &ctx->Light.Material; 93 /* state[1] is the light number */ 95 /* state[2] is the light attribute */ 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition) [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 59 const struct gl_material *mat = &ctx->Light.Material; 93 /* state[1] is the light number */ 95 /* state[2] is the light attribute */ 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_lighttmp.h | 53 GLfloat (*base)[3] = ctx->Light._BaseColor; 77 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 82 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 91 struct gl_light *light; local 95 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 97 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 109 /* Add contribution from each enabled light source */ 110 foreach (light, &ctx->Light.EnabledList) { 116 GLfloat VP[3]; /* unit vector from vertex to light */ 269 struct gl_light *light; local 423 const struct gl_light *light = ctx->Light.EnabledList.next; local 534 const struct gl_light *light; local [all...] |
t_vb_light.c | 29 #include "main/light.h" 98 * P = light source position 103 * // light at infinity 178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; 182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; 208 /* recompute derived light/material values */ 234 if (ctx->Light.ColorMaterialEnabled) { 235 const GLuint bitmask = ctx->Light._ColorMaterialBitmask; 253 store->mat[j].current = ctx->Light.Material.Attrib[attr]; 334 if (!ctx->Light.Enabled || ctx->VertexProgram._Current [all...] |
t_vb_rendertmp.h | 85 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 110 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 134 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 141 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 148 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 174 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 181 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 206 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) { 232 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 268 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 53 GLfloat (*base)[3] = ctx->Light._BaseColor; 77 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 82 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 91 struct gl_light *light; local 95 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 97 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 109 /* Add contribution from each enabled light source */ 110 foreach (light, &ctx->Light.EnabledList) { 116 GLfloat VP[3]; /* unit vector from vertex to light */ 269 struct gl_light *light; local 423 const struct gl_light *light = ctx->Light.EnabledList.next; local 534 const struct gl_light *light; local [all...] |
t_vb_light.c | 29 #include "main/light.h" 98 * P = light source position 103 * // light at infinity 178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; 182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; 208 /* recompute derived light/material values */ 234 if (ctx->Light.ColorMaterialEnabled) { 235 const GLuint bitmask = ctx->Light._ColorMaterialBitmask; 253 store->mat[j].current = ctx->Light.Material.Attrib[attr]; 334 if (!ctx->Light.Enabled || ctx->VertexProgram._Current [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
gen_matypes.c | 98 OFFSET( "CTX_LIGHT_ENABLED ", struct gl_context, Light.Enabled ); 99 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); 100 OFFSET( "CTX_LIGHT_COLOR_MAT_FACE ", struct gl_context, Light.ColorMaterialFace ); 101 OFFSET( "CTX_LIGHT_COLOR_MAT_MODE ", struct gl_context, Light.ColorMaterialMode ); 102 OFFSET( "CTX_LIGHT_COLOR_MAT_MASK ", struct gl_context, Light._ColorMaterialBitmask ); 103 OFFSET( "CTX_LIGHT_COLOR_MAT_ENABLED ", struct gl_context, Light.ColorMaterialEnabled ); 104 OFFSET( "CTX_LIGHT_ENABLED_LIST ", struct gl_context, Light.EnabledList ); 105 OFFSET( "CTX_LIGHT_NEED_VERTS ", struct gl_context, Light._NeedVertices ); 106 OFFSET( "CTX_LIGHT_BASE_COLOR ", struct gl_context, Light._BaseColor );
|
/external/mesa3d/src/mesa/x86/ |
gen_matypes.c | 98 OFFSET( "CTX_LIGHT_ENABLED ", struct gl_context, Light.Enabled ); 99 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); 100 OFFSET( "CTX_LIGHT_COLOR_MAT_FACE ", struct gl_context, Light.ColorMaterialFace ); 101 OFFSET( "CTX_LIGHT_COLOR_MAT_MODE ", struct gl_context, Light.ColorMaterialMode ); 102 OFFSET( "CTX_LIGHT_COLOR_MAT_MASK ", struct gl_context, Light._ColorMaterialBitmask ); 103 OFFSET( "CTX_LIGHT_COLOR_MAT_ENABLED ", struct gl_context, Light.ColorMaterialEnabled ); 104 OFFSET( "CTX_LIGHT_ENABLED_LIST ", struct gl_context, Light.EnabledList ); 105 OFFSET( "CTX_LIGHT_NEED_VERTS ", struct gl_context, Light._NeedVertices ); 106 OFFSET( "CTX_LIGHT_BASE_COLOR ", struct gl_context, Light._BaseColor );
|