diff --git a/configure.ac b/configure.ac index e7c63f359..0032388fd 100644 --- a/configure.ac +++ b/configure.ac @@ -741,6 +741,8 @@ doc/Makefile doc/reference/Makefile doc/reference/cogl/Makefile doc/reference/cogl/cogl-docs.xml +doc/reference/cogl-2.0/Makefile +doc/reference/cogl-2.0/cogl-docs.xml examples/Makefile po/Makefile.in ) diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index e13c1b481..fd332b4c6 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -1 +1 @@ -SUBDIRS = cogl +SUBDIRS = cogl cogl-2.0 diff --git a/doc/reference/cogl-2.0/Makefile.am b/doc/reference/cogl-2.0/Makefile.am new file mode 100644 index 000000000..ce5b8dacf --- /dev/null +++ b/doc/reference/cogl-2.0/Makefile.am @@ -0,0 +1,154 @@ +## Process this file with automake to produce Makefile.in + +# We require automake 1.6 at least. +AUTOMAKE_OPTIONS = 1.6 + +# This is a blank Makefile.am for using gtk-doc. +# Copy this to your project's API docs directory and modify the variables to +# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples +# of using the various options. + +# The name of the module, e.g. 'glib'. +DOC_MODULE=cogl + +# The top-level SGML file. You can change this if you want to. +DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml + +# The directory containing the source code. Relative to $(srcdir). +# gtk-doc will search all .c & .h files beneath here for inline comments +# documenting the functions and macros. +# e.g. DOC_SOURCE_DIR=../../../gtk +DOC_SOURCE_DIR=../../../cogl + +# Extra options to pass to gtkdoc-scangobj. Not normally needed. +SCANGOBJ_OPTIONS=--type-init-func="g_type_init()" + +# Extra options to supply to gtkdoc-scan. +# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" +SCAN_OPTIONS=--deprecated-guards="COGL_DISABLE_DEPRECATED" + +# Extra options to supply to gtkdoc-mkdb. +# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml +MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cogl + +# Extra options to supply to gtkdoc-mktmpl +# e.g. MKTMPL_OPTIONS=--only-section-tmpl +MKTMPL_OPTIONS= + +# Extra options to supply to gtkdoc-fixref. Not normally needed. +# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html +FIXXREF_OPTIONS=\ + --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \ + --extra-dir=$(GDPIXBUF_PREFIX)/share/gtk-doc/html/gdk-pixbuf + +# Used for dependencies. The docs will be rebuilt if any of these change. +# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h +# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c +HFILE_GLOB=\ + $(top_srcdir)/cogl/*.h \ + $(top_builddir)/cogl/*.h +CFILE_GLOB=$(top_srcdir)/cogl/*.c + +# Header files to ignore when scanning. +# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h +IGNORE_HFILES=\ + cogl-atlas.h \ + cogl-atlas-texture-private.h \ + cogl-bitmap-private.h \ + cogl-buffer-private.h \ + cogl-color-private.h \ + cogl-feature-private.h \ + cogl-framebuffer-private.h \ + cogl-gtype-private.h \ + cogl-index-array-private.h \ + cogl-indices-private.h \ + cogl-journal-private.h \ + cogl-material-compat.h \ + cogl-matrix-private.h \ + cogl-object-private.h \ + cogl-path.h \ + cogl-path-private.h \ + cogl-pipeline-fragend-arbfp-private.h \ + cogl-pipeline-fragend-fixed-private.h \ + cogl-pipeline-fragend-glsl-private.h \ + cogl-pipeline-opengl-private.h \ + cogl-pipeline-private.h \ + cogl-pipeline-progend-glsl-private.h \ + cogl-pipeline-vertend-fixed-private.h \ + cogl-pipeline-vertend-glsl-private.h \ + cogl-pixel-array-private.h \ + cogl-primitive-private.h \ + cogl-primitives-private.h \ + cogl-private.h \ + cogl-program-private.h \ + cogl-shader-private.h \ + cogl-sub-texture-private.h \ + cogl-texture-2d-private.h \ + cogl-texture-2d-sliced-private.h \ + cogl-texture-3d-private.h \ + cogl-texture-private.h \ + cogl-texture-rectangle-private.h \ + cogl-vertex-buffer.h \ + cogl-vertex-array-private.h \ + cogl-vertex-attribute-private.h \ + cogl-vertex-buffer-private.h \ + cogl-blend-string.h \ + cogl-clip-stack.h \ + cogl-context.h \ + cogl-debug.h \ + cogl-defines.h \ + cogl-deprecated.h \ + cogl-handle.h \ + cogl-internal.h \ + cogl-matrix-mesa.h \ + cogl-matrix-stack.h \ + cogl-spans.h \ + cogl-profile.h \ + cogl-util.h \ + driver \ + tesselator \ + winsys + +EXTRA_HFILES= + +# Images to copy into HTML directory. +# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png +HTML_IMAGES = \ + fill-rule-non-zero.png \ + fill-rule-even-odd.png \ + quad-indices-order.png \ + quad-indices-triangles.png \ + cogl_ortho.png + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). +# e.g. content_files=running.sgml building.sgml changes-2.0.sgml +content_files = \ + blend-strings.xml + +# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded +# These files must be listed here *and* in content_files +# e.g. expand_content_files=running.sgml +expand_content_files = \ + blend-strings.xml + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +# Only needed if you are using gtkdoc-scangobj to dynamically query widget +# signals and properties. +# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) +# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) + +INCLUDES=-I$(top_srcdir) -I$(top_builddir)/cogl -DCOGL_ENABLE_EXPERIMENTAL_API $(COGL_DEP_CFLAGS) +GTKDOC_LIBS=$(top_builddir)/cogl/libcogl.la $(COGL_DEP_LIBS) + +# This includes the standard gtk-doc make rules, copied by gtkdocize. +include $(top_srcdir)/gtk-doc.make + +# Other files to distribute +# e.g. EXTRA_DIST += version.xml.in + +EXTRA_DIST += \ + fill-rule-non-zero.png \ + fill-rule-even-odd.png \ + quad-indices-triangles.png \ + quad-indices-order.png \ + cogl_ortho.png diff --git a/doc/reference/cogl-2.0/blend-strings.xml b/doc/reference/cogl-2.0/blend-strings.xml new file mode 100644 index 000000000..421ab2353 --- /dev/null +++ b/doc/reference/cogl-2.0/blend-strings.xml @@ -0,0 +1,129 @@ + + +]> + + + +Blend Strings +3 +COGL Library + + + +Blend Strings +A simple syntax and grammar for describing blending and texture +combining functions. + + + +Cogl Blend Strings + +Describing GPU blending and texture combining states is rather awkward to do +in a consise but also readable fashion. Cogl helps by supporting +string based descriptions using a simple syntax. + + +
+Some examples + +Here is an example used for blending: + +"RGBA = ADD (SRC_COLOR * (SRC_COLOR[A]), DST_COLOR * (1-SRC_COLOR[A]))" + +In OpenGL terms this replaces glBlendFunc[Separate] and +glBlendEquation[Separate] + +Actually in this case it's more verbose than the GL equivalent: + + +glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + + +But unless you are familiar with OpenGL or refer to its API documentation +you wouldn't know that the default function used by OpenGL is GL_FUNC_ADD +nor would you know that the above arguments determine what the source color +and destination color will be multiplied by before being adding. + + +Here is an example used for texture combining: + +"RGB = REPLACE (PREVIOUS)" +"A = MODULATE (PREVIOUS, TEXTURE)" + + +In OpenGL terms this replaces glTexEnv, and the above example is equivalent +to this OpenGL code: + + + glTexEnvi (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE); + glTexEnvi (GL_TEXTURE_ENV, GL_COMBINE_RGB, GL_REPLACE); + glTexEnvi (GL_TEXTURE_ENV, GL_SRC0_RGB, GL_PREVIOUS); + glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND0_RGB, GL_SRC_COLOR); + glTexEnvi (GL_TEXTURE_ENV, GL_COMBINE_ALPHA, GL_MODULATE); + glTexEnvi (GL_TEXTURE_ENV, GL_SRC0_ALPHA, GL_PREVIOUS); + glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND0_ALPHA, GL_SRC_COLOR); + glTexEnvi (GL_TEXTURE_ENV, GL_SRC1_ALPHA, GL_TEXTURE); + glTexEnvi (GL_TEXTURE_ENV, GL_OPERAND1_ALPHA, GL_SRC_COLOR); + + +
+ +
+Here's the syntax + + +<statement>: + <channel-mask>=<function-name>(<arg-list>) + + You can either use a single statement with an RGBA channel-mask or you can use + two statements; one with an A channel-mask and the other with an RGB + channel-mask. + +<channel-mask>: + A or RGB or RGBA + +<function-name>: + [A-Za-z_]* + +<arg-list>: + <arg>,<arg> + or <arg> + or "" + + I.e. functions may take 0 or more arguments + +<arg>: + <color-source> + 1 - <color-source> : Only intended for texture combining + <color-source> * ( <factor> ) : Only intended for blending + 0 : Only intended for blending + + See the blending or texture combining sections for further notes and examples. + +<color-source>: + <source-name>[<channel-mask>] + <source-name> + + See the blending or texture combining sections for the list of source-names + valid in each context. + + If a channel mask is not given then the channel mask of the statement + is assumed instead. + +<factor>: + 0 + 1 + <color-source> + 1-<color-source> + SRC_ALPHA_SATURATE + + +
+ + +
+ + +
diff --git a/doc/reference/cogl-2.0/cogl-docs.xml.in b/doc/reference/cogl-2.0/cogl-docs.xml.in new file mode 100644 index 000000000..6e02ecffc --- /dev/null +++ b/doc/reference/cogl-2.0/cogl-docs.xml.in @@ -0,0 +1,195 @@ + + +]> + + + + Cogl 2.0 Reference Manual + for Cogl 2.0; + + + 2008 + OpenedHand LTD + + + + 2009 + 2010 + 2011 + Intel Corporation + + + + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free + Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. You may obtain a copy of the GNU Free + Documentation License from the Free Software + Foundation by visiting their Web site or by writing + to: + +
+ The Free Software Foundation, Inc., + 59 Temple Place - Suite 330, + Boston, MA 02111-1307, + USA +
+
+
+ +
+ + + Cogl - a modern 3D graphics API + +
+ About Cogl + + Cogl is a modern 3D graphics API with associated utility + APIs designed to expose the features of 3D graphics hardware + using a more object oriented design than OpenGL. The library has + primarily been driven by the practical needs of Clutter but it + is not tied to any one toolkit or even constrained to developing + UI toolkits. + +
+ + + + +
+ Setting Up A GPU Pipeline + + +
+ +
+ Allocating GPU Memory + + + +
+ +
+ Describing the layout of GPU Memory + + +
+ +
+ Geometry + + +
+ +
+ Drawing + + +
+ +
+ Textures + + +
+ + +
+ Framebuffers + + +
+ +
+ Utilities + + + + +
+ +
+ Binding and Integrating + +
+ +
+ + + Glossaries + + + + + + Index of all symbols + + + + + Index of deprecated symbols + + + + + Index of new symbols in 0.8 + + + + + Index of new symbols in 1.0 + + + + + Index of new symbols in 1.2 + + + + + Index of new symbols in 1.4 + + + + + License + + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General + Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) + any later version. + + + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for + more details. + + + + You may obtain a copy of the GNU Library General + Public License from the Free Software Foundation by + visiting their Web + site or by writing to: + +
+ Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307 + USA +
+
+
+ +
diff --git a/doc/reference/cogl-2.0/cogl-sections.txt b/doc/reference/cogl-2.0/cogl-sections.txt new file mode 100644 index 000000000..e73a3480e --- /dev/null +++ b/doc/reference/cogl-2.0/cogl-sections.txt @@ -0,0 +1,484 @@ + +
+cogl-object +The Base Object +CoglObject +cogl_object_ref +cogl_object_unref +CoglUserDataKey +cogl_object_get_user_data +cogl_object_set_user_data +
+ +
+cogl-context +The Top-Level Context + + +CoglFeatureFlags +cogl_get_features +cogl_features_available +cogl_get_proc_address +cogl_get_option_group + + +cogl_push_matrix +cogl_pop_matrix +cogl_scale +cogl_translate +cogl_rotate +cogl_transform +cogl_frustum +cogl_perspective +cogl_ortho + + +cogl_get_modelview_matrix +cogl_set_modelview_matrix +cogl_get_projection_matrix +cogl_set_projection_matrix +cogl_set_viewport +cogl_get_viewport + + +cogl_clear +cogl_set_backface_culling_enabled +cogl_get_backface_culling_enabled + + +cogl_set_source +cogl_set_source_color +cogl_set_source_color4ub +cogl_set_source_color4f +cogl_set_source_texture +cogl_get_source +cogl_push_source +cogl_pop_source + + +CoglReadPixelsFlags +cogl_read_pixels + + +cogl_flush +cogl_begin_gl +cogl_end_gl + + +COGL_TYPE_ATTRIBUTE_TYPE +COGL_TYPE_BLEND_STRING_ERROR +COGL_TYPE_BUFFER_ACCESS +COGL_TYPE_BUFFER_BIT +COGL_TYPE_BUFFER_TARGET +COGL_TYPE_BUFFER_UPDATE_HINT +COGL_TYPE_BUFFER_USAGE_HINT +COGL_TYPE_DEBUG_FLAGS +COGL_TYPE_DRIVER_ERROR +COGL_TYPE_FEATURE_FLAGS +COGL_TYPE_INDICES_TYPE +COGL_TYPE_PIXEL_FORMAT +COGL_TYPE_READ_PIXELS_FLAGS +COGL_TYPE_TEXTURE_FLAGS +COGL_TYPE_VERTICES_MODE + + +COGL_DRIVER_ERROR +CoglDriverError +cogl_attribute_type_get_type +cogl_buffer_bit_get_type +cogl_buffer_target_get_type +cogl_debug_flags_get_type +cogl_driver_error_get_type +cogl_feature_flags_get_type +cogl_fixed_get_type +cogl_fog_mode_get_type +cogl_indices_type_get_type +cogl_pixel_format_get_type +cogl_read_pixels_flags_get_type +cogl_shader_type_get_type +cogl_texture_flags_get_type +cogl_vertices_mode_get_type +COGL_AFIRST_BIT +COGL_A_BIT +COGL_BGR_BIT +COGL_PIXEL_FORMAT_24 +COGL_PIXEL_FORMAT_32 +COGL_PREMULT_BIT +COGL_UNORDERED_MASK +COGL_UNPREMULT_MASK +
+ +
+cogl-clipping +Clipping +cogl_clip_push_rectangle +cogl_clip_push_window_rectangle +cogl_clip_push_from_path +cogl_clip_push_from_path_preserve +cogl_clip_pop +
+ +
+cogl-vertex-array +Vertex Arrays +cogl_vertex_array_new +cogl_is_vertex_array +
+ +
+cogl-index-array +Index Arrays +cogl_index_array_new +cogl_is_index_array +
+ +
+cogl-vertex-attribute +Vertex Attributes +cogl_vertex_attribute_new +cogl_is_vertex_attribute +
+ +
+cogl-indices +Indices +cogl_indices_new +cogl_is_indices +
+ +
+cogl-primitive +Primitives +cogl_primitive_new +cogl_primitive_new_with_attributes_array +cogl_primitive_new_with_p3_attributes +cogl_primitive_new_with_p2c4_attributes +cogl_primitive_new_with_p3c4_attributes +cogl_primitive_new_with_p2t2_attributes +cogl_primitive_new_with_p3t2_attributes +cogl_primitive_new_with_p2t2c4_attributes +cogl_primitive_new_with_p3t2c4_attributes +cogl_is_primitive +cogl_primitive_get_first_vertex +cogl_primitive_set_first_vertex +cogl_primitive_get_n_vertices +cogl_primitive_set_n_vertices +cogl_primitive_get_mode +cogl_primitive_set_mode +cogl_primitive_set_attributes +cogl_primitive_set_indices +cogl_primitive_draw +
+ +
+cogl-rectangle +Rectangles +cogl_rectangle +cogl_rectangles +cogl_rectangle_with_texture_coords +cogl_rectangles_with_texture_coords +cogl_rectangle_with_multitexture_coords +
+ +
+cogl-primitives-deprecated +Primitives (Deprecated) +cogl_polygon +
+ +
+cogl-paths +Path Primitives +cogl_is_path +cogl_path_new +cogl_path_copy +cogl_path_move_to +cogl_path_close +cogl_path_line_to +cogl_path_curve_to +cogl_path_arc +cogl_path_rel_move_to +cogl_path_rel_line_to +cogl_path_rel_curve_to +cogl_path_line +cogl_path_polyline +cogl_path_polygon +cogl_path_rectangle +cogl_path_round_rectangle +cogl_path_ellipse + + +CoglPathFillRule +cogl_path_set_fill_rule +cogl_path_get_fill_rule +cogl_path_fill +cogl_path_stroke +
+ +
+cogl-drawing +Draw Vertex Attributes +cogl_draw_vertex_attributes +cogl_draw_vertex_attributes_array +cogl_draw_indexed_vertex_attributes +cogl_draw_indexed_vertex_attributes_array +
+ +
+cogl-bitmap +Bitmaps +cogl_bitmap_new_from_file +cogl_bitmap_get_size_from_file +cogl_is_bitmap +CoglBitmapError +COGL_BITMAP_ERROR +
+ +
+cogl-texture +The Base Texture +CoglTextureVertex +CoglTextureFlags +cogl_texture_new_with_size +cogl_texture_new_from_file +cogl_texture_new_from_data +cogl_texture_new_from_foreign +cogl_texture_new_from_bitmap +cogl_texture_new_from_sub_texture +cogl_is_texture + + +cogl_texture_get_width +cogl_texture_get_height +cogl_texture_get_format +cogl_texture_get_rowstride +cogl_texture_get_max_waste +cogl_texture_is_sliced +cogl_texture_get_gl_texture +cogl_texture_get_data +cogl_texture_set_region + + +COGL_TEXTURE_MAX_WASTE +
+ +
+cogl-texture-3d +3D textures +cogl_texture_3d_new_with_size +cogl_texture_3d_new_from_data +cogl_is_texture_3d +
+ +
+cogl-framebuffer +CoglFramebuffer: The Base Framebuffer Type +cogl_set_framebuffer +cogl_push_framebuffer +cogl_pop_framebuffer +
+ +
+cogl-offscreen +Offscreen Framebuffers +cogl_offscreen_new_to_texture +cogl_is_offscreen +
+ +
+cogl-color +Color Type +CoglColor +cogl_color_new +cogl_color_copy +cogl_color_free +cogl_color_set_from_4ub +cogl_color_set_from_4f + + +cogl_color_get_red +cogl_color_get_green +cogl_color_get_blue +cogl_color_get_alpha + + +cogl_color_get_red_byte +cogl_color_get_green_byte +cogl_color_get_blue_byte +cogl_color_get_alpha_byte + + +cogl_color_get_red_float +cogl_color_get_green_float +cogl_color_get_blue_float +cogl_color_get_alpha_float + + +cogl_color_set_red +cogl_color_set_green +cogl_color_set_blue +cogl_color_set_alpha + + +cogl_color_set_red_byte +cogl_color_set_green_byte +cogl_color_set_blue_byte +cogl_color_set_alpha_byte + + +cogl_color_set_red_float +cogl_color_set_green_float +cogl_color_set_blue_float +cogl_color_set_alpha_float + + +cogl_color_premultiply +cogl_color_unpremultiply +cogl_color_equal +
+ +
+cogl-matrix +Matrices +CoglMatrix +cogl_matrix_init_identity +cogl_matrix_frustum +cogl_matrix_ortho +cogl_matrix_perspective +cogl_matrix_transform_point +cogl_matrix_multiply +cogl_matrix_rotate +cogl_matrix_translate +cogl_matrix_scale +cogl_matrix_init_from_array +cogl_matrix_get_array +cogl_matrix_get_inverse +
+ +
+cogl-pipeline +Pipeline +cogl_pipeline_new +cogl_pipeline_copy +cogl_is_pipeline + +cogl_pipeline_set_color +cogl_pipeline_set_color4ub +cogl_pipeline_set_color4f +cogl_pipeline_get_color + +cogl_pipeline_set_ambient +cogl_pipeline_get_ambient +cogl_pipeline_set_diffuse +cogl_pipeline_get_diffuse +cogl_pipeline_set_ambient_and_diffuse +cogl_pipeline_set_emission +cogl_pipeline_get_emission +cogl_pipeline_set_specular +cogl_pipeline_get_specular +cogl_pipeline_set_shininess +cogl_pipeline_get_shininess + +CoglMaterialAlphaFunc +cogl_pipeline_set_alpha_test_function + +COGL_BLEND_STRING_ERROR +CoglBlendStringError +cogl_pipeline_set_blend +cogl_pipeline_set_blend_constant +cogl_pipeline_set_point_size +cogl_pipeline_get_point_size + +cogl_pipeline_set_layer_texture +cogl_pipeline_get_layer_texture +CoglMaterialFilter +cogl_pipeline_set_layer_filters +cogl_pipeline_get_layer_min_filter +cogl_pipeline_get_layer_mag_filter +CoglMaterialWrapMode +cogl_pipeline_set_layer_wrap_mode +cogl_pipeline_set_layer_wrap_mode_s +cogl_pipeline_set_layer_wrap_mode_t +cogl_pipeline_set_layer_wrap_mode_p +cogl_pipeline_set_layer_combine +cogl_pipeline_set_layer_combine_constant +cogl_pipeline_set_layer_matrix +cogl_pipeline_set_layer_point_sprite_coords_enabled +cogl_pipeline_get_layer_point_sprite_coords_enabled + +cogl_pipeline_remove_layer + +cogl_pipeline_get_n_layers +cogl_pipeline_foreach_layer + + +cogl_blend_string_error_get_type +cogl_blend_string_error_quark +
+ +
+cogl-buffer +CoglBuffer: The Base Buffer Type +cogl_is_buffer +cogl_buffer_get_size +CoglBufferUsageHint +cogl_buffer_set_usage_hint +cogl_buffer_get_usage_hint +CoglBufferUpdateHint +cogl_buffer_set_update_hint +cogl_buffer_get_update_hint +CoglBufferAccess +cogl_buffer_map +cogl_buffer_unmap +cogl_buffer_set_data + + +cogl_pixel_buffer_new +cogl_pixel_buffer_new_for_size +cogl_is_pixel_buffer + + +cogl_texture_new_from_buffer + + +cogl_buffer_access_get_type +cogl_buffer_update_hint_get_type +cogl_buffer_usage_hint_get_type +
+ +
+cogl-vector +3 Component Vectors +cogl_vector3_init +cogl_vector3_init_zero +cogl_vector3_equal +cogl_vector3_equal_with_epsilon +cogl_vector3_copy +cogl_vector3_free +cogl_vector3_invert +cogl_vector3_add +cogl_vector3_subtract +cogl_vector3_multiply_scalar +cogl_vector3_divide_scalar +cogl_vector3_normalize +cogl_vector3_magnitude +cogl_vector3_cross_product +cogl_vector3_dot_product +cogl_vector3_distance +
+ +
+cogl-types +Common Types +CoglFuncPtr +CoglPixelFormat +CoglBufferTarget +CoglBufferBit +CoglAttributeType +
+ +
+cogl-gtype +GType Integration API +cogl_gtype_matrix_get_type +
diff --git a/doc/reference/cogl-2.0/cogl_ortho.png b/doc/reference/cogl-2.0/cogl_ortho.png new file mode 100644 index 000000000..2c2a1fd20 Binary files /dev/null and b/doc/reference/cogl-2.0/cogl_ortho.png differ diff --git a/doc/reference/cogl-2.0/fill-rule-even-odd.png b/doc/reference/cogl-2.0/fill-rule-even-odd.png new file mode 100644 index 000000000..1e4fbb0f2 Binary files /dev/null and b/doc/reference/cogl-2.0/fill-rule-even-odd.png differ diff --git a/doc/reference/cogl-2.0/fill-rule-non-zero.png b/doc/reference/cogl-2.0/fill-rule-non-zero.png new file mode 100644 index 000000000..2d8ad314c Binary files /dev/null and b/doc/reference/cogl-2.0/fill-rule-non-zero.png differ diff --git a/doc/reference/cogl-2.0/quad-indices-order.png b/doc/reference/cogl-2.0/quad-indices-order.png new file mode 100644 index 000000000..a31d95d48 Binary files /dev/null and b/doc/reference/cogl-2.0/quad-indices-order.png differ diff --git a/doc/reference/cogl-2.0/quad-indices-triangles.png b/doc/reference/cogl-2.0/quad-indices-triangles.png new file mode 100644 index 000000000..18c42c845 Binary files /dev/null and b/doc/reference/cogl-2.0/quad-indices-triangles.png differ