Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4358 Serge 1
 
2
#include "target-helpers/inline_debug_helper.h"
3
#include "state_tracker/drm_driver.h"
4
#include "svga/drm/svga_drm_public.h"
5
#include "svga/svga_public.h"
6
7
 
8
create_screen(int fd)
9
{
10
   struct svga_winsys_screen *sws;
11
   struct pipe_screen *screen;
12
13
 
14
   if (!sws)
15
      return NULL;
16
17
 
18
   if (!screen)
19
      return NULL;
20
21
 
22
23
 
24
25
 
26
}
27
28
 
29
   .type = DRM_CONF_INT,
30
   .val.val_int = 2,
31
};
32
33
 
34
{
35
   switch (conf) {
36
   case DRM_CONF_THROTTLE:
37
      return &throttle_ret;
38
   default:
39
      break;
40
   }
41
   return NULL;
42
}
43
44
 
45