Lines Matching refs:mFunctions
143 mFunctions(std::move(functions)), in RendererGL()
153 ASSERT(mFunctions); in RendererGL()
156 nativegl_gl::InitializeFeatures(mFunctions.get(), &mFeatures); in RendererGL()
160 new StateManagerGL(mFunctions.get(), getNativeCaps(), getNativeExtensions(), mFeatures); in RendererGL()
161 mBlitter = new BlitGL(mFunctions.get(), mFeatures, mStateManager); in RendererGL()
162 mMultiviewClearer = new ClearMultiviewGL(mFunctions.get(), mStateManager); in RendererGL()
164 bool hasDebugOutput = mFunctions->isAtLeastGL(gl::Version(4, 3)) || in RendererGL()
165 mFunctions->hasGLExtension("GL_KHR_debug") || in RendererGL()
166 mFunctions->isAtLeastGLES(gl::Version(3, 2)) || in RendererGL()
167 mFunctions->hasGLESExtension("GL_KHR_debug"); in RendererGL()
173 mFunctions->enable(GL_DEBUG_OUTPUT); in RendererGL()
174 mFunctions->enable(GL_DEBUG_OUTPUT_SYNCHRONOUS); in RendererGL()
175 mFunctions->debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_HIGH, 0, in RendererGL()
177 mFunctions->debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM, 0, in RendererGL()
179 mFunctions->debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_LOW, 0, in RendererGL()
181 mFunctions->debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_NOTIFICATION, in RendererGL()
183 mFunctions->debugMessageCallback(&LogGLDebugMessage, nullptr); in RendererGL()
189 mFunctions->getIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxVertexAttribs); in RendererGL()
193 mFunctions->vertexAttrib4f(i, 0.0f, 0.0f, 0.0f, 1.0f); in RendererGL()
199 SetMaxShaderCompilerThreads(mFunctions.get(), 0xffffffff); in RendererGL()
223 mFunctions->flush(); in flush()
233 mFunctions->enable(GL_DEBUG_OUTPUT_SYNCHRONOUS); in finish()
236 mFunctions->finish(); in finish()
242 mFunctions->disable(GL_DEBUG_OUTPUT_SYNCHRONOUS); in finish()
250 return gl::FromGLenum<gl::GraphicsResetStatus>(mFunctions->getGraphicsResetStatus()); in getResetStatus()
276 nativegl_gl::GenerateCaps(mFunctions.get(), mFeatures, outCaps, outTextureCaps, outExtensions, in generateCaps()
290 mFunctions->getInteger64v(GL_TIMESTAMP, &result); in getTimestamp()
336 nativegl_gl::InitializeFrontendFeatures(mFunctions.get(), features); in initializeFrontendFeatures()
344 mFunctions->dispatchCompute(numGroupsX, numGroupsY, numGroupsZ); in dispatchCompute()
351 mFunctions->dispatchComputeIndirect(indirect); in dispatchComputeIndirect()
358 mFunctions->memoryBarrier(barriers); in memoryBarrier()
364 mFunctions->memoryBarrierByRegion(barriers); in memoryBarrierByRegion()
428 return mFunctions->maxShaderCompilerThreadsKHR != nullptr || in hasNativeParallelCompile()
429 mFunctions->maxShaderCompilerThreadsARB != nullptr; in hasNativeParallelCompile()
436 SetMaxShaderCompilerThreads(mFunctions.get(), count); in setMaxShaderCompilerThreads()
479 nativegl_gl::ReInitializeFeaturesAtGPUSwitch(mFunctions.get(), &mFeatures); in handleGPUSwitch()