/external/mesa3d/src/gallium/state_trackers/vega/ |
D | vg_context.h | 194 static INLINE void vg_shift_rectx(VGfloat coords[4], in vg_shift_rectx() 198 coords[0] += shift; in vg_shift_rectx() 199 coords[2] -= shift; in vg_shift_rectx() 201 coords[2] = MIN2(coords[2], bounds[2]); in vg_shift_rectx() 203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) { in vg_shift_rectx() 204 coords[2] = (bounds[0] + bounds[2]) - coords[0]; in vg_shift_rectx() 209 static INLINE void vg_shift_recty(VGfloat coords[4], in vg_shift_recty() 213 coords[1] += shift; in vg_shift_recty() 214 coords[3] -= shift; in vg_shift_recty() 216 coords[3] = MIN2(coords[3], bounds[3]); in vg_shift_recty() [all …]
|
D | vgu.c | 44 const VGfloat *coords, in vgu_append_float_coords() argument 50 vg_float_to_datatype(path_datatype(p), common_data, coords, num_coords); in vgu_append_float_coords() 59 VGfloat coords[4]; in vguLine() local 70 coords[0] = x0; in vguLine() 71 coords[1] = y0; in vguLine() 72 coords[2] = x1; in vguLine() 73 coords[3] = y1; in vguLine() 75 vgu_append_float_coords(path, cmds, 2, coords, 4); in vguLine() 86 VGfloat *coords; in vguPolygon() local 104 coords = malloc(sizeof(VGfloat) * count * 2); in vguPolygon() [all …]
|
D | stroker.c | 71 void (*current_coords)(struct stroke_iterator *it, VGfloat *coords); 77 const VGfloat *coords; member 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_itr_coords() argument 92 itr->current_coords(itr, coords); in stroke_itr_coords() 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_fw_itr_coords() argument 101 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() 102 coords[1] = itr->coords[itr->coord_position + 1]; in stroke_fw_itr_coords() 105 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() 106 coords[1] = itr->coords[itr->coord_position + 1]; in stroke_fw_itr_coords() 109 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() [all …]
|
D | path.c | 173 void *coords = (VGfloat *)pdata; in coords_adjust_by_scale_bias() local 179 data_at(&coords, p, 0, 1, data); in coords_adjust_by_scale_bias() 262 VGubyte *coords = (VGubyte*)p->control_points->data; in path_append_data() local 264 coords + old_segments * p->control_points->datatype_size, in path_append_data() 309 void *coords = (VGfloat *)p->control_points->data; in convert_path() local 315 data_at(&coords, p, 0, 1, data); in convert_path() 367 void *coords = (VGfloat *)p->control_points->data; in path_get_fill_polygons() local 411 data_at(&coords, p, 0, 2, data); in path_get_fill_polygons() 425 data_at(&coords, p, 0, 2, data); in path_get_fill_polygons() 437 data_at(&coords, p, 0, 1, data); in path_get_fill_polygons() [all …]
|
D | paint.h | 63 const VGfloat *coords); 65 VGfloat *coords); 67 const VGint *coords); 69 VGint *coords); 75 VGfloat *coords); 79 VGint *coords);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
D | vg_context.h | 194 static INLINE void vg_shift_rectx(VGfloat coords[4], in vg_shift_rectx() 198 coords[0] += shift; in vg_shift_rectx() 199 coords[2] -= shift; in vg_shift_rectx() 201 coords[2] = MIN2(coords[2], bounds[2]); in vg_shift_rectx() 203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) { in vg_shift_rectx() 204 coords[2] = (bounds[0] + bounds[2]) - coords[0]; in vg_shift_rectx() 209 static INLINE void vg_shift_recty(VGfloat coords[4], in vg_shift_recty() 213 coords[1] += shift; in vg_shift_recty() 214 coords[3] -= shift; in vg_shift_recty() 216 coords[3] = MIN2(coords[3], bounds[3]); in vg_shift_recty() [all …]
|
D | vgu.c | 44 const VGfloat *coords, in vgu_append_float_coords() argument 50 vg_float_to_datatype(path_datatype(p), common_data, coords, num_coords); in vgu_append_float_coords() 59 VGfloat coords[4]; in vguLine() local 70 coords[0] = x0; in vguLine() 71 coords[1] = y0; in vguLine() 72 coords[2] = x1; in vguLine() 73 coords[3] = y1; in vguLine() 75 vgu_append_float_coords(path, cmds, 2, coords, 4); in vguLine() 86 VGfloat *coords; in vguPolygon() local 104 coords = malloc(sizeof(VGfloat) * count * 2); in vguPolygon() [all …]
|
D | stroker.c | 71 void (*current_coords)(struct stroke_iterator *it, VGfloat *coords); 77 const VGfloat *coords; member 90 static void stroke_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_itr_coords() argument 92 itr->current_coords(itr, coords); in stroke_itr_coords() 95 static void stroke_fw_itr_coords(struct stroke_iterator *itr, VGfloat *coords) in stroke_fw_itr_coords() argument 101 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() 102 coords[1] = itr->coords[itr->coord_position + 1]; in stroke_fw_itr_coords() 105 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() 106 coords[1] = itr->coords[itr->coord_position + 1]; in stroke_fw_itr_coords() 109 coords[0] = itr->coords[itr->coord_position]; in stroke_fw_itr_coords() [all …]
|
D | path.c | 173 void *coords = (VGfloat *)pdata; in coords_adjust_by_scale_bias() local 179 data_at(&coords, p, 0, 1, data); in coords_adjust_by_scale_bias() 262 VGubyte *coords = (VGubyte*)p->control_points->data; in path_append_data() local 264 coords + old_segments * p->control_points->datatype_size, in path_append_data() 309 void *coords = (VGfloat *)p->control_points->data; in convert_path() local 315 data_at(&coords, p, 0, 1, data); in convert_path() 367 void *coords = (VGfloat *)p->control_points->data; in path_get_fill_polygons() local 411 data_at(&coords, p, 0, 2, data); in path_get_fill_polygons() 425 data_at(&coords, p, 0, 2, data); in path_get_fill_polygons() 437 data_at(&coords, p, 0, 1, data); in path_get_fill_polygons() [all …]
|
D | paint.h | 63 const VGfloat *coords); 65 VGfloat *coords); 67 const VGint *coords); 69 VGint *coords); 75 VGfloat *coords); 79 VGint *coords);
|
/external/eigen/bench/ |
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, const Values& vals); [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | drawtex.c | 69 _mesa_DrawTexfv(const GLfloat *coords) in _mesa_DrawTexfv() argument 72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); in _mesa_DrawTexfv() 86 _mesa_DrawTexiv(const GLint *coords) in _mesa_DrawTexiv() argument 89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], in _mesa_DrawTexiv() 90 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]); in _mesa_DrawTexiv() 104 _mesa_DrawTexsv(const GLshort *coords) in _mesa_DrawTexsv() argument 107 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], in _mesa_DrawTexsv() 108 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]); in _mesa_DrawTexsv() 126 _mesa_DrawTexxv(const GLfixed *coords) in _mesa_DrawTexxv() argument 130 (GLfloat) coords[0] / 65536.0f, in _mesa_DrawTexxv() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | drawtex.c | 69 _mesa_DrawTexfv(const GLfloat *coords) in _mesa_DrawTexfv() argument 72 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); in _mesa_DrawTexfv() 86 _mesa_DrawTexiv(const GLint *coords) in _mesa_DrawTexiv() argument 89 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], in _mesa_DrawTexiv() 90 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]); in _mesa_DrawTexiv() 104 _mesa_DrawTexsv(const GLshort *coords) in _mesa_DrawTexsv() argument 107 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], in _mesa_DrawTexsv() 108 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]); in _mesa_DrawTexsv() 126 _mesa_DrawTexxv(const GLfixed *coords) in _mesa_DrawTexxv() argument 130 (GLfloat) coords[0] / 65536.0f, in _mesa_DrawTexxv() [all …]
|
/external/chromium_org/chrome/test/chromedriver/js/ |
D | get_element_region.js | 17 var coords = element.coords.split(','); 19 if (coords.length != 4) 21 var leftX = Number(coords[0]); 22 var topY = Number(coords[1]); 23 var rightX = Number(coords[2]); 24 var bottomY = Number(coords[3]); 32 if (coords.length != 3) 34 var centerX = Number(coords[0]); 35 var centerY = Number(coords[1]); 36 var radius = Number(coords[2]); [all …]
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
D | InsertionHandleController.java | 296 final int[] coords = new int[2]; in positionAtCursor() local 297 mParent.getLocationInWindow(coords); in positionAtCursor() 298 coords[0] += mPositionX; in positionAtCursor() 299 coords[1] += mPositionY; in positionAtCursor() 302 if (coords[1] < 0) { in positionAtCursor() 311 coords[1] += height; in positionAtCursor() 312 coords[1] += lineHeight; in positionAtCursor() 319 coords[0] += handleHalfWidth + width / 2; in positionAtCursor() 321 coords[0] -= handleHalfWidth + width / 2; in positionAtCursor() 325 coords[0] = Math.max(0, coords[0]); in positionAtCursor() [all …]
|
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/ |
D | Terrain.frag | 30 // texture coords 31 vec4 coords = vVertex; 33 vec4 col1 = texture2D( m_Tex1, coords.yz * m_Tex1Scale ); 34 vec4 col2 = texture2D( m_Tex1, coords.xz * m_Tex1Scale ); 35 vec4 col3 = texture2D( m_Tex1, coords.xy * m_Tex1Scale ); 39 col1 = texture2D( m_Tex2, coords.yz * m_Tex2Scale ); 40 col2 = texture2D( m_Tex2, coords.xz * m_Tex2Scale ); 41 col3 = texture2D( m_Tex2, coords.xy * m_Tex2Scale ); 45 col1 = texture2D( m_Tex3, coords.yz * m_Tex3Scale ); 46 col2 = texture2D( m_Tex3, coords.xz * m_Tex3Scale ); [all …]
|
D | TerrainLighting.frag | 341 vec4 getTriPlanarBlend(in vec4 coords, in vec3 blending, in sampler2D map, in float scale) { 342 vec4 col1 = texture2D( map, coords.yz * scale); 343 vec4 col2 = texture2D( map, coords.xz * scale); 344 vec4 col3 = texture2D( map, coords.xy * scale); 358 // texture coords 359 vec4 coords = wVert; 362 vec4 tex0 = getTriPlanarBlend(coords, blending, m_DiffuseMap, m_DiffuseMap_0_scale); 366 vec4 tex1 = getTriPlanarBlend(coords, blending, m_DiffuseMap_1, m_DiffuseMap_1_scale); 370 vec4 tex2 = getTriPlanarBlend(coords, blending, m_DiffuseMap_2, m_DiffuseMap_2_scale); 374 vec4 tex3 = getTriPlanarBlend(coords, blending, m_DiffuseMap_3, m_DiffuseMap_3_scale); [all …]
|
/external/chromium_org/third_party/freetype/src/base/ |
D | ftmm.c | 114 FT_Long* coords ) in FT_Set_MM_Design_Coordinates() argument 125 error = service->set_mm_design( face, num_coords, coords ); in FT_Set_MM_Design_Coordinates() 137 FT_Fixed* coords ) in FT_Set_Var_Design_Coordinates() argument 148 error = service->set_var_design( face, num_coords, coords ); in FT_Set_Var_Design_Coordinates() 160 FT_Fixed* coords ) in FT_Set_MM_Blend_Coordinates() argument 171 error = service->set_mm_blend( face, num_coords, coords ); in FT_Set_MM_Blend_Coordinates() 186 FT_Fixed* coords ) in FT_Set_Var_Blend_Coordinates() argument 197 error = service->set_mm_blend( face, num_coords, coords ); in FT_Set_Var_Blend_Coordinates()
|
/external/freetype/src/base/ |
D | ftmm.c | 114 FT_Long* coords ) in FT_Set_MM_Design_Coordinates() argument 125 error = service->set_mm_design( face, num_coords, coords ); in FT_Set_MM_Design_Coordinates() 137 FT_Fixed* coords ) in FT_Set_Var_Design_Coordinates() argument 148 error = service->set_var_design( face, num_coords, coords ); in FT_Set_Var_Design_Coordinates() 160 FT_Fixed* coords ) in FT_Set_MM_Blend_Coordinates() argument 171 error = service->set_mm_blend( face, num_coords, coords ); in FT_Set_MM_Blend_Coordinates() 186 FT_Fixed* coords ) in FT_Set_Var_Blend_Coordinates() argument 197 error = service->set_mm_blend( face, num_coords, coords ); in FT_Set_Var_Blend_Coordinates()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
D | d3d11gears.cpp | 168 float* coords = (float*)malloc((segs + 1) * 2 * sizeof(float)); in build_gear() local 175 coords[0] = r1 * c[segs * i]; in build_gear() 176 coords[1] = r1 * s[segs * i]; in build_gear() 177 coords[2] = r2 * c[segs * i + 1]; in build_gear() 178 coords[3] = r2 * s[segs * i + 1]; in build_gear() 179 coords[4] = r2 * c[segs * i + 2]; in build_gear() 180 coords[5] = r2 * s[segs * i + 2]; in build_gear() 181 coords[6] = r1 * c[segs * i + 3]; in build_gear() 182 coords[7] = r1 * s[segs * i + 3]; in build_gear() 183 coords[8] = r1 * c[segs * next]; in build_gear() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
D | d3d11gears.cpp | 168 float* coords = (float*)malloc((segs + 1) * 2 * sizeof(float)); in build_gear() local 175 coords[0] = r1 * c[segs * i]; in build_gear() 176 coords[1] = r1 * s[segs * i]; in build_gear() 177 coords[2] = r2 * c[segs * i + 1]; in build_gear() 178 coords[3] = r2 * s[segs * i + 1]; in build_gear() 179 coords[4] = r2 * c[segs * i + 2]; in build_gear() 180 coords[5] = r2 * s[segs * i + 2]; in build_gear() 181 coords[6] = r1 * c[segs * i + 3]; in build_gear() 182 coords[7] = r1 * s[segs * i + 3]; in build_gear() 183 coords[8] = r1 * c[segs * next]; in build_gear() [all …]
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
D | MidpointDisplacementHeightMap.java | 169 …protected int[] doSquareStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, … in doSquareStep() argument 171 int x = coords[0]; in doSquareStep() 172 int y = coords[1]; in doSquareStep() 178 float offset = getOffset(random, offsetRange, coords, cornerAverage); in doSquareStep() 201 …protected int[] doDiamondStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange,… in doDiamondStep() argument 204 int x = coords[0]; in doDiamondStep() 205 int y = coords[1]; in doDiamondStep() 222 float offset = getOffset(random, offsetRange, coords, cornerAverage); in doDiamondStep() 246 protected float getOffset(Random random, float offsetRange, int[] coords, float average) { in getOffset() argument
|
/external/skia/tests/ |
D | BitmapCopyTest.cpp | 182 Coordinates& coords, in reportCopyVerification() argument 188 for (int i = 0; i < coords.length; ++i) { in reportCopyVerification() 190 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == in reportCopyVerification() 191 getPixel(coords[i]->fX, coords[i]->fY, bm2)); in reportCopyVerification() 203 static void writeCoordPixels(SkBitmap& bm, const Coordinates& coords) { in writeCoordPixels() argument 204 for (int i = 0; i < coords.length; ++i) in writeCoordPixels() 205 setPixel(coords[i]->fX, coords[i]->fY, i, bm); in writeCoordPixels() 437 Coordinates coords(subW * subH); in DEF_TEST() local 442 SkASSERT(index < coords.length); in DEF_TEST() 443 coords[index]->fX = x; in DEF_TEST() [all …]
|
/external/chromium_org/third_party/freetype/include/freetype/ |
D | ftmm.h | 172 FT_Fixed* coords; member 298 FT_Long* coords ); 325 FT_Fixed* coords ); 353 FT_Fixed* coords ); 367 FT_Fixed* coords );
|
/external/freetype/include/freetype/ |
D | ftmm.h | 172 FT_Fixed* coords; member 298 FT_Long* coords ); 325 FT_Fixed* coords ); 353 FT_Fixed* coords ); 367 FT_Fixed* coords );
|