Home
last modified time | relevance | path

Searched defs:RectT (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Device/
DSurface.hpp27 template <typename T> struct RectT struct
29 RectT() {} in RectT() argument
30 RectT(T x0i, T y0i, T x1i, T y1i) : x0(x0i), y0(y0i), x1(x1i), y1(y1i) {} in RectT() argument
32 void clip(T minX, T minY, T maxX, T maxY) in clip()
40 T width() const { return x1 - x0; } in width()
41 T height() const { return y1 - y0; } in height()
43 T x0; // Inclusive
44 T y0; // Inclusive
45 T x1; // Exclusive
46 T y1; // Exclusive
/external/swiftshader/src/Renderer/
DSurface.hpp26 template <typename T> struct RectT struct
28 RectT() {} in RectT() function
29 RectT(T x0i, T y0i, T x1i, T y1i) : x0(x0i), y0(y0i), x1(x1i), y1(y1i) {} in RectT() function
31 void clip(T minX, T minY, T maxX, T maxY) in clip()
39 T width() const { return x1 - x0; } in width()
40 T height() const { return y1 - y0; } in height()
42 T x0; // Inclusive
43 T y0; // Inclusive
44 T x1; // Exclusive
45 T y1; // Exclusive