Lines Matching defs:dimensions
64 * callback. The dimensions will be negative in the case of a fully lazy proxy.
125 SkISize dimensions() const {
129 int width() const { return this->dimensions().width(); }
130 int height() const { return this->dimensions().height(); }
137 SkRect getBoundsRect() const { return SkRect::Make(this->dimensions()); }
139 /* A perhaps faster check for this->dimensions() == this->backingStoreDimensions(). */
143 * Helper that gets the dimensions the backing GrSurface will have as a bounding rectangle.
405 // Once the dimensions of a fully-lazy proxy are decided, and before it gets instantiated, the
406 // client can use this optional method to specify the proxy's dimensions. (A proxy's dimensions
408 // the proxy's dimensions will be set to match the underlying GPU surface upon instantiation.
409 void setLazyDimensions(SkISize dimensions) {
411 SkASSERT(!dimensions.isEmpty());
412 fDimensions = dimensions;