Home
last modified time | relevance | path

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

12

/external/angle/src/libANGLE/renderer/gl/
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->programParameteri(mProgramID, GL_PROGRAM_SEPARABLE, separable ? GL_TRUE : GL_FALSE); in setSeparable()
[all …]
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->hasGLESExtension("GL_KHR_debug"); in RendererGL()
[all …]
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->uniform2f(blitProgram->scaleLocation, 1.0, 1.0)); in copySubImageToLUMAWorkaroundTexture()
[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 …]
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 …]
DStateManagerGL.cpp76 : mFunctions(functions), in StateManagerGL()
151 mHasSeparateFramebufferBindings(mFunctions->isAtLeastGL(gl::Version(3, 0)) ||
152 mFunctions->isAtLeastGLES(gl::Version(3, 0))),
163 ASSERT(mFunctions);
178 if (mFunctions->standard == STANDARD_GL_DESKTOP)
180 mFunctions->enable(GL_PROGRAM_POINT_SIZE);
185 if ((mFunctions->profile & GL_CONTEXT_CORE_PROFILE_BIT) == 0)
187 mFunctions->enable(GL_POINT_SPRITE);
195 mFunctions->primitiveRestartIndex(primitiveRestartIndex);
202 !nativegl::CanUseDefaultVertexArrayObject(mFunctions))
[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()
154 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.mm41 const rx::FunctionsGL *mFunctions; field
62 mFunctions = functions;
87 mFunctions->genFramebuffers(1, &mReadFramebuffer);
104 mFunctions->getIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFBO);
106 mFunctions->bindFramebuffer(GL_FRAMEBUFFER, mReadFramebuffer);
107 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D,
110 mFunctions->bindFramebuffer(GL_READ_FRAMEBUFFER, mReadFramebuffer);
111 mFunctions->bindFramebuffer(GL_DRAW_FRAMEBUFFER, drawFBO);
112 mFunctions->blitFramebuffer(0, 0, texture.width, texture.height, 0, 0, texture.width,
115 mFunctions->bindRenderbuffer(GL_RENDERBUFFER, texture.texture);
[all …]
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()
/external/angle/src/libANGLE/renderer/gl/cgl/
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()
DWindowSurfaceCGL.mm32 const rx::FunctionsGL *mFunctions; field
54 mFunctions = functions;
113 mFunctions->genFramebuffers(1, &mReadFramebuffer);
128 mFunctions->getIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFBO);
130 mFunctions->bindFramebuffer(GL_FRAMEBUFFER, mReadFramebuffer);
131 mFunctions->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D,
134 mFunctions->bindFramebuffer(GL_READ_FRAMEBUFFER, mReadFramebuffer);
135 mFunctions->bindFramebuffer(GL_DRAW_FRAMEBUFFER, drawFBO);
136 mFunctions->blitFramebuffer(0, 0, texture.width, texture.height, 0, 0, texture.width,
159 mFunctions(renderer->getFunctions()),
[all …]
/external/angle/src/compiler/translator/
DBuiltInFunctionEmulator.cpp71 return (mFunctions.size() == 0); in isOutputEmpty()
76 for (const auto &function : mFunctions) in outputEmulatedFunctions()
118 for (size_t i = 0; i < mFunctions.size(); ++i) in setFunctionCalled()
120 if (mFunctions[i] == uniqueId) in setFunctionCalled()
129 mFunctions.push_back(uniqueId); in setFunctionCalled()
146 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
DBuiltInFunctionEmulator.h72 std::vector<int> mFunctions; variable
/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()
536 mFunctions.push_back(f); in init()
546 mFunctions.push_back(f); in init()
552 mFunctions.push_back(f); in init()
560 mFunctions.push_back(f); in init()
569 mFunctions.push_back(f); in init()
579 mFunctions.push_back(f); in init()
[all …]
/external/angle/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp503 FunctionsEGL *mFunctions; member in rx::WorkerContextAndroid
510 : mContext(context), mFunctions(functions), mPbuffer(pbuffer) in WorkerContextAndroid()
515 mFunctions->destroyContext(mContext); in ~WorkerContextAndroid()
520 if (mFunctions->makeCurrent(mPbuffer, mContext) == EGL_FALSE) in makeCurrent()
530 mFunctions->makeCurrent(EGL_NO_SURFACE, EGL_NO_CONTEXT); in unmakeCurrent()

12