Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 25 of 122) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp84 : mType(TextureType::InvalidEnum), mLevelIndex(0), mLayerIndex(0), mLayerCount(kEntireLevel) in ImageIndex()
98 switch (mType) in isLayered()
115 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
116 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
121 return mType == TextureType::_3D || mType == TextureType::_2DArray || in usesTex3D()
122 mType == TextureType::_2DMultisampleArray || mType == TextureType::CubeMapArray; in usesTex3D()
127 return TextureTypeToTarget(mType, mLayerIndex); in getTarget()
144 ASSERT(mType == TextureType::CubeMap); in cubeMapFaceIndex()
151 return mType != TextureType::InvalidEnum; in valid()
156 return mType == TextureType::CubeMap && mLayerIndex == ImageIndex::kEntireLevel; in isEntireLevelCubeMap()
[all …]
DFramebufferAttachment.cpp51 : mType(GL_NONE), in FramebufferAttachment()
79 std::swap(mType, other.mType); in operator =()
96 mType = GL_NONE; in detach()
127 mType = type; in attach()
190 ASSERT(mType == GL_TEXTURE); in cubeMapFace()
204 ASSERT(mType == GL_TEXTURE); in layer()
227 ASSERT(mRenderToTextureSamples == kDefaultRenderToTextureSamples || mType == GL_TEXTURE); in isRenderToTexture()
229 if (mType == GL_RENDERBUFFER) in isRenderToTexture()
239 ASSERT(mRenderToTextureSamples == kDefaultRenderToTextureSamples || mType == GL_TEXTURE); in getRenderToTextureSamples()
241 if (mType == GL_RENDERBUFFER) in getRenderToTextureSamples()
[all …]
DTexture.cpp137 : mType(type), in TextureState()
195 if (mType == TextureType::_3D) in getMipmapMaxLevel()
237 ASSERT(mType == TextureType::CubeMap); in isCubeComplete()
264 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc()
270 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getLevelZeroDesc()
325 if (mType == TextureType::Buffer) in computeSamplerCompleteness()
344 if (mType == TextureType::CubeMap && baseImageDesc.size.width != baseImageDesc.size.height) in computeSamplerCompleteness()
354 if (!IsMultisampled(mType) && in computeSamplerCompleteness()
373 if (IsMipmapSupported(mType) && IsMipmapFiltered(samplerState.getMinFilter())) in computeSamplerCompleteness()
390 if (mType == TextureType::CubeMap && !isCubeComplete()) in computeSamplerCompleteness()
[all …]
DFramebufferAttachment.h94 return mType == GL_TEXTURE && id() == textureId.value; in isTextureWithId()
98 return mType == GL_TEXTURE && getTextureImageIndex().getType() == gl::TextureType::External; in isExternalTexture()
102 return mType == GL_RENDERBUFFER && id() == renderbufferId; in isRenderbufferWithId()
132 GLenum type() const { return mType; } in type()
133 bool isAttached() const { return mType != GL_NONE; } in isAttached()
189 GLenum mType; variable
DEGLSync.cpp23 mType(type), in Sync()
48 if ((mType == EGL_SYNC_NATIVE_FENCE_ANDROID) && in Sync()
66 return mFence->initialize(display, context, mType); in initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSurface.cpp157 mType = Type::MetalLayer; in Surface()
160 mType = Type::WindowsHWND; in Surface()
165 mType = Type::WindowsCoreWindow; in Surface()
170 mType = Type::WindowsSwapChainPanel; in Surface()
174 mType = Type::Xlib; in Surface()
202 return mType; in GetType()
206 ASSERT(mType == Type::MetalLayer); in GetMetalLayer()
211 ASSERT(mType == Type::WindowsHWND); in GetHInstance()
215 ASSERT(mType == Type::WindowsHWND); in GetHWND()
220 ASSERT(mType == Type::WindowsCoreWindow); in GetCoreWindow()
[all …]
DErrorData.cpp34 : mType(type), mMessage(std::move(message)) { in ErrorData()
55 return mType; in GetType()
86 if (mContexts.empty() || mType != InternalErrorType::Validation) { in GetFormattedMessage()
DBackendConnection.cpp20 : mInstance(instance), mType(type) { in BackendConnection()
24 return mType; in GetType()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp86 : mType(TextureType::InvalidEnum), mLevelIndex(0), mLayerIndex(0), mLayerCount(kEntireLevel) in ImageIndex()
100 switch (mType) in isLayered()
116 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()
117 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()
122 return mType == TextureType::_3D || mType == TextureType::_2DArray || in usesTex3D()
123 mType == TextureType::_2DMultisampleArray; in usesTex3D()
128 return TextureTypeToTarget(mType, mLayerIndex); in getTarget()
145 ASSERT(mType == TextureType::CubeMap); in cubeMapFaceIndex()
152 return mType != TextureType::InvalidEnum; in valid()
157 return mType == TextureType::CubeMap && mLayerIndex == ImageIndex::kEntireLevel; in isEntireLevelCubeMap()
[all …]
DTexture.cpp97 : mType(type), in TextureState()
151 if (mType == TextureType::_3D) in getMipmapMaxLevel()
193 ASSERT(mType == TextureType::CubeMap); in isCubeComplete()
220 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc()
288 if (mType == TextureType::CubeMap && baseImageDesc.size.width != baseImageDesc.size.height) in computeSamplerCompleteness()
298 if (!IsMultisampled(mType) && in computeSamplerCompleteness()
316 if (mType != TextureType::_2DMultisample && IsMipmapFiltered(samplerState)) in computeSamplerCompleteness()
333 if (mType == TextureType::CubeMap && !isCubeComplete()) in computeSamplerCompleteness()
347 if (mType == TextureType::External) in computeSamplerCompleteness()
366 if (!IsMultisampled(mType) && baseImageDesc.format.info->depthBits > 0 && in computeSamplerCompleteness()
[all …]
DFramebufferAttachment.cpp50 : mType(GL_NONE), in FramebufferAttachment()
76 std::swap(mType, other.mType); in operator =()
92 mType = GL_NONE; in detach()
121 mType = type; in attach()
183 ASSERT(mType == GL_TEXTURE); in cubeMapFace()
197 ASSERT(mType == GL_TEXTURE); in layer()
240 if (mResource != other.mResource || mType != other.mType || mNumViews != other.mNumViews || in operator ==()
246 if (mType == GL_TEXTURE && getTextureImageIndex() != other.getTextureImageIndex()) in operator ==()
DFramebufferAttachment.h96 return mType == GL_TEXTURE && id() == textureId; in isTextureWithId()
100 return mType == GL_RENDERBUFFER && id() == renderbufferId; in isRenderbufferWithId()
124 GLenum type() const { return mType; } in type()
125 bool isAttached() const { return mType != GL_NONE; } in isAttached()
178 GLenum mType; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DQueryVk.cpp124 if (IsRenderPassQuery(contextVk, mType)) in allocateQuery()
130 return contextVk->getQueryPool(mType)->allocateQuery(contextVk, &mQueryHelper.get(), in allocateQuery()
143 ASSERT(!IsEmulatedTransformFeedbackQuery(contextVk, mType)); in releaseQueries()
145 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(mType); in releaseQueries()
162 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(mType); in releaseStashedQueries()
177 if (!IsEmulatedTransformFeedbackQuery(contextVk, mType)) in onDestroy()
192 ASSERT(IsRenderPassQuery(contextVk, mType)); in onRenderPassStart()
200 QueryVk *shareQuery = GetOnRenderPassStartEndShareQuery(contextVk, mType); in onRenderPassStart()
216 ASSERT(IsRenderPassQuery(contextVk, mType)); in onRenderPassEnd()
218 QueryVk *shareQuery = GetOnRenderPassStartEndShareQuery(contextVk, mType); in onRenderPassEnd()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DQuery.cpp30 mType = type; in Query()
43 switch(mType) in begin()
53 UNREACHABLE(mType); in begin()
69 switch(mType) in begin()
94 switch(mType) in end()
136 return mType; in getType()
148 switch(mType) in testQuery()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMidiPortSelector.java38 private int mType = MidiDeviceInfo.PortInfo.TYPE_INPUT; field in MidiPortSelector
58 mType = type; in MidiPortSelector()
99 int portCount = (mType == MidiDeviceInfo.PortInfo.TYPE_INPUT) in getInfoPortCount()
108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded()
119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved()
135 if (mType == MidiDeviceInfo.PortInfo.TYPE_INPUT) { in onDeviceStatusChanged()
138 + ", mType = " + mType in onDeviceStatusChanged()
144 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceStatusChanged()
DMidiPortWrapper.java25 private int mType; field in MidiPortWrapper
36 mType = portType; in MidiPortWrapper()
75 && portInfo.getType() == mType) { in findPortInfo()
107 if (mType != otherWrapper.mType) in equals()
118 hashCode = 31 * hashCode + mType; in hashCode()
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DResult.h187 PayloadType mType; variable
363 Result<T, E>::Result(T&& success) : mType(Success), mSuccess(std::move(success)) { in Result()
367 Result<T, E>::Result(E&& error) : mType(Error), mError(std::move(error)) { in Result()
372 ASSERT(mType == Acquired); in ~Result()
377 : mType(other.mType), mError(std::move(other.mError)), mSuccess(std::move(other.mSuccess)) { in Result()
378 other.mType = Acquired; in Result()
382 mType = other.mType;
385 other.mType = Acquired;
391 return mType == Error; in IsError()
396 return mType == Success; in IsSuccess()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_common.mm27 mType = src.mType;
35 mType = PixelType::Float;
44 mType = PixelType::Int;
53 mType = PixelType::UInt;
62 switch (mType)
Dmtl_common.h489 : mType(PixelType::Float), mRedF(0), mGreenF(0), mBlueF(0), mAlphaF(0) in ANGLE_GL_OBJECTS_X()
492 : mType(PixelType::Float), mRedF(r), mGreenF(g), mBlueF(b), mAlphaF(a) in ANGLE_GL_OBJECTS_X()
495 : mType(PixelType::Int), mRedI(r), mGreenI(g), mBlueI(b), mAlphaI(a) in ANGLE_GL_OBJECTS_X()
498 : mType(PixelType::UInt), mRedU(r), mGreenU(g), mBlueU(b), mAlphaU(a) in ANGLE_GL_OBJECTS_X()
501 : mType(src.mType), mValueBytes(src.mValueBytes) in ANGLE_GL_OBJECTS_X()
506 PixelType getType() const { return mType; } in ANGLE_GL_OBJECTS_X()
517 PixelType mType; in ANGLE_GL_OBJECTS_X()
/third_party/skia/third_party/externals/dawn/src/common/
DResult.h230 PayloadType mType; variable
469 Result<T, E>::Result(T&& success) : mType(Success), mSuccess(std::move(success)) { in Result()
473 Result<T, E>::Result(std::unique_ptr<E> error) : mType(Error), mError(std::move(error)) { in Result()
478 ASSERT(mType == Acquired); in ~Result()
483 : mType(other.mType), mError(std::move(other.mError)), mSuccess(std::move(other.mSuccess)) { in Result()
484 other.mType = Acquired; in Result()
488 mType = other.mType;
491 other.mType = Acquired;
497 return mType == Error; in IsError()
502 return mType == Success; in IsSuccess()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DQueryImpl.h26 explicit QueryImpl(gl::QueryType type) : mType(type) {} in QueryImpl()
40 gl::QueryType getType() const { return mType; } in getType()
43 gl::QueryType mType;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DQueryImpl.h26 explicit QueryImpl(gl::QueryType type) : mType(type) {} in QueryImpl()
40 gl::QueryType getType() const { return mType; } in getType()
43 gl::QueryType mType;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DQueryGL.cpp60 mType(type), in StandardQueryGL()
72 mStateManager->endQuery(mType, this, mActiveQuery); in ~StandardQueryGL()
98 ASSERT(mType == gl::QueryType::Timestamp); in queryCounter()
155 mStateManager->endQuery(mType, this, mActiveQuery); in pause()
172 mStateManager->beginQuery(mType, this, mActiveQuery); in resume()
200 mResultSum = MergeQueryResults(mType, mResultSum, result); in flush()
206 mResultSum = MergeQueryResults(mType, mResultSum, static_cast<GLuint64>(result)); in flush()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DBackendConnection.cpp20 : mInstance(instance), mType(type) { in BackendConnection()
24 return mType; in GetType()
DErrorData.cpp22 : mType(type), mMessage(std::move(message)) { in ErrorData()
35 return mType; in GetType()

12345