Home
last modified time | relevance | path

Searched refs:flipY (Results 1 - 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DBlit9.h70 bool flipY,
96 bool flipY,
101 bool flipY,
112 bool flipY,
122 bool flipY);
H A DBlit9.cpp294 bool flipY, in copyTexture()
324 destSurface.Get(), flipY, premultiplyAlpha, unmultiplyAlpha); in copyTexture()
334 bool flipY, in copy()
349 d3d9_gl::IsFormatChannelEquivalent(destDesc.Format, destFormat) && !flipY && in copy()
380 destOffset, dest, flipY, premultiplyAlpha, unmultiplyAlpha)); in copy()
391 bool flipY, in formatConvert()
410 setViewportAndShaderConstants(sourceRect, sourceSize, destRect, flipY); in formatConvert()
415 setFormatConvertShaders(context9, destFormat, flipY, premultiplyAlpha, unmultiplyAlpha); in formatConvert()
428 bool flipY, in setFormatConvertShaders()
616 bool flipY) in setViewportAndShaderConstants()
285 copyTexture(const gl::Context *context, const gl::Texture *source, GLint sourceLevel, const RECT &sourceRect, GLenum destFormat, const gl::Offset &destOffset, TextureStorage *storage, gl::TextureTarget destTarget, GLint destLevel, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha) copyTexture() argument
327 copy(Context9 *context9, IDirect3DSurface9 *source, IDirect3DBaseTexture9 *sourceTexture, const RECT &sourceRect, GLenum destFormat, const gl::Offset &destOffset, IDirect3DSurface9 *dest, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha) copy() argument
384 formatConvert(Context9 *context9, IDirect3DBaseTexture9 *source, const RECT &sourceRect, const gl::Extents &sourceSize, GLenum destFormat, const gl::Offset &destOffset, IDirect3DSurface9 *dest, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha) formatConvert() argument
426 setFormatConvertShaders(Context9 *context9, GLenum destFormat, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha) setFormatConvertShaders() argument
613 setViewportAndShaderConstants(const RECT &sourceRect, const gl::Extents &sourceSize, const RECT &destRect, bool flipY) setViewportAndShaderConstants() argument
[all...]
/third_party/skia/src/sksl/
H A 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/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.cpp390 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
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 if(fullCopy && !scaling && !isOutOfBounds && equalFormats && !alpha0xFF && equalSlice && smallMargin && !flipX && !flipY) 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 DDevice.hpp78 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);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A 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/
H A 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()
H A DglsInteractionTestUtil.cpp241 bool flipY = 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 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()
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 DFramebufferVk.cpp163 bool *flipY) 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()
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 in readPixels() local
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
1058 bool flipY = sourceArea.isReversedY() != destArea.isReversedY(); blit() local
[all...]
H A DUtilsVk.h133 bool flipY; member
385 uint32_t flipY = 0; member
413 uint32_t flipY = 0; member
428 uint32_t flipY = 0; member
H A DUtilsVk.cpp377 int srcOffsetFactorY = params.flipY ? -1 : 1; in CalculateBlitOffset()
386 int srcOffsetFactorY = params.flipY ? -1 : 1; in CalculateResolveOffset()
2310 shaderParams.flipY = params.flipY; in blitResolveImpl()
2567 shaderParams.flipY = params.flipY; in stencilBlitResolveNoShaderExport()
2732 shaderParams.flipY = params.srcFlipY || params.dstFlipY; in copyImage()
2782 ASSERT(shaderParams.flipY); in copyImage()
2783 shaderParams.flipY = false; in copyImage()
2789 ASSERT(!shaderParams.flipY); in copyImage()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_utils.h82 bool flipY,
87 bool flipY = false);
H A DFrameBufferMtl.h32 bool flipY,
98 bool flipY() const { return mFlipY; } in flipY() function in rx::FramebufferMtl
/third_party/skia/src/gpu/
H A DGrDataUtils.h39 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY = false);
H A DGrDataUtils.cpp571 bool GrConvertPixels(const GrPixmap& dst, const GrCPixmap& src, bool flipY) { in GrConvertPixels() argument
590 if (!GrConvertPixels(temp, src, flipY)) { in GrConvertPixels()
617 return GrConvertPixels(dst, temp, flipY); in GrConvertPixels()
636 if (flipY) { in GrConvertPixels()
686 if (flipY) { in GrConvertPixels()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DCopyTextureTest.cpp423 bool flipY, in testCopyTexture()
461 GL_UNSIGNED_BYTE, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopyTexture()
468 if (flipY) in testCopyTexture()
490 bool flipY, in testCopySubTexture()
532 2, flipY, premultiplyAlpha, unmultiplyAlpha); in testCopySubTexture()
543 if (flipY) in testCopySubTexture()
898 // flipY: false, true
1847 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P()
1859 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P()
1868 GLenum destType, bool flipY, boo in TEST_P()
420 testCopyTexture(GLenum sourceTarget, GLenum sourceFormat, GLenum destFormat, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha) testCopyTexture() argument
487 testCopySubTexture(GLenum sourceTarget, GLenum sourceFormat, GLenum destFormat, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha) testCopySubTexture() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DCopyTextureForBrowserTests.cpp83 // flipY. in GetTextureData()
130 0, // copy have flipY option
189 // Note that |flipY| equals flip src texture firstly and then do copy from src in MakeTestPipeline()
341 options.flipY, // copy have flipY option in CheckResultInBuiltInComputePipeline()
556 options.flipY = GetParam().mFlipY; in DoCopySubRectTest()
604 options.flipY = true; in TEST_P()
611 options.flipY = true; in TEST_P()
/third_party/skia/src/gpu/dawn/
H A DGrDawnProgramBuilder.h79 bool flipY, SkSL::Program::Inputs* inputs);
H A DGrDawnProgramBuilder.cpp269 bool flipY = programInfo.origin() != kTopLeft_GrSurfaceOrigin; in Build() local
270 auto vsModule = builder.createShaderModule(builder.fVS, SkSL::ProgramKind::kVertex, flipY, in Build()
272 auto fsModule = builder.createShaderModule(builder.fFS, SkSL::ProgramKind::kFragment, flipY, in Build()
427 bool flipY, in createShaderModule()
425 createShaderModule(const GrGLSLShaderBuilder& builder, SkSL::ProgramKind kind, bool flipY, SkSL::Program::Inputs* inputs) createShaderModule() argument
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRandomFragmentOpTests.cpp136 bool flipY = quad.posB.y() < quad.posA.y(); in renderQuad()
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 Des2fRandomFragmentOpTests.cpp136 bool flipY = quad.posB.y() < quad.posA.y(); in renderQuad()
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 DvktGeometryInstancedRenderingTests.cpp212 const float flipY = rng.getBool() ? 1.0f : -1.0f; in generatePerInstancePosition() local
214 const float y = flipY * rng.getFloat(0.0f, 0.7f); in generatePerInstancePosition()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryInstancedRenderingTests.cpp212 const float flipY = rng.getBool() ? 1.0f : -1.0f; in generatePerInstancePosition() local
214 const float y = flipY * rng.getFloat(0.0f, 0.7f); in generatePerInstancePosition()
/third_party/skia/src/core/
H A DSkRRect.cpp478 // 180 degrees rotations are simply flipX with a flipY and would come under in transform()
506 const bool flipY = yScale < 0; in transform()
507 if (flipY) { in transform()
520 if (flipY) { in transform()
529 } else if (flipY) { in transform()

Completed in 26 milliseconds

12