/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | vg_context.h | 194 static INLINE void vg_shift_rectx(VGfloat coords[4], argument 198 coords[0] += shift; 199 coords[2] -= shift; 201 coords[2] = MIN2(coords[2], bounds[2]); 203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) { 204 coords[2] = (bounds[0] + bounds[2]) - coords[0]; 209 static INLINE void vg_shift_recty(VGfloat coords[ argument 223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument [all...] |
H A D | vgu.c | 44 const VGfloat *coords, 50 vg_float_to_datatype(path_datatype(p), common_data, coords, num_coords); local 59 VGfloat coords[4]; local 70 coords[0] = x0; 71 coords[1] = y0; 72 coords[2] = x1; 73 coords[3] = y1; 75 vgu_append_float_coords(path, cmds, 2, coords, 4); 86 VGfloat *coords; local 104 coords 41 vgu_append_float_coords(VGPath path, const VGubyte *cmds, VGint num_cmds, const VGfloat *coords, VGint num_coords) argument 138 VGfloat coords[5]; local 232 VGfloat coords[12]; local 267 VGfloat coords[40]; local [all...] |
H A D | stroker.c | 71 void (*current_coords)(struct stroke_iterator *it, VGfloat *coords); 77 const VGfloat *coords; member in struct:stroke_iterator 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument 92 itr->current_coords(itr, coords); 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument 101 coords[0] = itr->coords[itr->coord_position]; 102 coords[1] = itr->coords[itr->coord_position + 1]; 105 coords[ 122 stroke_bw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument 196 stroke_itr_common_init(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument 207 stroke_forward_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument 221 stroke_backward_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument 305 stroke_flat_itr_coords(struct stroke_iterator *itr, VGfloat *coords) argument 331 stroke_flat_iterator(struct stroke_iterator *itr, struct array *cmds, struct array *coords) argument 553 VGfloat coords[2] = {x, y}; local 570 VGfloat coords[2] = {x, y}; local 588 VGfloat coords[6] = {px1, py1, px2, py2, x, y}; local 750 stroker_add_segment(struct stroker *stroker, VGPathCommand cmd, const VGfloat *coords, VGint num_coords) argument 800 VGfloat coords[2] = {x, y}; local 816 VGfloat coords[] = {x, y}; local 831 VGfloat coords[] = {px1, py1, local 844 is_segment_null(VGPathCommand cmd, VGfloat *coords, VGfloat *res) argument 906 VGfloat coords[8]; local 1056 VGfloat data[8], coords[8]; local 1169 VGfloat coords[8]; local [all...] |
H A D | paint.h | 63 const VGfloat *coords); 65 VGfloat *coords); 67 const VGint *coords); 69 VGint *coords); 75 VGfloat *coords); 79 VGint *coords);
|
H A D | path.c | 173 void *coords = (VGfloat *)pdata; local 179 data_at(&coords, p, 0, 1, data); 262 VGubyte *coords = (VGubyte*)p->control_points->data; local 264 coords + old_segments * p->control_points->datatype_size, 309 void *coords = (VGfloat *)p->control_points->data; local 315 data_at(&coords, p, 0, 1, data); 367 void *coords = (VGfloat *)p->control_points->data; local 411 data_at(&coords, p, 0, 2, data); 425 data_at(&coords, p, 0, 2, data); 437 data_at(&coords, 679 void *coords = (VGfloat *)path->control_points->data; local 810 struct array *coords; member in struct:transform_data 951 void *coords; member in struct:path_iter_data 1236 void *coords = (VGfloat *)p->control_points->data; local 1714 VGfloat coords[8]; local 1798 VGfloat coords[8]; local 1884 path_point_segment(struct path_iter_data iter, struct path_iter_data prev_iter, VGfloat coords[8], VGfloat distance, VGfloat length, VGfloat *current_length, VGfloat *point, VGfloat *normal) argument 1972 VGfloat coords[8]; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | drawtex.c | 69 _mesa_DrawTexfv(const GLfloat *coords) argument 72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); 86 _mesa_DrawTexiv(const GLint *coords) argument 89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], 90 (GLfloat) coords[ 104 _mesa_DrawTexsv(const GLshort *coords) argument 126 _mesa_DrawTexxv(const GLfixed *coords) argument [all...] |
H A D | drawtex.h | 38 _mesa_DrawTexfv(const GLfloat *coords); 44 _mesa_DrawTexiv(const GLint *coords); 50 _mesa_DrawTexsv(const GLshort *coords); 56 _mesa_DrawTexxv(const GLfixed *coords);
|
/external/eigen/bench/ |
H A D | sparse_setter.cpp | 47 EIGEN_DONT_INLINE Scalar* setinnerrand_eigen(const Coordinates& coords, const Values& vals); 48 EIGEN_DONT_INLINE Scalar* setrand_eigen_dynamic(const Coordinates& coords, const Values& vals); 49 EIGEN_DONT_INLINE Scalar* setrand_eigen_compact(const Coordinates& coords, const Values& vals); 50 EIGEN_DONT_INLINE Scalar* setrand_eigen_sumeq(const Coordinates& coords, const Values& vals); 51 EIGEN_DONT_INLINE Scalar* setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals); 52 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_dense(const Coordinates& coords, const Values& vals); 53 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals); 54 EIGEN_DONT_INLINE Scalar* setrand_scipy(const Coordinates& coords, const Values& vals); 55 EIGEN_DONT_INLINE Scalar* setrand_ublas_mapped(const Coordinates& coords, const Values& vals); 56 EIGEN_DONT_INLINE Scalar* setrand_ublas_coord(const Coordinates& coords, cons 68 Coordinates coords; local 194 setinnerrand_eigen(const Coordinates& coords, const Values& vals) argument 208 setrand_eigen_dynamic(const Coordinates& coords, const Values& vals) argument 222 setrand_eigen_sumeq(const Coordinates& coords, const Values& vals) argument 241 setrand_eigen_compact(const Coordinates& coords, const Values& vals) argument 255 setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals) argument 271 setrand_eigen_google_dense(const Coordinates& coords, const Values& vals) argument 284 setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals) argument 405 setrand_scipy(const Coordinates& coords, const Values& vals) argument 425 setrand_ublas_mapped(const Coordinates& coords, const Values& vals) argument 464 setrand_ublas_genvec(const Coordinates& coords, const Values& vals) argument [all...] |
/external/freetype/include/ |
H A D | ftmm.h | 165 /* coords :: The design coordinates for this style. */ 172 FT_Fixed* coords; member in struct:FT_Var_Named_Style_ 288 /* coords :: An array of design coordinates. */ 296 FT_Long* coords ); 317 /* coords :: An array of design coordinates. */ 325 FT_Fixed* coords ); 346 /* coords :: The design coordinates array (each element must be */ 355 FT_Fixed* coords ); 369 FT_Fixed* coords );
|
/external/pdfium/third_party/freetype/include/ |
H A D | ftmm.h | 165 /* coords :: The design coordinates for this style. */ 172 FT_Fixed* coords; member in struct:FT_Var_Named_Style_ 286 /* coords :: An array of design coordinates. */ 294 FT_Long* coords ); 313 /* coords :: An array of design coordinates. */ 321 FT_Fixed* coords ); 340 /* coords :: The design coordinates array (each element must be */ 349 FT_Fixed* coords ); 363 FT_Fixed* coords );
|
/external/freetype/src/base/ |
H A D | ftmm.c | 124 FT_Long* coords ) 132 if ( !coords ) 140 error = service->set_mm_design( face, num_coords, coords ); 152 FT_Fixed* coords ) 160 if ( !coords ) 168 error = service->set_var_design( face, num_coords, coords ); 180 FT_Fixed* coords ) 188 if ( !coords ) 196 error = service->set_mm_blend( face, num_coords, coords ); 211 FT_Fixed* coords ) [all...] |
/external/pdfium/third_party/freetype/src/base/ |
H A D | ftmm.c | 124 FT_Long* coords ) 132 if ( !coords ) 140 error = service->set_mm_design( face, num_coords, coords ); 152 FT_Fixed* coords ) 160 if ( !coords ) 168 error = service->set_var_design( face, num_coords, coords ); 180 FT_Fixed* coords ) 188 if ( !coords ) 196 error = service->set_mm_blend( face, num_coords, coords ); 211 FT_Fixed* coords ) [all...] |
/external/skia/src/gpu/ |
H A D | GrPrimitiveProcessor.cpp | 14 * that indicates the source of the input coords. 40 GrPrimitiveProcessor::getTransformKey(const SkTArray<const GrCoordTransform*, true>& coords) const { 42 for (int t = 0; t < coords.count(); ++t) { 44 const GrCoordTransform* coordTransform = coords[t];
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderReturnTests.cpp | 63 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 64 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 65 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 171 const char* coords = isVertex ? "a_coords" : "v_coords"; local 178 params["COORDS"] = coords; 186 case RETURNMODE_DYNAMIC: params["RETURNCOND"] = string(coords) + ".x+" + coords 226 const char* coords = isVertex ? "a_coords" : "v_coords"; local 271 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
H A D | es2fShaderStructTests.cpp | 238 c.color.xyz() = c.coords.swizzle(0,1,2); 265 c.color.xyz() = c.coords.swizzle(0,1,2); 291 c.color.xyz() = c.coords.swizzle(3,2,1); 319 c.color.xyz() = c.coords.swizzle(1,2,0); 345 c.color.xyz() = c.coords.swizzle(2,1,0); 371 c.color.xyz() = c.coords.swizzle(2,1,0); 435 c.color.xyz() = c.coords.swizzle(2,0,3); 499 c.color.xyz() = c.coords.swizzle(2,0,3); 526 c.color.xyz() = c.coords.swizzle(0,1,2); 558 c.color.xyz() = c.coords [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderReturnTests.cpp | 58 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 59 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 60 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 145 const char* coords = isVertex ? "a_coords" : "v_coords"; local 151 params["COORDS"] = coords; 159 case RETURNMODE_DYNAMIC: params["RETURNCOND"] = string(coords) + ".x+" + coords 201 const char* coords = isVertex ? "a_coords" : "v_coords"; local 247 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
H A D | es3fShaderSwitchTests.cpp | 75 static void evalSwitchStatic (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); } 76 static void evalSwitchUniform (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); } 79 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) 81 case 0: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,1,2); break; 82 case 1: evalCtx.color.xyz() = evalCtx.coords.swizzle(3,2,1); break; 83 case 2: evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); break; 84 case 3: evalCtx.color.xyz() = evalCtx.coords.swizzle(2,1,0); break; 85 default: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,0,0); break; 124 op << " highp vec4 coords = " << (isVertex ? "a_coords" : "v_coords") << ";\n"; 131 type == SWITCHTYPE_DYNAMIC ? "int(floor(coords [all...] |
H A D | es3fShaderStructTests.cpp | 212 c.color.xyz() = c.coords.swizzle(0,1,2); 239 c.color.xyz() = c.coords.swizzle(0,1,2); 265 c.color.xyz() = c.coords.swizzle(3,2,1); 293 c.color.xyz() = c.coords.swizzle(1,2,0); 319 c.color.xyz() = c.coords.swizzle(2,1,0); 345 c.color.xyz() = c.coords.swizzle(2,1,0); 409 c.color.xyz() = c.coords.swizzle(2,0,3); 473 c.color.xyz() = c.coords.swizzle(2,0,3); 500 c.color.xyz() = c.coords.swizzle(0,1,2); 532 c.color.xyz() = c.coords [all...] |
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 63 static void renderReference (const SurfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) argument 68 Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2*3+0], coords[1*3+0]) }; 69 Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[ 213 float coords[] = local 263 renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); local [all...] |
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 66 static void renderReference (const SurfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) argument 71 Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2*3+0], coords[1*3+0]) }; 72 Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[ 220 float coords[] = local 270 renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); local [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
H A D | MidpointDisplacementHeightMap.java | 159 * Will fill the value at (coords[0]+stepSize/2, coords[1]+stepSize/2) with
160 * the average from the corners of the square with topleft corner at (coords[0],coords[1])
163 * @param coords an int array of lenght 2 with the x coord in position 0
169 protected int[] doSquareStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, Random random) {
argument 171 int x = coords[0];
172 int y = coords[1];
178 float offset = getOffset(random, offsetRange, coords, cornerAverage);
195 * @param coords
201 doDiamondStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, Random random) argument 246 getOffset(Random random, float offsetRange, int[] coords, float average) argument [all...] |
/external/freetype/include/internal/services/ |
H A D | svmm.h | 49 FT_Long* coords ); 54 FT_Fixed* coords ); 59 FT_Long* coords );
|
/external/pdfium/third_party/freetype/include/internal/services/ |
H A D | svmm.h | 49 FT_Long* coords ); 54 FT_Fixed* coords ); 59 FT_Long* coords );
|
/external/pdfium/third_party/freetype/src/type1/ |
H A D | t1load.h | 79 FT_Fixed* coords ); 84 FT_Long* coords ); 89 FT_Fixed* coords );
|
/external/skia/src/gpu/effects/ |
H A D | GrSimpleTextureEffect.cpp | 25 const TransformedCoordsArray& coords, 31 coords[0].c_str(), 32 coords[0].getType());
|