A clear op is just a fancy memcpy. Make it the callers responsibility to convert the color to the right color state before passing it to the clear op.
15 lines
454 B
C
15 lines
454 B
C
#pragma once
|
|
|
|
#include "gskgputypesprivate.h"
|
|
#include "gskgpucolorstatesprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gsk_gpu_clear_op (GskGpuFrame *frame,
|
|
const cairo_rectangle_int_t *rect,
|
|
const float color[4]);
|
|
|
|
|
|
G_END_DECLS
|
|
|