Home
last modified time | relevance | path

Searched refs:_COGL_RETURN_IF_FAIL (Results 1 – 25 of 88) sorted by relevance

1234

/dports/graphics/cogl/cogl-1.22.8/cogl/deprecated/
H A Dcogl-framebuffer-deprecated.c117 _COGL_RETURN_IF_FAIL (ctx != NULL); in _cogl_set_framebuffers_real()
118 _COGL_RETURN_IF_FAIL (draw_buffer && read_buffer ? in _cogl_set_framebuffers_real()
149 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (draw_buffer)); in _cogl_set_framebuffers()
150 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (read_buffer)); in _cogl_set_framebuffers()
216 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (draw_buffer)); in _cogl_push_framebuffers()
217 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (read_buffer)); in _cogl_push_framebuffers()
220 _COGL_RETURN_IF_FAIL (ctx != NULL); in _cogl_push_framebuffers()
221 _COGL_RETURN_IF_FAIL (draw_buffer->context == read_buffer->context); in _cogl_push_framebuffers()
223 _COGL_RETURN_IF_FAIL (ctx->framebuffer_stack != NULL); in _cogl_push_framebuffers()
H A Dcogl-program.c117 _COGL_RETURN_IF_FAIL (program->attached_shaders == NULL); in cogl_program_attach_shader()
119 _COGL_RETURN_IF_FAIL (_cogl_program_get_language (program) == in cogl_program_attach_shader()
142 _COGL_RETURN_IF_FAIL (handle == COGL_INVALID_HANDLE || in cogl_program_use()
391 _COGL_RETURN_IF_FAIL (value->type == COGL_BOXED_FLOAT); in _cogl_program_flush_uniform_arbfp()
392 _COGL_RETURN_IF_FAIL (value->size == 4); in _cogl_program_flush_uniform_arbfp()
393 _COGL_RETURN_IF_FAIL (value->count == 1); in _cogl_program_flush_uniform_arbfp()
412 _COGL_RETURN_IF_FAIL (ctx->driver != COGL_DRIVER_GLES1); in _cogl_program_flush_uniforms()
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl/deprecated/
H A Dcogl-framebuffer-deprecated.c117 _COGL_RETURN_IF_FAIL (ctx != NULL); in _cogl_set_framebuffers_real()
118 _COGL_RETURN_IF_FAIL (draw_buffer && read_buffer ? in _cogl_set_framebuffers_real()
149 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (draw_buffer)); in _cogl_set_framebuffers()
150 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (read_buffer)); in _cogl_set_framebuffers()
216 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (draw_buffer)); in _cogl_push_framebuffers()
217 _COGL_RETURN_IF_FAIL (cogl_is_framebuffer (read_buffer)); in _cogl_push_framebuffers()
220 _COGL_RETURN_IF_FAIL (ctx != NULL); in _cogl_push_framebuffers()
221 _COGL_RETURN_IF_FAIL (draw_buffer->context == read_buffer->context); in _cogl_push_framebuffers()
223 _COGL_RETURN_IF_FAIL (ctx->framebuffer_stack != NULL); in _cogl_push_framebuffers()
H A Dcogl-program.c117 _COGL_RETURN_IF_FAIL (program->attached_shaders == NULL); in cogl_program_attach_shader()
119 _COGL_RETURN_IF_FAIL (_cogl_program_get_language (program) == in cogl_program_attach_shader()
142 _COGL_RETURN_IF_FAIL (handle == COGL_INVALID_HANDLE || in cogl_program_use()
391 _COGL_RETURN_IF_FAIL (value->type == COGL_BOXED_FLOAT); in _cogl_program_flush_uniform_arbfp()
392 _COGL_RETURN_IF_FAIL (value->size == 4); in _cogl_program_flush_uniform_arbfp()
393 _COGL_RETURN_IF_FAIL (value->count == 1); in _cogl_program_flush_uniform_arbfp()
412 _COGL_RETURN_IF_FAIL (ctx->driver != COGL_DRIVER_GLES1); in _cogl_program_flush_uniforms()
/dports/graphics/cogl/cogl-1.22.8/cogl/
H A Dcogl-depth-state.c57 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_test_enabled()
72 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_write_enabled()
87 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_test_function()
103 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_range()
113 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_get_range()
H A Dcogl-snippet.c93 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_declarations()
114 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_pre()
135 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_replace()
156 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_post()
H A Dcogl-pipeline-state.c390 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_color()
416 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_color()
488 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in _cogl_pipeline_set_blend_enabled()
489 _COGL_RETURN_IF_FAIL (enable > 1 && in _cogl_pipeline_set_blend_enabled()
518 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_ambient()
535 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_ambient()
568 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_diffuse()
585 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_diffuse()
627 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_specular()
643 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_specular()
[all …]
H A Dcogl-primitive.c419 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_attributes()
432 _COGL_RETURN_IF_FAIL (cogl_is_attribute (attributes[i])); in cogl_primitive_set_attributes()
477 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_first_vertex()
500 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_n_vertices()
517 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_mode()
533 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_indices()
591 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in _cogl_primitive_immutable_unref()
592 _COGL_RETURN_IF_FAIL (primitive->immutable_ref > 0); in _cogl_primitive_immutable_unref()
H A Dcogl-display.c128 _COGL_RETURN_IF_FAIL (display->setup == FALSE); in cogl_display_set_onscreen_template()
167 _COGL_RETURN_IF_FAIL (display->setup == FALSE); in cogl_gdl_display_set_plane()
178 _COGL_RETURN_IF_FAIL (display->setup == FALSE); in cogl_wayland_display_set_compositor_display()
H A Dcogl-renderer.c326 _COGL_RETURN_IF_FAIL (cogl_is_renderer (renderer)); in cogl_xlib_renderer_set_foreign_display()
329 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_xlib_renderer_set_foreign_display()
350 _COGL_RETURN_IF_FAIL (cogl_is_renderer (renderer)); in cogl_xlib_renderer_set_event_retrieval_enabled()
352 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_xlib_renderer_set_event_retrieval_enabled()
790 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_renderer_set_winsys_id()
851 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_renderer_set_driver()
870 _COGL_RETURN_IF_FAIL (renderer->connected); in cogl_renderer_foreach_output()
871 _COGL_RETURN_IF_FAIL (callback != NULL); in cogl_renderer_foreach_output()
H A Dcogl-buffer.c172 _COGL_RETURN_IF_FAIL (!(buffer->flags & COGL_BUFFER_FLAG_MAPPED)); in _cogl_buffer_fini()
173 _COGL_RETURN_IF_FAIL (buffer->immutable_ref == 0); in _cogl_buffer_fini()
333 _COGL_RETURN_IF_FAIL (ctx->buffer_map_fallback_in_use); in _cogl_buffer_unmap_for_fill_or_fallback()
406 _COGL_RETURN_IF_FAIL (cogl_is_buffer (buffer)); in _cogl_buffer_immutable_unref()
407 _COGL_RETURN_IF_FAIL (buffer->immutable_ref > 0); in _cogl_buffer_immutable_unref()
H A Dcogl-win32-renderer.c68 _COGL_RETURN_IF_FAIL (cogl_is_renderer (renderer)); in cogl_win32_renderer_set_event_retrieval_enabled()
70 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_win32_renderer_set_event_retrieval_enabled()
H A Dcogl-onscreen.c170 _COGL_RETURN_IF_FAIL (onscreen->winsys == NULL); in _cogl_onscreen_free()
309 _COGL_RETURN_IF_FAIL (framebuffer->type == COGL_FRAMEBUFFER_TYPE_ONSCREEN); in cogl_onscreen_swap_buffers_with_damage()
359 _COGL_RETURN_IF_FAIL (framebuffer->type == COGL_FRAMEBUFFER_TYPE_ONSCREEN); in cogl_onscreen_swap_region()
372 _COGL_RETURN_IF_FAIL (winsys->onscreen_swap_region != NULL); in cogl_onscreen_swap_region()
426 _COGL_RETURN_IF_FAIL (update); in cogl_x11_onscreen_set_foreign_window_xid()
514 _COGL_RETURN_IF_FAIL (closure); in cogl_onscreen_remove_frame_callback()
586 _COGL_RETURN_IF_FAIL (closure); in cogl_onscreen_remove_swap_buffers_callback()
740 _COGL_RETURN_IF_FAIL (closure); in cogl_onscreen_remove_dirty_callback()
H A Dcogl.c561 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_push_source()
576 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in _cogl_push_source()
601 _COGL_RETURN_IF_FAIL (ctx->source_stack); in cogl_pop_source()
649 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_set_source()
650 _COGL_RETURN_IF_FAIL (ctx->source_stack); in cogl_set_source()
677 _COGL_RETURN_IF_FAIL (texture != NULL); in cogl_set_source_texture()
H A Dcogl-indices.c154 _COGL_RETURN_IF_FAIL (cogl_is_indices (indices)); in cogl_indices_set_offset()
182 _COGL_RETURN_IF_FAIL (cogl_is_indices (indices)); in _cogl_indices_immutable_unref()
183 _COGL_RETURN_IF_FAIL (indices->immutable_ref > 0); in _cogl_indices_immutable_unref()
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl/
H A Dcogl-depth-state.c57 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_test_enabled()
72 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_write_enabled()
87 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_test_function()
103 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_set_range()
113 _COGL_RETURN_IF_FAIL (state->magic == COGL_DEPTH_STATE_MAGIC); in cogl_depth_state_get_range()
H A Dcogl-renderer.c248 _COGL_RETURN_IF_FAIL (cogl_is_renderer (renderer)); in cogl_xlib_renderer_set_foreign_display()
251 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_xlib_renderer_set_foreign_display()
272 _COGL_RETURN_IF_FAIL (cogl_is_renderer (renderer)); in cogl_xlib_renderer_set_event_retrieval_enabled()
274 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_xlib_renderer_set_event_retrieval_enabled()
283 _COGL_RETURN_IF_FAIL (cogl_is_renderer (renderer)); in cogl_xlib_renderer_request_reset_on_video_memory_purge()
284 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_xlib_renderer_request_reset_on_video_memory_purge()
295 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_xlib_renderer_set_threaded_swap_wait_enabled()
775 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_renderer_set_winsys_id()
836 _COGL_RETURN_IF_FAIL (!renderer->connected); in cogl_renderer_set_driver()
855 _COGL_RETURN_IF_FAIL (renderer->connected); in cogl_renderer_foreach_output()
[all …]
H A Dcogl-snippet.c93 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_declarations()
114 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_pre()
135 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_replace()
156 _COGL_RETURN_IF_FAIL (cogl_is_snippet (snippet)); in cogl_snippet_set_post()
H A Dcogl-pipeline-state.c390 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_color()
416 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_color()
488 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in _cogl_pipeline_set_blend_enabled()
489 _COGL_RETURN_IF_FAIL (enable > 1 && in _cogl_pipeline_set_blend_enabled()
518 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_ambient()
535 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_ambient()
568 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_diffuse()
585 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_diffuse()
627 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_get_specular()
643 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_pipeline_set_specular()
[all …]
H A Dcogl-primitive.c419 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_attributes()
432 _COGL_RETURN_IF_FAIL (cogl_is_attribute (attributes[i])); in cogl_primitive_set_attributes()
477 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_first_vertex()
500 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_n_vertices()
517 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_mode()
533 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in cogl_primitive_set_indices()
591 _COGL_RETURN_IF_FAIL (cogl_is_primitive (primitive)); in _cogl_primitive_immutable_unref()
592 _COGL_RETURN_IF_FAIL (primitive->immutable_ref > 0); in _cogl_primitive_immutable_unref()
H A Dcogl-buffer.c172 _COGL_RETURN_IF_FAIL (!(buffer->flags & COGL_BUFFER_FLAG_MAPPED)); in _cogl_buffer_fini()
173 _COGL_RETURN_IF_FAIL (buffer->immutable_ref == 0); in _cogl_buffer_fini()
333 _COGL_RETURN_IF_FAIL (ctx->buffer_map_fallback_in_use); in _cogl_buffer_unmap_for_fill_or_fallback()
406 _COGL_RETURN_IF_FAIL (cogl_is_buffer (buffer)); in _cogl_buffer_immutable_unref()
407 _COGL_RETURN_IF_FAIL (buffer->immutable_ref > 0); in _cogl_buffer_immutable_unref()
H A Dcogl-onscreen.c170 _COGL_RETURN_IF_FAIL (onscreen->winsys == NULL); in _cogl_onscreen_free()
309 _COGL_RETURN_IF_FAIL (framebuffer->type == COGL_FRAMEBUFFER_TYPE_ONSCREEN); in cogl_onscreen_swap_buffers_with_damage()
359 _COGL_RETURN_IF_FAIL (framebuffer->type == COGL_FRAMEBUFFER_TYPE_ONSCREEN); in cogl_onscreen_swap_region()
372 _COGL_RETURN_IF_FAIL (winsys->onscreen_swap_region != NULL); in cogl_onscreen_swap_region()
426 _COGL_RETURN_IF_FAIL (update); in cogl_x11_onscreen_set_foreign_window_xid()
485 _COGL_RETURN_IF_FAIL (closure); in cogl_onscreen_remove_frame_callback()
557 _COGL_RETURN_IF_FAIL (closure); in cogl_onscreen_remove_swap_buffers_callback()
711 _COGL_RETURN_IF_FAIL (closure); in cogl_onscreen_remove_dirty_callback()
H A Dcogl.c561 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_push_source()
576 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in _cogl_push_source()
601 _COGL_RETURN_IF_FAIL (ctx->source_stack); in cogl_pop_source()
649 _COGL_RETURN_IF_FAIL (cogl_is_pipeline (pipeline)); in cogl_set_source()
650 _COGL_RETURN_IF_FAIL (ctx->source_stack); in cogl_set_source()
677 _COGL_RETURN_IF_FAIL (texture != NULL); in cogl_set_source_texture()
/dports/graphics/cogl/cogl-1.22.8/cogl-path/
H A Dcogl-path.c152 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_set_fill_rule()
228 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in _cogl_path_stroke_nodes()
395 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_fill()
410 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_stroke()
427 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_move_to()
446 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_rel_move_to()
462 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_line_to()
479 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_rel_line_to()
491 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_close()
517 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_polyline()
[all …]
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl-path/
H A Dcogl-path.c152 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_set_fill_rule()
228 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in _cogl_path_stroke_nodes()
395 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_fill()
410 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_stroke()
427 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_move_to()
446 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_rel_move_to()
462 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_line_to()
479 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_rel_line_to()
491 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_close()
517 _COGL_RETURN_IF_FAIL (cogl_is_path (path)); in cogl2_path_polyline()
[all …]

1234