Lines Matching refs:viewport
66 struct pipe_viewport_state viewport;
742 /* viewport */
743 ctx->viewport.scale[0] = 0.5f * dst_surface->width;
744 ctx->viewport.scale[1] = 0.5f * dst_surface->height;
745 ctx->viewport.scale[2] = 0.5f;
746 ctx->viewport.scale[3] = 1.0f;
747 ctx->viewport.translate[0] = 0.5f * dst_surface->width;
748 ctx->viewport.translate[1] = 0.5f * dst_surface->height;
749 ctx->viewport.translate[2] = 0.5f;
750 ctx->viewport.translate[3] = 0.0f;
751 cso_set_viewport(ctx->cso, &ctx->viewport);
889 /* viewport */
890 ctx->viewport.scale[0] = 0.5f * dst->width;
891 ctx->viewport.scale[1] = 0.5f * dst->height;
892 ctx->viewport.scale[2] = 0.5f;
893 ctx->viewport.scale[3] = 1.0f;
894 ctx->viewport.translate[0] = 0.5f * dst->width;
895 ctx->viewport.translate[1] = 0.5f * dst->height;
896 ctx->viewport.translate[2] = 0.5f;
897 ctx->viewport.translate[3] = 0.0f;
898 cso_set_viewport(ctx->cso, &ctx->viewport);