HomeSort by relevance Sort by last modified time
    Searched refs:light (Results 26 - 50 of 490) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/mesa/main/
light.h 48 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param );
51 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params );
54 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params );
57 _mesa_Lighti( GLenum light, GLenum pname, GLint param );
72 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params );
75 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params );
rastpos.c 126 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor;
132 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F );
135 mask = ctx->Light._EnabledLights;
138 struct gl_light *light = &ctx->Light.Light[i]; local
140 GLfloat VP[3]; /* vector from vertex to light pos */
144 if (!(light->_Flags & LIGHT_POSITIONAL)) {
145 /* light at infinity */
146 COPY_3V(VP, light->_VP_inf_norm)
    [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/src/effects/
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;
SkEmbossMask.cpp 46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) {
49 int specular = light.fSpecular;
50 int ambient = light.fAmbient;
51 SkFixed lx = SkScalarToFixed(light.fDirection[0]);
52 SkFixed ly = SkScalarToFixed(light.fDirection[1]);
53 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
87 // R = 2 (Light * Normal) Normal - Light
98 // value in the light, and just pass that in to this function
    [all...]
SkLightingImageFilter.cpp 147 virtual SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight,
155 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight,
177 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight,
301 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight,
309 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight,
314 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight,
328 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight,
336 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight,
341 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight,
353 *dptr++ = lightingType.light(bottomLeftNormal(m, surfaceScale), surfaceToLight
600 const SkImageFilterLight* light() const { return fLight; } function in class:GrLightingEffect
1345 auto light = this->light()->makeColorSpace(xformer); local
1501 auto light = this->light()->makeColorSpace(xformer); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/lights/
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.
LightsManager.java 19 import android.hardware.light.V2_0.Type;
32 public abstract Light getLight(int id);
LightsService.java 34 private final class LightImpl extends Light {
198 public Light getLight(int id) {
210 LightImpl light = (LightImpl)msg.obj;
211 light.stopFlashing();
215 static native void setLight_native(int light, int color, int mode,
  /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...]
  /hardware/interfaces/tests/extension/light/2.0/
Android.mk 8 LOCAL_MODULE := android.hardware.tests.extension.light-V2.0-java
16 android.hardware.light-V2.0-java \
23 GEN := $(intermediates)/android/hardware/tests/extension/light/V2_0/Default.java
33 android.hardware.tests.extension.light@2.0::types.Default
42 GEN := $(intermediates)/android/hardware/tests/extension/light/V2_0/ExtBrightness.java
52 android.hardware.tests.extension.light@2.0::types.ExtBrightness
61 GEN := $(intermediates)/android/hardware/tests/extension/light/V2_0/ExtLightState.java
71 android.hardware.tests.extension.light@2.0::types.ExtLightState
80 GEN := $(intermediates)/android/hardware/tests/extension/light/V2_0/IExtLight.java
92 android.hardware.tests.extension.light@2.0::IExtLigh
    [all...]
  /hardware/interfaces/light/2.0/
Android.mk 8 LOCAL_MODULE := android.hardware.light-V2.0-java
22 GEN := $(intermediates)/android/hardware/light/V2_0/Brightness.java
32 android.hardware.light@2.0::types.Brightness
41 GEN := $(intermediates)/android/hardware/light/V2_0/Flash.java
51 android.hardware.light@2.0::types.Flash
60 GEN := $(intermediates)/android/hardware/light/V2_0/LightState.java
70 android.hardware.light@2.0::types.LightState
79 GEN := $(intermediates)/android/hardware/light/V2_0/Status.java
89 android.hardware.light@2.0::types.Status
98 GEN := $(intermediates)/android/hardware/light/V2_0/Type.jav
    [all...]
types.hal 17 package android.hardware.light@2.0;
28 * Keep the light steady on or off.
33 * Flash the light at specified rate.
38 * Flash the light using hardware assist.
45 * Light brightness is managed by a user setting.
50 * Light brightness is managed by a light sensor.
68 * emitting light for a single frame.
81 * These light IDs correspond to logical lights, not physical.
82 * So for example, if your INDICATOR light is in line with you
    [all...]
  /external/swiftshader/src/Renderer/
VertexProcessor.cpp 262 void VertexProcessor::setLightEnable(unsigned int light, bool lightEnable)
264 if(light < 8)
266 context->setLightEnable(light, lightEnable);
280 void VertexProcessor::setLightPosition(unsigned int light, const Point &lightPosition)
282 if(light < 8)
284 context->setLightPosition(light, lightPosition);
291 void VertexProcessor::setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse)
293 if(light < 8)
295 ff.lightDiffuse[light][0] = lightDiffuse.r;
296 ff.lightDiffuse[light][1] = lightDiffuse.g
    [all...]
VertexProcessor.hpp 211 void setLightEnable(unsigned int light, bool lightEnable);
215 void setLightPosition(unsigned int light, const Point &lightPosition);
216 void setLightViewPosition(unsigned int light, const Point &lightPosition);
217 void setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse);
218 void setLightSpecular(unsigned int light, const Color<float> &lightSpecular);
219 void setLightAmbient(unsigned int light, const Color<float> &lightAmbient);
220 void setLightAttenuation(unsigned int light, float constant, float linear, float quadratic);
221 void setLightRange(unsigned int light, float lightRange);
  /external/mesa3d/src/gallium/state_trackers/nine/
nine_dump.h 41 nine_dump_D3DLIGHT9(unsigned ch, const D3DLIGHT9 *light)
  /external/swiftshader/src/D3D8/
Direct3DDevice8.hpp 135 long __stdcall SetLight(unsigned long index, const D3DLIGHT8 *light) override;
190 struct Light : D3DLIGHT8
192 Light &operator=(const D3DLIGHT8 &light)
194 Type = light.Type;
195 Diffuse = light.Diffuse;
196 Specular = light.Specular;
197 Ambient = light.Ambient;
198 Position = light.Position;
199 Direction = light.Direction
222 Lights light; member in class:D3D8::Direct3DDevice8
    [all...]
  /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
  /external/skia/src/shaders/
SkLightingShader.cpp 26 support different light types
43 lights to light the diffuse bitmap.
167 // diffuse light
171 // TODO: modulate the contribution from each light based on the shadow map
179 // ambient light
197 const SkTArray<SkLights::Light>& directionalLights = lightingFP.directionalLights();
201 for (const SkLights::Light& light : directionalLights) {
202 lightDirs.push_back(light.dir());
203 lightColors.push_back(light.color())
380 const SkLights::Light& light = lightShader.fLights->light(l); local
    [all...]
  /external/swiftshader/src/D3D9/
Direct3DDevice9.hpp 151 long __stdcall SetLight(unsigned long index, const D3DLIGHT9 *light) override;
224 struct Light : D3DLIGHT9
226 Light &operator=(const D3DLIGHT9 &light)
228 Type = light.Type;
229 Diffuse = light.Diffuse;
230 Specular = light.Specular;
231 Ambient = light.Ambient;
232 Position = light.Position;
233 Direction = light.Direction
256 Lights light; member in class:D3D9::Direct3DDevice9
    [all...]
  /hardware/interfaces/light/2.0/default/
Light.cpp 17 #define LOG_TAG "light"
21 #include "Light.h"
25 namespace light { namespace in namespace:android::hardware
44 Light::Light(std::map<Type, light_device_t*> &&lights)
47 // Methods from ::android::hardware::light::V2_0::ILight follow.
48 Return<Status> Light::setLight(Type type, const LightState& state) {
77 Return<void> Light::getSupportedTypes(getSupportedTypes_cb _hidl_cb) {
128 ALOGE("Light passthrough failed to load legacy HAL.");
140 light_device_t* light = getLightDevice(name) local
    [all...]
  /external/skia/include/effects/
SkLightingImageFilter.h 45 SkLightingImageFilter(sk_sp<SkImageFilterLight> light,
50 const SkImageFilterLight* light() const { return fLight.get(); } function in class:SkLightingImageFilter
  /frameworks/base/core/java/com/android/internal/util/
UserIcons.java 65 * @param light whether we want a light icon (suitable for a dark background)
67 public static Drawable getDefaultUserIcon(int userId, boolean light) {
68 int colorResId = light ? R.color.user_icon_default_white : R.color.user_icon_default_gray;
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ColorFiltersMutateActivity.java 79 ObjectAnimator light = ObjectAnimator.ofInt(this, "lightAdd", 0x00101030); local
80 light.setEvaluator(new ArgbEvaluator());
81 light.setDuration(1000);
82 light.setRepeatCount(ObjectAnimator.INFINITE);
83 light.setRepeatMode(ObjectAnimator.REVERSE);
84 light.start();
  /external/dng_sdk/source/
dng_camera_profile.h 194 // Light sources for up to two calibrations. These use the EXIF
340 /// Setter for first of up to two light sources used for calibration.
345 void SetCalibrationIlluminant1 (uint32 light)
347 fCalibrationIlluminant1 = light;
351 /// Setter for second of up to two light sources used for calibration.
356 void SetCalibrationIlluminant2 (uint32 light)
358 fCalibrationIlluminant2 = light;
362 /// Getter for first of up to two light sources used for calibration.
372 /// Getter for second of up to two light sources used for calibration.
382 /// Getter for first of up to two light sources used for calibration, returnin
    [all...]

Completed in 641 milliseconds

12 3 4 5 6 7 8 91011>>