From: Sangjin Kim Date: Wed, 22 Aug 2012 09:29:01 +0000 (+0900) Subject: [Title] Fix windows build error by pixmap implementation. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1444^2~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a7363ea6f072161860d59e2c585647f86231225;p=sdk%2Femulator%2Fqemu.git [Title] Fix windows build error by pixmap implementation. [Type] bug fix [Module] opengl [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index f2c6735819..0796580367 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version: 1.3.21 +Version: 1.3.22 Maintainer: Yeong-Kyoon Lee Source: emulator diff --git a/tizen/src/hw/gloffscreen_wgl.c b/tizen/src/hw/gloffscreen_wgl.c index 68487b3302..dfc18faa26 100644 --- a/tizen/src/hw/gloffscreen_wgl.c +++ b/tizen/src/hw/gloffscreen_wgl.c @@ -667,6 +667,11 @@ void *glo_getprocaddress(const char *procName) { /* ------------------------------------------------------------------------ */ +GloContext *__glo_context_create(int formatFlags) { + /* NOT IMPLEMENTED YET. */ + printf("__glo_context_create() is not implemented for windows. \n"); +} + /* Create an OpenGL context for a certain pixel format. formatflags are from the GLO_ constants */ GloContext *glo_context_create(int formatFlags, GloContext *shareLists) { GloContext *context; @@ -763,6 +768,17 @@ void glo_context_destroy(GloContext *context) { /* ------------------------------------------------------------------------ */ +/* Update the context in surface and free previous light-weight context */ +void glo_surface_update_context(GloSurface *surface, GloContext *context) +{ + /* NOT IMPLEMENTED YET. */ + /*if ( surface->context ) + g_free(surface->context); + surface->context = context; + */ + printf("glo_surface_update_context() is not implemented for windows. \n"); +} + /* Create a surface with given width and height, formatflags are from the * GLO_ constants */ GloSurface *glo_surface_create(int width, int height, GloContext *context) { @@ -836,4 +852,9 @@ void glo_surface_get_size(GloSurface *surface, int *width, int *height) { *height = surface->height; } +void glo_surface_as_texture(GloSurface *surface) { + /* NOT IMPLEMENTED YET. */ + printf("glo_surface_as_texture() is not implemented for windows. \n"); +} + #endif