mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
Adds ColorMask support to Cogl
This adds CoglPipeline and CoglFramebuffer support for setting a color mask which is a bit mask defining which color channels should be written to the current framebuffer. The final color mask is the intersection of the framebuffer color mask and the pipeline color mask. The framebuffer mask affects all rendering to the framebuffer while the pipeline masks can be used to affect individual primitives. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@@ -320,6 +320,8 @@ cogl_framebuffer_get_red_bits
|
||||
cogl_framebuffer_get_green_bits
|
||||
cogl_framebuffer_get_blue_bits
|
||||
cogl_framebuffer_get_blue_bits
|
||||
cogl_framebuffer_get_color_mask
|
||||
cogl_framebuffer_set_color_mask
|
||||
cogl_framebuffer_swap_buffers
|
||||
cogl_framebuffer_swap_region
|
||||
cogl_framebuffer_add_swap_buffers_callback
|
||||
@@ -504,6 +506,9 @@ cogl_pipeline_set_blend_constant
|
||||
cogl_pipeline_set_point_size
|
||||
cogl_pipeline_get_point_size
|
||||
|
||||
cogl_pipeline_get_color_mask
|
||||
cogl_pipeline_set_color_mask
|
||||
|
||||
cogl_pipeline_set_layer_texture
|
||||
cogl_pipeline_get_layer_texture
|
||||
CoglMaterialFilter
|
||||
@@ -620,6 +625,7 @@ CoglPixelFormat
|
||||
CoglBufferTarget
|
||||
CoglBufferBit
|
||||
CoglAttributeType
|
||||
CoglColorMask
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
|
Reference in New Issue
Block a user