Home
last modified time | relevance | path

Searched refs:glContext (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/dports/graphics/quesa/quesa-1.8/Source/Renderers/Common/
H A DGLDrawContext.c74 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 DGLDrawContext.h74 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 DIRRenderer.c111 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 DWFRenderer.c79 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 DWFUpdate.c82 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 DTuningCanvas.cpp88 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 DMeterCanvas.cpp36glContext = new MeterContext(this, &wxGetApp().GetContext(this), wxGetApp().GetContextAttributes()… in wxBEGIN_EVENT_TABLE()
86 glContext->SetCurrent(*this); in OnPaint()
91 glContext->DrawBegin(); in OnPaint()
92glContext->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()
97glContext->Draw(ThemeMgr::mgr.currentTheme->meterLevel.r, ThemeMgr::mgr.currentTheme->meterLevel.g… in OnPaint()
99glContext->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 DOpenGLAppDemo.h235 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 Degl_context.cpp22 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 Degl_context.cpp21 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 DSDL_macgl.c112 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 DVertexArrayMtl.h48 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 Dscriptbinding_rasterizer.cpp51 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 Dstylemanager.cpp116 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 Dglcontext_nsgl.mm137 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 Dglcontext_nsgl.mm137 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 Dvisu_GtkGlExt.c51 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 DVertexArrayMtl.h48 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 Dvulkanserverbufferintegration.cpp65 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 DGLContextProviderEAGL.mm197 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 DGLContextProviderEAGL.mm195 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 DGLContextProviderEAGL.mm157 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 DUITestCanvas.cpp32glContext = 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 DSDL2Window.cxx26 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 DSDL2Window.cxx26 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()

12345678910>>...23