예제 #1
0
파일: ilo_state.c 프로젝트: Haifen/Mesa-3D
static void
ilo_set_framebuffer_state(struct pipe_context *pipe,
                          const struct pipe_framebuffer_state *state)
{
   struct ilo_context *ilo = ilo_context(pipe);

   ilo_gpe_set_fb(ilo->dev, state, &ilo->fb);

   ilo->dirty |= ILO_DIRTY_FB;
}
예제 #2
0
static void
ilo_set_framebuffer_state(struct pipe_context *pipe,
                          const struct pipe_framebuffer_state *state)
{
   const struct ilo_dev_info *dev = ilo_context(pipe)->dev;
   struct ilo_state_vector *vec = &ilo_context(pipe)->state_vector;

   ilo_gpe_set_fb(dev, state, &vec->fb);

   vec->dirty |= ILO_DIRTY_FB;
}