Home
last modified time | relevance | path

Searched refs:SurfaceRotation (Results 1 – 18 of 18) sorted by relevance

/external/angle/src/compiler/translator/tree_util/
DSpecializationConstant.cpp36 angle::PackedEnumMap<vk::SurfaceRotation, Mat2x2, angle::EnumSize<vk::SurfaceRotation>()>;
39 {{vk::SurfaceRotation::Identity, {{1.0f, 0.0f, 0.0f, 1.0f}}},
40 {vk::SurfaceRotation::Rotated90Degrees, {{0.0f, -1.0f, 1.0f, 0.0f}}},
41 {vk::SurfaceRotation::Rotated180Degrees, {{-1.0f, 0.0f, 0.0f, -1.0f}}},
42 {vk::SurfaceRotation::Rotated270Degrees, {{0.0f, 1.0f, -1.0f, 0.0f}}},
43 {vk::SurfaceRotation::FlippedIdentity, {{1.0f, 0.0f, 0.0f, 1.0f}}},
44 {vk::SurfaceRotation::FlippedRotated90Degrees, {{0.0f, -1.0f, 1.0f, 0.0f}}},
45 {vk::SurfaceRotation::FlippedRotated180Degrees, {{-1.0f, 0.0f, 0.0f, -1.0f}}},
46 {vk::SurfaceRotation::FlippedRotated270Degrees, {{0.0f, 1.0f, -1.0f, 0.0f}}}}};
49 {{vk::SurfaceRotation::Identity, {{1.0f, 0.0f, 0.0f, 1.0f}}},
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp104 void EarlyAdjustFlipYForPreRotation(SurfaceRotation blitAngleIn, in EarlyAdjustFlipYForPreRotation()
105 SurfaceRotation *blitAngleOut, in EarlyAdjustFlipYForPreRotation()
110 case SurfaceRotation::Identity: in EarlyAdjustFlipYForPreRotation()
113 case SurfaceRotation::Rotated90Degrees: in EarlyAdjustFlipYForPreRotation()
114 *blitAngleOut = SurfaceRotation::Rotated90Degrees; in EarlyAdjustFlipYForPreRotation()
117 case SurfaceRotation::Rotated180Degrees: in EarlyAdjustFlipYForPreRotation()
118 *blitAngleOut = SurfaceRotation::Rotated180Degrees; in EarlyAdjustFlipYForPreRotation()
120 case SurfaceRotation::Rotated270Degrees: in EarlyAdjustFlipYForPreRotation()
121 *blitAngleOut = SurfaceRotation::Rotated270Degrees; in EarlyAdjustFlipYForPreRotation()
130 void AdjustBlitAreaForPreRotation(SurfaceRotation framebufferAngle, in AdjustBlitAreaForPreRotation()
[all …]
DContextVk.cpp201 constexpr angle::PackedEnumMap<rx::SurfaceRotation,
203 angle::EnumSize<rx::SurfaceRotation>()>
205 {{rx::SurfaceRotation::Identity, {{1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f}}},
206 {rx::SurfaceRotation::Rotated90Degrees,
208 {rx::SurfaceRotation::Rotated180Degrees,
210 {rx::SurfaceRotation::Rotated270Degrees,
212 {rx::SurfaceRotation::FlippedIdentity, {{1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f}}},
213 {rx::SurfaceRotation::FlippedRotated90Degrees,
215 {rx::SurfaceRotation::FlippedRotated180Degrees,
217 {rx::SurfaceRotation::FlippedRotated270Degrees,
[all …]
DUtilsVk.cpp2221 case SurfaceRotation::Identity: in blitResolveImpl()
2223 case SurfaceRotation::Rotated90Degrees: in blitResolveImpl()
2226 case SurfaceRotation::Rotated180Degrees: in blitResolveImpl()
2238 case SurfaceRotation::Rotated270Degrees: in blitResolveImpl()
2477 case SurfaceRotation::Identity: in stencilBlitResolveNoShaderExport()
2479 case SurfaceRotation::Rotated90Degrees: in stencilBlitResolveNoShaderExport()
2482 case SurfaceRotation::Rotated180Degrees: in stencilBlitResolveNoShaderExport()
2496 case SurfaceRotation::Rotated270Degrees: in stencilBlitResolveNoShaderExport()
2674 case SurfaceRotation::Identity: in copyImage()
2676 case SurfaceRotation::Rotated90Degrees: in copyImage()
[all …]
DUtilsVk.h134 SurfaceRotation rotation;
151 SurfaceRotation srcRotation;
DContextVk.h231 SurfaceRotation getRotationDrawFramebuffer() const;
232 SurfaceRotation getRotationReadFramebuffer() const;
981 SurfaceRotation mCurrentRotationDrawFramebuffer;
982 SurfaceRotation mCurrentRotationReadFramebuffer;
Dvk_cache_utils.h475 static_assert(static_cast<int>(SurfaceRotation::EnumCount) <= 8, "Size check failed");
702 const SurfaceRotation surfaceRotation);
703 SurfaceRotation getSurfaceRotation() const in getSurfaceRotation()
705 return static_cast<SurfaceRotation>( in getSurfaceRotation()
DProgramExecutableVk.h60 static_assert(static_cast<int>(SurfaceRotation::EnumCount) <= 8, "Size check failed");
DTextureVk.cpp829 &source->getCopyImageViewAndRecordUse(contextVk), SurfaceRotation::Identity); in copySubTextureImpl()
1061 SurfaceRotation srcFramebufferRotation) in copySubImageImplWithDraw()
1071 case SurfaceRotation::Identity: in copySubImageImplWithDraw()
1074 case SurfaceRotation::Rotated90Degrees: in copySubImageImplWithDraw()
1083 case SurfaceRotation::Rotated180Degrees: in copySubImageImplWithDraw()
1088 case SurfaceRotation::Rotated270Degrees: in copySubImageImplWithDraw()
DProgramExecutableVk.cpp73 options.preRotation = SurfaceRotation::FlippedRotated90Degrees; in ValidateTransformedSpirV()
218 options.preRotation = static_cast<SurfaceRotation>(optionBits.surfaceRotation); in initProgram()
232 mProgramHelper.setSpecializationConstant(sh::vk::SpecializationConstantId::SurfaceRotation, in initProgram()
DTextureVk.h415 SurfaceRotation srcFramebufferRotation);
Dvk_cache_utils.cpp1295 case sh::vk::SpecializationConstantId::SurfaceRotation: in InitializeSpecializationInfo()
1638 static_cast<uint8_t>(SurfaceRotation::Identity); in initDefaults()
2445 const SurfaceRotation surfaceRotation) in updateSurfaceRotation()
Dvk_helpers.cpp789 packPixelsParams.rotation != SurfaceRotation::Identity || packPixelsParams.reverseRowOrder; in CanCopyWithTransformForReadPixels()
8007 case sh::vk::SpecializationConstantId::SurfaceRotation: in setSpecializationConstant()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp231 void RotateRectangle(const SurfaceRotation rotation, in RotateRectangle()
241 case SurfaceRotation::Identity: in RotateRectangle()
248 case SurfaceRotation::Rotated90Degrees: in RotateRectangle()
255 case SurfaceRotation::Rotated180Degrees: in RotateRectangle()
262 case SurfaceRotation::Rotated270Degrees: in RotateRectangle()
280 rotation(SurfaceRotation::Identity) in PackPixelsParams()
295 rotation(SurfaceRotation::Identity) in PackPixelsParams()
314 case SurfaceRotation::Identity: in PackPixels()
334 case SurfaceRotation::Rotated90Degrees: in PackPixels()
345 case SurfaceRotation::Rotated180Degrees: in PackPixels()
[all …]
Dglslang_wrapper_utils.h57 SurfaceRotation preRotation = SurfaceRotation::Identity;
Drenderer_utils.h50 enum class SurfaceRotation enum
67 void RotateRectangle(const SurfaceRotation rotation,
125 SurfaceRotation rotation;
Dglslang_wrapper_utils.cpp39 bool IsRotationIdentity(SurfaceRotation rotation) in IsRotationIdentity()
41 return rotation == SurfaceRotation::Identity || rotation == SurfaceRotation::FlippedIdentity; in IsRotationIdentity()
2739 case SurfaceRotation::Identity: in preRotateXY()
2745 case SurfaceRotation::FlippedIdentity: in preRotateXY()
2762 case SurfaceRotation::Rotated90Degrees: in preRotateXY()
2763 case SurfaceRotation::FlippedRotated90Degrees: in preRotateXY()
2770 case SurfaceRotation::Rotated180Degrees: in preRotateXY()
2771 case SurfaceRotation::FlippedRotated180Degrees: in preRotateXY()
2779 case SurfaceRotation::Rotated270Degrees: in preRotateXY()
2780 case SurfaceRotation::FlippedRotated270Degrees: in preRotateXY()
/external/angle/include/GLSLANG/
DShaderLang.h831 SurfaceRotation = 1, enumerator
839 enum class SurfaceRotation : uint32_t enum