Home
last modified time | relevance | path

Searched refs:mFunctions (Results 1 – 25 of 67) sorted by relevance

123

/aosp_15_r20/external/angle/src/libANGLE/renderer/gl/
H A DProgramExecutableGL.cpp28 mFunctions(nullptr), in ProgramExecutableGL()
54 mFunctions = functions; in postLink()
118 ASSERT(mFunctions->programUniform1ui != nullptr); in updateEnabledClipDistances()
119 mFunctions->programUniform1ui(mProgramID, mClipDistanceEnabledUniformLocation, in updateEnabledClipDistances()
132 if (mFunctions->programUniform1f != nullptr) in updateEmulatedClipOrigin()
134 mFunctions->programUniform1f(mProgramID, mClipOriginUniformLocation, originValue); in updateEmulatedClipOrigin()
139 mFunctions->uniform1f(mClipOriginUniformLocation, originValue); in updateEmulatedClipOrigin()
148 ASSERT(mFunctions->programUniform1i != nullptr); in enableLayeredRenderingPath()
149 mFunctions->programUniform1i(mProgramID, mMultiviewBaseViewLayerIndexUniformLocation, in enableLayeredRenderingPath()
155 if (mFunctions->programUniform1fv != nullptr) in setUniform1fv()
[all …]
H A DBlitGL.cpp266 : mFunctions(functions), in BlitGL()
278 ASSERT(mFunctions); in BlitGL()
330 if (readType == GL_HALF_FLOAT_OES && mFunctions->standard == STANDARD_GL_DESKTOP) in copyImageToLUMAWorkaroundTexture()
341 mFunctions->texImage2D(ToGLenum(target), static_cast<GLint>(level), internalFormat, in copyImageToLUMAWorkaroundTexture()
371 if (readType == GL_HALF_FLOAT_OES && mFunctions->standard == STANDARD_GL_DESKTOP) in copySubImageToLUMAWorkaroundTexture()
377 nativegl::GetCopyTexImageImageFormat(mFunctions, mFeatures, readFormat, readType); in copySubImageToLUMAWorkaroundTexture()
381 context, mFunctions->copyTexImage2D(GL_TEXTURE_2D, 0, copyTexImageFormat.internalFormat, in copySubImageToLUMAWorkaroundTexture()
394 mFunctions->texParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_RGBA, swizzle)); in copySubImageToLUMAWorkaroundTexture()
400 context, mFunctions->texImage2D(GL_TEXTURE_2D, 0, copyTexImageFormat.internalFormat, in copySubImageToLUMAWorkaroundTexture()
406 ANGLE_GL_TRY(context, mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in copySubImageToLUMAWorkaroundTexture()
[all …]
H A DRendererGL.cpp150 mFunctions(std::move(functions)), in RendererGL()
160 ASSERT(mFunctions); in RendererGL()
164 nativegl_gl::InitializeFeatures(mFunctions.get(), &mFeatures); in RendererGL()
167 new StateManagerGL(mFunctions.get(), getNativeCaps(), getNativeExtensions(), mFeatures); in RendererGL()
168 mBlitter = new BlitGL(mFunctions.get(), mFeatures, mStateManager); in RendererGL()
169 mMultiviewClearer = new ClearMultiviewGL(mFunctions.get(), mStateManager); in RendererGL()
171 bool hasDebugOutput = mFunctions->isAtLeastGL(gl::Version(4, 3)) || in RendererGL()
172 mFunctions->hasGLExtension("GL_KHR_debug") || in RendererGL()
173 mFunctions->isAtLeastGLES(gl::Version(3, 2)) || in RendererGL()
174 mFunctions->hasGLESExtension("GL_KHR_debug"); in RendererGL()
[all …]
H A DStateManagerGL.cpp78 : mFunctions(functions), in StateManagerGL()
164 mHasSeparateFramebufferBindings(mFunctions->isAtLeastGL(gl::Version(3, 0)) ||
165 mFunctions->isAtLeastGLES(gl::Version(3, 0))),
177 ASSERT(mFunctions);
192 if (mFunctions->standard == STANDARD_GL_DESKTOP)
194 mFunctions->enable(GL_PROGRAM_POINT_SIZE);
199 if ((mFunctions->profile & GL_CONTEXT_CORE_PROFILE_BIT) == 0)
201 mFunctions->enable(GL_POINT_SPRITE);
209 mFunctions->primitiveRestartIndex(primitiveRestartIndex);
217 !nativegl::CanUseDefaultVertexArrayObject(mFunctions))
[all …]
H A DProgramGL.cpp104 mFunctions(functions), in LinkTaskGL()
148 mFunctions->getProgramiv(mProgramID, GL_COMPLETION_STATUS, &completionStatus); in isLinkingInternally()
156 const FunctionsGL *mFunctions; member in rx::ProgramGL::LinkTaskGL
173 mFunctions(functions), in ProgramGL()
179 ASSERT(mFunctions); in ProgramGL()
182 mProgramID = mFunctions->createProgram(); in ProgramGL()
189 mFunctions->deleteProgram(mProgramID); in destroy()
208 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
218 executableGL->postLink(mFunctions, mStateManager, mFeatures, mProgramID); in load()
230 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
[all …]
H A DQueryGL.cpp63 mFunctions(functions), in StandardQueryGL()
80 mFunctions->deleteQueries(1, &mActiveQuery); in clearInternalQueries()
87 mFunctions->deleteQueries(1, &id); in clearInternalQueries()
111 mFunctions->genQueries(1, &query); in queryCounter()
112 mFunctions->queryCounter(query, GL_TIMESTAMP); in queryCounter()
188 mFunctions->genQueries(1, &mActiveQuery); in resume()
206 mFunctions->getQueryObjectuiv(id, GL_QUERY_RESULT_AVAILABLE, &resultAvailable); in flush()
216 if (mFunctions->getQueryObjectui64v != nullptr) in flush()
219 mFunctions->getQueryObjectui64v(id, GL_QUERY_RESULT, &result); in flush()
225 mFunctions->getQueryObjectuiv(id, GL_QUERY_RESULT, &result); in flush()
[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->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in attachTextures()
[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->isSync(mSyncObject)); in test()
[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… in syncState()
94 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MAG_FILTER… in syncState()
95 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_WRAP_S, &g… in syncState()
96 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_WRAP_T, &g… in syncState()
97 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_WRAP_R, &g… in syncState()
98 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MAX_ANISOT… in syncState()
99 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MIN_LOD, &… in syncState()
100 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_MAX_LOD, &… in syncState()
[all …]
H A DTransformFeedbackGL.cpp27 mFunctions(functions), in TransformFeedbackGL()
34 mFunctions->genTransformFeedbacks(1, &mTransformFeedbackID); in TransformFeedbackGL()
95 ANGLE_GL_TRY(context, mFunctions->bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, in bindIndexedBuffer()
102 mFunctions->bindBufferRange( in bindIndexedBuffer()
108 ANGLE_GL_TRY(context, mFunctions->bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, in bindIndexedBuffer()
115 ANGLE_GL_TRY(context, mFunctions->bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, in bindIndexedBuffer()
140 mFunctions->beginTransformFeedback(gl::ToGLenum(primitiveMode)); in syncActiveState()
149 mFunctions->endTransformFeedback(); in syncActiveState()
165 mFunctions->pauseTransformFeedback(); in syncPausedState()
169 mFunctions->resumeTransformFeedback(); in syncPausedState()
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 DShaderGL.cpp32 : mFunctions(functions), in ShaderTranslateTaskGL()
56 mFunctions->getShaderiv(mShaderID, GL_COMPLETION_STATUS, &status); in isCompilingInternally()
64 mFunctions->getShaderiv(mShaderID, GL_COMPILE_STATUS, &compileStatus); in getResult()
72 mFunctions->getShaderiv(mShaderID, GL_INFO_LOG_LENGTH, &infoLogLength); in getResult()
79 mFunctions->getShaderInfoLog(mShaderID, infoLogLength, nullptr, &buf[0]); in getResult()
95 mFunctions->shaderSource(mShaderID, 1, &source, nullptr); in startCompile()
96 mFunctions->compileShader(mShaderID); in startCompile()
99 const FunctionsGL *mFunctions; member in rx::__anon369f15a40111::ShaderTranslateTaskGL
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; variable
55 const FunctionsGL *mFunctions; variable
/aosp_15_r20/external/angle/src/libANGLE/renderer/gl/cgl/
H A DWindowSurfaceCGL.mm34 const rx::FunctionsGL *mFunctions; field
56 mFunctions = functions;
115 mFunctions->genFramebuffers(1, &mReadFramebuffer);
130 mFunctions->getIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFBO);
132 mFunctions->bindFramebuffer(GL_FRAMEBUFFER, mReadFramebuffer);
133 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D,
136 mFunctions->bindFramebuffer(GL_READ_FRAMEBUFFER, mReadFramebuffer);
137 mFunctions->bindFramebuffer(GL_DRAW_FRAMEBUFFER, drawFBO);
138 mFunctions->blitFramebuffer(0, 0, texture.width, texture.height, 0, 0, texture.width,
161 mFunctions(renderer->getFunctions()),
[all …]
H A DPbufferSurfaceCGL.cpp28 mFunctions(renderer->getFunctions()), in PbufferSurfaceCGL()
57 mFunctions->genRenderbuffers(1, &mColorRenderbuffer); in initialize()
59 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
61 mFunctions->genRenderbuffers(1, &mDSRenderbuffer); in initialize()
63 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
139 mFunctions->genFramebuffers(1, &framebufferID); in attachToFramebuffer()
141 mFunctions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in attachToFramebuffer()
143 mFunctions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in attachToFramebuffer()
H A DIOSurfaceSurfaceCGL.cpp79 mFunctions(renderer->getFunctions()), in IOSurfaceSurfaceCGL()
303 mFunctions->genTextures(1, &textureID); in attachToFramebuffer()
323 mFunctions->genFramebuffers(1, &framebufferID); in attachToFramebuffer()
326 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_RECTANGLE, in attachToFramebuffer()
/aosp_15_r20/external/angle/src/compiler/translator/
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()]; in visitFunctionDefinition()
122 auto &record = mFunctions[node->getFunction()->uniqueId().get()]; in visitFunctionPrototype()
132 auto it = mFunctions.find(node->getFunction()->uniqueId().get()); in visitAggregate()
133 ASSERT(it != mFunctions.end()); in visitAggregate()
254 std::map<int, CreatorFunctionData> mFunctions; member in sh::CallDAG::CallDAGCreator
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()
/aosp_15_r20/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/
H A DUsbGadgetAidl.java153 public void setCurrentUsbFunctions(int mRequest, long mFunctions, in setCurrentUsbFunctions() argument
157 mFunctions, mChargingFunctions); in setCurrentUsbFunctions()
159 mGadgetProxy.setCurrentUsbFunctions(mFunctions, mUsbGadgetCallback, in setCurrentUsbFunctions()
166 + ", mFunctions=" + mFunctions in setCurrentUsbFunctions()
177 public long mFunctions; field in UsbGadgetAidl.UsbGadgetCallback
187 mFunctions = functions; in UsbGadgetCallback()
204 mRequest, mFunctions, mChargingFunctions); in setCurrentUsbFunctionsCb()
H A DUsbGadgetHidl.java204 public void setCurrentUsbFunctions(int mRequest, long mFunctions, in setCurrentUsbFunctions() argument
208 mFunctions, mChargingFunctions); in setCurrentUsbFunctions()
210 mGadgetProxy.setCurrentUsbFunctions(mFunctions, mUsbGadgetCallback, timeout); in setCurrentUsbFunctions()
216 + ", mFunctions = " + mFunctions in setCurrentUsbFunctions()
226 public long mFunctions; field in UsbGadgetHidl.UsbGadgetCallback
234 mFunctions = functions; in UsbGadgetCallback()
242 mRequest, mFunctions, mChargingFunctions); in setCurrentUsbFunctionsCb()
/aosp_15_r20/external/deqp/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()
543 mFunctions.push_back(f); in init()
553 mFunctions.push_back(f); in init()
559 mFunctions.push_back(f); in init()
567 mFunctions.push_back(f); in init()
576 mFunctions.push_back(f); in init()
586 mFunctions.push_back(f); in init()
[all …]
H A Dgl4cSparseTexture2Tests.cpp2320 mFunctions.push_back(f); in init()
2328 mFunctions.push_back(f); in init()
2335 mFunctions.push_back(f); in init()
2344 mFunctions.push_back(f); in init()
2351 mFunctions.push_back(f); in init()
2357 mFunctions.push_back(f); in init()
2366 mFunctions.push_back(f); in init()
2374 mFunctions.push_back(f); in init()
2382 mFunctions.push_back(f); in init()
2388 mFunctions.push_back(f); in init()
[all …]
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java44 private long mFunctions; field in UsbConnectionBroadcastReceiver
54 mFunctions = UsbManager.FUNCTION_NONE; in UsbConnectionBroadcastReceiver()
93 mFunctions = functions; in onReceive()
105 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
/aosp_15_r20/frameworks/rs/script_api/
H A DSpecification.cpp863 for (auto i : mFunctions) { in ~SystemSpecification()
894 return findOrCreate<Function>(name, &mFunctions, created); in findOrCreateFunction()
928 for (auto i : mFunctions) { in getMaximumApiLevel()
943 << " constants, and " << mFunctions.size() << " functions.\n"; in generateFiles()
958 auto f = mFunctions.find(name); in getHtmlAnchor()
959 if (f != mFunctions.end()) { in getHtmlAnchor()

123