Home
last modified time | relevance | path

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

12

/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp39 mFunctions(functions), in ProgramGL()
49 ASSERT(mFunctions); in ProgramGL()
52 mProgramID = mFunctions->createProgram(); in ProgramGL()
57 mFunctions->deleteProgram(mProgramID); in ~ProgramGL()
75 mFunctions->programBinary(mProgramID, binaryFormat, binary, binaryLength); in load()
92 mFunctions->getProgramiv(mProgramID, GL_PROGRAM_BINARY_LENGTH, &binaryLength); in save()
96 mFunctions->getProgramBinary(mProgramID, binaryLength, &binaryLength, &binaryFormat, in save()
123 if (mFunctions->programParameteri) in setBinaryRetrievableHint()
125 mFunctions->programParameteri(mProgramID, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, in setBinaryRetrievableHint()
132 mFunctions->programParameteri(mProgramID, GL_PROGRAM_SEPARABLE, separable ? GL_TRUE : GL_FALSE); in setSeparable()
[all …]
DBlitGL.cpp240 : mFunctions(functions), in BlitGL()
252 ASSERT(mFunctions); in BlitGL()
304 if (readType == GL_HALF_FLOAT_OES && mFunctions->standard == STANDARD_GL_DESKTOP) in copyImageToLUMAWorkaroundTexture()
315 mFunctions->texImage2D(ToGLenum(target), static_cast<GLint>(level), internalFormat, in copyImageToLUMAWorkaroundTexture()
345 if (readType == GL_HALF_FLOAT_OES && mFunctions->standard == STANDARD_GL_DESKTOP) in copySubImageToLUMAWorkaroundTexture()
351 nativegl::GetCopyTexImageImageFormat(mFunctions, mFeatures, readFormat, readType); in copySubImageToLUMAWorkaroundTexture()
355 context, mFunctions->copyTexImage2D(GL_TEXTURE_2D, 0, copyTexImageFormat.internalFormat, in copySubImageToLUMAWorkaroundTexture()
368 mFunctions->texParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_RGBA, swizzle)); in copySubImageToLUMAWorkaroundTexture()
374 context, mFunctions->texImage2D(GL_TEXTURE_2D, 0, copyTexImageFormat.internalFormat, in copySubImageToLUMAWorkaroundTexture()
380 ANGLE_GL_TRY(context, mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in copySubImageToLUMAWorkaroundTexture()
[all …]
DRendererGL.cpp151 mFunctions(std::move(functions)), in RendererGL()
161 ASSERT(mFunctions); in RendererGL()
164 nativegl_gl::InitializeFeatures(mFunctions.get(), &mFeatures); in RendererGL()
168 new StateManagerGL(mFunctions.get(), getNativeCaps(), getNativeExtensions(), mFeatures); in RendererGL()
169 mBlitter = new BlitGL(mFunctions.get(), mFeatures, mStateManager); in RendererGL()
170 mMultiviewClearer = new ClearMultiviewGL(mFunctions.get(), mStateManager); in RendererGL()
172 bool hasDebugOutput = mFunctions->isAtLeastGL(gl::Version(4, 3)) || in RendererGL()
173 mFunctions->hasGLExtension("GL_KHR_debug") || in RendererGL()
174 mFunctions->isAtLeastGLES(gl::Version(3, 2)) || in RendererGL()
175 mFunctions->hasGLESExtension("GL_KHR_debug"); in RendererGL()
[all …]
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->getQueryObjectuiv(id, GL_QUERY_RESULT, &result); in flush()
[all …]
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 …]
DStateManagerGL.cpp78 : mFunctions(functions), in StateManagerGL()
163 mHasSeparateFramebufferBindings(mFunctions->isAtLeastGL(gl::Version(3, 0)) ||
164 mFunctions->isAtLeastGLES(gl::Version(3, 0))),
176 ASSERT(mFunctions);
191 if (mFunctions->standard == STANDARD_GL_DESKTOP)
193 mFunctions->enable(GL_PROGRAM_POINT_SIZE);
198 if ((mFunctions->profile & GL_CONTEXT_CORE_PROFILE_BIT) == 0)
200 mFunctions->enable(GL_POINT_SPRITE);
208 mFunctions->primitiveRestartIndex(primitiveRestartIndex);
215 !nativegl::CanUseDefaultVertexArrayObject(mFunctions))
[all …]
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 …]
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 …]
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->resumeTransformFeedback(); in syncPausedState()
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()
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()
DFenceNVGL.h35 const FunctionsGL *mFunctions; variable
55 const FunctionsGL *mFunctions; variable
DRendererGL.h104 const FunctionsGL *getFunctions() const { return mFunctions.get(); } in getFunctions()
158 std::unique_ptr<FunctionsGL> mFunctions; variable
DQueryGL.h62 const FunctionsGL *mFunctions; variable
97 const FunctionsGL *mFunctions; variable
DProgramPipelineGL.h29 const FunctionsGL *mFunctions;
DSamplerGL.h34 const FunctionsGL *mFunctions;
/external/angle/src/libANGLE/renderer/gl/eagl/
DWindowSurfaceEAGL.mm38 const rx::FunctionsGL *mFunctions; field
59 mFunctions = functions;
84 mFunctions->genFramebuffers(1, &mReadFramebuffer);
101 mFunctions->getIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFBO);
103 mFunctions->bindFramebuffer(GL_FRAMEBUFFER, mReadFramebuffer);
104 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D,
107 mFunctions->bindFramebuffer(GL_READ_FRAMEBUFFER, mReadFramebuffer);
108 mFunctions->bindFramebuffer(GL_DRAW_FRAMEBUFFER, drawFBO);
109 mFunctions->blitFramebuffer(0, 0, texture.width, texture.height, 0, 0, texture.width,
112 mFunctions->bindRenderbuffer(GL_RENDERBUFFER, texture.texture);
[all …]
DPbufferSurfaceEAGL.cpp28 mFunctions(renderer->getFunctions()), in PbufferSurfaceEAGL()
56 mFunctions->genRenderbuffers(1, &mColorRenderbuffer); in initialize()
58 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, mWidth, mHeight); in initialize()
60 mFunctions->genRenderbuffers(1, &mDSRenderbuffer); in initialize()
62 mFunctions->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, mWidth, mHeight); in initialize()
138 mFunctions->genFramebuffers(1, &framebufferID); in attachToFramebuffer()
140 mFunctions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in attachToFramebuffer()
142 mFunctions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in attachToFramebuffer()
/external/angle/src/libANGLE/renderer/gl/cgl/
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()
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 …]
DIOSurfaceSurfaceCGL.cpp80 mFunctions(renderer->getFunctions()), in IOSurfaceSurfaceCGL()
304 mFunctions->genTextures(1, &textureID); in attachToFramebuffer()
324 mFunctions->genFramebuffers(1, &framebufferID); in attachToFramebuffer()
327 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_RECTANGLE, in attachToFramebuffer()
/external/angle/src/compiler/translator/
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()
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
/external/deqp/external/openglcts/modules/gl/
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.push_back(f); in init()
[all …]
/external/angle/src/libANGLE/renderer/gl/glx/
DDisplayGLX.cpp1001 FunctionsGLX *mFunctions; member in rx::WorkerContextGLX
1008 : mContext(context), mFunctions(functions), mBuffer(buffer) in WorkerContextGLX()
1013 mFunctions->destroyContext(mContext); in ~WorkerContextGLX()
1014 mFunctions->destroyPbuffer(mBuffer); in ~WorkerContextGLX()
1019 Bool result = mFunctions->makeCurrent(mBuffer, mContext); in makeCurrent()
1030 mFunctions->makeCurrent(0, nullptr); in unmakeCurrent()

12