Lines Matching refs:viewport
313 void Device::setViewport(const Viewport &viewport) in setViewport() argument
315 this->viewport = viewport; in setViewport()
465 if(viewport.width <= 0 || viewport.height <= 0) in bindViewport()
488 scissor.x0 = viewport.x0; in bindViewport()
489 scissor.x1 = viewport.x0 + viewport.width; in bindViewport()
490 scissor.y0 = viewport.y0; in bindViewport()
491 scissor.y1 = viewport.y0 + viewport.height; in bindViewport()
521 view.x0 = (float)viewport.x0; in bindViewport()
522 view.y0 = (float)viewport.y0; in bindViewport()
523 view.width = (float)viewport.width; in bindViewport()
524 view.height = (float)viewport.height; in bindViewport()
525 view.minZ = viewport.minZ; in bindViewport()
526 view.maxZ = viewport.maxZ; in bindViewport()