/dports/www/firefox-esr/firefox-91.8.0/gfx/gl/ |
H A D | ScopedGLHelpers.cpp | 61 : mGL(aGL) { in ScopedBindFramebuffer() 63 mGL->BindFB(aNewFB); in ScopedBindFramebuffer() 68 mGL->BindFB(mOldDrawFB); in ~ScopedBindFramebuffer() 174 : mGL(aGL) { in ScopedBindRenderbuffer() 240 : mGL(aGL) { in ScopedViewportRect() 254 : mGL(aGL) { in ScopedScissorRect() 274 : mGL(aGL), in ScopedVertexAttribPointer() 291 : mGL(aGL), in ScopedVertexAttribPointer() 359 : mGL(gl), in ScopedPackState() 413 : mGL(gl), in ResetUnpackState() [all …]
|
H A D | GLBlitHelper.cpp | 203 : mGL(*gl), in ScopedSaveMultiTex() 246 GLContext& mGL; member in mozilla::gl::ScopedBindArrayBuffer 261 GLContext& mGL; member in mozilla::gl::ScopedShader 266 : mGL(*gl), mName(mGL.fCreateShader(shaderType)) {} in ScopedShader() 276 GLContext& mGL; member in mozilla::gl::SaveRestoreCurrentProgram 495 : mGL(gl), in GLBlitHelper() 1173 MOZ_GL_ASSERT(mGL, !srcFB || mGL->fIsFramebuffer(srcFB)); in BlitFramebufferToFramebuffer() 1187 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToFramebuffer() 1204 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(destTex)); in BlitFramebufferToTexture() 1225 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToTexture() [all …]
|
H A D | GLReadTexImageHelper.cpp | 32 if (!mGL->MakeCurrent()) return; in ~GLReadTexImageHelper() 34 mGL->fDeleteProgram(mPrograms[0]); in ~GLReadTexImageHelper() 107 mGL->fCompileShader(vs); in TextureImageProgramFor() 111 mGL->fCompileShader(fs); in TextureImageProgramFor() 118 mGL->fLinkProgram(program); in TextureImageProgramFor() 128 mGL->fDeleteShader(vs); in TextureImageProgramFor() 129 mGL->fDeleteShader(fs); in TextureImageProgramFor() 502 mGL->MakeCurrent(); in ReadTexImage() 536 mGL->IsGLES() ? (mGL->IsExtensionSupported(GLContext::OES_rgb8_rgba8) in ReadTexImage() 561 mGL->fUniform1i(mGL->fGetUniformLocation(program, "uTexture"), 0); in ReadTexImage() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/gl/ |
H A D | ScopedGLHelpers.cpp | 61 : mGL(aGL) { in ScopedBindFramebuffer() 63 mGL->BindFB(aNewFB); in ScopedBindFramebuffer() 68 mGL->BindFB(mOldDrawFB); in ~ScopedBindFramebuffer() 174 : mGL(aGL) { in ScopedBindRenderbuffer() 240 : mGL(aGL) { in ScopedViewportRect() 254 : mGL(aGL) { in ScopedScissorRect() 274 : mGL(aGL), in ScopedVertexAttribPointer() 291 : mGL(aGL), in ScopedVertexAttribPointer() 359 : mGL(gl), in ScopedPackState() 413 : mGL(gl), in ResetUnpackState() [all …]
|
H A D | GLBlitHelper.cpp | 217 : mGL(*gl), in ScopedSaveMultiTex() 260 GLContext& mGL; member in mozilla::gl::ScopedBindArrayBuffer 275 GLContext& mGL; member in mozilla::gl::ScopedShader 280 : mGL(*gl), mName(mGL.fCreateShader(shaderType)) {} in ScopedShader() 290 GLContext& mGL; member in mozilla::gl::SaveRestoreCurrentProgram 509 : mGL(gl), in GLBlitHelper() 1189 MOZ_GL_ASSERT(mGL, !srcFB || mGL->fIsFramebuffer(srcFB)); in BlitFramebufferToFramebuffer() 1203 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToFramebuffer() 1220 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(destTex)); in BlitFramebufferToTexture() 1241 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToTexture() [all …]
|
H A D | GLReadTexImageHelper.cpp | 32 if (!mGL->MakeCurrent()) return; in ~GLReadTexImageHelper() 34 mGL->fDeleteProgram(mPrograms[0]); in ~GLReadTexImageHelper() 107 mGL->fCompileShader(vs); in TextureImageProgramFor() 111 mGL->fCompileShader(fs); in TextureImageProgramFor() 118 mGL->fLinkProgram(program); in TextureImageProgramFor() 128 mGL->fDeleteShader(vs); in TextureImageProgramFor() 129 mGL->fDeleteShader(fs); in TextureImageProgramFor() 500 mGL->MakeCurrent(); in ReadTexImage() 534 mGL->IsGLES() ? (mGL->IsExtensionSupported(GLContext::OES_rgb8_rgba8) in ReadTexImage() 559 mGL->fUniform1i(mGL->fGetUniformLocation(program, "uTexture"), 0); in ReadTexImage() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/gl/ |
H A D | ScopedGLHelpers.cpp | 61 : mGL(aGL) { in ScopedBindFramebuffer() 63 mGL->BindFB(aNewFB); in ScopedBindFramebuffer() 68 mGL->BindFB(mOldDrawFB); in ~ScopedBindFramebuffer() 174 : mGL(aGL) { in ScopedBindRenderbuffer() 240 : mGL(aGL) { in ScopedViewportRect() 254 : mGL(aGL) { in ScopedScissorRect() 274 : mGL(aGL), in ScopedVertexAttribPointer() 291 : mGL(aGL), in ScopedVertexAttribPointer() 359 : mGL(gl), in ScopedPackState() 413 : mGL(gl), in ResetUnpackState() [all …]
|
H A D | GLBlitHelper.cpp | 203 : mGL(*gl), in ScopedSaveMultiTex() 246 GLContext& mGL; member in mozilla::gl::ScopedBindArrayBuffer 261 GLContext& mGL; member in mozilla::gl::ScopedShader 266 : mGL(*gl), mName(mGL.fCreateShader(shaderType)) {} in ScopedShader() 276 GLContext& mGL; member in mozilla::gl::SaveRestoreCurrentProgram 495 : mGL(gl), in GLBlitHelper() 1173 MOZ_GL_ASSERT(mGL, !srcFB || mGL->fIsFramebuffer(srcFB)); in BlitFramebufferToFramebuffer() 1187 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToFramebuffer() 1204 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(destTex)); in BlitFramebufferToTexture() 1225 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToTexture() [all …]
|
H A D | GLReadTexImageHelper.cpp | 32 if (!mGL->MakeCurrent()) return; in ~GLReadTexImageHelper() 34 mGL->fDeleteProgram(mPrograms[0]); in ~GLReadTexImageHelper() 107 mGL->fCompileShader(vs); in TextureImageProgramFor() 111 mGL->fCompileShader(fs); in TextureImageProgramFor() 118 mGL->fLinkProgram(program); in TextureImageProgramFor() 128 mGL->fDeleteShader(vs); in TextureImageProgramFor() 129 mGL->fDeleteShader(fs); in TextureImageProgramFor() 502 mGL->MakeCurrent(); in ReadTexImage() 536 mGL->IsGLES() ? (mGL->IsExtensionSupported(GLContext::OES_rgb8_rgba8) in ReadTexImage() 561 mGL->fUniform1i(mGL->fGetUniformLocation(program, "uTexture"), 0); in ReadTexImage() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/gl/ |
H A D | ScopedGLHelpers.cpp | 61 : mGL(aGL) { in ScopedBindFramebuffer() 63 mGL->BindFB(aNewFB); in ScopedBindFramebuffer() 68 mGL->BindFB(mOldDrawFB); in ~ScopedBindFramebuffer() 174 : mGL(aGL) { in ScopedBindRenderbuffer() 240 : mGL(aGL) { in ScopedViewportRect() 254 : mGL(aGL) { in ScopedScissorRect() 274 : mGL(aGL), in ScopedVertexAttribPointer() 291 : mGL(aGL), in ScopedVertexAttribPointer() 359 : mGL(gl), in ScopedPackState() 413 : mGL(gl), in ResetUnpackState() [all …]
|
H A D | GLBlitHelper.cpp | 200 : mGL(*gl), in ScopedSaveMultiTex() 243 GLContext& mGL; member in mozilla::gl::ScopedBindArrayBuffer 258 GLContext& mGL; member in mozilla::gl::ScopedShader 263 : mGL(*gl), mName(mGL.fCreateShader(shaderType)) {} in ScopedShader() 273 GLContext& mGL; member in mozilla::gl::SaveRestoreCurrentProgram 492 : mGL(gl), in GLBlitHelper() 1126 MOZ_GL_ASSERT(mGL, !srcFB || mGL->fIsFramebuffer(srcFB)); in BlitFramebufferToFramebuffer() 1140 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToFramebuffer() 1157 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(destTex)); in BlitFramebufferToTexture() 1178 MOZ_GL_ASSERT(mGL, mGL->fIsTexture(srcTex)); in BlitTextureToTexture() [all …]
|
H A D | GLReadTexImageHelper.cpp | 32 if (!mGL->MakeCurrent()) return; in ~GLReadTexImageHelper() 34 mGL->fDeleteProgram(mPrograms[0]); in ~GLReadTexImageHelper() 107 mGL->fCompileShader(vs); in TextureImageProgramFor() 111 mGL->fCompileShader(fs); in TextureImageProgramFor() 118 mGL->fLinkProgram(program); in TextureImageProgramFor() 128 mGL->fDeleteShader(vs); in TextureImageProgramFor() 129 mGL->fDeleteShader(fs); in TextureImageProgramFor() 503 mGL->MakeCurrent(); in ReadTexImage() 537 mGL->IsGLES() ? (mGL->IsExtensionSupported(GLContext::OES_rgb8_rgba8) in ReadTexImage() 562 mGL->fUniform1i(mGL->fGetUniformLocation(program, "uTexture"), 0); in ReadTexImage() [all …]
|
H A D | SharedSurfaceIO.cpp | 31 mGL->MakeCurrent(); in ProducerReleaseImpl() 32 mGL->fFlush(); in ProducerReleaseImpl() 62 MOZ_ASSERT(mGL->IsCurrent()); in CopyTexImage2D() 64 ScopedTexture destTex(mGL); in CopyTexImage2D() 81 ScopedBindFramebuffer bindFB(mGL, tmpFB.FB()); in CopyTexImage2D() 96 MOZ_ASSERT(mGL->IsCurrent()); in ReadPixels() 98 ScopedTexture destTex(mGL); in ReadPixels() 102 ScopedBindFramebuffer bindFB(mGL, srcFB.FB()); in ReadPixels() 111 ScopedBindFramebuffer bindFB(mGL, destFB.FB()); in ReadPixels() 150 if (!mGL || !mGL->MakeCurrent()) return; in ~SharedSurface_IOSurface() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/gl/ |
H A D | ScopedGLHelpers.cpp | 36 mGL->fEnable(mCapability); in ScopedGLState() 38 mGL->fDisable(mCapability); in ScopedGLState() 53 mGL->fEnable(mCapability); in UnwrapImpl() 55 mGL->fDisable(mCapability); in UnwrapImpl() 83 mGL->BindFB(aNewFB); in ScopedBindFramebuffer() 90 mGL->BindFB(mOldDrawFB); in UnwrapImpl() 105 mGL->fActiveTexture(aTexUnit); in ScopedBindTextureUnit() 436 , mGL(aGL) in ScopedGLDrawState() 483 mGL->fVertexAttribPointer(0, in ~ScopedGLDrawState() 511 if (!HasPBOState(mGL)) in ScopedPackState() [all …]
|
H A D | GLBlitHelper.cpp | 36 : mGL(gl) in GLBlitHelper() 68 if (!mGL->MakeCurrent()) in ~GLBlitHelper() 337 mGL->fLinkProgram(program); in InitTexQuadProgram() 400 mGL->fUseProgram(program); in InitTexQuadProgram() 474 mGL->fUseProgram(program); in InitTexQuadProgram() 477 mGL->fVertexAttribPointer(0, in InitTexQuadProgram() 573 mGL->BindReadFB(srcFB); in BlitFramebufferToFramebuffer() 574 mGL->BindDrawFB(destFB); in BlitFramebufferToFramebuffer() 606 mGL->fDeleteTextures(1, &tex); in BlitFramebufferToFramebuffer() 962 mGL->BindFB(destFB); in DrawBlitTextureToFramebuffer() [all …]
|
H A D | GLReadTexImageHelper.cpp | 25 : mGL(gl) in GLReadTexImageHelper() 35 if (!mGL->MakeCurrent()) in ~GLReadTexImageHelper() 38 mGL->fDeleteProgram(mPrograms[0]); in ~GLReadTexImageHelper() 119 mGL->fCompileShader(vs); in TextureImageProgramFor() 123 mGL->fCompileShader(fs); in TextureImageProgramFor() 140 mGL->fDeleteShader(vs); in TextureImageProgramFor() 141 mGL->fDeleteShader(fs); in TextureImageProgramFor() 536 mGL->MakeCurrent(); in ReadTexImage() 570 mGL->IsGLES() in ReadTexImage() 591 mGL->fUniform1i(mGL->fGetUniformLocation(program, "uTexture"), 0); in ReadTexImage() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/gl/ |
H A D | ScopedGLHelpers.cpp | 29 mGL->fEnable(mCapability); in ScopedGLState() 31 mGL->fDisable(mCapability); in ScopedGLState() 42 mGL->fEnable(mCapability); in UnwrapImpl() 44 mGL->fDisable(mCapability); in UnwrapImpl() 53 mOldReadFB = mGL->GetReadFB(); in Init() 54 mOldDrawFB = mGL->GetDrawFB(); in Init() 68 mGL->BindFB(aNewFB); in ScopedBindFramebuffer() 73 mGL->BindFB(mOldDrawFB); in UnwrapImpl() 75 mGL->BindDrawFB(mOldDrawFB); in UnwrapImpl() 76 mGL->BindReadFB(mOldReadFB); in UnwrapImpl() [all …]
|
H A D | GLBlitHelper.cpp | 195 : mGL(*gl), in ScopedSaveMultiTex() 238 GLContext& mGL; member in mozilla::gl::ScopedBindArrayBuffer 253 GLContext& mGL; member in mozilla::gl::ScopedShader 258 : mGL(*gl), mName(mGL.fCreateShader(shaderType)) {} in ScopedShader() 268 GLContext& mGL; member in mozilla::gl::SaveRestoreCurrentProgram 273 : mGL(*gl), mOld(mGL.GetIntAs<GLuint>(LOCAL_GL_CURRENT_PROGRAM)) {} in SaveRestoreCurrentProgram() 281 GLContext& mGL; member in mozilla::gl::ScopedDrawBlitState 299 : mGL(*gl), in ScopedDrawBlitState() 488 : mGL(gl), in GLBlitHelper() 523 if (mGL->IsGLES()) { [all …]
|
H A D | GLReadTexImageHelper.cpp | 32 if (!mGL->MakeCurrent()) return; in ~GLReadTexImageHelper() 34 mGL->fDeleteProgram(mPrograms[0]); in ~GLReadTexImageHelper() 107 mGL->fCompileShader(vs); in TextureImageProgramFor() 111 mGL->fCompileShader(fs); in TextureImageProgramFor() 118 mGL->fLinkProgram(program); in TextureImageProgramFor() 128 mGL->fDeleteShader(vs); in TextureImageProgramFor() 129 mGL->fDeleteShader(fs); in TextureImageProgramFor() 499 mGL->MakeCurrent(); in ReadTexImage() 533 mGL->IsGLES() ? (mGL->IsExtensionSupported(GLContext::OES_rgb8_rgba8) in ReadTexImage() 558 mGL->fUniform1i(mGL->fGetUniformLocation(program, "uTexture"), 0); in ReadTexImage() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/opengl/ |
H A D | CompositingRenderTargetOGL.cpp | 21 mGL && mGL->MakeCurrent()) { in ~CompositingRenderTargetOGL() 22 mGL->fDeleteTextures(1, &mTextureHandle); in ~CompositingRenderTargetOGL() 23 mGL->fDeleteFramebuffers(1, &mFBO); in ~CompositingRenderTargetOGL() 31 mGL->fActiveTexture(aTextureUnit); in BindTexture() 32 mGL->fBindTexture(aTextureTarget, mTextureHandle); in BindTexture() 52 if (mFBO == 0 && !mGL->IsOffscreen()) { in BindRenderTarget() 53 mGL->RenewSurface(mCompositor->GetWidget()); in BindRenderTarget() 62 result, mGL.get(), mGL->IsOffscreen(), mFBO, mSize.width, in BindRenderTarget() 74 mGL->fClearColor(0.0, 0.0, 0.0, 0.0); in BindRenderTarget() 75 mGL->fClearDepth(0.0); in BindRenderTarget() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/opengl/ |
H A D | CompositingRenderTargetOGL.cpp | 21 mGL && mGL->MakeCurrent()) { in ~CompositingRenderTargetOGL() 22 mGL->fDeleteTextures(1, &mTextureHandle); in ~CompositingRenderTargetOGL() 23 mGL->fDeleteFramebuffers(1, &mFBO); in ~CompositingRenderTargetOGL() 31 mGL->fActiveTexture(aTextureUnit); in BindTexture() 32 mGL->fBindTexture(aTextureTarget, mTextureHandle); in BindTexture() 52 if (mFBO == 0 && !mGL->IsOffscreen()) { in BindRenderTarget() 53 mGL->RenewSurface(mCompositor->GetWidget()); in BindRenderTarget() 62 result, mGL.get(), mGL->IsOffscreen(), mFBO, mSize.width, in BindRenderTarget() 74 mGL->fClearColor(0.0, 0.0, 0.0, 0.0); in BindRenderTarget() 75 mGL->fClearDepth(0.0); in BindRenderTarget() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/layers/opengl/ |
H A D | CompositingRenderTargetOGL.cpp | 21 mGL && mGL->MakeCurrent()) { in ~CompositingRenderTargetOGL() 22 mGL->fDeleteTextures(1, &mTextureHandle); in ~CompositingRenderTargetOGL() 23 mGL->fDeleteFramebuffers(1, &mFBO); in ~CompositingRenderTargetOGL() 31 mGL->fActiveTexture(aTextureUnit); in BindTexture() 32 mGL->fBindTexture(aTextureTarget, mTextureHandle); in BindTexture() 52 if (mFBO == 0 && !mGL->IsOffscreen()) { in BindRenderTarget() 53 mGL->RenewSurface(mCompositor->GetWidget()); in BindRenderTarget() 62 result, mGL.get(), mGL->IsOffscreen(), mFBO, mSize.width, in BindRenderTarget() 74 mGL->fClearColor(0.0, 0.0, 0.0, 0.0); in BindRenderTarget() 75 mGL->fClearDepth(0.0); in BindRenderTarget() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/opengl/ |
H A D | CompositingRenderTargetOGL.cpp | 21 mGL && mGL->MakeCurrent()) { in ~CompositingRenderTargetOGL() 22 mGL->fDeleteTextures(1, &mTextureHandle); in ~CompositingRenderTargetOGL() 23 mGL->fDeleteFramebuffers(1, &mFBO); in ~CompositingRenderTargetOGL() 31 mGL->fActiveTexture(aTextureUnit); in BindTexture() 32 mGL->fBindTexture(aTextureTarget, mTextureHandle); in BindTexture() 52 if (mFBO == 0 && !mGL->IsOffscreen()) { in BindRenderTarget() 53 mGL->RenewSurface(mCompositor->GetWidget()); in BindRenderTarget() 62 result, mGL.get(), mGL->IsOffscreen(), mFBO, mSize.width, in BindRenderTarget() 74 mGL->fClearColor(0.0, 0.0, 0.0, 0.0); in BindRenderTarget() 75 mGL->fClearDepth(0.0); in BindRenderTarget() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/opengl/ |
H A D | CompositingRenderTargetOGL.cpp | 20 if (mGL && mGL->MakeCurrent()) { in ~CompositingRenderTargetOGL() 21 mGL->fDeleteTextures(1, &mTextureHandle); in ~CompositingRenderTargetOGL() 22 mGL->fDeleteFramebuffers(1, &mFBO); in ~CompositingRenderTargetOGL() 31 mGL->fActiveTexture(aTextureUnit); in BindTexture() 32 mGL->fBindTexture(aTextureTarget, mTextureHandle); in BindTexture() 49 mGL->fBindFramebuffer(LOCAL_GL_FRAMEBUFFER, fbo); in BindRenderTarget() 54 if (mFBO == 0 && !mGL->IsOffscreen()) { in BindRenderTarget() 63 result, mGL.get(), mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget, in BindRenderTarget() 76 mGL->fClearColor(0.0, 0.0, 0.0, 0.0); in BindRenderTarget() 77 mGL->fClearDepth(0.0); in BindRenderTarget() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/opengl/ |
H A D | CompositingRenderTargetOGL.cpp | 20 if (mGL && mGL->MakeCurrent()) { in ~CompositingRenderTargetOGL() 21 mGL->fDeleteTextures(1, &mTextureHandle); in ~CompositingRenderTargetOGL() 22 mGL->fDeleteFramebuffers(1, &mFBO); in ~CompositingRenderTargetOGL() 30 mGL->fActiveTexture(aTextureUnit); in BindTexture() 31 mGL->fBindTexture(aTextureTarget, mTextureHandle); in BindTexture() 51 if (mFBO == 0 && !mGL->IsOffscreen()) { in BindRenderTarget() 52 mGL->RenewSurface(mCompositor->GetWidget()); in BindRenderTarget() 61 result, mGL.get(), mGL->IsOffscreen(), mFBO, in BindRenderTarget() 75 mGL->fClearColor(0.0, 0.0, 0.0, 0.0); in BindRenderTarget() 76 mGL->fClearDepth(0.0); in BindRenderTarget() [all …]
|