/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) { 389 GGLfixed ydsdy; 390 GGLfixed dsdx; 391 GGLfixed dsdy; 393 GGLfixed ydtdy; 394 GGLfixed dtdx; 395 GGLfixed dtdy; 399 GGLfixed ydvdy; 400 GGLfixed dvdx; 401 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 | 595 static GGLfixed wrapping(int32_t coord, uint32_t size, int tx_wrap) 597 GGLfixed d; 601 const GGLfixed clamp_min = FIXED_HALF; 602 const GGLfixed clamp_max = (size << 16) - FIXED_HALF; 607 const GGLfixed clamp_min = 0; 608 const GGLfixed clamp_max = (size << 16); 656 GGLfixed z = (xs * c->shade.dzdx) + ci.ydzdy; 657 GGLfixed f = (xs * c->shade.dfdx) + ci.ydfdy; 660 GGLfixed s, t; [all...] |
/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/native/opengl/libagl/ |
fp.cpp | 23 GGLfixed gglFloatToFixed(float v) { 24 return GGLfixed(floorf(v * 65536.0f + 0.5f));
|
context.h | 217 GGLfixed t, const vertex_t* s, const vertex_t* p); 219 GGLfixed t, const vertex_t* s, const vertex_t* p); 552 void iterators1616(GGLfixed it[3], 553 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)) {
|