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

1 2 3 4 5 6

  /external/skia/src/effects/
SkEmbossMask.h 16 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
SkEmbossMaskFilter.h 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount.
19 struct Light {
26 static sk_sp<SkMaskFilter> Make(SkScalar blurSigma, const Light& light);
39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
43 Light fLight;
SkEmbossMaskFilter.cpp 16 sk_sp<SkMaskFilter> SkEmbossMaskFilter::Make(SkScalar blurSigma, const Light& light) {
17 return sk_sp<SkMaskFilter>(new SkEmbossMaskFilter(blurSigma, light));
27 SkEmbossMaskFilter::Light light; local
29 memcpy(light.fDirection, direction, sizeof(light.fDirection));
31 light.fAmbient = SkUnitScalarClampToByte(ambient);
34 light.fSpecular = static_cast<U8CPU>(SkScalarPin(specular, 0, 16) * kSpecularMultiplier + 0.5);
36 return SkEmbossMaskFilter::Make(blurSigma, light);
91 Light light = fLight; local
111 Light light; local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DrawParameters.java 18 import com.android.cts.verifier.sensors.sixdof.Renderer.Renderable.Light;
26 private Light mLight;
33 public void update(float[] viewMatrix, float[] projectionMatrix, Light light) {
35 mLight = light;
46 public Light getLight() {
  /external/skia/include/core/
SkLights.h 22 class Light {
29 Light(const Light& other)
38 Light(Light&& other)
47 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir,
49 Light light(kDirectional_LightType, color, dir, isRadial);
50 if (!light.fDirOrPos.normalize()) {
51 light.fDirOrPos.set(0.0f, 0.0f, 1.0f)
176 const Light& light(int index) const { function in class:SkLights
180 Light& light(int index) { function in class:SkLights
    [all...]
  /external/mesa3d/src/mesa/main/
light.c 32 #include "light.h"
47 if (ctx->Light.ShadeModel == mode)
56 ctx->Light.ShadeModel = mode;
85 if (ctx->Light.ProvokingVertex == mode)
89 ctx->Light.ProvokingVertex = mode;
95 * per-light state.
103 struct gl_light *light; local
106 light = &ctx->Light.Light[lnum]
628 struct gl_light *light = &ctx->Light.Light[i]; local
638 struct gl_light *light = &ctx->Light.Light[i]; local
662 struct gl_light *light = &ctx->Light.Light[i]; local
672 struct gl_light *light = &ctx->Light.Light[i]; local
683 struct gl_light *light = &ctx->Light.Light[i]; local
693 struct gl_light *light = &ctx->Light.Light[i]; local
893 struct gl_light *light = &ctx->Light.Light[i]; local
964 struct gl_light *light = &ctx->Light.Light[i]; local
    [all...]
state.h 55 if (ctx->Light.Enabled &&
56 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR)
  /hardware/interfaces/tests/extension/light/2.0/default/
Light.cpp 16 #include "Light.h"
22 namespace light { namespace in namespace:android::hardware::tests::extension
26 // Methods from ::android::hardware::light::V2_0::ILight follow.
27 Return<Status> Light::setLight(Type type, const LightState& state) {
41 Return<void> Light::getSupportedTypes(getSupportedTypes_cb _hidl_cb) {
54 // Methods from ::android::hardware::example::extension::light::V2_0::ILight follow.
55 Return<Status> Light::setExtLight(Type /* type */,
67 } // namespace light
service.cpp 16 #define LOG_TAG "android.hardware.tests.extension.light@2.0-service"
21 #include "Light.h"
27 using android::hardware::light::V2_0::ILight;
28 using android::hardware::tests::extension::light::V2_0::implementation::Light;
31 android::sp<ILight> service = new Light();
Android.mk 4 LOCAL_MODULE := android.hardware.tests.extension.light@2.0-service
5 LOCAL_INIT_RC := android.hardware.tests.extension.light@2.0-service.rc
9 Light.cpp \
16 android.hardware.light@2.0 \
17 android.hardware.tests.extension.light@2.0 \
  /prebuilts/jdk/jdk8/darwin-x86/jre/lib/
psfont.properties.ja 56 serif.x11jis0208.plain=Ryumin-Light-H
57 serif.x11jis0208.italic=Ryumin-Light-H
58 serif.x11jis0208.bolditalic=Ryumin-Light-H
59 serif.x11jis0208.bold=Ryumin-Light-H
71 serif.x11jis0201.plain=Ryumin-Light.Hankaku
72 serif.x11jis0201.italic=Ryumin-Light.Hankaku
73 serif.x11jis0201.bolditalic=Ryumin-Light.Hankaku
74 serif.x11jis0201.bold=Ryumin-Light.Hankaku
99 Ryumin-Light-H=13
101 Ryumin-Light.Hankaku=1
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/jre/lib/
psfont.properties.ja 56 serif.x11jis0208.plain=Ryumin-Light-H
57 serif.x11jis0208.italic=Ryumin-Light-H
58 serif.x11jis0208.bolditalic=Ryumin-Light-H
59 serif.x11jis0208.bold=Ryumin-Light-H
71 serif.x11jis0201.plain=Ryumin-Light.Hankaku
72 serif.x11jis0201.italic=Ryumin-Light.Hankaku
73 serif.x11jis0201.bolditalic=Ryumin-Light.Hankaku
74 serif.x11jis0201.bold=Ryumin-Light.Hankaku
99 Ryumin-Light-H=13
101 Ryumin-Light.Hankaku=1
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv10_state_tnl.c 61 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask);
64 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0);
186 en_lights |= get_light_mode(&ctx->Light.Light[i]) << 2 * i;
191 PUSH_DATAb(push, ctx->Light.Enabled);
200 struct gl_lightmodel *m = &ctx->Light.Model;
210 (!ctx->Light.Enabled && ctx->Fog.ColorSumEnabled ?
286 struct gl_light *l = &ctx->Light.Light[i];
316 (ctx->Light.ColorMaterialEnabled &&
    [all...]
nv20_state_tnl.c 93 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask);
96 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0);
180 struct gl_lightmodel *m = &ctx->Light.Model;
194 PUSH_DATAb(push, ctx->Light.Model.TwoSide);
202 struct gl_light *l = &ctx->Light.Light[i];
232 (ctx->Light.ColorMaterialEnabled && \
233 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_##attr(side)))
240 float (*mat)[4] = ctx->Light.Material.Attrib;
246 COPY_3V(c_factor, ctx->Light.Model.Ambient)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
Light.java 27 * Light object for applying shadows. Not actually rendered, but we make use of matrices in
30 public class Light extends Renderable {
36 * Used to hold the transformed position of the light in eye space (after transformation via
42 * Creates a light at the given position.
46 public Light(float[] position) {
47 new Light(position, DEFAULT_LIGHT_STRENGTH);
55 * Creates a light at the given position with a given strength.
58 * @param strength strength of light.
60 public Light(float[] position, float strength) {
  /external/mesa3d/src/mesa/program/
prog_statevars.c 67 const struct gl_material *mat = &ctx->Light.Material;
101 /* state[1] is the light number */
103 /* state[2] is the light attribute */
106 COPY_4V(value, ctx->Light.Light[ln].Ambient);
109 COPY_4V(value, ctx->Light.Light[ln].Diffuse);
112 COPY_4V(value, ctx->Light.Light[ln].Specular);
115 COPY_4V(value, ctx->Light.Light[ln].EyePosition)
    [all...]
  /external/mesa3d/src/mesa/tnl/
t_vb_lighttmp.h 52 GLfloat (*base)[3] = ctx->Light._BaseColor;
76 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3];
81 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3];
94 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3];
96 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3];
108 /* Add contribution from each enabled light source */
109 mask = ctx->Light._EnabledLights;
112 struct gl_light *light = &ctx->Light.Light[l] local
291 struct gl_light *light = &ctx->Light.Light[l]; local
426 const struct gl_light *light = local
585 const struct gl_light *light = &ctx->Light.Light[l]; local
    [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)
133 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
141 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
149 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
175 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
182 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
207 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) {
233 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT)
269 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT
    [all...]
t_vb_light.c 28 #include "main/light.h"
99 * P = light source position
104 * // light at infinity
179 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0];
183 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0];
209 /* recompute derived light/material values */
235 if (ctx->Light.ColorMaterialEnabled) {
236 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask;
256 store->mat[j].current = ctx->Light.Material.Attrib[attr];
337 if (!ctx->Light.Enabled || ctx->VertexProgram._Current
    [all...]
  /frameworks/base/services/core/java/com/android/server/lights/
LightsManager.java 19 import android.hardware.light.V2_0.Type;
32 public abstract Light getLight(int id);
Light.java 19 import android.hardware.light.V2_0.Flash;
20 import android.hardware.light.V2_0.Brightness;
22 public abstract class Light {
28 * Light brightness is managed by a user setting.
33 * Light brightness is managed by a light sensor.
38 * Low-persistence light mode.
  /external/skia/src/core/
SkLights.cpp 50 Light light = Light::MakePoint(color, dirOrPos, intensity, isRadial); local
51 light.setShadowMap(depthMap);
52 builder.add(light);
54 Light light = Light::MakeDirectional(color, dirOrPos, isRadial); local
55 light.setShadowMap(depthMap);
56 builder.add(light);
90 const Light& light = this->light(l); local
    [all...]
  /external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
SkinnedVertShader.vsh 39 varying mediump vec3 Light;
95 Light.x = dot(normalize(worldTangent), TmpLightDir);
96 Light.y = dot(normalize(worldBiNormal), TmpLightDir);
97 Light.z = dot(normalize(worldNormal), TmpLightDir);
101 Light.x = dot(normalize(worldNormal), TmpLightDir);
  /external/mesa3d/src/mesa/x86/
gen_matypes.c 122 OFFSET( "CTX_LIGHT_ENABLED ", struct gl_context, Light.Enabled );
123 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel );
124 OFFSET( "CTX_LIGHT_COLOR_MAT_FACE ", struct gl_context, Light.ColorMaterialFace );
125 OFFSET( "CTX_LIGHT_COLOR_MAT_MODE ", struct gl_context, Light.ColorMaterialMode );
126 OFFSET( "CTX_LIGHT_COLOR_MAT_MASK ", struct gl_context, Light._ColorMaterialBitmask );
127 OFFSET( "CTX_LIGHT_COLOR_MAT_ENABLED ", struct gl_context, Light.ColorMaterialEnabled );
128 OFFSET( "CTX_LIGHT_ENABLED_LIGHTS ", struct gl_context, Light._EnabledLights );
129 OFFSET( "CTX_LIGHT_NEED_VERTS ", struct gl_context, Light._NeedVertices );
130 OFFSET( "CTX_LIGHT_BASE_COLOR ", struct gl_context, Light._BaseColor );
  /hardware/interfaces/light/2.0/default/
Light.h 19 #include <android/hardware/light/2.0/ILight.h>
28 namespace light { namespace in namespace:android::hardware
32 using ::android::hardware::light::V2_0::ILight;
33 using ::android::hardware::light::V2_0::LightState;
34 using ::android::hardware::light::V2_0::Status;
35 using ::android::hardware::light::V2_0::Type;
42 struct Light : public ILight {
43 Light(std::map<Type, light_device_t*> &&lights);
45 // Methods from ::android::hardware::light::V2_0::ILight follow.
57 } // namespace light
    [all...]

Completed in 618 milliseconds

1 2 3 4 5 6