HomeSort by relevance Sort by last modified time
    Searched refs:GGLfixed (Results 1 - 14 of 14) sorted by null

  /system/core/include/private/pixelflinger/
ggl_fixed.h 28 const GGLfixed FIXED_BITS = 16;
29 const GGLfixed FIXED_EPSILON = 1;
30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS;
31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1);
32 const GGLfixed FIXED_MIN = 0x80000000L;
33 const GGLfixed FIXED_MAX = 0x7FFFFFFFL;
35 inline GGLfixed gglIntToFixed(GGLfixed i) ALWAYS_INLINE ;
36 inline GGLfixed gglFixedToIntRound(GGLfixed f) ALWAYS_INLINE
    [all...]
ggl_context.h 94 inline GGLcolor gglFixedToIteratedColor(GGLfixed c) {
369 GGLfixed ydsdy;
370 GGLfixed dsdx;
371 GGLfixed dsdy;
373 GGLfixed ydtdy;
374 GGLfixed dtdx;
375 GGLfixed dtdy;
379 GGLfixed ydvdy;
380 GGLfixed dvdx;
381 GGLfixed dvdy
    [all...]
  /system/core/libpixelflinger/
fixed.cpp 60 int32_t gglRecipQ(GGLfixed x, int q)
72 GGLfixed gglFastDivx(GGLfixed n, GGLfixed d)
83 static const GGLfixed ggl_sqrt_reciproc_approx_tab[8] = {
88 GGLfixed gglSqrtRecipx(GGLfixed x)
92 const GGLfixed a = x;
107 GGLfixed gglSqrtx(GGLfixed a
    [all...]
raster.cpp 27 static void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y);
40 void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y)
clear.cpp 88 static inline GGLfixed fixedToZ(GGLfixed z) {
89 return GGLfixed(((int64_t(z) << 16) - z) >> 16);
trap.cpp 391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4);
670 const GGLfixed* top = p1;
671 const GGLfixed* bot = p2;
825 GGLfixed x; // edge position in 12.16 coordinates
826 GGLfixed x_incr; // on each y step, increment x by that amount
827 GGLfixed y_incr; // on each x step, increment y by that amount
860 const GGLfixed* top = p1;
861 const GGLfixed* bot = p2;
990 GGLfixed l = left->x;
991 GGLfixed r = right->x
    [all...]
pixelflinger.cpp 260 static void ggl_wGrad3xv(void* con, const GGLfixed* grad)
270 static void ggl_fogGrad3xv(void* con, const GGLfixed* grad)
358 GGLenum pname, const GGLfixed* params)
463 static void ggl_texCoord2x(void* con, GGLfixed s, GGLfixed t)
scanline.cpp 461 static GGLfixed wrapping(int32_t coord, uint32_t size, int tx_wrap)
463 GGLfixed d;
467 const GGLfixed clamp_min = FIXED_HALF;
468 const GGLfixed clamp_max = (size << 16) - FIXED_HALF;
473 const GGLfixed clamp_min = 0;
474 const GGLfixed clamp_max = (size << 16);
522 GGLfixed z = (xs * c->shade.dzdx) + ci.ydzdy;
523 GGLfixed f = (xs * c->shade.dfdx) + ci.ydfdy;
526 GGLfixed s, t;
755 GGLfixed fc = (c->state.fog.color[i] * 0x10000) / 0xFF
    [all...]
  /frameworks/base/opengl/libagl/
fp.cpp 23 GGLfixed gglFloatToFixed(float v) {
24 return GGLfixed(floorf(v * 65536.0f + 0.5f));
primitives.cpp 303 int compute_iterators_t::iteratorsScale(GGLfixed* it,
331 void compute_iterators_t::iterators1616(GGLfixed* it,
332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const
334 const GGLfixed dc01 = c1 - c0;
335 const GGLfixed dc02 = c2 - c0;
422 const GGLfixed q = coords.Q;
    [all...]
texture.cpp 257 GGLfixed colors[4] = { 0, 0, 0, 0x10000 };
583 void set_depth_and_fog(ogles_context_t* c, GGLfixed z)
589 GGLfixed Zw;
590 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear);
591 GGLfixed f = gglFloatToFixed(c->transforms.vpt.zFar);
989 GGLfixed fixed[4];
    [all...]
light.cpp 466 if (GGLfixed(param) >= gglIntToFixed(128)) {
473 if (param!=gglIntToFixed(180) && GGLfixed(param)>=gglIntToFixed(90)) {
  /system/core/include/pixelflinger/
pixelflinger.h 31 typedef int32_t GGLfixed; // x
239 void (*wGrad3xv)(void* c, const GGLfixed* grad);
242 void (*fogGrad3xv)(void* c, const GGLfixed* grad);
256 GGLenum pname, const GGLfixed* params);
265 void (*texCoord2x)(void* c, GGLfixed s, GGLfixed t);
304 void (*rasterPos2x)(void* c, GGLfixed x, GGLfixed y);
  /frameworks/base/include/private/opengles/
gl_context.h 220 GGLfixed t, const vertex_t* s, const vertex_t* p);
222 GGLfixed t, const vertex_t* s, const vertex_t* p);
555 void iterators1616(GGLfixed it[3],
556 GGLfixed c0, GGLfixed c1, GGLfixed c2) const;

Completed in 214 milliseconds