/dports/graphics/quesa/quesa-1.8/Source/Renderers/Common/ |
H A D | GLDrawContext.c | 74 GLXContext glContext; member 83 HGLRC glContext; member 290 glContext = NULL; in gldrawcontext_mac_new() 317 if (glContext == NULL) in gldrawcontext_mac_new() 333 if (glContext != NULL) in gldrawcontext_mac_new() 356 if (glContext == NULL) in gldrawcontext_mac_new() 411 return(glContext); in gldrawcontext_mac_new() 1329 void *glContext; in GLDrawContext_New() local 1376 glContext = NULL; in GLDrawContext_New() 1400 return(glContext); in GLDrawContext_New() [all …]
|
H A D | GLDrawContext.h | 74 void **glContext); 77 void *glContext); 80 void *glContext, 94 void *glContext); 97 void *glContext); 100 void *glContext); 104 void *glContext );
|
/dports/graphics/quesa/quesa-1.8/Source/Renderers/Interactive/ |
H A D | IRRenderer.c | 111 if (instanceData->glContext == NULL) in IRRenderer_StartFrame() 144 if (GLDrawContext_UpdateWindowClip(instanceData->glContext)) in IRRenderer_StartFrame() 171 if (instanceData->glContext != NULL) in IRRenderer_StartFrame() 172 GLDrawContext_Destroy(&instanceData->glContext); in IRRenderer_StartFrame() 178 if (instanceData->glContext == NULL) in IRRenderer_StartFrame() 206 GLDrawContext_SetCurrent(instanceData->glContext, kQ3True); in IRRenderer_StartFrame() 235 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in IRRenderer_EndFrame() 244 GLDrawContext_SwapBuffers(instanceData->glContext); in IRRenderer_EndFrame() 274 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in IRRenderer_StartPass() 301 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in IRRenderer_EndPass() [all …]
|
/dports/graphics/quesa/quesa-1.8/Source/Renderers/Wireframe/ |
H A D | WFRenderer.c | 79 if (instanceData->glContext == NULL) in WFRenderer_StartFrame() 106 if (GLDrawContext_UpdateWindowClip(instanceData->glContext)) in WFRenderer_StartFrame() 112 if (GLDrawContext_UpdateWindowPosition(instanceData->glContext)) in WFRenderer_StartFrame() 133 if (instanceData->glContext != NULL) in WFRenderer_StartFrame() 134 GLDrawContext_Destroy(&instanceData->glContext); in WFRenderer_StartFrame() 139 if (instanceData->glContext == NULL) in WFRenderer_StartFrame() 168 GLDrawContext_SetCurrent(instanceData->glContext, kQ3True); in WFRenderer_StartFrame() 196 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_EndFrame() 201 GLDrawContext_SwapBuffers(instanceData->glContext); in WFRenderer_EndFrame() 251 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_EndPass() [all …]
|
H A D | WFUpdate.c | 82 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Matrix_LocalToCamera() 109 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Matrix_CameraToFrustum() 136 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Style_Backfacing() 177 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Style_Fill() 216 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Style_Orientation() 252 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Style_AntiAlias() 274 lineWidth = E3Num_Max(kAALineSize, GLDrawContext_GetMinLineWidth(instanceData->glContext)); in WFRenderer_Update_Style_AntiAlias() 317 GLDrawContext_SetCurrent(instanceData->glContext, kQ3False); in WFRenderer_Update_Style_Fog()
|
/dports/comms/cubicsdr/CubicSDR-0248e5a/src/visual/ |
H A D | TuningCanvas.cpp | 88 glContext->SetCurrent(*this); in OnPaint() 92 glContext->DrawBegin(); in OnPaint() 114 glContext->DrawTunerBarIndexed(4, 6, 11, freqDP, freqW, clrDark, 0.25, true, true); in OnPaint() 115 glContext->DrawTunerBarIndexed(7, 9, 11, freqDP, freqW, clrMid, 0.25, true, true); in OnPaint() 119 glContext->DrawTunerBarIndexed(4, 6, 7, bwDP, bwW, clrDark, 0.25, true, true); in OnPaint() 120 glContext->DrawTunerBarIndexed(7, 7, 7, bwDP, bwW, clrMid, 0.25, true, true); in OnPaint() 148 glContext->DrawTuner(currentPPM, 11, freqDP, freqW); in OnPaint() 150 glContext->DrawTuner(freq, 11, freqDP, freqW); in OnPaint() 156 glContext->DrawTuner(halfBand?(bw/2):bw, 7, bwDP, bwW); in OnPaint() 157 glContext->DrawTuner(center, 11, centerDP, centerW); in OnPaint() [all …]
|
H A D | MeterCanvas.cpp | 36 …glContext = new MeterContext(this, &wxGetApp().GetContext(this), wxGetApp().GetContextAttributes()… in wxBEGIN_EVENT_TABLE() 86 glContext->SetCurrent(*this); in OnPaint() 91 glContext->DrawBegin(); in OnPaint() 92 …glContext->Draw(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->gener… in OnPaint() 95 glContext->Draw(0.4f, 0.4f, 0.4f, 0.5f, mouseTracker.getMouseY()); in OnPaint() 97 …glContext->Draw(ThemeMgr::mgr.currentTheme->meterLevel.r, ThemeMgr::mgr.currentTheme->meterLevel.g… in OnPaint() 99 …glContext->Draw(ThemeMgr::mgr.currentTheme->meterValue.r, ThemeMgr::mgr.currentTheme->meterValue.g… in OnPaint() 101 glContext->DrawEnd(); in OnPaint()
|
/dports/devel/juce/JUCE-f37e9a1/examples/GUI/ |
H A D | OpenGLAppDemo.h | 235 void enable (OpenGLContext& glContext) in enable() 240 glContext.extensions.glEnableVertexAttribArray (position->attributeID); in enable() 246 glContext.extensions.glEnableVertexAttribArray (normal->attributeID); in enable() 252 glContext.extensions.glEnableVertexAttribArray (sourceColour->attributeID); in enable() 258 glContext.extensions.glEnableVertexAttribArray (textureCoordIn->attributeID); in enable() 262 void disable (OpenGLContext& glContext) in disable() 314 Shape (OpenGLContext& glContext) in Shape() 318 vertexBuffers.add (new VertexBuffer (glContext, *shapeVertices)); in Shape() 321 void draw (OpenGLContext& glContext, Attributes& glAttributes) in draw() 327 glAttributes.enable (glContext); in draw() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/fiddle/ |
H A D | egl_context.cpp | 22 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_direct_context() argument 23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard)); in create_direct_context() 24 if (!glContext) { in create_direct_context() 27 (*glContext)->makeCurrent(); in create_direct_context() 28 sk_sp<GrDirectContext> result = (*glContext)->makeContext(GrContextOptions()); in create_direct_context() 30 glContext->reset(); in create_direct_context()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/tools/fiddle/ |
H A D | egl_context.cpp | 21 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) { in create_grcontext() argument 23 glContext->reset(sk_gpu_test::CreatePlatformGLTestContext(kGLES_GrGLStandard)); in create_grcontext() 24 if (!glContext) { in create_grcontext() 27 (*glContext)->makeCurrent(); in create_grcontext() 28 sk_sp<GrContext> result = (*glContext)->makeGrContext(GrContextOptions()); in create_grcontext() 30 glContext->reset(); in create_grcontext()
|
/dports/devel/sdl12/SDL-1.2.15/src/video/maccommon/ |
H A D | SDL_macgl.c | 112 glContext = aglCreateContext(format, NULL); in Mac_GL_Init() 113 if ( glContext == NULL ) { in Mac_GL_Init() 120 noerr = aglSetDrawable(glContext, GetWindowPort(SDL_Window)); in Mac_GL_Init() 122 noerr = aglSetDrawable(glContext, (AGLDrawable)SDL_Window); in Mac_GL_Init() 139 if ( glContext != NULL ) { in Mac_GL_Quit() 141 aglSetDrawable(glContext, NULL); in Mac_GL_Quit() 142 aglDestroyContext(glContext); in Mac_GL_Quit() 143 glContext = NULL; in Mac_GL_Quit() 156 if( ! aglSetCurrentContext(glContext) ) { in Mac_GL_MakeCurrent() 165 aglSwapBuffers(glContext); in Mac_GL_SwapBuffers()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/metal/ |
H A D | VertexArrayMtl.h | 48 angle::Result setupDraw(const gl::Context *glContext, 53 angle::Result getIndexBuffer(const gl::Context *glContext, 64 angle::Result syncDirtyAttrib(const gl::Context *glContext, 69 angle::Result convertIndexBuffer(const gl::Context *glContext, 74 angle::Result streamIndexBufferFromClient(const gl::Context *glContext, 81 angle::Result convertIndexBufferGPU(const gl::Context *glContext, 88 angle::Result convertVertexBuffer(const gl::Context *glContext, 94 angle::Result convertVertexBufferCPU(const gl::Context *glContext,
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/ |
H A D | scriptbinding_rasterizer.cpp | 51 static TImageP renderVectorImage(TOfflineGL *glContext, in renderVectorImage() argument 55 glContext->clear(color); in renderVectorImage() 56 glContext->draw(img, rd); in renderVectorImage() 57 TRasterImageP rimg(glContext->getRaster()); in renderVectorImage() 126 TOfflineGL *glContext = new TOfflineGL(res); in rasterize() local 127 glContext->makeCurrent(); in rasterize() 135 renderVectorImage(glContext, rd, dpi, img->getImg(), bgColor); in rasterize() 141 glContext->clear(TPixel32::White); in rasterize() 143 renderVectorImage(glContext, rd, dpi, drawing, bgColor); in rasterize() 147 delete glContext; in rasterize()
|
H A D | stylemanager.cpp | 116 TOfflineGL *glContext = 0; in run() local 117 glContext = TOfflineGL::getStock(chipSize); in run() 118 glContext->clear(TPixel32::White); in run() 120 QOpenGLContext *glContext = new QOpenGLContext(); in run() local 122 glContext->setShareContext(QOpenGLContext::currentContext()); in run() 123 glContext->setFormat(QSurfaceFormat::defaultFormat()); in run() 124 glContext->create(); in run() 125 glContext->makeCurrent(m_offScreenSurface.get()); in run() 158 glContext->draw(img, rd); in run() 161 ras = glContext->getRaster(); //->clone(); in run() [all …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/src/ |
H A D | glcontext_nsgl.mm | 137 NSOpenGLContext* glContext = [glView openGLContext]; 140 [glContext makeCurrentContext]; 148 [glContext setView:glView]; 151 m_context = glContext; 185 NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; 187 [glContext update]; 215 NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; 216 [glContext makeCurrentContext]; 217 [glContext flushBuffer]; 230 NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/src/ |
H A D | glcontext_nsgl.mm | 137 NSOpenGLContext* glContext = [glView openGLContext]; 140 [glContext makeCurrentContext]; 148 [glContext setView:glView]; 151 m_context = glContext; 185 NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; 187 [glContext update]; 215 NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; 216 [glContext makeCurrentContext]; 217 [glContext flushBuffer]; 230 NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; [all …]
|
/dports/science/v_sim/v_sim-3.8.0/src/OSOpenGL/ |
H A D | visu_GtkGlExt.c | 51 GdkGLContext *glContext; member 116 image->glContext = (GdkGLContext*)0; in visu_pixmap_context_new() 142 image->glContext = gdk_gl_context_new(GDK_GL_DRAWABLE(image->glPixmap), in visu_pixmap_context_new() 144 if (!image->glContext) in visu_pixmap_context_new() 151 res = gdk_gl_drawable_make_current((GdkGLDrawable*)image->glPixmap, image->glContext); in visu_pixmap_context_new() 176 if (dumpData->glContext) in visu_pixmap_context_free() 177 gdk_gl_context_destroy(dumpData->glContext); in visu_pixmap_context_free()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/metal/ |
H A D | VertexArrayMtl.h | 48 angle::Result setupDraw(const gl::Context *glContext, 53 angle::Result getIndexBuffer(const gl::Context *glContext, 68 angle::Result syncDirtyAttrib(const gl::Context *glContext, 73 angle::Result convertIndexBuffer(const gl::Context *glContext, 78 angle::Result streamIndexBufferFromClient(const gl::Context *glContext, 85 angle::Result convertIndexBufferGPU(const gl::Context *glContext, 92 angle::Result convertVertexBuffer(const gl::Context *glContext, 106 angle::Result convertVertexBufferGPU(const gl::Context *glContext,
|
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/hardwareintegration/client/vulkan-server/ |
H A D | vulkanserverbufferintegration.cpp | 65 name = reinterpret_cast<type>(glContext->getProcAddress(#name)); \ 80 bool init(QOpenGLContext *glContext) in init() 90 static bool create(QOpenGLContext *glContext); 95 bool VulkanServerBufferGlFunctions::create(QOpenGLContext *glContext) in create() argument 100 if (!funcs->init(glContext)) { in create() 141 auto *glContext = QOpenGLContext::currentContext(); in import() local 142 if (!glContext) in import() 145 if (!funcs && !VulkanServerBufferGlFunctions::create(glContext)) in import()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/gl/ |
H A D | GLContextProviderEAGL.mm | 197 RefPtr<GLContextEAGL> glContext = new GLContextEAGL(flags, caps, context, 202 if (!glContext->Init()) { 203 glContext = nullptr; 207 return glContext.forget(); 219 RefPtr<GLContext> glContext = CreateEAGLContext(CreateContextFlags::NONE, false, 221 if (!glContext) { 225 if (!GLContextEAGL::Cast(glContext)->AttachToWindow(aWidget)) { 229 return glContext.forget(); 245 RefPtr<GLContext> glContext = CreateHeadless(flags, out_failureId); 246 if (!glContext->InitOffscreen(size, caps)) { [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/gl/ |
H A D | GLContextProviderEAGL.mm | 195 RefPtr<GLContextEAGL> glContext = new GLContextEAGL(flags, SurfaceCaps::ForRGBA(), 198 if (!glContext->Init()) { 199 glContext = nullptr; 203 return glContext.forget(); 219 RefPtr<GLContext> glContext = CreateEAGLContext(CreateContextFlags::NONE, false, 221 if (!glContext) { 225 if (!GLContextEAGL::Cast(glContext)->AttachToWindow(aWidget)) { 229 return glContext.forget(); 245 RefPtr<GLContext> glContext = CreateHeadless(flags, out_failureId); 246 if (!glContext->InitOffscreen(size, caps)) { [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/gl/ |
H A D | GLContextProviderEAGL.mm | 157 RefPtr<GLContextEAGL> glContext = 159 if (!glContext->Init()) { 160 glContext = nullptr; 164 return glContext.forget(); 174 RefPtr<GLContext> glContext = 176 if (!glContext) { 180 if (!GLContextEAGL::Cast(glContext)->AttachToWindow(aCompositorWidget->RealWidget())) { 184 return glContext.forget(); 195 RefPtr<GLContext> glContext = CreateHeadless(flags, out_failureId); 196 if (!glContext->InitOffscreen(size, caps)) { [all …]
|
/dports/comms/cubicsdr/CubicSDR-0248e5a/src/ui/ |
H A D | UITestCanvas.cpp | 32 …glContext = new UITestContext(this, &wxGetApp().GetContext(this), wxGetApp().GetContextAttributes(… in wxBEGIN_EVENT_TABLE() 41 glContext->SetCurrent(*this); in OnPaint() 46 glContext->DrawBegin(); in OnPaint() 48 glContext->Draw(); in OnPaint() 50 glContext->DrawEnd(); in OnPaint()
|
/dports/games/bzflag-server/bzflag-2.4.22/src/platform/ |
H A D | SDL2Window.cxx | 26 windowId(NULL), glContext(NULL), canGrabMouse(true), fullScreen(false), in SDLWindow() 236 if (glContext) in create() 237 SDL_GL_DeleteContext(glContext); in create() 238 glContext = NULL; in create() 395 glContext = SDL_GL_CreateContext(windowId); in makeContext() 396 if (!glContext) in makeContext() 405 if (glContext != NULL) in setVerticalSync() 424 if (!glContext) in makeCurrent() 426 int result = SDL_GL_MakeCurrent(windowId, glContext); in makeCurrent() 436 SDL_GL_DeleteContext(glContext); in freeContext()
|
/dports/games/bzflag/bzflag-2.4.22/src/platform/ |
H A D | SDL2Window.cxx | 26 windowId(NULL), glContext(NULL), canGrabMouse(true), fullScreen(false), in SDLWindow() 236 if (glContext) in create() 237 SDL_GL_DeleteContext(glContext); in create() 238 glContext = NULL; in create() 395 glContext = SDL_GL_CreateContext(windowId); in makeContext() 396 if (!glContext) in makeContext() 405 if (glContext != NULL) in setVerticalSync() 424 if (!glContext) in makeCurrent() 426 int result = SDL_GL_MakeCurrent(windowId, glContext); in makeCurrent() 436 SDL_GL_DeleteContext(glContext); in freeContext()
|