Home
last modified time | relevance | path

Searched refs:flipY (Results 1 – 25 of 179) sorted by relevance

12345678

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp390 …ight, unsigned int sourcePitch, unsigned int destPitch, unsigned int bytes, bool flipX, bool flipY) in copyBuffer() argument
394 if(flipY) in copyBuffer()
424 if(flipY) in copyBuffer()
464 bool flipY = false; in stretchRect() local
468 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect()
473 flipY = (sourceRect->y0 > sourceRect->y1); in stretchRect()
478 flipY = (destRect->y0 > destRect->y1); in stretchRect()
533 if (!ClipSrcRect(sRect, dRect, srcClipRect, flipX, flipY)) in stretchRect()
539 if (!ClipDstRect(sRect, dRect, dstClipRect, flipX, flipY)) in stretchRect()
588 …g && !isOutOfBounds && equalFormats && !alpha0xFF && equalSlice && smallMargin && !flipX && !flipY) in stretchRect()
[all …]
DDevice.hpp78 …sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = false, bool flipY = false);
79 …sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = false, bool flipY = false);
91 …ght, unsigned int sourcePitch, unsigned int destPitch, unsigned int bytes, bool flipX, bool flipY);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.h70 bool flipY,
96 bool flipY,
101 bool flipY,
112 bool flipY,
122 bool flipY);
DBlit9.cpp294 bool flipY, in copyTexture() argument
324 destSurface.Get(), flipY, premultiplyAlpha, unmultiplyAlpha); in copyTexture()
334 bool flipY, in copy() argument
349 d3d9_gl::IsFormatChannelEquivalent(destDesc.Format, destFormat) && !flipY && in copy()
380 destOffset, dest, flipY, premultiplyAlpha, unmultiplyAlpha)); in copy()
391 bool flipY, in formatConvert() argument
410 setViewportAndShaderConstants(sourceRect, sourceSize, destRect, flipY); in formatConvert()
415 setFormatConvertShaders(context9, destFormat, flipY, premultiplyAlpha, unmultiplyAlpha); in formatConvert()
428 bool flipY, in setFormatConvertShaders() argument
616 bool flipY) in setViewportAndShaderConstants() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBlit9.h70 bool flipY,
96 bool flipY,
101 bool flipY,
112 bool flipY,
122 bool flipY);
DBlit9.cpp294 bool flipY, in copyTexture() argument
324 destSurface.Get(), flipY, premultiplyAlpha, unmultiplyAlpha); in copyTexture()
334 bool flipY, in copy() argument
349 d3d9_gl::IsFormatChannelEquivalent(destDesc.Format, destFormat) && !flipY && in copy()
380 destOffset, dest, flipY, premultiplyAlpha, unmultiplyAlpha)); in copy()
391 bool flipY, in formatConvert() argument
410 setViewportAndShaderConstants(sourceRect, sourceSize, destRect, flipY); in formatConvert()
415 setFormatConvertShaders(context9, destFormat, flipY, premultiplyAlpha, unmultiplyAlpha); in formatConvert()
428 bool flipY, in setFormatConvertShaders() argument
616 bool flipY) in setViewportAndShaderConstants() argument
[all …]
/third_party/skia/src/sksl/
DSkSLCompiler.h79 static std::array<float, 4> GetRTAdjustVector(SkISize rtDims, bool flipY) { in GetRTAdjustVector() argument
85 if (flipY) { in GetRTAdjustVector()
96 static std::array<float, 2> GetRTFlipVector(int rtHeight, bool flipY) { in GetRTFlipVector() argument
98 result[0] = flipY ? rtHeight : 0.f; in GetRTFlipVector()
99 result[1] = flipY ? -1.f : 1.f; in GetRTFlipVector()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteDfdy.cpp200 TIntermTyped *flipY = mRotationSpecConst->getFlipY(); in visitAggregateWithoutRotation() local
201 if (!flipY) in visitAggregateWithoutRotation()
204 flipY = new TIntermBinary(EOpIndexDirect, flipXY, CreateIndexNode(1)); in visitAggregateWithoutRotation()
209 TIntermBinary *correctedDfdy = new TIntermBinary(multiplyOp, newDfdy, flipY); in visitAggregateWithoutRotation()
/third_party/vk-gl-cts/modules/glshared/
DglsFragmentOpUtil.cpp230 bool flipY = quad.posA.y() > quad.posB.y(); in render() local
231 rr::FaceType faceType = flipX == flipY ? rr::FACETYPE_FRONT : rr::FACETYPE_BACK; in render()
234 int yFirst = flipY ? quad.posB.y() : quad.posA.y(); in render()
235 int yLast = flipY ? quad.posA.y() : quad.posB.y(); in render()
243 if (flipY) in render()
DglsInteractionTestUtil.cpp241 bool flipY = rnd.getBool(); in computeRandomQuad() local
245 quad.posA = IVec2(flipX ? (x+width-1) : x, flipY ? (y+height-1) : y); in computeRandomQuad()
246 quad.posB = IVec2(flipX ? x : (x+width-1), flipY ? y : (y+height-1)); in computeRandomQuad()
DglsFragOpInteractionCase.cpp200 const bool flipY = rnd.getBool(); in getRandomQuad() local
204 quad.posA = tcu::IVec2(flipX ? (x+width-1) : x, flipY ? (y+height-1) : y); in getRandomQuad()
205 quad.posB = tcu::IVec2(flipX ? x : (x+width-1), flipY ? y : (y+height-1)); in getRandomQuad()
287 const bool flipY = quad.posB.y() < quad.posA.y(); in renderQuad() local
293 const Vec2 pA (flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f); in renderQuad()
294 const Vec2 pB (flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f); in renderQuad()
/third_party/skia/third_party/externals/tint/test/bug/dawn/
D947.wgsl.expected.spvasm31 OpName %flipY "flipY"
126 %flipY = OpVariable %_ptr_Function_bool Function %71
140 OpStore %flipY %67
141 %72 = OpLoad %bool %flipY
D947.wgsl24 // flipY case can get negative number.
25 var flipY = uniforms.u_scale.y < 0.0;
29 if (flipY) {
D947.wgsl.expected.wgsl21 var flipY = (uniforms.u_scale.y < 0.0);
22 if (flipY) {
D947.wgsl.expected.hlsl21 bool flipY = (asfloat(uniforms[0].y) < 0.0f);
22 if (flipY) {
D947.wgsl.expected.msl30 bool flipY = ((*(tint_symbol_4)).u_scale[1] < 0.0f);
31 if (flipY) {
D947.wgsl.expected.glsl26 bool flipY = (uniforms.u_scale.y < 0.0f);
27 if (flipY) {
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp163 bool *flipY) in AdjustDimensionsAndFlipForPreRotation() argument
172 std::swap(*flipX, *flipY); in AdjustDimensionsAndFlipForPreRotation()
178 std::swap(*flipX, *flipY); in AdjustDimensionsAndFlipForPreRotation()
236 std::swap(params->flipX, params->flipY); in AdjustBlitResolveParametersForPreRotation()
246 params->flipY = !params->flipY; in AdjustBlitResolveParametersForPreRotation()
258 params->flipY = !params->flipY; in AdjustBlitResolveParametersForPreRotation()
259 std::swap(params->flipX, params->flipY); in AdjustBlitResolveParametersForPreRotation()
748 bool flipY = contextVk->isViewportFlipEnabledForReadFBO(); in readPixels() local
753 if (flipY) in readPixels()
762 flipY ? clippedArea.x : fbRect.width - clippedArea.x - clippedArea.width; in readPixels()
[all …]
DUtilsVk.h133 bool flipY; member
385 uint32_t flipY = 0; member
413 uint32_t flipY = 0; member
428 uint32_t flipY = 0; member
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.h103 bool flipY; member
216 uint32_t flipY = 0; member
241 uint32_t flipY = 0; member
255 uint32_t flipY = 0; member
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTextureTest.cpp408 bool flipY, in testCopyTexture() argument
433 GL_UNSIGNED_BYTE, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopyTexture()
440 if (flipY) in testCopyTexture()
461 bool flipY, in testCopySubTexture() argument
490 2, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopySubTexture()
501 if (flipY) in testCopySubTexture()
1652 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P()
1664 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P()
1673 GLenum destType, bool flipY, bool premultiplyAlpha, in TEST_P() argument
1685 flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P()
[all …]
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp42 bool flipY = kBottomLeft_GrSurfaceOrigin == args.fDstTextureOrigin; in emitCode() local
75 if (flipY) { in emitCode()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTextureTest.cpp423 bool flipY, in testCopyTexture() argument
461 GL_UNSIGNED_BYTE, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopyTexture()
468 if (flipY) in testCopyTexture()
490 bool flipY, in testCopySubTexture() argument
532 2, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopySubTexture()
543 if (flipY) in testCopySubTexture()
1847 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P()
1859 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P()
1868 GLenum destType, bool flipY, bool premultiplyAlpha, in TEST_P() argument
1880 flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DImageCopy.frag53 bool flipY;
74 if (params.flipY)
/third_party/skia/src/gpu/
DGrDataUtils.cpp523 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY) { in GrConvertPixels() argument
542 if (!GrConvertPixels(temp, src, flipY)) { in GrConvertPixels()
569 return GrConvertPixels(dst, temp, flipY); in GrConvertPixels()
588 if (flipY) { in GrConvertPixels()
638 if (flipY) { in GrConvertPixels()

12345678