mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
153f5ea73f
* clutter/cogl/gl/cogl-texture.c (cogl_texture_polygon) (_cogl_texture_quad_sw, _cogl_texture_quad_hw): * clutter/cogl/gles/cogl-texture.c (cogl_texture_polygon) (_cogl_texture_quad_sw, _cogl_texture_quad_hw): Enable backface culling in GL if it is requested. * clutter/cogl/gles/cogl-texture.c (_cogl_texture_quad_sw) (_cogl_texture_quad_hw): * clutter/cogl/gl/cogl-texture.c (_cogl_texture_quad_sw) (_cogl_texture_quad_hw): Reorder the vertices so that they are counter-clockwise. * clutter/cogl/gles/cogl-context.h (CoglContext): * clutter/cogl/gl/cogl-context.h (CoglContext): Added a flag to store whether backface culling is currently enabled. * clutter/cogl/gles/cogl.c (cogl_enable_backface_culling): * clutter/cogl/gl/cogl.c (cogl_enable_backface_culling): New function * doc/reference/cogl/cogl-sections.txt: Add cogl_enable_backface_culling
149 lines
2.7 KiB
Plaintext
149 lines
2.7 KiB
Plaintext
<SECTION>
|
|
<FILE>cogl</FILE>
|
|
<TITLE>General API</TITLE>
|
|
COGL_PIXEL_FORMAT_24
|
|
COGL_PIXEL_FORMAT_32
|
|
COGL_A_BIT
|
|
COGL_BGR_BIT
|
|
COGL_AFIRST_BIT
|
|
COGL_PREMULT_BIT
|
|
COGL_UNORDERED_MASK
|
|
COGL_UNPREMULT_MASK
|
|
CoglPixelFormat
|
|
CoglBufferTarget
|
|
<SUBSECTION>
|
|
cogl_perspective
|
|
cogl_frustum
|
|
cogl_setup_viewport
|
|
cogl_viewport
|
|
cogl_get_modelview_matrix
|
|
cogl_get_projection_matrix
|
|
cogl_get_viewport
|
|
<SUBSECTION>
|
|
cogl_push_matrix
|
|
cogl_pop_matrix
|
|
cogl_scale
|
|
cogl_translatex
|
|
cogl_translate
|
|
cogl_rotatex
|
|
cogl_rotate
|
|
<SUBSECTION>
|
|
cogl_clip_set
|
|
cogl_clip_unset
|
|
cogl_clip_stack_save
|
|
cogl_clip_stack_restore
|
|
<SUBSECTION>
|
|
cogl_enable_depth_test
|
|
cogl_enable_backface_culling
|
|
cogl_alpha_func
|
|
cogl_fog_set
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>cogl-util</FILE>
|
|
<TITLE>Utility API</TITLE>
|
|
cogl_create_context
|
|
cogl_destroy_context
|
|
COGL_INVALID_HANDLE
|
|
CoglHandle
|
|
CoglFuncPtr
|
|
<SUBSECTION>
|
|
CoglFeatureFlags
|
|
cogl_get_features
|
|
cogl_features_available
|
|
<SUBSECTION>
|
|
cogl_get_proc_address
|
|
cogl_check_extension
|
|
cogl_get_bitmasks
|
|
cogl_paint_init
|
|
<SUBSECTION>
|
|
cogl_util_next_p2
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>cogl-primitives</FILE>
|
|
<TITLE>Primitives</TITLE>
|
|
cogl_color
|
|
cogl_path_fill
|
|
cogl_path_stroke
|
|
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
|
|
cogl_rectangle
|
|
cogl_rectanglex
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>cogl-texture</FILE>
|
|
<TITLE>Textures</TITLE>
|
|
CoglTextureVertex
|
|
cogl_texture_new_with_size
|
|
cogl_texture_new_from_file
|
|
cogl_texture_new_from_data
|
|
cogl_texture_new_from_foreign
|
|
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_get_min_filter
|
|
cogl_texture_get_mag_filter
|
|
cogl_texture_is_sliced
|
|
cogl_texture_get_gl_texture
|
|
cogl_texture_get_data
|
|
cogl_texture_set_filters
|
|
cogl_texture_set_region
|
|
cogl_texture_ref
|
|
cogl_texture_unref
|
|
cogl_texture_rectangle
|
|
cogl_texture_polygon
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>cogl-shaders</FILE>
|
|
<TITLE>Shaders and Programmable Pipeline</TITLE>
|
|
cogl_create_shader
|
|
cogl_shader_ref
|
|
cogl_shader_unref
|
|
cogl_is_shader
|
|
cogl_shader_source
|
|
cogl_shader_compile
|
|
cogl_shader_get_info_log
|
|
cogl_shader_get_parameteriv
|
|
<SUBSECTION>
|
|
cogl_create_program
|
|
cogl_program_ref
|
|
cogl_program_unref
|
|
cogl_is_program
|
|
cogl_program_attach_shader
|
|
cogl_program_link
|
|
cogl_program_use
|
|
cogl_program_get_uniform_location
|
|
cogl_program_uniform_1f
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>cogl-offscreen</FILE>
|
|
<TITLE>Offscreen Buffers</TITLE>
|
|
cogl_offscreen_new_to_texture
|
|
cogl_offscreen_new_multisample
|
|
cogl_offscreen_ref
|
|
cogl_offscreen_unref
|
|
cogl_is_offscreen
|
|
cogl_offscreen_blit
|
|
cogl_offscreen_blit_region
|
|
cogl_draw_buffer
|
|
</SECTION>
|