renderer_gl: Implement logic op
This commit is contained in:
@@ -53,6 +53,7 @@ namespace PICA {
|
||||
// Framebuffer registers
|
||||
ColourOperation = 0x100,
|
||||
BlendFunc = 0x101,
|
||||
LogicOp = 0x102,
|
||||
BlendColour = 0x103,
|
||||
AlphaTestConfig = 0x104,
|
||||
StencilTest = 0x105,
|
||||
@@ -294,4 +295,4 @@ namespace PICA {
|
||||
GeometryPrimitive = 3,
|
||||
};
|
||||
|
||||
} // namespace PICA
|
||||
} // namespace PICA
|
||||
|
||||
@@ -62,6 +62,7 @@ class RendererGL final : public Renderer {
|
||||
MAKE_LOG_FUNCTION(log, rendererLogger)
|
||||
void setupBlending();
|
||||
void setupStencilTest(bool stencilEnable);
|
||||
void setupLogicOp();
|
||||
void bindDepthBuffer();
|
||||
void setupTextureEnvState();
|
||||
void bindTexturesToSlots();
|
||||
|
||||
Reference in New Issue
Block a user