2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 extern int fb_init(void);
21 extern int fb_fini(void);
22 extern struct fb_info *fb_create(struct inst_info *inst, int w, int h, enum buffer_type type);
23 extern int fb_destroy(struct fb_info *info);
24 extern Ecore_Evas * const fb_canvas(struct fb_info *info);
25 extern const char *fb_id(struct fb_info *info);
26 extern int fb_get_size(struct fb_info *info, int *w, int *h);
27 extern void fb_sync(struct fb_info *info);
28 extern int fb_create_buffer(struct fb_info *info);
29 extern int fb_destroy_buffer(struct fb_info *info);
30 extern int fb_resize(struct fb_info *info, int w, int h);
33 * \note Only for the pixmap
35 extern void *fb_pixmap_render_pre(struct fb_info *info);
36 extern int fb_pixmap_render_post(struct fb_info *info);