Searched refs:matrix (Results 451 - 475 of 1121) sorted by relevance

<<11121314151617181920>>

/external/skia/src/core/
H A DSkDrawProcs.h67 * the matrix is <= 1.0, then this returns true, and sets coverage (simulating
71 inline bool SkDrawTreatAsHairline(const SkPaint& paint, const SkMatrix& matrix, argument
87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
/external/skia/src/effects/
H A DSkGpuBlurUtils.cpp167 SkMatrix matrix; local
168 matrix.setIDiv(srcTexture->width(), srcTexture->height());
174 matrix.mapRect(&domain, rect);
179 matrix,
186 paint.addColorTextureEffect(srcTexture, matrix, params);
243 SkMatrix matrix; local
244 matrix.setIDiv(srcTexture->width(), srcTexture->height());
250 paint.addColorTextureEffect(srcTexture, matrix, params);
H A DSkBlurMaskFilter.cpp80 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix,
82 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix,
157 const SkMatrix& matrix,
159 SkScalar sigma = this->computeXformedSigma(matrix);
164 const SkMatrix& matrix,
166 SkScalar sigma = computeXformedSigma(matrix);
173 const SkMatrix& matrix,
175 SkScalar sigma = computeXformedSigma(matrix);
264 SkBlurMaskFilterImpl::filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, argument
316 filterResult = this->filterRRectMask(&dstM, rrect, matrix,
156 filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) const argument
163 filterRectMask(SkMask* dst, const SkRect& r, const SkMatrix& matrix, SkIPoint* margin, SkMask::CreateMode createMode) const argument
172 filterRRectMask(SkMask* dst, const SkRRect& r, const SkMatrix& matrix, SkIPoint* margin, SkMask::CreateMode createMode) const argument
397 filterRectsToNine(const SkRect rects[], int count, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
1159 SkMatrix matrix; local
[all...]
/external/skia/src/gpu/
H A DGrSoftwarePathRenderer.cpp46 const SkMatrix& matrix,
66 matrix.mapRect(&pathSBounds, path.getBounds());
44 get_path_and_clip_bounds(const GrDrawTarget* target, const SkPath& path, const SkMatrix& matrix, SkIRect* devPathBounds, SkIRect* devClipBounds) argument
H A DGrDrawState.h50 * Copies another draw state with a preconcat to the view matrix.
75 * Initializes the GrDrawState based on a GrPaint, view matrix and render target. Note that
358 void addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix) { argument
359 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix);
363 void addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix) { argument
364 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix);
369 const SkMatrix& matrix,
371 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params);
376 const SkMatrix& matrix,
378 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, param
368 addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) argument
375 addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) argument
[all...]
/external/skia/tests/
H A DRecordDrawTest.cpp99 REPORTER_ASSERT(r, setMatrix->matrix == translate);
104 REPORTER_ASSERT(r, setMatrix->matrix == expected);
H A DMatrix44Test.cpp79 // Allocate a matrix on the heap
91 // constructor did avoid initializing the matrix contents.
101 // Verify that kIdentity_Constructor really does initialize to an identity matrix.
217 SkMatrix44 matrix(SkMatrix44::kIdentity_Constructor);
219 REPORTER_ASSERT(reporter, matrix.isIdentity());
220 REPORTER_ASSERT(reporter, SkMatrix44::kIdentity_Mask == matrix.getType());
224 matrix.set(1, 1, 0);
226 REPORTER_ASSERT(reporter, matrix.getType() == expectedMask);
228 matrix.set(0, 3, 1); // translate-x
230 REPORTER_ASSERT(reporter, matrix
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkCanvas.cpp84 The clip/matrix/proc are fields that reflect the top of the save/restore
162 Since a level optionally copies the matrix and/or stack, we have pointers
1174 const SkMatrix& matrix, const SkPaint* paint) {
1190 matrix.mapRect(&storage);
1197 iter.fDevice->drawBitmap(iter, bitmap, matrix, looper.paint());
1222 SkMatrix matrix = *iter.fMatrix; local
1223 matrix.postTranslate(SkIntToScalar(-pos.x()), SkIntToScalar(-pos.y()));
1226 SkImageFilter::Context ctx(matrix, clipBounds, cache.get());
1262 SkMatrix matrix = *iter.fMatrix; local
1263 matrix
1173 internalDrawBitmap(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument
1305 concat(const SkMatrix& matrix) argument
1317 setMatrix(const SkMatrix& matrix) argument
1325 SkMatrix matrix; local
1918 SkMatrix matrix; local
1963 drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument
2179 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
2227 drawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
2392 SkMatrix matrix; local
2412 drawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
2421 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
2461 const SkMatrix& SkCanvas::LayerIter::matrix() const { function in class:SkCanvas::LayerIter
2535 SkAutoCanvasMatrixPaint(SkCanvas* canvas, const SkMatrix* matrix, const SkPaint* paint, const SkRect& bounds) argument
[all...]
/external/chromium_org/cc/output/
H A Dsoftware_renderer.cc41 bool IsScaleAndIntegerTranslate(const SkMatrix& matrix) { argument
42 return IsScalarNearlyInteger(matrix[SkMatrix::kMTransX]) &&
43 IsScalarNearlyInteger(matrix[SkMatrix::kMTransY]) &&
44 SkScalarNearlyZero(matrix[SkMatrix::kMSkewX]) &&
45 SkScalarNearlyZero(matrix[SkMatrix::kMSkewY]) &&
46 SkScalarNearlyZero(matrix[SkMatrix::kMPersp0]) &&
47 SkScalarNearlyZero(matrix[SkMatrix::kMPersp1]) &&
48 SkScalarNearlyZero(matrix[SkMatrix::kMPersp2] - 1.0f);
180 // Skia applies the current matrix to clip rects so we reset it temporary.
314 // We need to apply the matrix manuall
409 SkMatrix matrix; local
[all...]
/external/skia/src/gpu/gl/
H A DGrGLProgramEffects.cpp22 * We specialize the vertex code for each of these matrix types.
32 * The key for an individual coord transform is made up of a matrix type and a bit that
72 * Retrieves the matrix type from transformKey for the transform at transformIdx.
100 const SkMatrix& matrix = coordTransform.getMatrix(); local
104 SkASSERT(SkMatrix::kTranslate_Mask == (matrix.getType() | coordChangeMatrix.getType()));
105 *tx = SkScalarToFloat(matrix[SkMatrix::kMTransX] + coordChangeMatrix[SkMatrix::kMTransX]);
106 *ty = SkScalarToFloat(matrix[SkMatrix::kMTransY] + coordChangeMatrix[SkMatrix::kMTransY]);
108 SkASSERT(SkMatrix::kTranslate_Mask == matrix.getType());
109 *tx = SkScalarToFloat(matrix[SkMatrix::kMTransX]);
110 *ty = SkScalarToFloat(matrix[SkMatri
441 const SkMatrix& matrix = get_transform_matrix(drawEffect, t); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_idct.c54 * The DCT matrix stored as hex representation of floats. Equal to the following equation:
684 struct pipe_resource tex_templ, *matrix; local
712 matrix = pipe->screen->resource_create(pipe->screen, &tex_templ);
713 if (!matrix)
718 pipe, matrix,
740 u_sampler_view_default_template(&sv_templ, matrix, matrix->format);
741 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ);
742 pipe_resource_reference(&matrix, NULL);
752 pipe_resource_reference(&matrix, NUL
758 vl_idct_init(struct vl_idct *idct, struct pipe_context *pipe, unsigned buffer_width, unsigned buffer_height, unsigned nr_of_render_targets, struct pipe_sampler_view *matrix, struct pipe_sampler_view *transpose) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/debugger/
H A DSkDebugCanvas.cpp444 void SkDebugCanvas::didConcat(const SkMatrix& matrix) { argument
445 switch (matrix.getType()) {
447 this->addDrawCommand(new SkTranslateCommand(matrix.getTranslateX(),
448 matrix.getTranslateY()));
451 this->addDrawCommand(new SkScaleCommand(matrix.getScaleX(),
452 matrix.getScaleY()));
455 this->addDrawCommand(new SkConcatCommand(matrix));
459 this->INHERITED::didConcat(matrix);
475 const SkMatrix& matrix, const SkPaint* paint) {
476 this->addDrawCommand(new SkDrawBitmapMatrixCommand(bitmap, matrix, pain
474 drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument
512 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
558 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
603 didSetMatrix(const SkMatrix& matrix) argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DMatrix44Test.cpp79 // Allocate a matrix on the heap
91 // constructor did avoid initializing the matrix contents.
101 // Verify that kIdentity_Constructor really does initialize to an identity matrix.
217 SkMatrix44 matrix(SkMatrix44::kIdentity_Constructor);
219 REPORTER_ASSERT(reporter, matrix.isIdentity());
220 REPORTER_ASSERT(reporter, SkMatrix44::kIdentity_Mask == matrix.getType());
224 matrix.set(1, 1, 0);
226 REPORTER_ASSERT(reporter, matrix.getType() == expectedMask);
228 matrix.set(0, 3, 1); // translate-x
230 REPORTER_ASSERT(reporter, matrix
[all...]
H A DImageFilterTest.cpp84 SkMatrix matrix; local
85 buffer.readMatrix(&matrix);
86 return SkNEW_ARGS(MatrixTestImageFilter, (reporter, matrix));
124 SkScalar matrix[20] = { s, 0, 0, 0, 0, local
128 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
133 SkScalar matrix[20]; local
134 memset(matrix, 0, 20 * sizeof(SkScalar));
135 matrix[0] = matrix[5] = matrix[1
386 SkMatrix matrix; local
484 SkMatrix matrix; local
1009 SkMatrix matrix; local
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_idct.c54 * The DCT matrix stored as hex representation of floats. Equal to the following equation:
684 struct pipe_resource tex_templ, *matrix; local
712 matrix = pipe->screen->resource_create(pipe->screen, &tex_templ);
713 if (!matrix)
718 pipe, matrix,
740 u_sampler_view_default_template(&sv_templ, matrix, matrix->format);
741 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ);
742 pipe_resource_reference(&matrix, NULL);
752 pipe_resource_reference(&matrix, NUL
758 vl_idct_init(struct vl_idct *idct, struct pipe_context *pipe, unsigned buffer_width, unsigned buffer_height, unsigned nr_of_render_targets, struct pipe_sampler_view *matrix, struct pipe_sampler_view *transpose) argument
[all...]
/external/chromium_org/third_party/skia/src/pipe/
H A DSkGPipeWrite.cpp287 const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE;
611 void SkGPipeCanvas::didConcat(const SkMatrix& matrix) { argument
612 if (!matrix.isIdentity()) {
614 switch (matrix.getType()) {
616 this->recordTranslate(matrix);
619 this->recordScale(matrix);
622 this->recordConcat(matrix);
627 this->INHERITED::didConcat(matrix);
630 void SkGPipeCanvas::didSetMatrix(const SkMatrix& matrix) { argument
632 if (this->needOpBytes(matrix
838 drawBitmapMatrix(const SkBitmap& bm, const SkMatrix& matrix, const SkPaint* paint) argument
921 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
1019 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
[all...]
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusPath.h726 Status Transform(IN const Matrix* matrix) argument
728 if(matrix)
729 return SetStatus(DllExports::GdipTransformPath(nativePath, matrix->nativeMatrix));
741 IN const Matrix* matrix = NULL,
746 IN const Matrix* matrix = NULL,
753 * When matrix = NULL, the identity matrix is assumed.
755 Status Flatten(IN const Matrix* matrix = NULL,
759 if(matrix)
761 nativeMatrix = matrix
1592 SetTransform(IN const Matrix* matrix) argument
1603 MultiplyTransform(IN const Matrix* matrix, IN MatrixOrder order = MatrixOrderPrepend) argument
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkBlurMaskFilter.cpp81 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix,
83 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix,
160 const SkMatrix& matrix,
162 SkScalar sigma = this->computeXformedSigma(matrix);
167 const SkMatrix& matrix,
169 SkScalar sigma = computeXformedSigma(matrix);
176 const SkMatrix& matrix,
178 SkScalar sigma = computeXformedSigma(matrix);
267 SkBlurMaskFilterImpl::filterRRectToNine(const SkRRect& rrect, const SkMatrix& matrix, argument
319 filterResult = this->filterRRectMask(&dstM, rrect, matrix,
159 filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) const argument
166 filterRectMask(SkMask* dst, const SkRect& r, const SkMatrix& matrix, SkIPoint* margin, SkMask::CreateMode createMode) const argument
175 filterRRectMask(SkMask* dst, const SkRRect& r, const SkMatrix& matrix, SkIPoint* margin, SkMask::CreateMode createMode) const argument
400 filterRectsToNine(const SkRect rects[], int count, const SkMatrix& matrix, const SkIRect& clipBounds, NinePatch* patch) const argument
1171 SkMatrix matrix; local
[all...]
/external/ceres-solver/internal/ceres/
H A Dimplicit_schur_complement.h73 // matrix vector product with the Schur complement
77 // It is straightforward to see that matrix vector products with S can
80 // matrix), it can be done in terms of matrix vector products with E,
91 // num_eliminate_blocks is the number of E blocks in the matrix
94 // preconditioner indicates whether the inverse of the matrix F'F
109 // If D is null, then it is treated as a zero dimensional matrix. It
110 // is important that the matrix A have a BlockStructure object
118 // The Schur complement is a symmetric positive definite matrix,
143 void AddDiagonalAndInvert(const double* D, BlockSparseMatrix* matrix);
[all...]
H A Dsuitesparse.cc131 // matrix dependence choice of supernodal versus simplicial
213 // Arrays storing the compressed column structure of the matrix
256 // distracting when the error (matrix is indefinite) is not a fatal
270 // NON_FATAL_FAILURE (e.g., indefinite matrix) and FATAL_FAILURE
323 bool SuiteSparse::ApproximateMinimumDegreeOrdering(cholmod_sparse* matrix, argument
325 return cholmod_amd(matrix, NULL, 0, ordering, &cc_);
329 cholmod_sparse* matrix,
333 return cholmod_camd(matrix, NULL, 0, constraints, ordering, &cc_);
328 ConstrainedApproximateMinimumDegreeOrdering( cholmod_sparse* matrix, int* constraints, int* ordering) argument
/external/chromium_org/ash/display/
H A Droot_window_transformers.cc39 SkMatrix44& matrix = transform->matrix(); local
42 if (std::abs(SkMScalarToFloat(matrix.get(x, y))) < kEpsilon)
43 matrix.set(x, y, SkFloatToMScalar(0.0f));
/external/chromium_org/cc/animation/
H A Dtransform_operations.h22 // Transform operations are a decomposed transformation matrix. It can be
37 // Returns a transformation matrix representing these transform operations.
41 // [0, 1], returns a transformation matrix representing the intermediate
46 // http://www.w3.org/TR/2011/WD-css3-2d-transforms-20111215/#matrix-decomposition.
71 // false if we must resort to matrix interpolation, and matrix interpolation
72 // fails (this can happen if either matrix cannot be decomposed).
85 void AppendMatrix(const gfx::Transform& matrix);
/external/chromium_org/cc/layers/
H A Dvideo_frame_provider_client_impl.h44 virtual void DidUpdateMatrix(const float* matrix) OVERRIDE;
/external/chromium_org/ppapi/thunk/
H A Dppb_compositor_layer_api.h39 virtual int32_t SetTransform(const float matrix[16]) = 0;
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMMatrixReadOnly.h57 const TransformationMatrix& matrix() const { return m_matrix; } function in class:blink::DOMMatrixReadOnly

Completed in 7022 milliseconds

<<11121314151617181920>>