Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 25 of 156) sorted by relevance

1234567

/external/angle/src/libANGLE/
DTransformFeedback.cpp91 mState(caps.maxTransformFeedbackSeparateAttributes), in TransformFeedback()
92 mImplementation(implFactory->createTransformFeedback(mState)) in TransformFeedback()
100 if (mState.mProgram) in onDestroy()
102 mState.mProgram->release(context); in onDestroy()
103 mState.mProgram = nullptr; in onDestroy()
106 ASSERT(!mState.mProgram); in onDestroy()
107 for (size_t i = 0; i < mState.mIndexedBuffers.size(); i++) in onDestroy()
109 mState.mIndexedBuffers[i].set(context, nullptr, 0, 0); in onDestroy()
125 mState.mLabel = label; in setLabel()
130 return mState.mLabel; in getLabel()
[all …]
DShader.cpp141 : mState(type), in Shader()
142 mImplementation(implFactory->createShader(mState)), in Shader()
170 mState.mLabel = label; in setLabel()
175 return mState.mLabel; in getLabel()
199 mState.mSource = stream.str(); in setSource()
235 return mState.mSource.empty() ? 0 : (static_cast<int>(mState.mSource.length()) + 1); in getSourceLength()
242 if (mState.mTranslatedSource.empty()) in getTranslatedSourceLength()
247 return (static_cast<int>(mState.mTranslatedSource.length()) + 1); in getTranslatedSourceLength()
287 GetSourceImpl(mState.mSource, bufSize, length, buffer); in getSource()
298 return mState.mTranslatedSource; in getTranslatedSource()
[all …]
DProgramPipeline.cpp148 mProgramPipelineImpl(factory->createProgramPipeline(mState)), in ProgramPipeline()
157 mExecutableObserverBinding.bind(mState.mExecutable); in ProgramPipeline()
167 for (Program *program : mState.mPrograms) in onDestroy()
181 mState.mLabel = label; in setLabel()
186 return mState.mLabel; in getLabel()
196 mState.activeShaderProgram(shaderProgram); in activeShaderProgram()
203 mState.useProgramStages(context, stages, shaderProgram, &mProgramObserverBindings); in useProgramStages()
207 mState.mIsLinked = false; in useProgramStages()
212 mState.mExecutable->resetLinkedShaderStages(); in updateLinkedShaderStages()
216 Program *program = mState.mPrograms[shaderType]; in updateLinkedShaderStages()
[all …]
DImage.cpp262 : mState(target, buffer, attribs), in Image()
263 mImplementation(factory->createImage(mState, context, target, attribs)), in Image()
269 mState.source->addImageSource(this); in Image()
276 ASSERT(mState.targets.empty()); in onDestroy()
282 if (mState.source != nullptr) in onDestroy()
284 mState.source->removeImageSource(this); in onDestroy()
287 if (IsExternalImageTarget(mState.sourceType)) in onDestroy()
289 ExternalImageSibling *externalSibling = rx::GetAs<ExternalImageSibling>(mState.source); in onDestroy()
294 mState.source = nullptr; in onDestroy()
305 mState.label = label; in setLabel()
[all …]
DBuffer.cpp46 mImpl(factory->createBuffer(mState)), in Buffer()
66 mState.mLabel = label; in setLabel()
71 return mState.mLabel; in getLabel()
111 if (mState.isMapped()) in bufferDataImpl()
140 mState.mSize = 0; in bufferDataImpl()
149 mState.mUsage = usage; in bufferDataImpl()
150 mState.mSize = size; in bufferDataImpl()
151 mState.mImmutable = (usage == BufferUsage::InvalidEnum); in bufferDataImpl()
152 mState.mStorageExtUsageFlags = flags; in bufferDataImpl()
166 if (mState.isMapped()) in bufferExternalDataImpl()
[all …]
DSampler.cpp20 mState(), in Sampler()
22 mSampler(factory->createSampler(mState)), in Sampler()
51 mState.setMinFilter(minFilter); in setMinFilter()
57 return mState.getMinFilter(); in getMinFilter()
62 mState.setMagFilter(magFilter); in setMagFilter()
68 return mState.getMagFilter(); in getMagFilter()
73 mState.setWrapS(wrapS); in setWrapS()
79 return mState.getWrapS(); in getWrapS()
84 mState.setWrapT(wrapT); in setWrapT()
90 return mState.getWrapT(); in getWrapT()
[all …]
DFramebuffer.cpp784 : mState(caps, id, shareGroup->generateFramebufferSerial()), in Framebuffer()
785 mImpl(factory->createFramebuffer(mState)), in Framebuffer()
791 ASSERT(mState.mColorAttachments.size() == static_cast<size_t>(caps.maxColorAttachments)); in Framebuffer()
794 colorIndex < static_cast<uint32_t>(mState.mColorAttachments.size()); ++colorIndex) in Framebuffer()
805 : mState(context->getShareGroup()->generateFramebufferSerial()), in Framebuffer()
806 mImpl(surface->getImplementation()->createDefaultFramebuffer(context, mState)), in Framebuffer()
836 SetComponentTypeMask(getDrawbufferWriteType(0), 0, &mState.mDrawBufferTypeMask); in Framebuffer()
838 mState.mSurfaceTextureOffset = surface->getTextureOffset(); in Framebuffer()
847 : mState(context->getShareGroup()->generateFramebufferSerial()), in Framebuffer()
848 mImpl(factory->createFramebuffer(mState)), in Framebuffer()
[all …]
DProgram.cpp1331 mProgram(factory->createProgram(mState)), in Program()
1354 if (mState.mAttachedShaders[shaderType]) in onDestroy()
1356 mState.mAttachedShaders[shaderType]->release(context); in onDestroy()
1357 mState.mAttachedShaders[shaderType] = nullptr; in onDestroy()
1363 ASSERT(!mState.hasAttachedShader()); in onDestroy()
1377 mState.mLabel = label; in setLabel()
1383 return mState.mLabel; in getLabel()
1391 mState.mAttachedShaders[shaderType] = shader; in attachShader()
1392 mState.mAttachedShaders[shaderType]->addRef(); in attachShader()
1401 ASSERT(mState.mAttachedShaders[shaderType] == shader); in detachShader()
[all …]
DContext_gles_1_0.cpp41 mState.gles1().setAlphaFunc(func, ref); in alphaFunc()
46 mState.gles1().setAlphaFunc(func, ConvertFixedToFloat(ref)); in alphaFuncx()
51 mState.setColorClearValue(ConvertFixedToFloat(red), ConvertFixedToFloat(green), in clearColorx()
57 mState.setDepthClearValue(clamp01(ConvertFixedToFloat(depth))); in clearDepthx()
62 mState.gles1().setClientTextureUnit(texture - GL_TEXTURE0); in clientActiveTexture()
68 mState.gles1().setClipPlane(p - GL_CLIP_PLANE0, eqn); in clipPlanef()
80 mState.gles1().setClipPlane(plane - GL_CLIP_PLANE0, equationf); in clipPlanex()
85 mState.gles1().setCurrentColor({red, green, blue, alpha}); in color4f()
90 mState.gles1().setCurrentColor( in color4ub()
97 mState.gles1().setCurrentColor({ConvertFixedToFloat(red), ConvertFixedToFloat(green), in color4x()
[all …]
DTexture.cpp743 mState(type), in Texture()
744 mTexture(factory->createTexture(mState)), in Texture()
771 mState.mBuffer.set(context, nullptr, 0, 0); in onDestroy()
786 mState.mLabel = label; in setLabel()
792 return mState.mLabel; in getLabel()
797 mState.mSwizzleState.swizzleRed = swizzleRed; in setSwizzleRed()
803 return mState.mSwizzleState.swizzleRed; in getSwizzleRed()
808 mState.mSwizzleState.swizzleGreen = swizzleGreen; in setSwizzleGreen()
814 return mState.mSwizzleState.swizzleGreen; in getSwizzleGreen()
819 mState.mSwizzleState.swizzleBlue = swizzleBlue; in setSwizzleBlue()
[all …]
DVertexArray.cpp115 mState(this, maxAttribs, maxAttribBindings), in VertexArray()
116 mVertexArray(factory->createVertexArray(mState)), in VertexArray()
128 for (VertexBinding &binding : mState.mVertexBindings) in onDestroy()
137 if (isBound && mState.mElementArrayBuffer.get()) in onDestroy()
138 mState.mElementArrayBuffer->onNonTFBindingChanged(-1); in onDestroy()
139 mState.mElementArrayBuffer.bind(context, nullptr); in onDestroy()
152 mState.mLabel = label; in setLabel()
157 return mState.mLabel; in getLabel()
166 VertexBinding &binding = mState.mVertexBindings[bindingIndex]; in detachBuffer()
192 mState.mClientMemoryAttribsMask |= binding.getBoundAttributesMask(); in detachBuffer()
[all …]
DContext.cpp325 : mState(shareContext ? &shareContext->mState : nullptr, in Context()
345 ->createContext(mState, &mErrors, config, shareContext, attribs)), in Context()
415 mState.initialize(this); in initializeDefaultResources()
454 for (int i = 0; i < mState.mCaps.maxAtomicCounterBufferBindings; i++) in initializeDefaultResources()
459 for (int i = 0; i < mState.mCaps.maxShaderStorageBufferBindings; i++) in initializeDefaultResources()
503 mState.initializeZeroTextures(this, mZeroTextures); in initializeDefaultResources()
508 mState.getShareGroup()->getContexts()->insert(this); in initializeDefaultResources()
528 for (int i = 0; i < mState.mCaps.maxUniformBufferBindings; i++) in initializeDefaultResources()
621 mGLES1Renderer->onDestroy(this, &mState); in onDestroy()
676 mState.reset(this); in onDestroy()
[all …]
DBuffer.h126 const BufferState &getState() const { return mState; } in getState()
127 BufferUsage getUsage() const { return mState.mUsage; } in getUsage()
128 GLbitfield getAccessFlags() const { return mState.mAccessFlags; } in getAccessFlags()
129 GLenum getAccess() const { return mState.mAccess; } in getAccess()
130 GLboolean isMapped() const { return mState.mMapped; } in isMapped()
131 void *getMapPointer() const { return mState.mMapPointer; } in getMapPointer()
132 GLint64 getMapOffset() const { return mState.mMapOffset; } in getMapOffset()
133 GLint64 getMapLength() const { return mState.mMapLength; } in getMapLength()
134 GLint64 getSize() const { return mState.mSize; } in getSize()
136 GLboolean isImmutable() const { return mState.mImmutable; } in isImmutable()
[all …]
DRenderbuffer.cpp90 mState(), in Renderbuffer()
91 mImplementation(implFactory->createRenderbuffer(mState)), in Renderbuffer()
128 mState.update(width, height, Format(internalformat), 0, MultisamplingMode::Regular, in setStorage()
151 mState.update(width, height, Format(internalformat), samples, mode, InitState::MayNeedInit); in setStorageMultisample()
164 mState.update(static_cast<GLsizei>(image->getWidth()), static_cast<GLsizei>(image->getHeight()), in setStorageEGLImageTarget()
222 return mState.mWidth; in getWidth()
227 return mState.mHeight; in getHeight()
232 return mState.mFormat; in getFormat()
237 return mState.mMultisamplingMode == MultisamplingMode::Regular ? mState.mSamples : 0; in getSamples()
242 return mState.mMultisamplingMode; in getMultisamplingMode()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp56 mState.depthClearValue = 1.0f; in Context()
57 mState.stencilClearValue = 0; in Context()
59 mState.cullFaceEnabled = false; in Context()
60 mState.cullMode = GL_BACK; in Context()
61 mState.frontFace = GL_CCW; in Context()
62 mState.depthTestEnabled = false; in Context()
63 mState.depthFunc = GL_LESS; in Context()
64 mState.blendEnabled = false; in Context()
65 mState.sourceBlendRGB = GL_ONE; in Context()
66 mState.sourceBlendAlpha = GL_ONE; in Context()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp55 mState.depthClearValue = 1.0f; in Context()
56 mState.stencilClearValue = 0; in Context()
58 mState.cullFaceEnabled = false; in Context()
59 mState.cullMode = GL_BACK; in Context()
60 mState.frontFace = GL_CCW; in Context()
61 mState.depthTestEnabled = false; in Context()
62 mState.depthFunc = GL_LESS; in Context()
63 mState.blendEnabled = false; in Context()
64 mState.sourceBlendRGB = GL_ONE; in Context()
65 mState.sourceBlendAlpha = GL_ONE; in Context()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DDoorAnimationComponent.java40 private int mState; field in DoorAnimationComponent
56 mState = STATE_CLOSED; in reset()
73 mState = STATE_OPEN; in open()
79 if (mState == STATE_CLOSING) { in open()
91 mState = STATE_OPENING; in open()
112 mState = STATE_CLOSED; in close()
118 if (mState == STATE_OPENING) { in close()
122 mState = STATE_CLOSING; in close()
145 && (mState == STATE_CLOSED || mState == STATE_CLOSING)) { in update()
149 && (mState == STATE_OPEN || mState == STATE_OPENING)) { in update()
[all …]
DEnemyAnimationComponent.java45 private AnimationState mState; field in EnemyAnimationComponent
56 mState = AnimationState.IDLING; in reset()
69 switch(mState) { in update()
77 mState = AnimationState.ATTACKING; in update()
79 mState = AnimationState.HIDING; in update()
81 mState = AnimationState.MOVING; in update()
98 mState = AnimationState.ATTACKING; in update()
100 mState = AnimationState.HIDING; in update()
102 mState = AnimationState.IDLING; in update()
109 mState = AnimationState.IDLING; in update()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DImageVk.cpp43 else if (egl::IsExternalImageTarget(mState.target)) in onDestroy()
45 ASSERT(mState.source != nullptr); in onDestroy()
47 GetImplAs<ExternalImageSiblingVk>(GetAs<egl::ExternalImageSibling>(mState.source)); in onDestroy()
60 if (egl::IsTextureTarget(mState.target)) in initialize()
62 TextureVk *textureVk = GetImplAs<TextureVk>(GetAs<gl::Texture>(mState.source)); in initialize()
76 mImageTextureType = mState.imageIndex.getType(); in initialize()
77 mImageLevel = gl::LevelIndex(mState.imageIndex.getLevelIndex()); in initialize()
78 mImageLayer = mState.imageIndex.hasLayer() ? mState.imageIndex.getLayerIndex() : 0; in initialize()
83 if (egl::IsRenderbufferTarget(mState.target)) in initialize()
86 GetImplAs<RenderbufferVk>(GetAs<gl::Renderbuffer>(mState.source)); in initialize()
[all …]
/external/oboe/src/common/
DLatencyTuner.cpp35 if (mState == State::Unsupported) { in tune()
49 if (mState == State::Idle && --mIdleCountDown <= 0) { in tune()
50 mState = State::Active; in tune()
54 if (mState == State::Active) { in tune()
73 mState = State::Unsupported; in tune()
75 mState = State::AtMax; in tune()
79 mState = State::Unsupported; in tune()
83 if (mState == State::Unsupported) { in tune()
87 if (mState == State::AtMax) { in tune()
94 if (mState != State::Unsupported) { in requestReset()
[all …]
/external/oboe/apps/OboeTester/app/src/main/cpp/analyzer/
DGlitchAnalyzer.h42 return mState; in getState()
89 << mState << "\n"; in analyze()
93 bool gotLock = (mState == STATE_LOCKED) || (mGlitchCount > 0); in analyze()
112 ALOGD("st = %d, #gl = %3d,", mState, mGlitchCount); in printStatus()
138 mStateFrameCounters[mState]++; // count how many frames we are in each state in processInputFrame()
140 switch (mState) { in processInputFrame()
144 mState = STATE_IMMUNE; in processInputFrame()
154 mState = STATE_WAITING_FOR_SIGNAL; in processInputFrame()
160 mState = STATE_WAITING_FOR_LOCK; in processInputFrame()
177 mState = STATE_LOCKED; in processInputFrame()
[all …]
/external/tremolo/fuzzer/
Dvorbis_dec_fuzzer.cpp46 vorbis_dsp_state *mState = nullptr; member in Codec
57 mState = new vorbis_dsp_state{}; in initDecoder()
58 if (!mState) { in initDecoder()
61 vorbis_dsp_clear(mState); in initDecoder()
112 vorbis_dsp_clear(mState); in decodeFrames()
113 if (0 != vorbis_dsp_init(mState, mVi)) { in decodeFrames()
161 int ret = vorbis_dsp_synthesis(mState, &pack, 1); in decodeFrames()
166 vorbis_dsp_pcmout(mState, outputBuf, kMaxNumSamplesPerChannel); in decodeFrames()
171 if (mState) { in deInitDecoder()
172 vorbis_dsp_clear(mState); in deInitDecoder()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cSparseTextureTests.cpp1618 , mState() in SparseTextureCommitmentTestCase()
1631 : TestCase(context, name, description), mState() in SparseTextureCommitmentTestCase()
1724 for (int l = 0; l < mState.levels; ++l) in iterate()
1728 for (int l = 0; l < mState.levels; ++l) in iterate()
1812 mState.minDepth = SparseTextureUtils::getTargetDepth(target); in prepareTexture()
1813 …eTextureUtils::getTexturePageSizes(gl, target, format, mState.pageSizeX, mState.pageSizeY, mState.… in prepareTexture()
1818 if (mState.pageSizeX > mState.pageSizeY) in prepareTexture()
1819 mState.pageSizeY = mState.pageSizeX; in prepareTexture()
1820 else if (mState.pageSizeX < mState.pageSizeY) in prepareTexture()
1821 mState.pageSizeX = mState.pageSizeY; in prepareTexture()
[all …]
/external/angle/src/libANGLE/renderer/gl/
DSamplerGL.cpp93 …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()
101 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_COMPARE_MO… in syncState()
102 …SyncSamplerStateMember(mFunctions, mSamplerID, mState, mAppliedSamplerState, GL_TEXTURE_COMPARE_FU… in syncState()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp69 const auto &colorAttachments = mState.getColorAttachments(); in markAttachmentsDirty()
70 for (size_t drawBuffer : mState.getEnabledDrawBuffers()) in markAttachmentsDirty()
77 const gl::FramebufferAttachment *dsAttachment = mState.getDepthOrStencilAttachment(); in markAttachmentsDirty()
91 const gl::FramebufferAttachment *colorAttachment = mState.getFirstColorAttachment(); in clearImpl()
103 ANGLE_TRY(clearer->clearFramebuffer(context, presentPathFastClearParams, mState)); in clearImpl()
107 ANGLE_TRY(clearer->clearFramebuffer(context, clearParams, mState)); in clearImpl()
172 mState.getColorAttachment(colorIndex); in invalidateBase()
194 discardStencil = foundStencil && (!discardDepth || mState.getDepthAttachment() == nullptr); in invalidateBase()
204 (foundDepth && (mState.getStencilAttachment() == nullptr)); in invalidateBase()
205 discardStencil = (foundStencil && (mState.getDepthAttachment() == nullptr)); in invalidateBase()
[all …]

1234567