HomeSort by relevance Sort by last modified time
    Searched refs:light (Results 1 - 25 of 346) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Index/
print-bitwidth.c 10 unsigned light : 1; member in struct:X
22 // CHECK: FieldDecl=light:10:12 (Definition) bitwidth=1
  /external/qemu/android/
hw-control.h 18 * of a given light. 'light' is a string which can be one of:
26 const char* light,
  /external/chromium_org/third_party/skia/src/effects/
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...]
SkEmbossMask.cpp 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
86 int specular = light.fSpecular;
87 int ambient = light.fAmbient;
88 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
89 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
90 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
132 // R = 2 (Light * Normal) Normal - Light
143 // value in the light, and just pass that in to this function
    [all...]
SkLightingImageFilter.cpp 62 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { function in class:__anon19083::DiffuseLightingType
79 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { function in class:__anon19083::SpecularLightingType
164 template <class LightingType, class LightType> void lightBitmap(const LightingType& lightingType, const SkLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) {
166 const LightType* l = static_cast<const LightType*>(light);
181 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
188 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
192 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
208 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
215 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
219 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight))
315 const SkLight* light() const { return fLight; } function in class:__anon19083::GrLightingEffect
    [all...]
  /external/skia/src/effects/
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...]
SkEmbossMask.cpp 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
86 int specular = light.fSpecular;
87 int ambient = light.fAmbient;
88 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
89 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
90 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
132 // R = 2 (Light * Normal) Normal - Light
143 // value in the light, and just pass that in to this function
    [all...]
SkLightingImageFilter.cpp 62 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { function in class:__anon34335::DiffuseLightingType
79 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, const SkPoint3& lightColor) const { function in class:__anon34335::SpecularLightingType
164 template <class LightingType, class LightType> void lightBitmap(const LightingType& lightingType, const SkLight* light, const SkBitmap& src, SkBitmap* dst, SkScalar surfaceScale, const SkIRect& bounds) {
166 const LightType* l = static_cast<const LightType*>(light);
181 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
188 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
192 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
208 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
215 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight));
219 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, l->lightColor(surfaceToLight))
315 const SkLight* light() const { return fLight; } function in class:__anon34335::GrLightingEffect
    [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_rasterpos.c 29 #include "main/light.h"
122 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor;
123 const struct gl_light *light; local
128 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F );
131 foreach (light, &ctx->Light.EnabledList) {
133 GLfloat VP[3]; /* vector from vertex to light pos */
137 if (!(light->_Flags & LIGHT_POSITIONAL)) {
138 /* light at infinity */
139 COPY_3V(VP, light->_VP_inf_norm)
    [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_rasterpos.c 29 #include "main/light.h"
122 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor;
123 const struct gl_light *light; local
128 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F );
131 foreach (light, &ctx->Light.EnabledList) {
133 GLfloat VP[3]; /* vector from vertex to light pos */
137 if (!(light->_Flags & LIGHT_POSITIONAL)) {
138 /* light at infinity */
139 COPY_3V(VP, light->_VP_inf_norm)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
d3d11gears.hlsl 31 float4 light;
48 float3 light : LIGHT;
57 result.light = light - view;
66 float3 nlight = normalize(input.light);
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
d3d11gears.hlsl 31 float4 light;
48 float3 light : LIGHT;
57 result.light = light - view;
66 float3 nlight = normalize(input.light);
  /external/qemu/distrib/sdl-1.2.15/test/
testalpha.c 62 /* Create a "light" -- a yellowish surface with variable alpha */
71 SDL_Surface *light; local
79 light = SDL_CreateRGBSurface(SDL_SWSURFACE, 2*radius, 2*radius, 16,
86 light = SDL_CreateRGBSurface(SDL_SWSURFACE, 2*radius, 2*radius, 32,
88 if ( light == NULL ) {
89 fprintf(stderr, "Couldn't create light: %s\n", SDL_GetError());
94 /* Fill with a light yellow-orange color */
95 skip = light->pitch-(light->w*light->format->BytesPerPixel)
331 SDL_Surface *light; local
    [all...]
  /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...]
light.h 50 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
53 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
56 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
59 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
74 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
77 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
  /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...]
light.h 50 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
53 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
56 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
59 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
74 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
77 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
  /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);
44 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;
  /device/samsung/manta/libsensors/
LightSensor.cpp 35 mPendingEvent.light = value * 8.9;
  /frameworks/base/services/core/jni/
com_android_server_lights_LightsService.cpp 107 jint light, jint colorARGB, jint flashMode, jint onMS, jint offMS, jint brightnessMode)
112 if (light < 0 || light >= LIGHT_COUNT || devices->lights[light] == NULL) {
124 ALOGD_IF_SLOW(50, "Excessive delay setting light");
125 devices->lights[light]->set_light(devices->lights[light], &state);
  /frameworks/base/core/java/com/android/internal/util/
UserIcons.java 62 * @param light whether we want a light icon (suitable for a dark background)
64 public static Drawable getDefaultUserIcon(int userId, boolean light) {
65 int colorResId = light ? R.color.user_icon_default_white : R.color.user_icon_default_gray;
  /device/lge/hammerhead/libsensors/
LightSensor.cpp 142 mPendingEvent.light = (float)event->value;
146 if (mEnabled && (mPendingEvent.light != mPreviousLight) ) {
150 mPreviousLight = mPendingEvent.light;

Completed in 3328 milliseconds

1 2 3 4 5 6 7 8 91011>>