Home
last modified time | relevance | path

Searched refs:SwizzleState (Results 1 – 16 of 16) sorted by relevance

/external/angle/src/libANGLE/
DTexture.h77 struct SwizzleState final
79 SwizzleState();
80 SwizzleState(GLenum red, GLenum green, GLenum blue, GLenum alpha);
81 SwizzleState(const SwizzleState &other) = default;
82 SwizzleState &operator=(const SwizzleState &other) = default;
86 bool operator==(const SwizzleState &other) const;
87 bool operator!=(const SwizzleState &other) const;
140 const SwizzleState &getSwizzleState() const { return mSwizzleState; } in getSwizzleState()
215 SwizzleState mSwizzleState;
DTexture.cpp70 SwizzleState::SwizzleState() in SwizzleState() function in gl::SwizzleState
74 SwizzleState::SwizzleState(GLenum red, GLenum green, GLenum blue, GLenum alpha) in SwizzleState() function in gl::SwizzleState
78 bool SwizzleState::swizzleRequired() const in swizzleRequired()
84 bool SwizzleState::operator==(const SwizzleState &other) const in operator ==()
90 bool SwizzleState::operator!=(const SwizzleState &other) const in operator !=()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp320 GLenum GetSwizzleStateComponent(const gl::SwizzleState &swizzleState, GLenum component) in GetSwizzleStateComponent()
338 void ComposeSwizzleState(const gl::SwizzleState &first, in ComposeSwizzleState()
339 const gl::SwizzleState &second, in ComposeSwizzleState()
340 gl::SwizzleState *out) in ComposeSwizzleState()
351 const gl::SwizzleState &swizzleState, in MapSwizzleState()
352 gl::SwizzleState *swizzleStateOut) in MapSwizzleState()
356 gl::SwizzleState internalSwizzle; in MapSwizzleState()
Dvk_format_utils.h24 struct SwizzleState;
170 const gl::SwizzleState &swizzleState,
171 gl::SwizzleState *swizzleStateOut);
DOverlayVk.cpp120 VK_IMAGE_ASPECT_COLOR_BIT, gl::SwizzleState(), in createFont()
191 VK_IMAGE_ASPECT_COLOR_BIT, gl::SwizzleState(), in cullWidgets()
Dvk_helpers.h770 const gl::SwizzleState &swizzleMap,
779 const gl::SwizzleState &swizzleMap,
1176 const gl::SwizzleState &swizzleState,
DFramebufferVk.cpp819 contextVk, textureType, VK_IMAGE_ASPECT_DEPTH_BIT, gl::SwizzleState(), in blit()
826 contextVk, textureType, VK_IMAGE_ASPECT_STENCIL_BIT, gl::SwizzleState(), in blit()
Dvk_utils.h59 struct SwizzleState;
Dvk_helpers.cpp2176 const gl::SwizzleState &swizzleMap, in initImageView()
2188 const gl::SwizzleState &swizzleMap, in initLayerImageView()
3909 const gl::SwizzleState &swizzleState, in initReadViews()
3964 return image.initLayerImageView(contextVk, viewType, image.getAspectFlags(), gl::SwizzleState(), in getLevelDrawImageView()
4001 return image.initLayerImageView(contextVk, viewType, image.getAspectFlags(), gl::SwizzleState(), in getLevelLayerDrawImageView()
DTextureVk.cpp721 contextVk, stagingTextureType, VK_IMAGE_ASPECT_COLOR_BIT, gl::SwizzleState(), in copySubImageImplWithDraw()
1670 gl::SwizzleState mappedSwizzle; in initImageViews()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.h85 const gl::SwizzleState &swizzleTarget);
194 void verifySwizzleExists(const gl::SwizzleState &swizzleState);
216 gl::TexLevelArray<gl::SwizzleState> mSwizzleCache;
DBlit11.h34 const gl::SwizzleState &swizzleTarget);
DTextureStorage11.cpp465 const gl::SwizzleState &swizzleTarget) in generateSwizzles()
499 if (mSwizzleCache[mipLevel] != gl::SwizzleState()) in markLevelDirty()
503 mSwizzleCache[mipLevel] = gl::SwizzleState(); in markLevelDirty()
684 void TextureStorage11::verifySwizzleExists(const gl::SwizzleState &swizzleState) in verifySwizzleExists()
DBlit11.cpp794 const gl::SwizzleState &swizzleTarget) in swizzleTexture()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.h269 gl::SwizzleState mAppliedSwizzle;
DTextureGL.cpp1592 gl::SwizzleState resultingSwizzle = in setSwizzle()
1593 gl::SwizzleState(swizzle[0], swizzle[1], swizzle[2], swizzle[3]); in setSwizzle()