Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 25 of 31) sorted by relevance

12

/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/
DPostShadowPSSM15.frag7 #define SHADOWCOMPAREOFFSET(tex,coord,offset) textureProjOffset(tex, coord, offset)
8 #define SHADOWCOMPARE(tex,coord) textureProj(tex, coord)
9 #define SHADOWGATHER(tex,coord) textureGather(tex, coord.xy, coord.z)
12 …#define SHADOWCOMPAREOFFSET(tex,coord,offset) step(coord.z, textureProjOffset(tex, coord, offset).…
13 #define SHADOWCOMPARE(tex,coord) step(coord.z, textureProj(tex, coord).r)
14 #define SHADOWGATHER(tex,coord) step(coord.z, textureGather(tex, coord.xy))
55 float Shadow_BorderCheck(in vec2 coord){
57 vec4 t = vec4(coord.xy, 0.0, 1.0);
87 vec4 coord = vec4(projCoord.xyz / projCoord.www,0.0);
88 vec4 gather = SHADOWGATHER(tex, coord);
[all …]
DPostShadow.frag7 vec4 coord = projCoord;
8 coord.xyz /= coord.w;
9 float shad = Shadow_GetShadow(m_ShadowMap, coord) * 0.7 + 0.3;
DPostShadowPSSM.frag3 #define SHADOWCOMPARE(tex,coord) shadow2DProj(tex, coord).r
6 #define SHADOWCOMPARE(tex,coord) step(coord.z, texture2DProj(tex, coord).r)
51 vec4 coord = vec4(projCoord.xy + offset.xy * pixSize2, projCoord.zw);
52 return SHADOWCOMPARE(tex, coord);
59 float Shadow_BorderCheck(in vec2 coord){
61 vec4 t = vec4(coord.xy, 0.0, 1.0);
DPostShadow.vert22 vec4 coord = m_LightViewProjectionMatrix * worldPos;
23 projCoord = biasMat * coord;
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DShadow.glsllib4 #define SHADCOORD(coord) coord.xy
8 #define SHADCOORD(coord) vec3(coord.xy,0.0)
25 float Shadow_BorderCheck(in vec2 coord){
27 //if (coord.x >= 1.0)
29 //else if (coord.x <= 0.0)
31 //else if (coord.y >= 1.0)
33 //else if (coord.y <= 0.0)
39 vec4 t = vec4(coord.xy, 0.0, 1.0);
64 vec4 coord = vec4(dn.xy, projCoord.zw);
65 float s_00 = Shadow_DoShadowCompare(tex, coord);
[all …]
/external/qemu/android/skin/
Dtrackball.c318 SphereCoord coord = &ball->sphere_map[total]; in trackball_init() local
325 coord->x = xx; in trackball_init()
326 coord->y = yy; in trackball_init()
327 coord->offset = xx + yy*diameter2; in trackball_init()
328 coord->alpha = 256; in trackball_init()
329 coord->f[0] = FIX16_FROM_FLOAT(rx); in trackball_init()
330 coord->f[1] = FIX16_FROM_FLOAT(ry); in trackball_init()
331 coord->f[2] = FIX16_FROM_FLOAT(rz); in trackball_init()
333 coord->alpha = 256*(radius - r0); in trackball_init()
351 coord->alpha = coord->alpha * scale; in trackball_init()
[all …]
/external/opencv/cvaux/src/
Denmin.cpp78 int coord;
211 ( ( Vertex* )newVtxPtr ) -> coord = i;
216 ( ( Vertex* )newVtxPtr ) -> coord = -2; /* adding alpha vertex */
219 ( ( Vertex* )newVtxPtr ) -> coord = -1; /* adding beta vertex */
235 ( ( Vertex* )vtxPtr ) -> coord,
242 if( ( ( Vertex* )tempVtxPtr ) -> coord + 1 ==
243 ( ( Vertex* )vtxPtr ) -> coord )
246 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
255 ( ( Vertex* )vtxPtr ) -> coord;
257 ( ( Vertex* )tempVtxPtr ) -> coord;
[all …]
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DGeolocationClientQt.cpp68 QGeoCoordinate coord = geoPosition.coordinate(); in positionUpdated() local
69 double latitude = coord.latitude(); in positionUpdated()
70 double longitude = coord.longitude(); in positionUpdated()
72 double altitude = coord.altitude(); in positionUpdated()
/external/skia/src/core/
DSkEdgeClipper.cpp509 static void assert_monotonic(const SkScalar coord[], int count) { argument
510 if (coord[0] > coord[(count - 1) * 2]) {
512 SkASSERT(coord[2 * (i - 1)] >= coord[i * 2]);
514 } else if (coord[0] < coord[(count - 1) * 2]) {
516 SkASSERT(coord[2 * (i - 1)] <= coord[i * 2]);
520 SkASSERT(coord[2 * (i - 1)] == coord[i * 2]);
/external/skia/legacy/src/core/
DSkEdgeClipper.cpp497 static void assert_monotonic(const SkScalar coord[], int count) { in assert_monotonic() argument
498 if (coord[0] > coord[(count - 1) * 2]) { in assert_monotonic()
500 SkASSERT(coord[2 * (i - 1)] >= coord[i * 2]); in assert_monotonic()
502 } else if (coord[0] < coord[(count - 1) * 2]) { in assert_monotonic()
504 SkASSERT(coord[2 * (i - 1)] <= coord[i * 2]); in assert_monotonic()
508 SkASSERT(coord[2 * (i - 1)] == coord[i * 2]); in assert_monotonic()
/external/quake/quake/src/WinQuake/
Dconproc.cpp197 COORD coord; in ReadText() local
201 coord.X = 0; in ReadText()
202 coord.Y = iBeginLine; in ReadText()
208 coord, in ReadText()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp366 const char* coord, in appendTextureLookup() argument
372 clampedCoord.printf("clamp(%s, 0.0, 1.0)", coord); in appendTextureLookup()
373 coord = clampedCoord.c_str(); in appendTextureLookup()
376 clampedCoord.printf("fract(%s)", coord); in appendTextureLookup()
377 coord = clampedCoord.c_str(); in appendTextureLookup()
380 code->appendf("clamp(%s, 0.0, 1.0) != %s ? vec4(0, 0, 0, 0) : ", coord, coord); in appendTextureLookup()
383 builder->appendTextureLookup(code, sampler, coord); in appendTextureLookup()
DSkBicubicImageFilter.cpp257 SkString coord; in emitCode() local
258 coord.printf("coord + %s * vec2(%d, %d)", imgInc, x - 1, y - 1); in emitCode()
260 builder->appendTextureLookup(&builder->fFSCode, samplers[0], coord.c_str()); in emitCode()
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_glfuncs.h126 SDL_PROC_UNUSED(void,glGetTexGendv,(GLenum coord, GLenum pname, GLdouble *params))
127 SDL_PROC_UNUSED(void,glGetTexGenfv,(GLenum coord, GLenum pname, GLfloat *params))
128 SDL_PROC_UNUSED(void,glGetTexGeniv,(GLenum coord, GLenum pname, GLint *params))
300 SDL_PROC_UNUSED(void,glTexGend,(GLenum coord, GLenum pname, GLdouble param))
301 SDL_PROC_UNUSED(void,glTexGendv,(GLenum coord, GLenum pname, const GLdouble *params))
302 SDL_PROC_UNUSED(void,glTexGenf,(GLenum coord, GLenum pname, GLfloat param))
303 SDL_PROC_UNUSED(void,glTexGenfv,(GLenum coord, GLenum pname, const GLfloat *params))
304 SDL_PROC_UNUSED(void,glTexGeni,(GLenum coord, GLenum pname, GLint param))
305 SDL_PROC_UNUSED(void,glTexGeniv,(GLenum coord, GLenum pname, const GLint *params))
/external/skia/legacy/src/views/
DSkStackViewLayout.cpp63 typedef void (SkView::*SetLocProc)(SkScalar coord);
64 typedef void (SkView::*SetSizeProc)(SkScalar coord);
/external/skia/src/views/
DSkStackViewLayout.cpp63 typedef void (SkView::*SetLocProc)(SkScalar coord);
64 typedef void (SkView::*SetSizeProc)(SkScalar coord);
/external/webkit/Source/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp98 static bool isCoordinateSkiaSafe(float coord) in isCoordinateSkiaSafe() argument
102 if (!_finite(coord)) in isCoordinateSkiaSafe()
104 if (!finite(coord)) in isCoordinateSkiaSafe()
112 if (coord > maxPointMagnitude || coord < -maxPointMagnitude) in isCoordinateSkiaSafe()
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrain.frag19 // get the alpha value at this 2D texture coord
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainQuad.java1171 List<Vector2f> coord = new ArrayList<Vector2f>();
1172 coord.add(xz);
1176 setHeight(coord, h);
1180 List<Vector2f> coord = new ArrayList<Vector2f>();
1181 coord.add(xz);
1185 adjustHeight(coord, h);
/external/webkit/Source/WebCore/platform/mac/
DScrollViewMac.mm175 // "Containing Window" means the NSWindow's coord system, which is origin lower left
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DShaderProgram.cpp418 const GLfloat coord[] = { in initGLResources() local
427 glBufferData(GL_ARRAY_BUFFER, 2 * 4 * sizeof(GLfloat), coord, GL_STATIC_DRAW); in initGLResources()
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzWM.m197 if ( ! CGDisplayIsCaptured (display_id) ) { /* not captured => not fullscreen => local coord */
218 if ( ! CGDisplayIsCaptured (display_id) ) { /* not captured => not fullscreen => local coord */
/external/icu4c/tools/tzcode/
Dtz2icu.cpp1599 string country, coord, zone; in main() local
1601 is >> country >> coord >> zone; in main()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_opengl.h3380 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
3381 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
3382 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
3383 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
5068 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
5069 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
5070 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
5071 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
5860 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
5985 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value…
/external/chromium/chrome/browser/ui/cocoa/
Dstatus_bubble_mac.mm271 --cursor_location.y; // docs say the y coord starts at 1 not 0; don't ask why

12