Searched refs:Light (Results 1 - 25 of 116) sorted by relevance

12345

/external/skia/src/effects/
H A DSkEmbossMask.h17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
H A DSkEmbossMaskFilter.cpp16 SkEmbossMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) {
48 SkEmbossMaskFilter::Light light;
68 SkEmbossMaskFilter::SkEmbossMaskFilter(SkScalar blurSigma, const Light& light)
108 Light light = fLight;
128 Light light;
129 if (buffer.readByteArray(&light, sizeof(Light))) {
138 Light tmpLight = fLight;
/external/skia/include/effects/
H A DSkEmbossMaskFilter.h19 struct Light { struct in class:SkEmbossMaskFilter
26 static SkEmbossMaskFilter* Create(SkScalar blurSigma, const Light& light);
39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light);
43 Light fLight;
/external/mesa3d/src/mesa/main/
H A Dlight.c52 if (ctx->Light.ShadeModel == mode)
56 ctx->Light.ShadeModel = mode;
86 if (ctx->Light.ProvokingVertex == mode)
90 ctx->Light.ProvokingVertex = mode;
107 light = &ctx->Light.Light[lnum];
347 COPY_4V( params, ctx->Light.Light[l].Ambient );
350 COPY_4V( params, ctx->Light.Light[
[all...]
H A Dstate.h55 if (ctx->Light.Enabled &&
56 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR)
/external/jmonkeyengine/engine/src/core/com/jme3/light/
H A DAmbientLight.java15 public class AmbientLight extends Light {
H A DLightList.java47 public final class LightList implements Iterable<Light>, Savable, Cloneable {
49 private Light[] list, tlist;
56 private static final Comparator<Light> c = new Comparator<Light>() {
60 public int compare(Light l1, Light l2) {
83 list = new Light[DEFAULT_SIZE];
98 Light[] temp = new Light[list.length * 2];
112 public void add(Light
[all...]
H A DLight.java45 public abstract class Light implements Savable, Cloneable { class in inherits:Savable,Cloneable
165 * @see Light#setEnabled(boolean)
174 public Light clone(){
176 return (Light) super.clone();
H A DPointLight.java53 public class PointLight extends Light {
114 throw new IllegalArgumentException("Light radius cannot be negative");
133 public Light.Type getType() {
134 return Light.Type.Point;
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DLightNode.java34 import com.jme3.light.Light;
39 * <code>LightNode</code> is used to link together a {@link Light} object
54 public LightNode(String name, Light light) {
82 public void setLight(Light light) {
90 public Light getLight() {
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
H A DShadowCamera.java35 import com.jme3.light.Light;
48 private Light target;
50 public ShadowCamera(Light target) {
61 if (target.getType() == Light.Type.Directional) {
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv10_state_tnl.c60 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
[all...]
H A Dnv20_state_tnl.c92 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
[all...]
/external/mesa3d/src/mesa/program/
H A Dprog_statevars.c59 const struct gl_material *mat = &ctx->Light.Material;
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);
110 value[0] = ctx->Light
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
H A DLightControl.java37 import com.jme3.light.Light;
57 * Means, that the Light's transform is "copied"
67 private Light light;
79 public LightControl(Light light) {
86 public LightControl(Light light, ControlDirection controlDir) {
91 public Light getLight() {
95 public void setLight(Light light) {
122 private void spatialTolight(Light light) {
140 private void lightToSpatial(Light light) {
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_lighttmp.h53 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];
95 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3];
97 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3];
110 foreach (light, &ctx->Light.EnabledList) {
187 if (ctx->Light.Model.LocalViewer) {
237 GLfloat (*base)[3] = ctx->Light._BaseColor;
257 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3];
261 sumA[1] = ctx->Light
[all...]
H A Dt_vb_light.c178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0];
182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0];
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)
369 if (ctx->Light.Model.TwoSide)
388 if (!ctx->Light.Enabled || ctx->VertexProgram._Current)
391 if (ctx->Light._NeedVertices) {
392 if (ctx->Light
[all...]
H A Dt_vb_rendertmp.h85 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
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
H A DBlenderModelLoader.java36 import com.jme3.light.Light;
69 }else if (object instanceof Light){
70 modelRoot.addLight( (Light) object );
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/
H A DLightHelper.java36 import com.jme3.light.Light;
69 public Light toLight(Structure structure, BlenderContext blenderContext) throws BlenderFileException {
70 Light result = (Light) blenderContext.getLoadedFeature(structure.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
/external/mesa3d/src/mesa/x86/
H A Dgen_matypes.c98 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/drivers/dri/i965/
H A Dgen6_clip_state.c54 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION) {
/external/mesa3d/src/mesa/tnl_dd/
H A Dt_dd_unfilled.h48 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) {
86 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) {
116 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) {
149 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) {
/external/roboto-fonts/
H A Dfonts.mk22 Roboto-Light.ttf \
32 RobotoCondensed-Light.ttf \
/external/skia/samplecode/
H A DSampleEmboss.cpp29 SkEmbossMaskFilter::Light fLight;

Completed in 625 milliseconds

12345