Home
last modified time | relevance | path

Searched refs:halfW (Results 1 – 3 of 3) sorted by relevance

/external/skqp/gm/
Dxfermodes.cpp146 SkScalar halfW = SkIntToScalar(W) / 2; in draw_mode() local
149 SkRect r = SkRect::MakeXYWH(x + halfW, y, halfW, in draw_mode()
/external/skia/gm/
Dxfermodes.cpp161 SkScalar halfW = SkIntToScalar(W) / 2; in draw_mode() local
164 SkRect r = SkRect::MakeXYWH(x + halfW, y, halfW, in draw_mode()
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp825 const float halfW = (float)(viewport.width) / 2.0f; in transformVertexClipCoordsToWindowCoords() local
827 const float oX = (float)viewport.left + halfW; in transformVertexClipCoordsToWindowCoords()
832 packet.position = tcu::Vec4(packet.position.x()*halfW + oX, in transformVertexClipCoordsToWindowCoords()