Searched refs:coords (Results 226 - 232 of 232) sorted by path

12345678910

/external/skia/src/gpu/effects/
H A DGrSimpleTextureEffect.cpp26 const TransformedCoordsArray& coords,
31 coords[0].c_str(),
32 coords[0].type());
H A DGrTextureDomain.cpp174 const TransformedCoordsArray& coords,
179 SkString coords2D = builder->ensureFSCoords2D(coords, 0);
273 GrCoordSet coords = random->nextBool() ? kLocal_GrCoordSet : kPosition_GrCoordSet; local
279 coords);
169 emitCode(GrGLShaderBuilder* builder, const GrDrawEffect& drawEffect, EffectKey key, const char* outputColor, const char* inputColor, const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) argument
/external/skia/src/gpu/gl/
H A DGrGLEffect.h84 const TransformedCoordsArray& coords,
91 EffectKey as the one that created this GrGLEffect. Effects that use local coords have
H A DGrGLProgramEffects.cpp33 * indicates the source of the input coords.
80 * Retrieves the source coords from transformKey for the transform at transformIdx. It may not be
81 * the same coordinate set as the original GrCoordTransform if the position and local coords are
91 * Retrieves the final translation that a transform needs to apply to its source coords (and
115 * Retrieves the final matrix that a transform needs to apply to its source coords.
168 // We only make the key indicate that device coords are referenced when the local coords
169 // are not actually determined by positions. Otherwise the local coords var and position
270 SkSTArray<2, TransformedCoords> coords(effect->numTransforms());
274 this->emitTransforms(builder, effect, key, &coords);
370 const GrGLShaderVar& coords = kPosition_GrCoordSet == get_source_coords(totalKey, t) ? local
[all...]
H A DGrGLShaderBuilder.cpp473 SkString GrGLShaderBuilder::ensureFSCoords2D(const TransformedCoordsArray& coords, int index) { argument
474 if (kVec3f_GrSLType != coords[index].type()) {
475 SkASSERT(kVec2f_GrSLType == coords[index].type());
476 return coords[index].getName();
484 coords2D.c_str(), coords[index].c_str(), coords[index].c_str());
853 // Transform the position into Skia's device coords.
889 // Transform from Skia's device coords to GL's normalized device coords.
H A DGrGLVertexEffect.h32 const TransformedCoordsArray& coords,
43 const TransformedCoordsArray& coords,
/external/skia/tests/
H A DBitmapCopyTest.cpp158 // at all coordinates indicated by coords. Simplifies verification of
161 Coordinates& coords,
167 for (int i = 0; i < coords.length; ++i) {
169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) ==
170 getPixel(coords[i]->fX, coords[i]->fY, bm2));
179 // Writes unique pixel values at locations specified by coords.
180 static void writeCoordPixels(SkBitmap& bm, const Coordinates& coords) { argument
181 for (int i = 0; i < coords
160 reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, Coordinates& coords, const char* msg, skiatest::Reporter* reporter) argument
[all...]

Completed in 232 milliseconds

12345678910