Showing 292 of 292 total issues
Use camelCase Open
Open
glDrawBuffers_n :: Int -> IO ()
- Read upRead up
- Exclude checks
Found
glDrawBuffers_n :: Int -> IO ()
Perhaps
glDrawBuffersN :: Int -> IO ()
Use camelCase Open
Open
newtype JS_WebGLContext = JS_WebGLContext JSVal
- Read upRead up
- Exclude checks
Found
newtype JS_WebGLContext = JS_WebGLContext JSVal
Perhaps
newtype JSWebGLContext = JSWebGLContext JSVal
Use camelCase Open
Open
newtype JS_WebGLTexture = JS_WebGLTexture JSVal
- Read upRead up
- Exclude checks
Found
newtype JS_WebGLTexture = JS_WebGLTexture JSVal
Perhaps
newtype JSWebGLTexture = JSWebGLTexture JSVal
Use camelCase Open
Open
data C_BulletGhost
- Read upRead up
- Exclude checks
Found
data C_BulletGhost
Perhaps
data CBulletGhost
Redundant bracket Open
Open
normalFlow e = LuaInst [nextInstId] $ \[nextInstCode] codeState -> ((noBindS e) :) <$> nextInstCode codeState
- Read upRead up
- Exclude checks
Found
((noBindS e) :)
Perhaps
(noBindS e :)
Use camelCase Open
Open
type C_lua_Writer = Ptr C_lua_State -> Ptr () -> CSize -> Ptr () -> IO CInt
- Read upRead up
- Exclude checks
Found
type C_lua_Writer =
Ptr C_lua_State -> Ptr () -> CSize -> Ptr () -> IO CInt
Perhaps
type CLuaWriter =
Ptr C_lua_State -> Ptr () -> CSize -> Ptr () -> IO CInt
Redundant bracket Open
Open
(LuaBoolean . (`xor` 1) . luaCoerceToBool) <$> tryBinaryMetaMethod "__lt" b a
- Read upRead up
- Exclude checks
Found
(LuaBoolean . (`xor` 1) . luaCoerceToBool) <$>
tryBinaryMetaMethod "__lt" b a
Perhaps
LuaBoolean . (`xor` 1) . luaCoerceToBool <$>
tryBinaryMetaMethod "__lt" b a
Use camelCase Open
Open
data Hb_font_t
- Read upRead up
- Exclude checks
Found
data Hb_font_t
Perhaps
data HbFontT
Reduce duplication Open
Open
srvInterface <- book bk $ allocateCOMObject $ with srvDesc $ \srvDescPtr ->
createCOMObjectViaPtr $ m_ID3D11Device_CreateShaderResourceView deviceInterface (pokeCOMObject resourceInterface) srvDescPtr
- Read upRead up
- Exclude checks
Found
srvInterface <- book bk $
allocateCOMObject $
with srvDesc $
\ srvDescPtr ->
createCOMObjectViaPtr $
m_ID3D11Device_CreateShaderResourceView deviceInterface
(pokeCOMObject resourceInterface)
srvDescPtr
releaseResourceInterface
samplerState <- book bk $
createSamplerState device samplerStateInfo
Perhaps
Combine with flaw-dx11/Flaw/Graphics/DirectX11.hs:552:5
Use camelCase Open
Open
glBindAttribLocation_s :: GLuint -> GLuint -> T.Text -> IO ()
- Read upRead up
- Exclude checks
Found
glBindAttribLocation_s :: GLuint -> GLuint -> T.Text -> IO ()
Perhaps
glBindAttribLocationS :: GLuint -> GLuint -> T.Text -> IO ()
Use camelCase Open
Open
newtype JS_WebGLVertexArray = JS_WebGLVertexArray JSVal
- Read upRead up
- Exclude checks
Found
newtype JS_WebGLVertexArray = JS_WebGLVertexArray JSVal
Perhaps
newtype JSWebGLVertexArray = JSWebGLVertexArray JSVal
Use camelCase Open
Open
glBufferData_bs :: GLenum -> B.ByteString -> GLenum -> IO ()
- Read upRead up
- Exclude checks
Found
glBufferData_bs :: GLenum -> B.ByteString -> GLenum -> IO ()
Perhaps
glBufferDataBs :: GLenum -> B.ByteString -> GLenum -> IO ()
Redundant case Open
Open
initGraphics graphicsSystemId = case graphicsSystemId of
#if defined(ghcjs_HOST_OS)
AppGraphicsSystemWebGL -> do
let _ = (maybeWindowPosition, maybeWindowSize, binaryCache, debug)
(graphicsSystem, graphicsDevice, graphicsContext, presenter) <- book bk $ webglInit window needDepthBuffer
- Read upRead up
- Exclude checks
Found
case graphicsSystemId of
_ -> throwIO $ DescribeFirstException "unsupported graphics system"
Perhaps
throwIO $ DescribeFirstException "unsupported graphics system"
Reduce duplication Open
Open
textureName <- glAllocTextureName
- Read upRead up
- Exclude checks
Found
textureName <- glAllocTextureName
glBindTexture GL_TEXTURE_2D textureName
glCheckErrors0 "bind texture"
Perhaps
Combine with flaw-gl/Flaw/Graphics/GlContext.hs:473:5
Use camelCase Open
Open
glBufferData_null :: GLenum -> GLsizeiptr -> GLenum -> IO ()
- Read upRead up
- Exclude checks
Found
glBufferData_null :: GLenum -> GLsizeiptr -> GLenum -> IO ()
Perhaps
glBufferDataNull :: GLenum -> GLsizeiptr -> GLenum -> IO ()
Use camelCase Open
Open
glGetProgramInfoLog_s :: GLuint -> IO T.Text
- Read upRead up
- Exclude checks
Found
glGetProgramInfoLog_s :: GLuint -> IO T.Text
Perhaps
glGetProgramInfoLogS :: GLuint -> IO T.Text
Use camelCase Open
Open
newtype JS_WebGLUniformLocation = JS_WebGLUniformLocation JSVal
- Read upRead up
- Exclude checks
Found
newtype JS_WebGLUniformLocation = JS_WebGLUniformLocation JSVal
Perhaps
newtype JSWebGLUniformLocation = JSWebGLUniformLocation JSVal
Use camelCase Open
Open
glGetShaderInfoLog_s shader = pFromJSVal <$> glGetShaderInfoLog_val shader
- Read upRead up
- Exclude checks
Found
glGetShaderInfoLog_s shader = ...
Perhaps
glGetShaderInfoLogS shader = ...
Reduce duplication Open
Open
bufferSize <- readIORef sizeRef
- Read upRead up
- Exclude checks
Found
bufferSize <- readIORef sizeRef
let align = shaderAlignment u
let alignedBufferSize
= ((bufferSize + align - 1) `quot` align) * align
Perhaps
Combine with flaw-graphics/Flaw/Graphics/Program.hs:199:5