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.cpp146 SkScalar halfW = SkIntToScalar(W) / 2; in draw_mode() local
149 SkRect r = SkRect::MakeXYWH(x + halfW, y, halfW, in draw_mode()
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp821 const float halfW = (float)(viewport.width) / 2.0f; in transformVertexClipCoordsToWindowCoords() local
823 const float oX = (float)viewport.left + halfW; in transformVertexClipCoordsToWindowCoords()
828 packet.position = tcu::Vec4(packet.position.x()*halfW + oX, in transformVertexClipCoordsToWindowCoords()