Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/
H A Dheadless_backend_osmesa.cpp14 glContext = OSMesaCreateContextExt(OSMESA_RGBA, 16, 0, 0, nullptr); in OSMesaBackendImpl()
16 glContext = OSMesaCreateContext(OSMESA_RGBA, nullptr); in OSMesaBackendImpl()
18 if (glContext == nullptr) { in OSMesaBackendImpl()
24 OSMesaDestroyContext(glContext); in ~OSMesaBackendImpl()
32 if (!OSMesaMakeCurrent(glContext, &fakeBuffer, GL_UNSIGNED_BYTE, 1, 1)) { in activateContext()
38 OSMesaContext glContext = nullptr; member in mbgl::OSMesaBackendImpl
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_custom_layer.cpp57 gl::Context& glContext = paintParameters.context; in render() local
61 glContext.bindVertexArray = 0; in render()
62 glContext.setDepthMode(paintParameters.depthModeForSublayer(0, gl::DepthMode::ReadOnly)); in render()
63 glContext.setStencilMode(gl::StencilMode::disabled()); in render()
64 glContext.setColorMode(paintParameters.colorModeForRenderPass()); in render()
85 glContext.setDirtyState(); in render()