/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Device.cpp | 390 void Device::copyBuffer(byte *sourceBuffer, byte *destBuffer, unsigned int width, unsigned int height, unsigned int sourcePitch, unsigned int destPitch, unsigned int bytes, bool flipX, bool flipY) in copyBuffer() argument 392 if(flipX) in copyBuffer() 463 bool flipX = false; in stretchRect() local 467 flipX = (sourceRect->x0 < sourceRect->x1) ^ (destRect->x0 < destRect->x1); in stretchRect() 472 flipX = (sourceRect->x0 > sourceRect->x1); in stretchRect() 477 flipX = (destRect->x0 > destRect->x1); in stretchRect() 533 if (!ClipSrcRect(sRect, dRect, srcClipRect, flipX, flipY)) in stretchRect() 539 if (!ClipDstRect(sRect, dRect, dstClipRect, flipX, flipY)) in stretchRect() 588 if(fullCopy && !scaling && !isOutOfBounds && equalFormats && !alpha0xFF && equalSlice && smallMargin && !flipX && !flipY) in stretchRect() 603 copyBuffer(sourceBuffer, destBuffer, dRect.width(), dRect.height(), sourcePitchB, destPitchB, Surface::bytes(source->getInternalFormat()), flipX, flip in stretchRect() 903 ClipDstRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX, bool flipY) ClipDstRect() argument 976 ClipSrcRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX, bool flipY) ClipSrcRect() argument [all...] |
H A D | Device.hpp | 78 static bool ClipDstRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = false, bool flipY = false); 79 static bool ClipSrcRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = false, bool flipY = false); 91 void copyBuffer(sw::byte *sourceBuffer, sw::byte *destBuffer, unsigned int width, unsigned int height, unsigned int sourcePitch, unsigned int destPitch, unsigned int bytes, bool flipX, bool flipY);
|
H A D | Context.cpp | 4061 bool flipX = (srcX0 < srcX1) ^ (dstX0 < dstX1); in blitFramebuffer() local 4115 if (!Device::ClipDstRect(sourceScissoredRect, destScissoredRect, scissorRect, flipX, flipY)) in blitFramebuffer() 4128 if (!Device::ClipSrcRect(sourceTrimmedRect, destTrimmedRect, sourceTrimRect, flipX, flipY)) in blitFramebuffer() 4135 if (!Device::ClipDstRect(sourceTrimmedRect, destTrimmedRect, destTrimRect, flipX, flipY)) in blitFramebuffer() 4299 if(flipX) in blitFramebuffer()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFragmentOpUtil.cpp | 229 bool flipX = quad.posA.x() > quad.posB.x(); in render() local 231 rr::FaceType faceType = flipX == flipY ? rr::FACETYPE_FRONT : rr::FACETYPE_BACK; in render() 232 int xFirst = flipX ? quad.posB.x() : quad.posA.x(); in render() 233 int xLast = flipX ? quad.posA.x() : quad.posB.x(); in render() 250 if (flipX) in render()
|
H A D | glsInteractionTestUtil.cpp | 240 bool flipX = rnd.getBool(); 245 quad.posA = IVec2(flipX ? (x+width-1) : x, flipY ? (y+height-1) : y); 246 quad.posB = IVec2(flipX ? x : (x+width-1), flipY ? y : (y+height-1));
|
H A D | glsFragOpInteractionCase.cpp | 199 const bool flipX = 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() 286 const bool flipX = quad.posB.x() < quad.posA.x(); in renderQuad() 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/angle2/src/libANGLE/renderer/vulkan/ |
H A D | FramebufferVk.cpp | 162 bool *flipX, in AdjustDimensionsAndFlipForPreRotation() 172 std::swap(*flipX, *flipY); in AdjustDimensionsAndFlipForPreRotation() 178 std::swap(*flipX, *flipY); in AdjustDimensionsAndFlipForPreRotation() 236 std::swap(params->flipX, params->flipY); in AdjustBlitResolveParametersForPreRotation() 245 params->flipX = !params->flipX; in AdjustBlitResolveParametersForPreRotation() 257 params->flipX = !params->flipX; in AdjustBlitResolveParametersForPreRotation() 259 std::swap(params->flipX, params->flipY); in AdjustBlitResolveParametersForPreRotation() 847 bool flipX, in blitWithCommand() 160 AdjustDimensionsAndFlipForPreRotation(SurfaceRotation framebufferAngle, gl::Rectangle *framebufferDimensions, bool *flipX, bool *flipY) AdjustDimensionsAndFlipForPreRotation() argument 838 blitWithCommand(ContextVk *contextVk, const gl::Rectangle &sourceArea, const gl::Rectangle &destArea, RenderTargetVk *readRenderTarget, RenderTargetVk *drawRenderTarget, GLenum filter, bool colorBlit, bool depthBlit, bool stencilBlit, bool flipX, bool flipY) blitWithCommand() argument 1057 bool flipX = sourceArea.isReversedX() != destArea.isReversedX(); blit() local [all...] |
H A D | UtilsVk.h | 132 bool flipX; member 384 uint32_t flipX = 0; member 412 uint32_t flipX = 0; member 427 uint32_t flipX = 0; member
|
H A D | UtilsVk.cpp | 376 int srcOffsetFactorX = params.flipX ? -1 : 1; in CalculateBlitOffset() 385 int srcOffsetFactorX = params.flipX ? -1 : 1; in CalculateResolveOffset() 2309 shaderParams.flipX = params.flipX; in blitResolveImpl() 2566 shaderParams.flipX = params.flipX; in stencilBlitResolveNoShaderExport() 2731 shaderParams.flipX = 0; in copyImage() 2781 shaderParams.flipX = true; in copyImage() 2788 shaderParams.flipX = true; in copyImage()
|
H A D | FramebufferVk.h | 179 bool flipX,
|
H A D | ContextVk.cpp | 5027 float flipX = 1.0f; 5038 flipX = 1.0f; 5043 flipX = 1.0f; 5048 flipX = -1.0f; 5053 flipX = -1.0f; 5064 driverUniformsExt->flipXY = {flipX, flipY}; 5065 driverUniformsExt->negFlipXY = {flipX, -flipY};
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fRandomFragmentOpTests.cpp | 135 bool flipX = quad.posB.x() < quad.posA.x(); in renderQuad() local 142 translated.posA = Vec2(flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f); in renderQuad() 143 translated.posB = Vec2(flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f); in renderQuad()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fRandomFragmentOpTests.cpp | 135 bool flipX = quad.posB.x() < quad.posA.x(); in renderQuad() local 142 translated.posA = Vec2(flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f); in renderQuad() 143 translated.posB = Vec2(flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f); in renderQuad()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 211 const float flipX = rng.getBool() ? 1.0f : -1.0f; in generatePerInstancePosition() local 213 const float x = flipX * rng.getFloat(0.1f, 0.9f); // x mustn't be 0.0, because we are using sign() in the shader in generatePerInstancePosition()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 211 const float flipX = rng.getBool() ? 1.0f : -1.0f; in generatePerInstancePosition() local 213 const float x = flipX * rng.getFloat(0.1f, 0.9f); // x mustn't be 0.0, because we are using sign() in the shader in generatePerInstancePosition()
|
/third_party/skia/src/core/ |
H A D | SkRRect.cpp | 478 // 180 degrees rotations are simply flipX with a flipY and would come under in transform() 501 const bool flipX = xScale < 0; in transform() local 502 if (flipX) { in transform() 519 if (flipX) { in transform()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | angletypes.h | 80 RectangleImpl<T> flip(bool flipX, bool flipY) const in flip() 83 if (flipX) in flip()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Blitter.cpp | 154 bool flipX = destRect.x0 > destRect.x1; in blit() local 157 if(flipX) in blit()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.hpp | 788 deUint32 blitResolveMultisampleFramebuffer (deUint32 mask, const tcu::IVec4& srcRect, const tcu::IVec4& dstRect, bool flipX, bool flipY);
|
H A D | sglrReferenceContext.cpp | 3073 deUint32 ReferenceContext::blitResolveMultisampleFramebuffer (deUint32 mask, const IVec4& srcRect, const IVec4& dstRect, bool flipX, bool flipY) 3101 int srcX = (flipX) ? (srcRect.z() - x - 1) : (x); 3122 int srcX = (flipX) ? (srcRect.z() - x - 1) : (x); 3137 int srcX = (flipX) ? (srcRect.z() - x - 1) : (x);
|