DM: remove unused function gc_set_fbaddr
Change-Id: I005edc5f69fcd3b4969c7c7d75f633d2219acbe5 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
475c51e53a
commit
d153bb8664
|
@ -37,15 +37,6 @@ gc_init(int width, int height, void *fbaddr)
|
|||
return gc;
|
||||
}
|
||||
|
||||
void
|
||||
gc_set_fbaddr(struct gfx_ctx *gc, void *fbaddr)
|
||||
{
|
||||
gc->raw = 1;
|
||||
if (gc->gc_image->data && gc->gc_image->data != fbaddr)
|
||||
free(gc->gc_image->data);
|
||||
gc->gc_image->data = fbaddr;
|
||||
}
|
||||
|
||||
void
|
||||
gc_resize(struct gfx_ctx *gc, int width, int height)
|
||||
{
|
||||
|
|
|
@ -41,7 +41,6 @@ struct gfx_ctx_image {
|
|||
};
|
||||
|
||||
struct gfx_ctx *gc_init(int width, int height, void *fbaddr);
|
||||
void gc_set_fbaddr(struct gfx_ctx *gc, void *fbaddr);
|
||||
void gc_resize(struct gfx_ctx *gc, int width, int height);
|
||||
struct gfx_ctx_image *gc_get_image(struct gfx_ctx *gc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue