update source for tizen_2.1
[sdk/emulator/qemu.git] / tizen / src / hw / gloffscreen.h
index 806db14..11547c7 100644 (file)
@@ -83,8 +83,10 @@ extern void glo_context_destroy(GloContext *context);
 /* Update the context in surface and free previous light-weight context */
 extern void glo_surface_update_context(GloSurface *surface, GloContext *context, int free_flags);
 
-/* Link the pixmap associated with surface as texture */
-extern void glo_surface_as_texture(GloSurface *surface);
+/* Link the pixmap/pbuffer associated with surface as texture.
+ * ctxt is the target context for the texture operation
+ */
+extern void glo_surface_as_texture(GloContext *ctxt, GloSurface *surface);
 
 /* Create a surface with given width and height, */
 extern GloSurface *glo_surface_create(int width, int height, GloContext *context);