Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/angle2/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.cpp225 constexpr angle::PackedEnumMap<rx::SurfaceRotation, PreRotationMatrixValues> kFragRotationMatrices =
226 {{{SurfaceRotation::Identity, {{1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f}}},
227 {SurfaceRotation::Rotated90Degrees, {{0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f}}},
228 {SurfaceRotation::Rotated180Degrees, {{1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f}}},
229 {SurfaceRotation::Rotated270Degrees, {{0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f}}},
230 {SurfaceRotation::FlippedIdentity, {{1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f}}},
231 {SurfaceRotation::FlippedRotated90Degrees,
233 {SurfaceRotation::FlippedRotated180Degrees,
235 {SurfaceRotation::FlippedRotated270Degrees,
238 bool IsRotatedAspectRatio(SurfaceRotation rotation) in IsRotatedAspectRatio()
[all …]
DUtilsVk.cpp2317 case SurfaceRotation::Identity: in blitResolveImpl()
2319 case SurfaceRotation::Rotated90Degrees: in blitResolveImpl()
2322 case SurfaceRotation::Rotated180Degrees: in blitResolveImpl()
2334 case SurfaceRotation::Rotated270Degrees: in blitResolveImpl()
2574 case SurfaceRotation::Identity: in stencilBlitResolveNoShaderExport()
2576 case SurfaceRotation::Rotated90Degrees: in stencilBlitResolveNoShaderExport()
2579 case SurfaceRotation::Rotated180Degrees: in stencilBlitResolveNoShaderExport()
2593 case SurfaceRotation::Rotated270Degrees: in stencilBlitResolveNoShaderExport()
2775 case SurfaceRotation::Identity: in copyImage()
2777 case SurfaceRotation::Rotated90Degrees: in copyImage()
[all …]
DUtilsVk.h134 SurfaceRotation rotation;
162 SurfaceRotation srcRotation;
DContextVk.h263 SurfaceRotation getRotationDrawFramebuffer() const;
264 SurfaceRotation getRotationReadFramebuffer() const;
1030 SurfaceRotation mCurrentRotationDrawFramebuffer;
1031 SurfaceRotation mCurrentRotationReadFramebuffer;
Dvk_cache_utils.h472 static_assert(static_cast<int>(SurfaceRotation::EnumCount) <= 8, "Size check failed");
701 const SurfaceRotation surfaceRotation);
702 SurfaceRotation getSurfaceRotation() const in getSurfaceRotation()
704 return static_cast<SurfaceRotation>( in getSurfaceRotation()
DProgramExecutableVk.h61 static_assert(static_cast<int>(SurfaceRotation::EnumCount) <= 8, "Size check failed");
DTextureVk.cpp873 &source->getCopyImageViewAndRecordUse(contextVk), SurfaceRotation::Identity); in copySubTextureImpl()
1102 SurfaceRotation srcFramebufferRotation) in copySubImageImplWithDraw()
1112 case SurfaceRotation::Identity: in copySubImageImplWithDraw()
1115 case SurfaceRotation::Rotated90Degrees: in copySubImageImplWithDraw()
1124 case SurfaceRotation::Rotated180Degrees: in copySubImageImplWithDraw()
1129 case SurfaceRotation::Rotated270Degrees: in copySubImageImplWithDraw()
2154 SurfaceRotation::Identity); in reinitImageAsRenderable()
DProgramExecutableVk.cpp73 options.preRotation = SurfaceRotation::FlippedRotated90Degrees; in ValidateTransformedSpirV()
219 options.preRotation = static_cast<SurfaceRotation>(optionBits.surfaceRotation); in initProgram()
233 mProgramHelper.setSpecializationConstant(sh::vk::SpecializationConstantId::SurfaceRotation, in initProgram()
DTextureVk.h427 SurfaceRotation srcFramebufferRotation);
Dvk_cache_utils.cpp1317 case sh::vk::SpecializationConstantId::SurfaceRotation: in InitializeSpecializationInfo()
1660 static_cast<uint8_t>(SurfaceRotation::Identity); in initDefaults()
2505 const SurfaceRotation surfaceRotation) in updateSurfaceRotation()
Dvk_helpers.cpp7393 packPixelsParams.rotation != SurfaceRotation::Identity || packPixelsParams.reverseRowOrder; in canCopyWithTransformForReadPixels()
8583 case sh::vk::SpecializationConstantId::SurfaceRotation: in setSpecializationConstant()
/third_party/skia/third_party/externals/angle2/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()
2788 case SurfaceRotation::Identity: in preRotateXY()
2794 case SurfaceRotation::FlippedIdentity: in preRotateXY()
2811 case SurfaceRotation::Rotated90Degrees: in preRotateXY()
2812 case SurfaceRotation::FlippedRotated90Degrees: in preRotateXY()
2819 case SurfaceRotation::Rotated180Degrees: in preRotateXY()
2820 case SurfaceRotation::FlippedRotated180Degrees: in preRotateXY()
2828 case SurfaceRotation::Rotated270Degrees: in preRotateXY()
2829 case SurfaceRotation::FlippedRotated270Degrees: in preRotateXY()
/third_party/skia/third_party/externals/angle2/include/GLSLANG/
DShaderLang.h823 SurfaceRotation = 1, enumerator
831 enum class SurfaceRotation : uint32_t enum