/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/StateCacheManager/ |
H A D | OgreGLES2NullStateCacheManagerImp.cpp | 52 OGRE_CHECK_GL_ERROR(glCullFace(mCullFace)); in initializeCache() 54 OGRE_CHECK_GL_ERROR(glDepthFunc(mDepthFunc)); in initializeCache() 56 OGRE_CHECK_GL_ERROR(glDepthMask(mDepthMask)); in initializeCache() 60 OGRE_CHECK_GL_ERROR(glClearDepthf(mClearDepth)); in initializeCache() 187 OGRE_CHECK_GL_ERROR(glBlendEquation(eq)); in setBlendEquation() 196 OGRE_CHECK_GL_ERROR(glDepthMask(mask)); in setDepthMask() 206 OGRE_CHECK_GL_ERROR(glDepthFunc(func)); in setDepthFunc() 258 OGRE_CHECK_GL_ERROR(glStencilMask(mask)); in setStencilMask() 264 OGRE_CHECK_GL_ERROR(glEnable(flag)); in setEnabled() 269 OGRE_CHECK_GL_ERROR(glDisable(flag)); in setDisabled() [all …]
|
H A D | OgreGLES2StateCacheManagerImp.cpp | 48 OGRE_CHECK_GL_ERROR(glCullFace(mCullFace)); in initializeCache() 50 OGRE_CHECK_GL_ERROR(glDepthFunc(mDepthFunc)); in initializeCache() 52 OGRE_CHECK_GL_ERROR(glDepthMask(mDepthMask)); in initializeCache() 56 OGRE_CHECK_GL_ERROR(glClearDepthf(mClearDepth)); in initializeCache() 171 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &buffer)); in deleteGLBuffer() 326 OGRE_CHECK_GL_ERROR(glBlendEquation(eq)); in setBlendEquation() 336 OGRE_CHECK_GL_ERROR(glDepthMask(mask)); in setDepthMask() 346 OGRE_CHECK_GL_ERROR(glDepthFunc(func)); in setDepthFunc() 409 OGRE_CHECK_GL_ERROR(glEnable(flag)); in setEnabled() 420 OGRE_CHECK_GL_ERROR(glDisable(flag)); in setDisabled() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/ |
H A D | OgreGL3PlusHardwarePixelBuffer.cpp | 302 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in upload() 424 OGRE_CHECK_GL_ERROR(glTexSubImage3D( in upload() 638 OGRE_CHECK_GL_ERROR(glActiveTexture(GL_TEXTURE0)); in blitFromTexture() 643 OGRE_CHECK_GL_ERROR(glDisable(GL_DEPTH_TEST)); in blitFromTexture() 644 OGRE_CHECK_GL_ERROR(glDisable(GL_SCISSOR_TEST)); in blitFromTexture() 645 OGRE_CHECK_GL_ERROR(glDisable(GL_BLEND)); in blitFromTexture() 646 OGRE_CHECK_GL_ERROR(glDisable(GL_CULL_FACE)); in blitFromTexture() 749 OGRE_CHECK_GL_ERROR(glEnable(src->mTarget)); in blitFromTexture() 901 OGRE_CHECK_GL_ERROR(glGenTextures(1, &id)); in blitFromMemory() 904 OGRE_CHECK_GL_ERROR(glBindTexture(target, id)); in blitFromMemory() [all …]
|
H A D | OgreGL3PlusHardwareCounterBuffer.cpp | 42 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in GL3PlusHardwareCounterBuffer() 51 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, mBufferId)); in GL3PlusHardwareCounterBuffer() 59 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in ~GL3PlusHardwareCounterBuffer() 85 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, mBufferId)); in lockImpl() 123 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, mBufferId)); in unlockImpl() 130 OGRE_CHECK_GL_ERROR(mapped = glUnmapBuffer(GL_ATOMIC_COUNTER_BUFFER)) in unlockImpl() 137 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, 0)); in unlockImpl() 185 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, 0)); in copyData() 190 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, 0)); in copyData() 198 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() [all …]
|
H A D | OgreGL3PlusHardwareUniformBuffer.cpp | 41 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in GL3PlusHardwareUniformBuffer() 50 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, mBufferId)); in GL3PlusHardwareUniformBuffer() 59 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in ~GL3PlusHardwareUniformBuffer() 85 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, mBufferId)); in lockImpl() 123 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, mBufferId)); in unlockImpl() 131 OGRE_CHECK_GL_ERROR(mapped = glUnmapBuffer(GL_UNIFORM_BUFFER)); in unlockImpl() 138 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, 0)); in unlockImpl() 186 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, 0)); in copyData() 191 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, 0)); in copyData() 199 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() [all …]
|
H A D | OgreGL3PlusHardwareVertexBuffer.cpp | 42 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in GL3PlusHardwareVertexBuffer() 51 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, mBufferId)); in GL3PlusHardwareVertexBuffer() 60 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in ~GL3PlusHardwareVertexBuffer() 88 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, mBufferId)); in lockImpl() 125 OGRE_CHECK_GL_ERROR(glDeleteSync(mFence)); in lockImpl() 172 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, 0)); in unlockImpl() 200 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, mBufferId)); in writeData() 239 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, 0)); in copyData() 244 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, 0)); in copyData() 252 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() [all …]
|
H A D | OgreGL3PlusHardwareIndexBuffer.cpp | 42 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in GL3PlusHardwareIndexBuffer() 51 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mBufferId)); in GL3PlusHardwareIndexBuffer() 60 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in ~GL3PlusHardwareIndexBuffer() 173 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); in unlockImpl() 200 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mBufferId)); in writeData() 240 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); in copyData() 245 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); in copyData() 249 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_WRITE_BUFFER, mBufferId)); in copyData() 253 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() 254 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_WRITE_BUFFER, 0)); in copyData() [all …]
|
H A D | OgreGL3PlusTexture.cpp | 115 OGRE_CHECK_GL_ERROR(glGenTextures(1, &mTextureID)); in createInternalResourcesImpl() 123 OGRE_CHECK_GL_ERROR(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); in createInternalResourcesImpl() 127 OGRE_CHECK_GL_ERROR(glBindTexture(texTarget, mTextureID)); in createInternalResourcesImpl() 133 OGRE_CHECK_GL_ERROR(glTexParameteri(texTarget, in createInternalResourcesImpl() 135 OGRE_CHECK_GL_ERROR(glTexParameteri(texTarget, in createInternalResourcesImpl() 137 OGRE_CHECK_GL_ERROR(glTexParameteri(texTarget, in createInternalResourcesImpl() 139 OGRE_CHECK_GL_ERROR(glTexParameteri(texTarget, in createInternalResourcesImpl() 221 OGRE_CHECK_GL_ERROR(glCompressedTexImage3D(texTarget, mip, format, in createInternalResourcesImpl() 300 OGRE_CHECK_GL_ERROR(glTexImage2D(GL_TEXTURE_2D, in createInternalResourcesImpl() 351 OGRE_CHECK_GL_ERROR(glPixelStorei(GL_UNPACK_ALIGNMENT, 4)); in createInternalResourcesImpl() [all …]
|
H A D | OgreGL3PlusFrameBufferObject.cpp | 42 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mFB)); in GL3PlusFrameBufferObject() 45 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, mFB)); in GL3PlusFrameBufferObject() 49 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, 0)); in GL3PlusFrameBufferObject() 55 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mMultisampleFB)); in GL3PlusFrameBufferObject() 77 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mFB)); in ~GL3PlusFrameBufferObject() 80 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mMultisampleFB)); in ~GL3PlusFrameBufferObject() 127 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, mFB)); in initialise() 207 OGRE_CHECK_GL_ERROR(glDrawBuffers(n, bufs)); in initialise() 212 OGRE_CHECK_GL_ERROR(glReadBuffer(bufs[0])); in initialise() 217 OGRE_CHECK_GL_ERROR(glReadBuffer(GL_NONE)); in initialise() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/ |
H A D | OgreGLES2HardwareUniformBuffer.cpp | 43 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in GLES2HardwareUniformBuffer() 52 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, mBufferId)); in GLES2HardwareUniformBuffer() 61 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in ~GLES2HardwareUniformBuffer() 87 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, mBufferId)); in lockImpl() 125 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, mBufferId)); in unlockImpl() 133 OGRE_CHECK_GL_ERROR(mapped = glUnmapBuffer(GL_UNIFORM_BUFFER)); in unlockImpl() 140 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, 0)); in unlockImpl() 188 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, 0)); in copyData() 193 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_UNIFORM_BUFFER, 0)); in copyData() 201 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() [all …]
|
H A D | OgreGLES2FrameBufferObject.cpp | 44 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mFB)); in GLES2FrameBufferObject() 63 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mMultisampleFB)); in GLES2FrameBufferObject() 81 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mFB)); in ~GLES2FrameBufferObject() 84 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mMultisampleFB)); in ~GLES2FrameBufferObject() 94 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mFB)); in notifyOnContextLost() 103 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mFB)); in notifyOnContextReset() 157 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, mFB)); in initialise() 230 OGRE_CHECK_GL_ERROR(glDrawBuffers(n, bufs)); in initialise() 235 OGRE_CHECK_GL_ERROR(glReadBuffer(bufs[0])); in initialise() 240 OGRE_CHECK_GL_ERROR(glReadBuffer(GL_NONE)); in initialise() [all …]
|
H A D | OgreGLES2HardwarePixelBuffer.cpp | 351 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in upload() 464 OGRE_CHECK_GL_ERROR(glTexSubImage3D( in upload() 480 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in upload() 500 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in download() 581 OGRE_CHECK_GL_ERROR(glDeleteBuffers(1, &mBufferId)); in download() 707 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &tempFBO)); in download() 906 OGRE_CHECK_GL_ERROR(glEnable(src->mTarget)); in blitFromTexture() 954 OGRE_CHECK_GL_ERROR(glDisable(src->mTarget)); in blitFromTexture() 1002 OGRE_CHECK_GL_ERROR(glDeleteTextures(1, &tempTex)); in blitFromTexture() 1058 OGRE_CHECK_GL_ERROR(glGenTextures(1, &id)); in blitFromMemory() [all …]
|
H A D | OgreGLES2HardwareVertexBuffer.cpp | 62 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in createBuffer() 72 OGRE_CHECK_GL_ERROR(glBufferData(GL_ARRAY_BUFFER, mSizeInBytes, NULL, in createBuffer() 142 OGRE_CHECK_GL_ERROR(pBuffer = glMapBufferOES(GL_ARRAY_BUFFER, access)); in lockImpl() 159 OGRE_CHECK_GL_ERROR(glDeleteSyncAPPLE(mFence)); in lockImpl() 182 OGRE_CHECK_GL_ERROR(mapped = glUnmapBufferOES(GL_ARRAY_BUFFER)); in unlockImpl() 275 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, 0)); in copyData() 278 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, mBufferId)); in copyData() 280 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ARRAY_BUFFER, 0)); in copyData() 284 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_WRITE_BUFFER, mBufferId)); in copyData() 288 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() [all …]
|
H A D | OgreGLES2HardwareIndexBuffer.cpp | 63 OGRE_CHECK_GL_ERROR(glGenBuffers(1, &mBufferId)); in createBuffer() 74 OGRE_CHECK_GL_ERROR(glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)mSizeInBytes, NULL, in createBuffer() 109 OGRE_CHECK_GL_ERROR(mapped = glUnmapBufferOES(GL_ELEMENT_ARRAY_BUFFER)); in unlockImpl() 162 OGRE_CHECK_GL_ERROR(pBuffer = glMapBufferOES(GL_ELEMENT_ARRAY_BUFFER, access)); in lockImpl() 200 OGRE_CHECK_GL_ERROR(mapped = glUnmapBufferOES(GL_ELEMENT_ARRAY_BUFFER)); in readData() 262 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); in copyData() 265 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mBufferId)); in copyData() 267 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); in copyData() 271 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_WRITE_BUFFER, mBufferId)); in copyData() 275 OGRE_CHECK_GL_ERROR(glBindBuffer(GL_COPY_READ_BUFFER, 0)); in copyData() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLES2/src/ |
H A D | OgreGLES2StateCacheManager.cpp | 46 OGRE_CHECK_GL_ERROR(glCullFace(mCullFace)); in initializeCache() 48 OGRE_CHECK_GL_ERROR(glDepthFunc(mDepthFunc)); in initializeCache() 50 OGRE_CHECK_GL_ERROR(glDepthMask(mDepthMask)); in initializeCache() 54 OGRE_CHECK_GL_ERROR(glClearDepthf(mClearDepth)); in initializeCache() 347 OGRE_CHECK_GL_ERROR(glDepthMask(mask)); in setDepthMask() 357 OGRE_CHECK_GL_ERROR(glDepthFunc(func)); in setDepthFunc() 429 OGRE_CHECK_GL_ERROR(glEnable(flag)); in setEnabled() 432 OGRE_CHECK_GL_ERROR(glEnable(flag)); in setEnabled() 444 OGRE_CHECK_GL_ERROR(glDisable(flag)); in setDisabled() 447 OGRE_CHECK_GL_ERROR(glDisable(flag)); in setDisabled() [all …]
|
H A D | OgreGLES2FrameBufferObject.cpp | 52 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mFB)); in GLES2FrameBufferObject() 109 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mFB)); in notifyOnContextLost() 118 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mFB)); in notifyOnContextReset() 119 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, mFB)); in notifyOnContextReset() 155 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, mFB)); in initialise() 228 OGRE_CHECK_GL_ERROR(glDrawBuffers(n, bufs)); in initialise() 233 OGRE_CHECK_GL_ERROR(glReadBuffer(bufs[0])); in initialise() 238 OGRE_CHECK_GL_ERROR(glReadBuffer(GL_NONE)); in initialise() 248 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, 1)); in initialise() 250 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, 0)); in initialise() [all …]
|
H A D | OgreGLES2HardwarePixelBuffer.cpp | 336 OGRE_CHECK_GL_ERROR(glTexSubImage3DOES( in upload() 350 OGRE_CHECK_GL_ERROR(glGenerateMipmap(mTarget)); in upload() 360 OGRE_CHECK_GL_ERROR(glPixelStorei(GL_UNPACK_ALIGNMENT, 4)); in upload() 387 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &tempFBO)); in download() 415 OGRE_CHECK_GL_ERROR(glPixelStorei(GL_PACK_ALIGNMENT, 4)); in download() 417 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &tempFBO)); in download() 548 OGRE_CHECK_GL_ERROR( in blitFromTexture() 587 OGRE_CHECK_GL_ERROR(glEnable(src->mTarget)); in blitFromTexture() 623 OGRE_CHECK_GL_ERROR(glDisable(src->mTarget)); in blitFromTexture() 647 OGRE_CHECK_GL_ERROR(glGenerateMipmap(mTarget)); in blitFromTexture() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GL3Plus/src/GLSL/ |
H A D | OgreGLSLMonolithicProgram.cpp | 59 OGRE_CHECK_GL_ERROR(glDeleteProgram(mGLProgramHandle)); in ~GLSLMonolithicProgram() 68 OGRE_CHECK_GL_ERROR(mGLProgramHandle = glCreateProgram()); in activate() 86 OGRE_CHECK_GL_ERROR(glUseProgram(mGLProgramHandle)); in activate() 111 OGRE_CHECK_GL_ERROR(glLinkProgram( mGLProgramHandle )); in compileAndLink() 112 OGRE_CHECK_GL_ERROR(glGetProgramiv( mGLProgramHandle, GL_LINK_STATUS, &mLinked )); in compileAndLink() 118 OGRE_CHECK_GL_ERROR(glValidateProgram(mGLProgramHandle)); in compileAndLink() 209 OGRE_CHECK_GL_ERROR(glUniform1fv(currentUniform->mLocation, glArraySize, in updateUniforms() 213 OGRE_CHECK_GL_ERROR(glUniform2fv(currentUniform->mLocation, glArraySize, in updateUniforms() 217 OGRE_CHECK_GL_ERROR(glUniform3fv(currentUniform->mLocation, glArraySize, in updateUniforms() 221 OGRE_CHECK_GL_ERROR(glUniform4fv(currentUniform->mLocation, glArraySize, in updateUniforms() [all …]
|
H A D | OgreGLSLSeparableProgram.cpp | 58 OGRE_CHECK_GL_ERROR(glDeleteProgramPipelines(1, &mGLProgramPipelineHandle)); in ~GLSLSeparableProgram() 64 OGRE_CHECK_GL_ERROR(glUseProgram(0)); in compileAndLink() 66 OGRE_CHECK_GL_ERROR(glGenProgramPipelines(1, &mGLProgramPipelineHandle)); in compileAndLink() 127 OGRE_CHECK_GL_ERROR(glValidateProgramPipeline(mGLProgramPipelineHandle)); in compileAndLink() 148 … OGRE_CHECK_GL_ERROR(glProgramParameteri(programHandle, GL_PROGRAM_SEPARABLE, GL_TRUE)); in loadIndividualProgram() 165 OGRE_CHECK_GL_ERROR(glProgramBinary(programHandle, in loadIndividualProgram() 170 OGRE_CHECK_GL_ERROR(glGetProgramiv(programHandle, GL_LINK_STATUS, &linkStatus)); in loadIndividualProgram() 183 OGRE_CHECK_GL_ERROR(glLinkProgram(programHandle)); in loadIndividualProgram() 184 OGRE_CHECK_GL_ERROR(glGetProgramiv(programHandle, GL_LINK_STATUS, &linkStatus)); in loadIndividualProgram() 206 … OGRE_CHECK_GL_ERROR(glGetProgramiv(programHandle, GL_PROGRAM_BINARY_LENGTH, &binaryLength)); in loadIndividualProgram() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/GLSL/src/ |
H A D | OgreGLSLLinkProgram.cpp | 95 OGRE_CHECK_GL_ERROR(glDeleteProgram(mGLProgramHandle)); in ~GLSLLinkProgram() 102 OGRE_CHECK_GL_ERROR(glUseProgram(mGLProgramHandle)); in _useProgram() 111 OGRE_CHECK_GL_ERROR(mGLProgramHandle = glCreateProgram()); in activate() 204 OGRE_CHECK_GL_ERROR(glLinkProgram( mGLProgramHandle )); in compileAndLink() 213 OGRE_CHECK_GL_ERROR(glValidateProgram(mGLProgramHandle)); in compileAndLink() 322 OGRE_CHECK_GL_ERROR(glUniform1fv(currentUniform->mLocation, glArraySize, in updateUniforms() 326 OGRE_CHECK_GL_ERROR(glUniform2fv(currentUniform->mLocation, glArraySize, in updateUniforms() 330 OGRE_CHECK_GL_ERROR(glUniform3fv(currentUniform->mLocation, glArraySize, in updateUniforms() 334 OGRE_CHECK_GL_ERROR(glUniform4fv(currentUniform->mLocation, glArraySize, in updateUniforms() 426 OGRE_CHECK_GL_ERROR(glUniform1iv(currentUniform->mLocation, glArraySize, in updateUniforms() [all …]
|
H A D | OgreGLSLProgramPipeline.cpp | 45 OGRE_CHECK_GL_ERROR(glDeleteProgramPipelines(1, &mGLProgramPipelineHandle)); in ~GLSLProgramPipeline() 50 OGRE_CHECK_GL_ERROR(glGenProgramPipelines(1, &mGLProgramPipelineHandle)); in compileAndLink() 51 OGRE_CHECK_GL_ERROR(glBindProgramPipeline(mGLProgramPipelineHandle)); in compileAndLink() 74 …OGRE_CHECK_GL_ERROR(glGetProgramiv(mGLProgramPipelineHandle, GL_PROGRAM_BINARY_LENGTH, &binaryLeng… in compileAndLink() 137 OGRE_CHECK_GL_ERROR(glProgramParameteri(programHandle, GL_PROGRAM_SEPARABLE, GL_TRUE)); in compileIndividualProgram() 139 OGRE_CHECK_GL_ERROR(glLinkProgram(programHandle)); in compileIndividualProgram() 140 OGRE_CHECK_GL_ERROR(glGetProgramiv(programHandle, GL_LINK_STATUS, &linkStatus)); in compileIndividualProgram() 158 OGRE_CHECK_GL_ERROR(glBindProgramPipeline(mGLProgramPipelineHandle)); in _useProgram() 171 OGRE_CHECK_GL_ERROR(attrib = glGetAttribLocation(handle, attString)); in getAttributeIndex() 176 OGRE_CHECK_GL_ERROR(attrib = glGetAttribLocation(handle, "position")); in getAttributeIndex() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLES2/src/EAGL/ |
H A D | OgreEAGLES2Context.mm | 106 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mViewFramebuffer)); 107 OGRE_CHECK_GL_ERROR(glGenRenderbuffers(1, &mViewRenderbuffer)); 108 OGRE_CHECK_GL_ERROR(glBindFramebuffer(GL_FRAMEBUFFER, mViewFramebuffer)); 134 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &mSampleFramebuffer)); 140 OGRE_CHECK_GL_ERROR(glGenRenderbuffers(1, &mSampleRenderbuffer)); 147 OGRE_CHECK_GL_ERROR(glGenRenderbuffers(1, &mDepthRenderbuffer)); 167 OGRE_CHECK_GL_ERROR(glGenRenderbuffers(1, &mDepthRenderbuffer)); 193 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mViewFramebuffer)); 199 OGRE_CHECK_GL_ERROR(glDeleteRenderbuffers(1, &mViewRenderbuffer)); 211 OGRE_CHECK_GL_ERROR(glDeleteFramebuffers(1, &mSampleFramebuffer)); [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLES2/src/GLSLES/src/ |
H A D | OgreGLSLESProgramPipeline.cpp | 49 OGRE_CHECK_GL_ERROR(glDeleteProgramPipelinesEXT(1, &mGLProgramHandle)); in ~GLSLESProgramPipeline() 56 OGRE_CHECK_GL_ERROR(glGenProgramPipelinesEXT(1, &mGLProgramHandle)); in compileAndLink() 80 … OGRE_CHECK_GL_ERROR(glProgramParameteriEXT(programHandle, GL_PROGRAM_SEPARABLE_EXT, GL_TRUE)); in compileAndLink() 82 OGRE_CHECK_GL_ERROR(glLinkProgram(programHandle)); in compileAndLink() 83 OGRE_CHECK_GL_ERROR(glGetProgramiv(programHandle, GL_LINK_STATUS, &linkStatus)); in compileAndLink() 113 … OGRE_CHECK_GL_ERROR(glProgramParameteriEXT(programHandle, GL_PROGRAM_SEPARABLE_EXT, GL_TRUE)); in compileAndLink() 115 OGRE_CHECK_GL_ERROR(glLinkProgram(programHandle)); in compileAndLink() 116 OGRE_CHECK_GL_ERROR(glGetProgramiv(programHandle, GL_LINK_STATUS, &linkStatus)); in compileAndLink() 154 OGRE_CHECK_GL_ERROR(glDeleteProgramPipelinesEXT(1, &mGLProgramHandle)); in notifyOnContextLost() 196 OGRE_CHECK_GL_ERROR(glBindProgramPipelineEXT(mGLProgramHandle)); in activate() [all …]
|
H A D | OgreGLSLESLinkProgram.cpp | 58 OGRE_CHECK_GL_ERROR(glDeleteProgram(mGLProgramHandle)); in ~GLSLESLinkProgram() 64 OGRE_CHECK_GL_ERROR(glDeleteProgram(mGLProgramHandle)); in notifyOnContextLost() 76 OGRE_CHECK_GL_ERROR(mGLProgramHandle = glCreateProgram()); in activate() 130 OGRE_CHECK_GL_ERROR(glUseProgram( mGLProgramHandle )); in activate() 155 OGRE_CHECK_GL_ERROR(glLinkProgram( mGLProgramHandle )); in compileAndLink() 156 OGRE_CHECK_GL_ERROR(glGetProgramiv( mGLProgramHandle, GL_LINK_STATUS, &mLinked )); in compileAndLink() 257 OGRE_CHECK_GL_ERROR(glUniform1fv(currentUniform->mLocation, glArraySize, in updateUniforms() 261 OGRE_CHECK_GL_ERROR(glUniform2fv(currentUniform->mLocation, glArraySize, in updateUniforms() 265 OGRE_CHECK_GL_ERROR(glUniform3fv(currentUniform->mLocation, glArraySize, in updateUniforms() 309 OGRE_CHECK_GL_ERROR(glUniform1iv(currentUniform->mLocation, glArraySize, in updateUniforms() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GL3Plus/src/ |
H A D | OgreGL3PlusFBORenderTexture.cpp | 154 OGRE_CHECK_GL_ERROR(glGenFramebuffers(1, &fb)); in _createTempFramebuffer() 160 OGRE_CHECK_GL_ERROR(glDeleteTextures(1, &tid)); in _createTempFramebuffer() 165 OGRE_CHECK_GL_ERROR(glGenTextures(1, &tid)); in _createTempFramebuffer() 178 OGRE_CHECK_GL_ERROR(glFramebufferTexture2D( in _createTempFramebuffer() 185 OGRE_CHECK_GL_ERROR(glDrawBuffer(GL_NONE)); in _createTempFramebuffer() 186 OGRE_CHECK_GL_ERROR(glReadBuffer(GL_NONE)); in _createTempFramebuffer() 254 OGRE_CHECK_GL_ERROR(glGenRenderbuffers(1, &packedRB)); in _tryPackedFormat() 314 OGRE_CHECK_GL_ERROR( in detectFBOFormats() 345 OGRE_CHECK_GL_ERROR( in detectFBOFormats() 363 OGRE_CHECK_GL_ERROR( in detectFBOFormats() [all …]
|