Replace cogl_path_{stroke,fill} with framebuffer API
The existing functions for stroking and filling a path depend on the global framebuffer and source stacks. These are now replaced with cogl_framebuffer_{stroke,fill}_path which get explicitly passed the framebuffer and pipeline. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 713a8f8160bc5884b091c69eb7a84b069e0950e6)
This commit is contained in:

committed by
Robert Bragg

parent
54735dec84
commit
8dd77de009
@ -286,8 +286,6 @@ cogl_path_ellipse
|
||||
CoglPathFillRule
|
||||
cogl_path_set_fill_rule
|
||||
cogl_path_get_fill_rule
|
||||
cogl_path_fill
|
||||
cogl_path_stroke
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
@ -425,6 +423,8 @@ cogl_framebuffer_draw_textured_rectangle
|
||||
cogl_framebuffer_draw_multitextured_rectangle
|
||||
cogl_framebuffer_draw_rectangles
|
||||
cogl_framebuffer_draw_textured_rectangles
|
||||
cogl_framebuffer_stroke_path
|
||||
cogl_framebuffer_fill_path
|
||||
|
||||
<SUBSECTION>
|
||||
cogl_framebuffer_swap_buffers
|
||||
|
Reference in New Issue
Block a user