[Cogl] Fix up cogl.symbols for Cogl-1.99.x/master

Fan Chun-wei fanc999 at yahoo.com.tw
Mon May 14 07:45:27 PDT 2012


Hi,

I was trying to update the Visual C++ support files for building Cogl 
master, and realized that some more updates were needed on cogl.symbols, 
and the updates are as in the attached patch file.

With blessings, thank you!
-------------- next part --------------
From 06e3a4cf2ef101275152e2c3d9965f75df7a3cdc Mon Sep 17 00:00:00 2001
From: Chun-wei Fan <fanchunwei at src.gnome.org>
Date: Mon, 14 May 2012 12:22:55 +0800
Subject: [PATCH 2/3] Update cogl.symbols

There are numerous APIs added/removed in the following commits:
e7f15826 Add a CoglPrimitiveTexture interface
6197e3ab Add constructors which take a CoglBitmap to all primitive textures
bdb645e7 kms: defer setting crtc modes until first swap buffers
9a1f1df8 Rework sdl integration api
ac0c72ab Removed legacy cogl-fixed 1.x api
e8c4c80c Remove deprecated cogl_vertex_buffer api
06d522cb Remove the legacy CoglPath API
713a8f81 Replace cogl_path_{stroke,fill} with framebuffer API
6ed3aaf4 Removes all remaining use of CoglHandle
068b3b59 matrix: Add a init_translation() constructor
---
 cogl/cogl.symbols |   77 +++++++++++-----------------------------------------
 1 files changed, 17 insertions(+), 60 deletions(-)

diff --git a/cogl/cogl.symbols b/cogl/cogl.symbols
index b10fce4..549f9e8 100644
--- a/cogl/cogl.symbols
+++ b/cogl/cogl.symbols
@@ -6,9 +6,9 @@
 
 cogl_path_arc
 cogl_path_close
+cogl_path_copy
 cogl_path_curve_to
 cogl_path_ellipse
-cogl_path_fill
 cogl_path_get_fill_rule
 cogl_path_line
 cogl_path_line_to
@@ -22,16 +22,11 @@ cogl_path_rel_line_to
 cogl_path_rel_move_to
 cogl_path_round_rectangle
 cogl_path_set_fill_rule
-cogl_path_stroke
 
 #ifdef COGL_HAS_EGL_PLATFORM_ANDROID_SUPPORT
 cogl_android_set_native_window_EXP
 #endif
 
-cogl_angle_cos
-cogl_angle_sin
-cogl_angle_tan
-
 cogl_attribute_new
 cogl_attribute_buffer_new
 cogl_attribute_get_buffer
@@ -154,9 +149,6 @@ cogl_egl_context_get_egl_display
 cogl_context_get_display
 cogl_context_new
 
-cogl_create_program
-cogl_create_shader
-
 cogl_depth_state_get_range
 cogl_depth_state_get_test_enabled
 cogl_depth_state_get_test_function
@@ -172,10 +164,6 @@ cogl_display_get_renderer
 cogl_display_new
 cogl_display_setup
 
-cogl_double_to_fixed
-cogl_double_to_int
-cogl_double_to_uint
-
 cogl_end_gl
 
 cogl_error_get_type
@@ -205,13 +193,13 @@ cogl_framebuffer_clear
 cogl_framebuffer_discard_buffers
 cogl_framebuffer_draw_attributes
 cogl_framebuffer_draw_indexed_attributes
-cogl_framebuffer_draw_multitextured_rectangles
 cogl_framebuffer_draw_primitive
 cogl_framebuffer_draw_rectangle
 cogl_framebuffer_draw_rectangles
 cogl_framebuffer_draw_textured_rectangle
 cogl_framebuffer_draw_textured_rectangles
 cogl_framebuffer_error_quark
+cogl_framebuffer_fill_path
 cogl_framebuffer_finish
 cogl_framebuffer_frustum
 cogl_framebuffer_get_alpha_bits
@@ -254,6 +242,7 @@ cogl_framebuffer_set_modelview_matrix
 cogl_framebuffer_set_projection_matrix
 cogl_framebuffer_set_samples_per_pixel
 cogl_framebuffer_set_viewport
+cogl_framebuffer_stroke_path
 cogl_framebuffer_transform
 cogl_framebuffer_translate
 cogl_framebuffer_vdraw_attributes
@@ -270,7 +259,6 @@ cogl_get_draw_framebuffer
 cogl_get_features
 cogl_get_modelview_matrix
 cogl_get_option_group
-cogl_get_path	/* this is COGL 1.0 API */
 cogl_get_proc_address
 cogl_get_projection_matrix
 cogl_get_rectangle_indices
@@ -314,9 +302,8 @@ cogl_is_path
 cogl_is_pipeline
 cogl_is_pixel_buffer_EXP
 cogl_is_primitive
-cogl_is_program
+cogl_is_primitive_texture
 cogl_is_renderer
-cogl_is_shader
 cogl_is_snippet
 cogl_is_sub_texture_EXP
 cogl_is_texture
@@ -326,10 +313,9 @@ cogl_is_texture_pixmap_x11
 cogl_is_texture_rectangle_EXP
 cogl_is_texture_2d_EXP
 cogl_is_texture_3d
-cogl_is_vertex_buffer
-cogl_is_vertex_buffer_indices
 
 #ifdef COGL_HAS_EGL_PLATFORM_KMS_SUPPORT
+cogl_kms_display_queue_modes_reset
 cogl_kms_renderer_get_kms_fd
 #endif
 
@@ -340,6 +326,7 @@ cogl_matrix_frustum
 cogl_matrix_get_array
 cogl_matrix_get_inverse
 cogl_matrix_init_from_array
+cogl_matrix_init_translation
 cogl_matrix_is_identity
 cogl_matrix_init_from_quaternion
 cogl_matrix_init_identity
@@ -369,11 +356,6 @@ cogl_object_unref
 
 cogl_offscreen_new_to_texture
 
-#ifndef COGL_DISABLE_DEPRECATED
-cogl_offscreen_ref
-cogl_offscreen_unref
-#endif
-
 cogl_onscreen_add_swap_buffers_callback
 #ifndef COGL_WINSYS_INTEGRATED
 cogl_onscreen_clutter_backend_set_size_CLUTTER
@@ -498,24 +480,7 @@ cogl_primitive_set_indices_EXP
 cogl_primitive_set_mode
 cogl_primitive_set_n_vertices_EXP
 
-cogl_program_attach_shader
-cogl_program_get_uniform_location
-cogl_program_link
-cogl_program_ref
-cogl_program_set_uniform_float
-cogl_program_set_uniform_int
-cogl_program_set_uniform_matrix
-cogl_program_set_uniform_1f
-cogl_program_set_uniform_1i
-#ifndef COGL_DISABLE_DEPRECATED
-cogl_program_uniform_float
-cogl_program_uniform_int
-cogl_program_uniform_matrix
-cogl_program_uniform_1f
-cogl_program_uniform_1i
-#endif
-cogl_program_unref
-cogl_program_use
+cogl_primitive_texture_set_auto_mipmap
 
 #ifndef COGL_DISABLE_DEPRECATED
 cogl_push_draw_buffer
@@ -573,12 +538,16 @@ cogl_rotate
 
 cogl_scale
 
-#ifndef COGL_DISABLE_DEPRECATED
-cogl_set_draw_buffer
+#ifdef COGL_HAS_SDL_SUPPORT
+cogl_sdl_context_new
+cogl_sdl_handle_event
+cogl_sdl_idle
+cogl_sdl_renderer_get_event_type
+cogl_sdl_renderer_set_event_type
 #endif
+
 cogl_set_framebuffer
 cogl_set_modelview_matrix
-cogl_set_path	/* this is COGL 1.0 API */
 cogl_set_projection_matrix
 cogl_set_source
 cogl_set_source_color
@@ -587,19 +556,6 @@ cogl_set_source_color4ub
 cogl_set_source_texture
 cogl_set_viewport
 
-cogl_shader_compile
-cogl_shader_get_info_log
-cogl_shader_get_type
-cogl_shader_is_compiled
-#ifndef COGL_DISABLE_DEPRECATED
-cogl_shader_ref
-#endif
-cogl_shader_source
-#ifndef COGL_DISABLE_DEPRECATED
-cogl_shader_unref
-#endif
-cogl_shader_type_get_type
-
 cogl_snippet_get_declarations
 cogl_snippet_get_hook
 cogl_snippet_get_post
@@ -611,8 +567,6 @@ cogl_snippet_set_post
 cogl_snippet_set_pre
 cogl_snippet_set_replace
 
-cogl_sqrti
-
 cogl_sub_texture_get_parent
 cogl_sub_texture_new_EXP
 
@@ -643,6 +597,7 @@ cogl_texture_pixmap_x11_new
 cogl_texture_pixmap_x11_set_damage_object
 cogl_texture_pixmap_x11_update_area
 #endif
+cogl_texture_rectangle_new_from_bitmap
 cogl_texture_rectangle_new_with_size_EXP
 #ifndef COGL_DISABLE_DEPRECATED
 cogl_texture_ref
@@ -652,10 +607,12 @@ cogl_texture_set_region_from_bitmap_EXP
 #ifndef COGL_DISABLE_DEPRECATED
 cogl_texture_unref
 #endif
+cogl_texture_2d_new_from_bitmap
 cogl_texture_2d_new_from_data_EXP
 cogl_texture_2d_new_from_foreign_EXP
 cogl_texture_2d_new_with_size_EXP
 cogl_texture_2d_sliced_new_with_size
+cogl_texture_3d_new_from_bitmap
 cogl_texture_3d_new_from_data
 cogl_texture_3d_new_with_size
 
-- 
1.7.7.1.msysgit.0


More information about the Cogl mailing list