Subversion Repositories Kolibri OS

Rev

Rev 4373 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4373 Rev 4378
Line 46... Line 46...
46
void* load_library(const char *name);
46
void* load_library(const char *name);
47
void *get_proc_address(void *module, char *proc_name);
47
void *get_proc_address(void *module, char *proc_name);
Line 48... Line 48...
48
 
48
 
49
int (*blit_bitmap_from_handle)(bitmap_t *bitmap, uint32_t handle);
49
int (*blit_bitmap_from_handle)(bitmap_t *bitmap, uint32_t handle);
50
void (*blit_set_bo_handle)(bitmap_t *bitmap, int handle);
50
void (*blit_set_bo_handle)(bitmap_t *bitmap, int handle);
51
int (*blit_blit_tex)(bitmap_t *bitmap, int scale, int dst_x, int dst_y,
51
int (*blit_blit_tex)(bitmap_t *bitmap, int scale, int vsync, int dst_x, int dst_y,
Line 52... Line 52...
52
                  int w, int h, int src_x, int src_y);
52
                  int w, int h, int src_x, int src_y);
53
 
53
 
54
static struct gbm_bo *
54
static struct gbm_bo *
Line 393... Line 393...
393
//                __FUNCTION__, bo, bo->base.base.handle.s32, bo->base.base.width,
393
//                __FUNCTION__, bo, bo->base.base.handle.s32, bo->base.base.width,
394
//                              bo->base.base.height, (int)bo->base.base.stride,
394
//                              bo->base.base.height, (int)bo->base.base.stride,
395
//                              bo->base.base.format);
395
//                              bo->base.base.format);
Line 396... Line 396...
396
 
396
 
397
            blit_set_bo_handle(&bm, bo->base.base.handle.s32);
397
            blit_set_bo_handle(&bm, bo->base.base.handle.s32);
398
            blit_blit_tex(&bm, 0, 5, 20, bm.width, bm.height, 0, 0);
398
            blit_blit_tex(&bm, 0, 0, 5, 20, bm.width, bm.height, 0, 0);
399
        }
399
        }
400
      }
400
      }
Line 401... Line 401...
401
#endif
401
#endif