Home
last modified time | relevance | path

Searched refs:ANGLE_INLINE (Results 1 – 25 of 86) sorted by relevance

1234

/external/angle/src/libGLESv2/
Degl_context_lock_impl.h17 ANGLE_INLINE ScopedContextMutexLock GetContextLock_ChooseConfig(Thread *thread, in GetContextLock_ChooseConfig()
23 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CopyBuffers(Thread *thread, in GetContextLock_CopyBuffers()
29 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreateContext(Thread *thread, in GetContextLock_CreateContext()
36 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreatePbufferSurface(Thread *thread, in GetContextLock_CreatePbufferSurface()
42 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreatePixmapSurface(Thread *thread, in GetContextLock_CreatePixmapSurface()
48 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreateWindowSurface(Thread *thread, in GetContextLock_CreateWindowSurface()
54 ANGLE_INLINE ScopedContextMutexLock GetContextLock_DestroyContext(Thread *thread, in GetContextLock_DestroyContext()
62 ANGLE_INLINE ScopedContextMutexLock GetContextLock_DestroySurface(Thread *thread, in GetContextLock_DestroySurface()
68 ANGLE_INLINE ScopedContextMutexLock GetContextLock_GetConfigAttrib(Thread *thread, in GetContextLock_GetConfigAttrib()
75 ANGLE_INLINE ScopedContextMutexLock GetContextLock_GetConfigs(Thread *thread, in GetContextLock_GetConfigs()
[all …]
Dglobal_state.h55 ANGLE_INLINE ScopedContextMutexLock TryLockCurrentContext(Thread *thread) in TryLockCurrentContext()
66 ANGLE_INLINE ScopedContextMutexLock TryLockContextForThread(Thread *thread, in TryLockContextForThread()
80 ANGLE_INLINE ScopedContextMutexLock TryLockAndActivateSharedContextMutex(Display *display, in TryLockAndActivateSharedContextMutex()
92 ANGLE_INLINE ScopedContextMutexLock LockAndTryMergeSharedContextMutexes(gl::Context *context, in LockAndTryMergeSharedContextMutexes()
125 ANGLE_INLINE Context *GetGlobalContext() in GetGlobalContext()
136 ANGLE_INLINE Context *GetValidGlobalContext() in GetValidGlobalContext()
160 static ANGLE_INLINE void DirtyContextIfNeeded(Context *context) in DirtyContextIfNeeded()
/external/angle/src/compiler/translator/msl/
DAsNode.h28 static ANGLE_INLINE TIntermNode *exec(TIntermNode *node) { return node; }
34 static ANGLE_INLINE TIntermTyped *exec(TIntermNode *node)
43 static ANGLE_INLINE TIntermSymbol *exec(TIntermNode *node)
52 static ANGLE_INLINE TIntermConstantUnion *exec(TIntermNode *node)
61 static ANGLE_INLINE TIntermFunctionPrototype *exec(TIntermNode *node)
70 static ANGLE_INLINE TIntermPreprocessorDirective *exec(TIntermNode *node)
79 static ANGLE_INLINE TIntermSwizzle *exec(TIntermNode *node)
88 static ANGLE_INLINE TIntermBinary *exec(TIntermNode *node)
97 static ANGLE_INLINE TIntermUnary *exec(TIntermNode *node)
106 static ANGLE_INLINE TIntermTernary *exec(TIntermNode *node)
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h701 ANGLE_INLINE void CommandPool::destroy(VkDevice device)
710 ANGLE_INLINE VkResult CommandPool::reset(VkDevice device, VkCommandPoolResetFlags flags)
716 ANGLE_INLINE void CommandPool::freeCommandBuffers(VkDevice device,
724 ANGLE_INLINE VkResult CommandPool::init(VkDevice device, const VkCommandPoolCreateInfo &createInfo)
734 ANGLE_INLINE VkCommandBuffer CommandBuffer::releaseHandle()
741 ANGLE_INLINE VkResult CommandBuffer::init(VkDevice device,
748 ANGLE_INLINE void CommandBuffer::blitImage(const Image &srcImage,
762 ANGLE_INLINE VkResult CommandBuffer::begin(const VkCommandBufferBeginInfo &info)
768 ANGLE_INLINE VkResult CommandBuffer::end()
774 ANGLE_INLINE VkResult CommandBuffer::reset()
[all …]
DSuballocation.h204 ANGLE_INLINE VkMemoryPropertyFlags BufferBlock::getMemoryPropertyFlags() const in getMemoryPropertyFlags()
209 ANGLE_INLINE VkDeviceSize BufferBlock::getMemorySize() const in getMemorySize()
214 ANGLE_INLINE VkBool32 BufferBlock::isEmpty() in isEmpty()
220 ANGLE_INLINE bool BufferBlock::isHostVisible() const in isHostVisible()
225 ANGLE_INLINE bool BufferBlock::isCoherent() const in isCoherent()
230 ANGLE_INLINE bool BufferBlock::isMapped() const in isMapped()
235 ANGLE_INLINE uint8_t *BufferBlock::getMappedMemory() const in getMappedMemory()
242 ANGLE_INLINE BufferSuballocation::BufferSuballocation() in BufferSuballocation()
246 ANGLE_INLINE BufferSuballocation::BufferSuballocation(BufferSuballocation &&other) in BufferSuballocation()
252 ANGLE_INLINE BufferSuballocation &BufferSuballocation::operator=(BufferSuballocation &&other)
[all …]
DVulkanSecondaryCommandBuffer.h257 ANGLE_INLINE void VulkanSecondaryCommandBuffer::blitImage(const Image &srcImage, in blitImage()
270 ANGLE_INLINE void VulkanSecondaryCommandBuffer::beginQuery(const QueryPool &queryPool, in beginQuery()
278 ANGLE_INLINE void VulkanSecondaryCommandBuffer::endQuery(const QueryPool &queryPool, uint32_t query) in endQuery()
284 ANGLE_INLINE void VulkanSecondaryCommandBuffer::writeTimestamp( in writeTimestamp()
293 ANGLE_INLINE void VulkanSecondaryCommandBuffer::clearColorImage( in clearColorImage()
304 ANGLE_INLINE void VulkanSecondaryCommandBuffer::clearDepthStencilImage( in clearDepthStencilImage()
315 ANGLE_INLINE void VulkanSecondaryCommandBuffer::clearAttachments( in clearAttachments()
326 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyBuffer(const Buffer &srcBuffer, in copyBuffer()
335 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyBufferToImage(VkBuffer srcBuffer, in copyBufferToImage()
345 ANGLE_INLINE void VulkanSecondaryCommandBuffer::copyImageToBuffer(const Image &srcImage, in copyImageToBuffer()
[all …]
DCommandGraph.h74 ANGLE_INLINE void onRenderPassFinished() { mRenderPassCommandBuffer = nullptr; } in onRenderPassFinished()
199 ANGLE_INLINE void addGlobalMemoryBarrier(VkFlags srcAccess, in addGlobalMemoryBarrier()
208 ANGLE_INLINE void setActiveTransformFeedbackInfo(size_t validBufferCount, in setActiveTransformFeedbackInfo()
229 ANGLE_INLINE void setHasChildren() in setHasChildren()
316 ANGLE_INLINE bool valid() const { return mUse != nullptr; } in valid()
325 ANGLE_INLINE void release() in release()
336 ANGLE_INLINE void releaseAndUpdateSerial(Serial serial) in releaseAndUpdateSerial()
345 ANGLE_INLINE void set(const SharedResourceUse &rhs) in set()
356 ANGLE_INLINE bool hasRecordedCommands() const in hasRecordedCommands()
362 ANGLE_INLINE bool hasRunningCommands(Serial lastCompletedSerial) const in hasRunningCommands()
[all …]
DSecondaryCommandBuffer.h614 ANGLE_INLINE DestT *Offset(T *ptr, size_t bytes) in Offset()
620 ANGLE_INLINE const DestT *Offset(const T *ptr, size_t bytes) in Offset()
951 ANGLE_INLINE StructType *commonInit(CommandID cmdID, size_t allocationSize, uint8_t *header) in commonInit()
967 ANGLE_INLINE StructType *initCommand(CommandID cmdID, in initCommand()
986 ANGLE_INLINE StructType *initCommand(CommandID cmdID) in initCommand()
1009 ANGLE_INLINE uint8_t *storePointerParameter(uint8_t *writePointer, in storePointerParameter()
1028 ANGLE_INLINE SecondaryCommandBuffer::SecondaryCommandBuffer() : mIsOpen(true) in SecondaryCommandBuffer()
1033 ANGLE_INLINE SecondaryCommandBuffer::~SecondaryCommandBuffer() in ~SecondaryCommandBuffer()
1039 ANGLE_INLINE void SecondaryCommandBuffer::commonDebugUtilsLabel(CommandID cmd, in commonDebugUtilsLabel()
1054 ANGLE_INLINE void SecondaryCommandBuffer::beginDebugUtilsLabelEXT(const VkDebugUtilsLabelEXT &label) in beginDebugUtilsLabelEXT()
[all …]
DRendererVk.h281 ANGLE_INLINE egl::ContextPriority getDriverPriority(egl::ContextPriority priority) in getDriverPriority()
285 ANGLE_INLINE uint32_t getDeviceQueueIndex() { return mCommandQueue.getDeviceQueueIndex(); } in getDeviceQueueIndex()
418 ANGLE_INLINE bool isCommandQueueBusy() in isCommandQueueBusy()
648 ANGLE_INLINE VkFilter getPreferredFilterForYUV(VkFilter defaultFilter) in getPreferredFilterForYUV()
656 ANGLE_INLINE bool useVertexInputBindingStrideDynamicState() in useVertexInputBindingStrideDynamicState()
661 ANGLE_INLINE bool useCullModeDynamicState() in useCullModeDynamicState()
666 ANGLE_INLINE bool useDepthCompareOpDynamicState() in useDepthCompareOpDynamicState()
671 ANGLE_INLINE bool useDepthTestEnableDynamicState() in useDepthTestEnableDynamicState()
676 ANGLE_INLINE bool useDepthWriteEnableDynamicState() in useDepthWriteEnableDynamicState()
681 ANGLE_INLINE bool useFrontFaceDynamicState() in useFrontFaceDynamicState()
[all …]
Dvk_cache_utils.h1183 ANGLE_INLINE GraphicsPipelineTransition::GraphicsPipelineTransition() = default;
1185 ANGLE_INLINE GraphicsPipelineTransition::GraphicsPipelineTransition(
1188 ANGLE_INLINE GraphicsPipelineTransition::GraphicsPipelineTransition( in GraphicsPipelineTransition()
1195 ANGLE_INLINE bool GraphicsPipelineTransitionMatch(GraphicsPipelineTransitionBits bitsA, in GraphicsPipelineTransitionMatch()
1351 ANGLE_INLINE bool findTransition(GraphicsPipelineTransitionBits bits, in findTransition()
1452 ANGLE_INLINE PipelineHelper::PipelineHelper(Pipeline &&pipeline, CacheLookUpFeedback feedback) in PipelineHelper()
1674 ANGLE_INLINE const SharedDescriptorSetCacheKey
1842 ANGLE_INLINE void setWriteControlMode(gl::SrgbWriteControlMode mode) in setWriteControlMode()
1860 ANGLE_INLINE gl::SrgbWriteControlMode getWriteControlMode() const in getWriteControlMode()
1913 ANGLE_INLINE const SharedFramebufferCacheKey
[all …]
/external/angle/src/libANGLE/
DSharedContextMutex.h34 ANGLE_INLINE void addRef() { ++mRefCount; } in addRef()
35 ANGLE_INLINE void release() { release(UnlockBehaviour::kNotUnlock); } in release()
36 ANGLE_INLINE void releaseAndUnlock() { release(UnlockBehaviour::kUnlock); } in releaseAndUnlock()
37 ANGLE_INLINE bool isReferenced() const { return mRefCount > 0; } in isReferenced()
68 ANGLE_INLINE ScopedContextMutexAddRefLock() = default;
69 ANGLE_INLINE explicit ScopedContextMutexAddRefLock(ContextMutex *mutex) { lock(mutex); } in ScopedContextMutexAddRefLock()
70 ANGLE_INLINE ScopedContextMutexAddRefLock(ContextMutex *mutex, ContextMutexMayBeNullTag) in ScopedContextMutexAddRefLock()
77 ANGLE_INLINE ~ScopedContextMutexAddRefLock() in ~ScopedContextMutexAddRefLock()
95 ANGLE_INLINE ScopedContextMutexLock() = default;
96 ANGLE_INLINE ScopedContextMutexLock(ContextMutex *mutex, gl::Context *context) in ScopedContextMutexLock()
[all …]
DContext.inl.h39 ANGLE_INLINE void MarkTransformFeedbackBufferUsage(const Context *context, in MarkTransformFeedbackBufferUsage()
50 ANGLE_INLINE void MarkShaderStorageUsage(const Context *context) in MarkShaderStorageUsage()
78 ANGLE_INLINE bool Context::noopDraw(PrimitiveMode mode, GLsizei count) const in noopDraw()
88 ANGLE_INLINE bool Context::noopMultiDraw(GLsizei drawcount) const in noopMultiDraw()
93 ANGLE_INLINE angle::Result Context::syncAllDirtyBits(Command command) in syncAllDirtyBits()
106 ANGLE_INLINE angle::Result Context::syncDirtyBits(const state::DirtyBits bitMask, in syncDirtyBits()
120 ANGLE_INLINE angle::Result Context::syncDirtyObjects(const state::DirtyObjects &objectMask, in syncDirtyObjects()
126 ANGLE_INLINE angle::Result Context::prepareForDraw(PrimitiveMode mode) in prepareForDraw()
139 ANGLE_INLINE void Context::drawArrays(PrimitiveMode mode, GLint first, GLsizei count) in drawArrays()
153 ANGLE_INLINE void Context::drawElements(PrimitiveMode mode, in drawElements()
[all …]
Dformatutils.h60 ANGLE_INLINE GLenum GetNonLinearFormat(const GLenum format) in GetNonLinearFormat()
79 ANGLE_INLINE bool ColorspaceFormatOverride(const EGLenum colorspace, GLenum *rendertargetformat) in ColorspaceFormatOverride()
113 ANGLE_INLINE const Type GetTypeInfo(GLenum type) in GetTypeInfo()
123 ANGLE_INLINE GLuint GetDrawElementsTypeSize(DrawElementsType type) in GetDrawElementsTypeSize()
128 ANGLE_INLINE GLuint GetDrawElementsTypeShift(DrawElementsType type) in GetDrawElementsTypeShift()
189 ANGLE_INLINE bool isChannelSizeCompatible(GLuint redSize, in isChannelSizeCompatible()
307 ANGLE_INLINE int GetNativeVisualID(const InternalFormat &internalFormat) in GetNativeVisualID()
375 ANGLE_INLINE bool IsS3TCFormat(const GLenum format) in IsS3TCFormat()
394 ANGLE_INLINE bool IsRGTCFormat(const GLenum format) in IsRGTCFormat()
409 ANGLE_INLINE bool IsBPTCFormat(const GLenum format) in IsBPTCFormat()
[all …]
DGlobalMutex.cpp26 ANGLE_INLINE void lock() { mMutex.lock(); } in lock()
27 ANGLE_INLINE void unlock() { mMutex.unlock(); } in unlock()
39 ANGLE_INLINE void lock() in lock()
48 ANGLE_INLINE void unlock() in unlock()
56 ANGLE_INLINE angle::ThreadId getOwnerThreadId() const in getOwnerThreadId()
71 ANGLE_INLINE void lock() in lock()
90 ANGLE_INLINE void unlock() in unlock()
102 ANGLE_INLINE angle::ThreadId getOwnerThreadId() const in getOwnerThreadId()
DObserver.h126 ANGLE_INLINE size_t getObserversCount() const { return mObservers.size(); } in getObserversCount()
128 ANGLE_INLINE void addObserver(ObserverBindingBase *observer) in addObserver()
133 ANGLE_INLINE void removeObserver(ObserverBindingBase *observer) in removeObserver()
157 ANGLE_INLINE void reset() { bind(nullptr); } in reset()
162 ANGLE_INLINE const Subject *getSubject() const { return mSubject; } in getSubject()
164 ANGLE_INLINE void assignSubject(Subject *subject) { mSubject = subject; } in assignSubject()
DvalidationES2.h18 ANGLE_INLINE bool ValidateDrawArrays(const Context *context, in ValidateDrawArrays()
27 ANGLE_INLINE bool ValidateUniform2f(const Context *context, in ValidateUniform2f()
36 ANGLE_INLINE bool ValidateBindBuffer(const Context *context, in ValidateBindBuffer()
57 ANGLE_INLINE bool ValidateDrawElements(const Context *context, in ValidateDrawElements()
67 ANGLE_INLINE bool ValidateVertexAttribPointer(const Context *context, in ValidateVertexAttribPointer()
140 ANGLE_INLINE bool ValidateBindTexture(const Context *context, in ValidateBindTexture()
DResourceManager.h72 ANGLE_INLINE bool isHandleGenerated(IDType handle) const in isHandleGenerated()
89 ANGLE_INLINE ResourceType *checkObjectAllocation(rx::GLImplFactory *factory, in checkObjectAllocation()
135 ANGLE_INLINE Buffer *checkBufferAllocation(rx::GLImplFactory *factory, BufferID handle) in checkBufferAllocation()
162 ANGLE_INLINE Program *getProgram(ShaderProgramID handle) const in getProgram()
193 ANGLE_INLINE Texture *getTexture(TextureID handle) const in getTexture()
201 ANGLE_INLINE Texture *checkTextureAllocation(rx::GLImplFactory *factory, in checkTextureAllocation()
DVertexAttribute.h44 ANGLE_INLINE void setBuffer(const gl::Context *context, Buffer *bufferIn) in setBuffer()
50 ANGLE_INLINE void assignBuffer(Buffer *bufferIn) { mBuffer.assign(bufferIn); } in assignBuffer()
101 ANGLE_INLINE size_t ComputeVertexAttributeTypeSize(const VertexAttribute &attrib) in ComputeVertexAttributeTypeSize()
DSharedContextMutex.cpp145 ANGLE_INLINE SharedContextMutex<Mutex> *SharedContextMutex<Mutex>::doTryLock() in doTryLock()
176 ANGLE_INLINE SharedContextMutex<Mutex> *SharedContextMutex<Mutex>::doLock() in doLock()
207 ANGLE_INLINE void SharedContextMutex<Mutex>::doUnlock() in doUnlock()
219 ANGLE_INLINE SharedContextMutex<Mutex> *SharedContextMutex<Mutex>::doTryLock() in doTryLock()
241 ANGLE_INLINE SharedContextMutex<Mutex> *SharedContextMutex<Mutex>::doLock() in doLock()
260 ANGLE_INLINE void SharedContextMutex<Mutex>::doUnlock() in doUnlock()
DvalidationES.h333 ANGLE_INLINE bool ValidateUniformValue(const Context *context, in ValidateUniformValue()
436 ANGLE_INLINE bool ValidateDrawBase(const Context *context, in ValidateDrawBase()
706 ANGLE_INLINE bool ValidateVertexFormat(const Context *context, in ValidateVertexFormat()
751 ANGLE_INLINE bool ValidateFloatVertexFormat(const Context *context, in ValidateFloatVertexFormat()
761 ANGLE_INLINE bool ValidateIntegerVertexFormat(const Context *context, in ValidateIntegerVertexFormat()
778 ANGLE_INLINE bool ValidateColorMasksForSharedExponentColorBuffers(const BlendStateExt &blendState, in ValidateColorMasksForSharedExponentColorBuffers()
960 ANGLE_INLINE bool ValidateFramebufferComplete(const Context *context, in ValidateFramebufferComplete()
984 ANGLE_INLINE bool ValidateDrawAttribs(const Context *context, in ValidateDrawAttribs()
997 ANGLE_INLINE bool ValidateDrawArraysAttribs(const Context *context, in ValidateDrawArraysAttribs()
1023 ANGLE_INLINE bool ValidateDrawInstancedAttribs(const Context *context, in ValidateDrawInstancedAttribs()
[all …]
/external/angle/src/common/
DFixedQueue.h74 ANGLE_INLINE typename FixedQueue<T, N, Storage>::size_type FixedQueue<T, N, Storage>::size() const in size()
80 ANGLE_INLINE bool FixedQueue<T, N, Storage>::empty() const in empty()
86 ANGLE_INLINE bool FixedQueue<T, N, Storage>::full() const in full()
92 ANGLE_INLINE typename FixedQueue<T, N, Storage>::reference FixedQueue<T, N, Storage>::front() in front()
99 ANGLE_INLINE typename FixedQueue<T, N, Storage>::const_reference FixedQueue<T, N, Storage>::front() in front()
131 ANGLE_INLINE typename FixedQueue<T, N, Storage>::reference FixedQueue<T, N, Storage>::back() in back()
138 ANGLE_INLINE typename FixedQueue<T, N, Storage>::const_reference FixedQueue<T, N, Storage>::back() in back()
DSpinlock.h51 ANGLE_INLINE Spinlock::Spinlock() noexcept : mLock(0) {} in Spinlock()
53 ANGLE_INLINE bool Spinlock::try_lock() noexcept in try_lock()
60 ANGLE_INLINE void Spinlock::lock() noexcept in lock()
73 ANGLE_INLINE void Spinlock::unlock() noexcept in unlock()
DFastVector.h198 ANGLE_INLINE bool FastVector<T, N, Storage>::uses_fixed_storage() const in uses_fixed_storage()
300 ANGLE_INLINE typename FastVector<T, N, Storage>::reference FastVector<T, N, Storage>::operator[](
308 ANGLE_INLINE typename FastVector<T, N, Storage>::const_reference
316 ANGLE_INLINE typename FastVector<T, N, Storage>::const_pointer
323 ANGLE_INLINE typename FastVector<T, N, Storage>::pointer angle::FastVector<T, N, Storage>::data() in data()
329 ANGLE_INLINE typename FastVector<T, N, Storage>::iterator FastVector<T, N, Storage>::begin() in begin()
335 ANGLE_INLINE typename FastVector<T, N, Storage>::const_iterator FastVector<T, N, Storage>::begin() in begin()
342 ANGLE_INLINE typename FastVector<T, N, Storage>::iterator FastVector<T, N, Storage>::end() in end()
348 ANGLE_INLINE typename FastVector<T, N, Storage>::const_iterator FastVector<T, N, Storage>::end() in end()
355 ANGLE_INLINE bool FastVector<T, N, Storage>::empty() const in empty()
[all …]
DCircularBuffer.h113 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::iterator CircularBuffer<T, N, Storage>::begin() in begin()
119 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::const_iterator
126 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::iterator CircularBuffer<T, N, Storage>::end() in end()
132 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::const_iterator
139 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::size_type CircularBuffer<T, N, Storage>::size() in size()
146 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::reference
154 ANGLE_INLINE typename CircularBuffer<T, N, Storage>::const_reference
Dsystem_utils.h236 ANGLE_INLINE ThreadId GetCurrentThreadId() in GetCurrentThreadId()
241 ANGLE_INLINE ThreadId InvalidThreadId() in InvalidThreadId()
247 ANGLE_INLINE ThreadId GetCurrentThreadId() in GetCurrentThreadId()
251 ANGLE_INLINE ThreadId InvalidThreadId() in InvalidThreadId()

1234