/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | path.h | 44 /* all coords are absolute, even if segment is relative */ 45 const VGfloat *coords; member in struct:path_for_each_data
|
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...] |
/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...] |
/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/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/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/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 | es3fReadPixelsTests.cpp | 154 const float coords[] = local 171 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm_sample.c | 175 const LLVMValueRef *coords, 190 num_coords, coords, 170 draw_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_tex_sample.c | 180 const LLVMValueRef *coords, 191 lp_build_sample_nop(gallivm, type, num_coords, coords, texel); 200 num_coords, coords, 175 lp_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
|
/external/skia/src/gpu/gl/ |
H A D | GrGLPath.cpp | 83 GrGLfloat coords[]) { 85 coords[i * 2] = SkScalarToFloat(points[first_point + i].fX); 86 coords[i * 2 + 1] = SkScalarToFloat(points[first_point + i].fY); 127 GrGLfloat coords[6]; local 131 points_to_coords(points, 0, 1, coords); 135 points_to_coords(points, 1, 1, coords); 139 points_to_coords(points, 1, 2, coords); 140 coords[4] = SkScalarToFloat(iter.conicWeight()); 144 points_to_coords(points, 1, 2, coords); 148 points_to_coords(points, 1, 3, coords); 82 points_to_coords(const SkPoint points[], size_t first_point, size_t amount, GrGLfloat coords[]) argument [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
H A D | LayoutManager.java | 96 PointF coords = widget.getElementCoordinates(elementHeight,
99 //RectF widgetRect = new RectF(coords.x, coords.y, coords.x + elementWidth, coords.y + elementHeight);
131 Widget.getAnchorCoordinates(coords.x, coords.y, elementWidth,
160 protected void drawAnchor(Canvas canvas, PointF coords) {
argument 162 canvas.drawRect(coords.x-anchorSize, coords [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 101 const float coords[] = local 118 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
|
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...] |
/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/skia/gm/ |
H A D | dcshader.cpp | 72 const TransformedCoordsArray& coords, 75 fpb->codeAppendf("vec2 c = %s;", fpb->ensureFSCoords2D(coords, 0).c_str()); 68 emitCode(GrGLFPBuilder* builder, const GrFragmentProcessor& fp, const char* outputColor, const char* inputColor, const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) argument
|
/external/skia/src/gpu/ |
H A D | GrRectBatch.cpp | 18 have explicit local coords and sometimes not. We *could* always provide explicit local coords 25 The vertex attrib order is always pos, color, [local coords]. 83 // Go to device coords to allow batching across matrix changes 87 // generate vertex local coords 141 SkPoint* coords = GrTCast<SkPoint*>(offset + kLocalOffset); variable 142 coords->setRectFan(geom.fLocalRect.fLeft, geom.fLocalRect.fTop, 146 geom.fLocalMatrix.mapPointsWithStride(coords, vertexStride, kVerticesPerQuad);
|
/external/skia/src/gpu/effects/ |
H A D | GrBicubicEffect.cpp | 58 const TransformedCoordsArray& coords, 83 SkString coords2D = fsBuilder->ensureFSCoords2D(coords, 0); 95 // starting coords are near a texel boundary and accumulations of imgInc would cause us to skip/ 54 emitCode(GrGLFPBuilder* builder, const GrFragmentProcessor& effect, const char* outputColor, const char* inputColor, const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) argument
|
H A D | GrConvolutionEffect.cpp | 58 const TransformedCoordsArray& coords, 73 SkString coords2D = fsBuilder->ensureFSCoords2D(coords, 0); 54 emitCode(GrGLFPBuilder* builder, const GrFragmentProcessor&, const char* outputColor, const char* inputColor, const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) argument
|
H A D | GrTextureDomain.cpp | 195 const TransformedCoordsArray& coords, 201 SkString coords2D = fsBuilder->ensureFSCoords2D(coords, 0); 304 GrCoordSet coords = random->nextBool() ? kLocal_GrCoordSet : kDevice_GrCoordSet; local 310 coords); 191 emitCode(GrGLFPBuilder* builder, const GrFragmentProcessor& fp, const char* outputColor, const char* inputColor, const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) argument
|
/external/skia/src/gpu/gl/builders/ |
H A D | GrGLFragmentShaderBuilder.cpp | 140 const GrGLProcessor::TransformedCoordsArray& coords, int index) { 141 if (kVec3f_GrSLType != coords[index].getType()) { 142 SkASSERT(kVec2f_GrSLType == coords[index].getType()); 143 return coords[index].getName(); 151 coords2D.c_str(), coords[index].c_str(), coords[index].c_str()); 139 ensureFSCoords2D( const GrGLProcessor::TransformedCoordsArray& coords, int index) argument
|
/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/deqp/modules/glshared/ |
H A D | glsShaderRenderCase.hpp | 154 tcu::Vec4 coords; member in class:deqp::gls::ShaderEvalContext 167 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords); 177 inline void evalCoordsPassthroughX (ShaderEvalContext& c) { c.color.x() = c.coords.x(); } 178 inline void evalCoordsPassthroughXY (ShaderEvalContext& c) { c.color.xy() = c.coords.swizzle(0,1); } 179 inline void evalCoordsPassthroughXYZ (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 180 inline void evalCoordsPassthrough (ShaderEvalContext& c) { c.color = c.coords; } 181 inline void evalCoordsSwizzleWZYX (ShaderEvalContext& c) { c.color = c.coords.swizzle(3,2,1,0); }
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_aos.c | 364 LLVMValueRef coords; local 376 coords = lp_build_emit_fetch( &bld->bld_base, inst, 0 , LP_CHAN_ALL); 384 ddx = lp_build_ddx( &bld->bld_base.base, coords ); 385 ddy = lp_build_ddy( &bld->bld_base.base, coords ); 397 coords, derivs,
|