Lines Matching defs:vport
785 const D3DVIEWPORT9 *vport = &context->viewport;
792 pvport.scale[0] = (float)vport->Width * 0.5f;
793 pvport.scale[1] = (float)vport->Height * -0.5f;
794 pvport.scale[2] = vport->MaxZ - vport->MinZ;
795 pvport.translate[0] = (float)vport->Width * 0.5f + (float)vport->X;
796 pvport.translate[1] = (float)vport->Height * 0.5f + (float)vport->Y;
797 pvport.translate[2] = vport->MinZ;
821 ((vport->Width & (vport->Width-1)) == 0) &&
822 ((vport->Height & (vport->Height-1)) == 0)) {
3251 const D3DVIEWPORT9 *vport = &device->state.viewport;
3252 float viewport_data[8] = {(float)vport->Width * 0.5f,
3253 (float)vport->Height * -0.5f, vport->MaxZ - vport->MinZ, 0.f,
3254 (float)vport->Width * 0.5f + (float)vport->X,
3255 (float)vport->Height * 0.5f + (float)vport->Y,
3256 vport->MinZ, 0.f};