Searched refs:GGLfixed (Results 1 – 10 of 10) sorted by relevance
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | 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 ; 37 inline GGLfixed gglFixedToIntFloor(GGLfixed f) ALWAYS_INLINE ; 38 inline GGLfixed gglFixedToIntCeil(GGLfixed f) ALWAYS_INLINE ; [all …]
|
D | ggl_context.h | 114 inline GGLcolor gglFixedToIteratedColor(GGLfixed c) { in gglFixedToIteratedColor() 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/tests/gglmul/ |
D | 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; in gglMulx_test() 144 GGLfixed x; 145 GGLfixed y; 147 GGLfixed a; [all …]
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ() 73 static const GGLfixed ggl_sqrt_reciproc_approx_tab[8] = { 78 GGLfixed gglSqrtRecipx(GGLfixed x) in gglSqrtRecipx() 82 const GGLfixed a = x; in gglSqrtRecipx() 97 GGLfixed gglSqrtx(GGLfixed a) in gglSqrtx() 100 GGLfixed r = 0; in gglSqrtx() 101 GGLfixed bit = 0x800000; in gglSqrtx() 104 GGLfixed temp = bit + (r<<1); in gglSqrtx() 118 static const GGLfixed ggl_log_approx_tab[] = { 123 static const GGLfixed ggl_alog_approx_tab[] = { // domain [0 - 1.0] [all …]
|
D | trap.cpp | 391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4); in aa_linex() 670 const GGLfixed* top = p1; in edge_setup() 671 const GGLfixed* bot = p2; in edge_setup() 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; in aa_edge_setup() 861 const GGLfixed* bot = p2; in aa_edge_setup() 990 GGLfixed l = left->x; in aapolyx() 991 GGLfixed r = right->x; in aapolyx() [all …]
|
D | raster.cpp | 27 static void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y); 40 void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y) in ggl_rasterPos2x()
|
D | clear.cpp | 88 static inline GGLfixed fixedToZ(GGLfixed z) { in fixedToZ() 89 return GGLfixed(((int64_t(z) << 16) - z) >> 16); in fixedToZ()
|
D | scanline.cpp | 613 static GGLfixed wrapping(int32_t coord, uint32_t size, int tx_wrap) in wrapping() 615 GGLfixed d; in wrapping() 619 const GGLfixed clamp_min = FIXED_HALF; in wrapping() 620 const GGLfixed clamp_max = (size << 16) - FIXED_HALF; in wrapping() 625 const GGLfixed clamp_min = 0; in wrapping() 626 const GGLfixed clamp_max = (size << 16); in wrapping() 674 GGLfixed z = (xs * c->shade.dzdx) + ci.ydzdy; in scanline() 675 GGLfixed f = (xs * c->shade.dfdx) + ci.ydfdy; in scanline() 678 GGLfixed s, t; in scanline() 907 GGLfixed fc = (c->state.fog.color[i] * 0x10000) / 0xFF; in scanline() [all …]
|
D | pixelflinger.cpp | 260 static void ggl_wGrad3xv(void* con, const GGLfixed* grad) in ggl_wGrad3xv() 270 static void ggl_fogGrad3xv(void* con, const GGLfixed* grad) in ggl_fogGrad3xv() 358 GGLenum pname, const GGLfixed* params) in ggl_texEnvxv() 463 static void ggl_texCoord2x(void* con, GGLfixed s, GGLfixed t) in ggl_texCoord2x()
|
/system/core/libpixelflinger/include/pixelflinger/ |
D | pixelflinger.h | 31 typedef int32_t GGLfixed; // x typedef 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);
|