Home | History | Annotate | Download | only in gpu

Lines Matching full:matrix

50      * 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
375 void addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix) {
376 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix);
380 void addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix) {
381 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix);
386 const SkMatrix& matrix,
388 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params);
393 const SkMatrix& matrix,
395 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params);
581 /// @name View Matrix
585 * Sets the view matrix to identity and updates any installed effects to compensate for the
591 * Retrieves the current view matrix
592 * @return the current view matrix.
597 * Retrieves the inverse of the current view matrix.
599 * If the current view matrix is invertible, return true, and if matrix
600 * is non-null, copy the inverse into it. If the current view matrix is
601 * non-invertible, return false and ignore the matrix parameter.
603 * @param matrix if not null, will receive a copy of the current inverse.
605 bool getViewInverse(SkMatrix* matrix) const {
606 // TODO: determine whether we really need to leave matrix unmodified
610 if (matrix) {
611 *matrix = inverse;
621 * Preconcats the current view matrix and restores the previous view matrix in the destructor.
636 * Can be called prior to destructor to restore the original matrix.
642 /** Sets the draw state's matrix to identity. This can fail because the current view matrix