Home
last modified time | relevance | path

Searched refs:mFunctions (Results 1 - 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DBackendGL.cpp128 return mFunctions.Initialize(getProc); in InitializeGLFunctions()
141 if (mFunctions.GetVersion().IsES()) {
150 bool hasDebugOutput = mFunctions.IsAtLeastGL(4, 3) || mFunctions.IsAtLeastGLES(3, 2);
153 mFunctions.Enable(GL_DEBUG_OUTPUT);
154 mFunctions.Enable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
157 mFunctions.DebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_HIGH,
162 mFunctions.DebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM,
167 mFunctions.DebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_LOW, 0,
171 mFunctions
264 OpenGLFunctions mFunctions; global() member in dawn_native::opengl::Adapter
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DProgramGL.cpp39 mFunctions(functions), in ProgramGL()
47 ASSERT(mFunctions); in ProgramGL()
50 mProgramID = mFunctions->createProgram(); in ProgramGL()
55 mFunctions->deleteProgram(mProgramID); in ~ProgramGL()
73 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
90 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
94 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
121 if (mFunctions->programParameteri) in setBinaryRetrievableHint()
123 mFunctions->programParameteri(mProgramID, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, in setBinaryRetrievableHint()
130 mFunctions in setSeparable()
189 const FunctionsGL *mFunctions; global() member in rx::final
[all...]
H A DBlitGL.cpp220 : mFunctions(functions), in BlitGL()
232 ASSERT(mFunctions); in BlitGL()
289 mFunctions->texImage2D(ToGLenum(target), static_cast<GLint>(level), internalFormat, in copyImageToLUMAWorkaroundTexture()
319 nativegl::GetCopyTexImageImageFormat(mFunctions, mFeatures, readFormat, readType); in copySubImageToLUMAWorkaroundTexture()
323 context, mFunctions->copyTexImage2D(GL_TEXTURE_2D, 0, copyTexImageFormat.internalFormat, in copySubImageToLUMAWorkaroundTexture()
336 mFunctions->texParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_RGBA, swizzle)); in copySubImageToLUMAWorkaroundTexture()
342 context, mFunctions->texImage2D(GL_TEXTURE_2D, 0, copyTexImageFormat.internalFormat, in copySubImageToLUMAWorkaroundTexture()
348 ANGLE_GL_TRY(context, mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in copySubImageToLUMAWorkaroundTexture()
363 ANGLE_GL_TRY(context, mFunctions->uniform1i(blitProgram->sourceTextureLocation, 0)); in copySubImageToLUMAWorkaroundTexture()
364 ANGLE_GL_TRY(context, mFunctions in copySubImageToLUMAWorkaroundTexture()
[all...]
H A DRendererGL.cpp143 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 in RendererGL()
[all...]
H A DQueryGL.cpp63 mFunctions(functions), in StandardQueryGL()
75 mFunctions->deleteQueries(1, &mActiveQuery); in ~StandardQueryGL()
82 mFunctions->deleteQueries(1, &id); in ~StandardQueryGL()
105 mFunctions->genQueries(1, &query); in queryCounter()
106 mFunctions->queryCounter(query, GL_TIMESTAMP); in queryCounter()
182 mFunctions->genQueries(1, &mActiveQuery); in resume()
200 mFunctions->getQueryObjectuiv(id, GL_QUERY_RESULT_AVAILABLE, &resultAvailable); in flush()
210 if (mFunctions->getQueryObjectui64v != nullptr) in flush()
213 mFunctions->getQueryObjectui64v(id, GL_QUERY_RESULT, &result); in flush()
219 mFunctions in flush()
277 const FunctionsGL *mFunctions; global() member in rx::SyncProviderGLSync
318 const FunctionsGL *mFunctions; global() member in rx::SyncProviderGLQuery
[all...]
H A DFenceNVGL.cpp19 FenceNVGL::FenceNVGL(const FunctionsGL *functions) : FenceNVImpl(), mFunctions(functions) in FenceNVGL()
21 mFunctions->genFencesNV(1, &mFence); in FenceNVGL()
26 mFunctions->deleteFencesNV(1, &mFence); in ~FenceNVGL()
34 mFunctions->setFenceNV(mFence, condition); in set()
42 *outFinished = mFunctions->testFenceNV(mFence); in test()
48 mFunctions->finishFenceNV(mFence); in finish()
59 : FenceNVImpl(), mSyncObject(0), mFunctions(functions) in FenceNVSyncGL()
66 mFunctions->deleteSync(mSyncObject); in ~FenceNVSyncGL()
75 mSyncObject = mFunctions->fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in set()
84 ASSERT(mFunctions in test()
[all...]
H A DClearMultiviewGL.cpp21 : mFunctions(functions), mStateManager(stateManager), mFramebuffer(0u) in ClearMultiviewGL()
28 mFunctions->deleteFramebuffers(1, &mFramebuffer); in ~ClearMultiviewGL()
66 mFunctions->drawBuffers(static_cast<GLsizei>(drawBuffers.size()), drawBuffers.data()); in clearLayeredFBO()
91 mFunctions->clear(mask); in genericClear()
94 mFunctions->clearBufferfv(buffer, drawbuffer, in genericClear()
98 mFunctions->clearBufferuiv(buffer, drawbuffer, in genericClear()
102 mFunctions->clearBufferiv(buffer, drawbuffer, reinterpret_cast<const GLint *>(values)); in genericClear()
105 mFunctions->clearBufferfi(buffer, drawbuffer, depth, stencil); in genericClear()
128 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, colorAttachment, in attachTextures()
142 mFunctions in attachTextures()
[all...]
H A DSamplerGL.cpp72 mFunctions(functions), in SamplerGL()
77 mFunctions->genSamplers(1, &mSamplerID); in SamplerGL()
93 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MIN_FILTER, &gl::SamplerState::getMinFilter, &gl::SamplerState::setMinFilter); in syncState()
94 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MAG_FILTER, &gl::SamplerState::getMagFilter, &gl::SamplerState::setMagFilter); in syncState()
95 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_WRAP_S, &gl::SamplerState::getWrapS, &gl::SamplerState::setWrapS); in syncState()
96 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_WRAP_T, &gl::SamplerState::getWrapT, &gl::SamplerState::setWrapT); in syncState()
97 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_WRAP_R, &gl::SamplerState::getWrapR, &gl::SamplerState::setWrapR); in syncState()
98 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MAX_ANISOTROPY_EXT, &gl::SamplerState::getMaxAnisotropy, &gl::SamplerState::setMaxAnisotropy); in syncState()
99 SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MIN_LOD, &gl::SamplerState::getMinLod, &gl::SamplerState::setMinLod); in syncState()
100 SyncSamplerStateMember(mFunctions, mSamplerI in syncState()
[all...]
H A DStateManagerGL.cpp76 : mFunctions(functions), in StateManagerGL()
151 mHasSeparateFramebufferBindings(mFunctions->isAtLeastGL(gl::Version(3, 0)) ||
152 mFunctions->isAtLeastGLES(gl::Version(3, 0))),
163 ASSERT(mFunctions); in mLocalDirtyBits()
178 if (mFunctions->standard == STANDARD_GL_DESKTOP) in mLocalDirtyBits()
180 mFunctions->enable(GL_PROGRAM_POINT_SIZE); in mLocalDirtyBits()
185 if ((mFunctions->profile & GL_CONTEXT_CORE_PROFILE_BIT) == 0) in mLocalDirtyBits()
187 mFunctions->enable(GL_POINT_SPRITE); in mLocalDirtyBits()
195 mFunctions->primitiveRestartIndex(primitiveRestartIndex); in mLocalDirtyBits()
202 !nativegl::CanUseDefaultVertexArrayObject(mFunctions)) in mLocalDirtyBits()
[all...]
H A DTransformFeedbackGL.cpp27 mFunctions(functions), in TransformFeedbackGL()
34 mFunctions->genTransformFeedbacks(1, &mTransformFeedbackID); in TransformFeedbackGL()
90 ANGLE_GL_TRY(context, mFunctions->bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, in bindIndexedBuffer()
97 mFunctions->bindBufferRange( in bindIndexedBuffer()
103 ANGLE_GL_TRY(context, mFunctions->bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, in bindIndexedBuffer()
110 ANGLE_GL_TRY(context, mFunctions->bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, in bindIndexedBuffer()
136 mFunctions->beginTransformFeedback(gl::ToGLenum(primitiveMode)); in syncActiveState()
145 mFunctions->endTransformFeedback(); in syncActiveState()
161 mFunctions->pauseTransformFeedback(); in syncPausedState()
165 mFunctions in syncPausedState()
[all...]
H A DSyncGL.cpp19 SyncGL::SyncGL(const FunctionsGL *functions) : SyncImpl(), mFunctions(functions), mSyncObject(0) in SyncGL()
21 ASSERT(mFunctions); in SyncGL()
32 mFunctions->deleteSync(mSyncObject); in onDestroy()
40 mSyncObject = mFunctions->fenceSync(condition, flags); in set()
53 *outResult = mFunctions->clientWaitSync(mSyncObject, flags, timeout); in clientWait()
60 mFunctions->waitSync(mSyncObject, flags, timeout); in serverWait()
67 mFunctions->getSynciv(mSyncObject, GL_SYNC_STATUS, 1, nullptr, outResult); in getStatus()
H A DProgramPipelineGL.cpp19 : ProgramPipelineImpl(data), mFunctions(functions), mProgramPipelineID(0) in ProgramPipelineGL()
21 ASSERT(mFunctions); in ProgramPipelineGL()
22 mFunctions->genProgramPipelines(1, &mProgramPipelineID); in ProgramPipelineGL()
29 mFunctions->deleteProgramPipelines(1, &mProgramPipelineID); in ~ProgramPipelineGL()
H A DFenceNVGL.h35 const FunctionsGL *mFunctions; member in rx::FenceNVGL
55 const FunctionsGL *mFunctions; member in rx::FenceNVSyncGL
H A DRendererGL.h104 const FunctionsGL *getFunctions() const { return mFunctions.get(); } in getFunctions()
154 std::unique_ptr<FunctionsGL> mFunctions; member in rx::RendererGL
H A DQueryGL.h62 const FunctionsGL *mFunctions; member in rx::StandardQueryGL
97 const FunctionsGL *mFunctions; member in rx::SyncQueryGL
H A DProgramPipelineGL.h29 const FunctionsGL *mFunctions; member in rx::ProgramPipelineGL
H A DSamplerGL.h34 const FunctionsGL *mFunctions; member in rx::SamplerGL
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
H A DPbufferSurfaceCGL.cpp30 mFunctions(renderer->getFunctions()), in PbufferSurfaceCGL()
40 mFunctions->deleteRenderbuffers(1, &mColorRenderbuffer); in ~PbufferSurfaceCGL()
45 mFunctions->deleteRenderbuffers(1, &mDSRenderbuffer); in ~PbufferSurfaceCGL()
52 mFunctions->genRenderbuffers(1, &mColorRenderbuffer); in initialize()
54 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
56 mFunctions->genRenderbuffers(1, &mDSRenderbuffer); in initialize()
58 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/eagl/
H A DPbufferSurfaceEAGL.cpp32 mFunctions(renderer->getFunctions()), in PbufferSurfaceEAGL()
42 mFunctions->deleteRenderbuffers(1, &mColorRenderbuffer); in ~PbufferSurfaceEAGL()
47 mFunctions->deleteRenderbuffers(1, &mDSRenderbuffer); in ~PbufferSurfaceEAGL()
54 mFunctions->genRenderbuffers(1, &mColorRenderbuffer); in initialize()
56 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
58 mFunctions->genRenderbuffers(1, &mDSRenderbuffer); in initialize()
60 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DBackendD3D12.cpp88 mFunctions = std::make_unique<PlatformFunctions>(); in Initialize()
89 DAWN_TRY(mFunctions->LoadFunctions()); in Initialize()
94 CreateFactory(mFunctions.get(), instance->GetBackendValidationLevel(), in Initialize()
107 mFunctions->dxcCreateInstance(CLSID_DxcLibrary, IID_PPV_ARGS(&mDxcLibrary)), in EnsureDxcLibrary()
117 mFunctions->dxcCreateInstance(CLSID_DxcCompiler, IID_PPV_ARGS(&mDxcCompiler)), in EnsureDxcCompiler()
127 mFunctions->dxcCreateInstance(CLSID_DxcValidator, IID_PPV_ARGS(&mDxcValidator)), in EnsureDxcValidator()
150 return mFunctions.get(); in GetFunctions()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DBuiltInFunctionEmulator.cpp70 return (mFunctions.size() == 0); in isOutputEmpty()
75 for (const auto &function : mFunctions) in outputEmulatedFunctions()
117 for (size_t i = 0; i < mFunctions.size(); ++i) in setFunctionCalled()
119 if (mFunctions[i] == uniqueId) in setFunctionCalled()
128 mFunctions.push_back(uniqueId); in setFunctionCalled()
145 mFunctions.clear(); in cleanup()
H A DCallDAG.cpp35 for (auto &it : mFunctions) in assignIndices()
52 ASSERT(mFunctions.size() == mCurrentIndex + skipped); in assignIndices()
63 for (auto &it : mFunctions) in fillDataStructures()
104 mCurrentFunction = &mFunctions[node->getFunction()->uniqueId().get()];
122 auto &record = mFunctions[node->getFunction()->uniqueId().get()];
132 auto it = mFunctions.find(node->getFunction()->uniqueId().get());
133 ASSERT(it != mFunctions.end());
254 std::map<int, CreatorFunctionData> mFunctions; member in sh::CallDAG::CallDAGCreator
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DBackendVk.cpp132 mFunctions.DestroyDebugUtilsMessengerEXT(mInstance, mDebugUtilsMessenger, nullptr); in ~VulkanInstance()
138 mFunctions.DestroyInstance(mInstance, nullptr); in ~VulkanInstance()
144 return mFunctions; in GetFunctions()
239 DAWN_TRY(mFunctions.LoadGlobalProcs(mVulkanLib)); in Initialize()
241 DAWN_TRY_ASSIGN(mGlobalInfo, GatherGlobalInfo(mFunctions)); in Initialize()
247 DAWN_TRY(mFunctions.LoadInstanceProcs(mInstance, mGlobalInfo)); in Initialize()
253 DAWN_TRY_ASSIGN(mPhysicalDevices, GatherPhysicalDevices(mInstance, mFunctions)); in Initialize()
369 DAWN_TRY(CheckVkSuccess(mFunctions.CreateInstance(&createInfo, nullptr, &mInstance), in CreateVkInstance()
387 return CheckVkSuccess(mFunctions.CreateDebugUtilsMessengerEXT( in RegisterDebugUtils()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureClampTests.cpp208 mFunctions.push_back(f); in init()
214 mFunctions.push_back(f); in init()
223 mFunctions.push_back(f); in init()
231 mFunctions.push_back(f); in init()
544 mFunctions.push_back(f); in init()
554 mFunctions.push_back(f); in init()
560 mFunctions.push_back(f); in init()
568 mFunctions.push_back(f); in init()
577 mFunctions.push_back(f); in init()
587 mFunctions in init()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
H A DDisplayGLX.cpp1000 FunctionsGLX *mFunctions; member in rx::final
1007 : mContext(context), mFunctions(functions), mBuffer(buffer) in WorkerContextGLX()
1012 mFunctions->destroyContext(mContext); in ~WorkerContextGLX()
1013 mFunctions->destroyPbuffer(mBuffer); in ~WorkerContextGLX()
1018 Bool result = mFunctions->makeCurrent(mBuffer, mContext); in makeCurrent()
1029 mFunctions->makeCurrent(0, nullptr); in unmakeCurrent()

Completed in 21 milliseconds

12