HomeSort by relevance Sort by last modified time
    Searched refs:GGLfixed (Results 1 - 15 of 15) 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 114 inline GGLcolor gglFixedToIteratedColor(GGLfixed c) {
391 GGLfixed ydsdy;
392 GGLfixed dsdx;
393 GGLfixed dsdy;
395 GGLfixed ydtdy;
396 GGLfixed dtdx;
397 GGLfixed dtdy;
401 GGLfixed ydvdy;
402 GGLfixed dvdx;
403 GGLfixed dvdy
    [all...]
  /system/core/libpixelflinger/
fixed.cpp 60 int32_t gglRecipQ(GGLfixed x, int q)
73 GGLfixed gglFastDivx(GGLfixed n, GGLfixed d)
84 static const GGLfixed ggl_sqrt_reciproc_approx_tab[8] = {
89 GGLfixed gglSqrtRecipx(GGLfixed x)
93 const GGLfixed a = x;
108 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 611 static GGLfixed wrapping(int32_t coord, uint32_t size, int tx_wrap)
613 GGLfixed d;
617 const GGLfixed clamp_min = FIXED_HALF;
618 const GGLfixed clamp_max = (size << 16) - FIXED_HALF;
623 const GGLfixed clamp_min = 0;
624 const GGLfixed clamp_max = (size << 16);
672 GGLfixed z = (xs * c->shade.dzdx) + ci.ydzdy;
673 GGLfixed f = (xs * c->shade.dfdx) + ci.ydfdy;
676 GGLfixed s, t;
    [all...]
  /system/core/libpixelflinger/tests/gglmul/
gglmul_test.cpp 38 GGLfixed input;
39 GGLfixed output;
72 GGLfixed input;
73 GGLfixed output;
102 GGLfixed x;
103 GGLfixed y;
123 GGLfixed actual, expected;
144 GGLfixed x;
145 GGLfixed y;
147 GGLfixed a
    [all...]
  /frameworks/native/opengl/libagl/
fp.cpp 23 GGLfixed gglFloatToFixed(float v) {
24 return GGLfixed(floorf(v * 65536.0f + 0.5f));
context.h 221 GGLfixed t, const vertex_t* s, const vertex_t* p);
223 GGLfixed t, const vertex_t* s, const vertex_t* p);
556 void iterators1616(GGLfixed it[3],
557 GGLfixed c0, GGLfixed c1, GGLfixed c2) const;
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 256 GGLfixed colors[4] = { 0, 0, 0, 0x10000 };
582 void set_depth_and_fog(ogles_context_t* c, GGLfixed z)
588 GGLfixed Zw;
589 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear);
590 GGLfixed f = gglFloatToFixed(c->transforms.vpt.zFar);
988 GGLfixed fixed[4];
    [all...]
light.cpp 473 if (GGLfixed(param) >= gglIntToFixed(128)) {
480 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);

Completed in 748 milliseconds