[Title] Fix windows build error by pixmap implementation.
authorSangjin Kim <sangjin3.kim@samsung.com>
Wed, 22 Aug 2012 09:29:01 +0000 (18:29 +0900)
committerSangjin Kim <sangjin3.kim@samsung.com>
Wed, 22 Aug 2012 09:29:01 +0000 (18:29 +0900)
[Type] bug fix
[Module] opengl
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

package/pkginfo.manifest
tizen/src/hw/gloffscreen_wgl.c

index f2c6735819d1b57b9fc3d644e9589ff3db05f446..0796580367da167182d90dd2fe1a8b3478ddf0af 100644 (file)
@@ -1,4 +1,4 @@
-Version: 1.3.21
+Version: 1.3.22
 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
 Source: emulator
 
index 68487b3302cf618e6f7164bce3190560621ee5d8..dfc18faa26c1a951909fdcedb09bd6396b90dabb 100644 (file)
@@ -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