Home
last modified time | relevance | path

Searched refs:windowHeight (Results 1 – 25 of 62) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/samples/gles1/
DDrawTexture.cpp60 GLint windowHeight = getWindow()->getHeight(); in draw() local
64 glDrawTexiOES(mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
75 if (mY + mHeight >= windowHeight) in draw()
84 if (mHeight >= windowHeight) in draw()
/third_party/skia/third_party/externals/angle2/samples/gles1/
DDrawTexture.cpp60 GLint windowHeight = getWindow()->getHeight(); in draw() local
64 glDrawTexiOES(mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
75 if (mY + mHeight >= windowHeight) in draw()
84 if (mHeight >= windowHeight) in draw()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DSurface.cpp337 int windowHeight = client.bottom - client.top; in checkForResize() local
340 int windowHeight = ANativeWindow_getHeight(window); in checkForResize()
351 int windowHeight = windowAttributes.height; in checkForResize()
355 int windowHeight = 100; in checkForResize()
358 int windowHeight; in checkForResize()
359 sw::OSX::GetNativeWindowSize(window, windowWidth, windowHeight); in checkForResize()
363 int windowHeight = 100; in checkForResize()
368 if((windowWidth != width) || (windowHeight != height)) in checkForResize()
370 bool success = reset(windowWidth, windowHeight); in checkForResize()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dmaxpool_with_argmax_impl.cu27 const int windowHeight, in MaxPoolWithArgmax() argument
49 const int hend = min(hstart + windowHeight, h); in MaxPoolWithArgmax()
77 const int windowHeight, in CalMaxPoolWithArgmax() argument
100 windowHeight, in CalMaxPoolWithArgmax()
120 const int windowHeight,
137 const int windowHeight,
Dmaxpool_with_argmax_impl.cuh20 …hArgmax(const T* input, const int n, const int c, const int h, const int w, const int windowHeight,
/third_party/boost/libs/locale/doc/html/
Dresize.js56 var windowHeight = $(window).height() - headerHeight - footerHeight;
57 content.css({height:windowHeight + "px"});
58 navtree.css({height:windowHeight + "px"});
59 sidenav.css({height:windowHeight + "px",top: headerHeight+"px"});
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp87 windowHeight = workloadIn.second; in MultiviewPerfParams()
234 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, params->windowWidth, params->windowHeight, 0, in initializeBenchmark()
239 params->windowHeight, 0, GL_DEPTH_COMPONENT, GL_FLOAT, nullptr); in initializeBenchmark()
253 params->windowHeight, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in initializeBenchmark()
257 params->windowHeight, 2, 0, GL_DEPTH_COMPONENT, GL_FLOAT, nullptr); in initializeBenchmark()
281 const int viewHeight = params->windowHeight; in drawBenchmark()
343 const float viewHeight = static_cast<float>(params->windowHeight); in initializeBenchmark()
378 const int viewHeight = params->windowHeight; in renderScene()
454 const int viewHeight = params->windowHeight; in initializeBenchmark()
526 const int viewHeight = params->windowHeight; in renderScene()
DIndexConversionPerf.cpp193 params.windowHeight = 256; in IndexConversionPerfD3D11Params()
207 params.windowHeight = 256; in IndexRangeOffsetPerfD3D11Params()
DDrawCallPerfParams.cpp19 windowHeight = 64; in DrawCallPerfParams()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp87 windowHeight = workloadIn.second; in MultiviewPerfParams()
234 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, params->windowWidth, params->windowHeight, 0, in initializeBenchmark()
239 params->windowHeight, 0, GL_DEPTH_COMPONENT, GL_FLOAT, nullptr); in initializeBenchmark()
253 params->windowHeight, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in initializeBenchmark()
257 params->windowHeight, 2, 0, GL_DEPTH_COMPONENT, GL_FLOAT, nullptr); in initializeBenchmark()
281 const int viewHeight = params->windowHeight; in drawBenchmark()
343 const float viewHeight = static_cast<float>(params->windowHeight); in initializeBenchmark()
378 const int viewHeight = params->windowHeight; in renderScene()
454 const int viewHeight = params->windowHeight; in initializeBenchmark()
526 const int viewHeight = params->windowHeight; in renderScene()
DIndexConversionPerf.cpp193 params.windowHeight = 256; in IndexConversionPerfD3D11Params()
207 params.windowHeight = 256; in IndexRangeOffsetPerfD3D11Params()
DTracePerfTest.cpp1220 mWindowHeight = mTestParams.windowHeight; in initializeBenchmark()
1227 getWindow()->setOrientation(mTestParams.windowWidth, mTestParams.windowHeight); in initializeBenchmark()
1334 static_cast<uint32_t>(static_cast<double>(mTestParams.windowHeight) / 3.0f); in drawBenchmark()
1844 uint32_t pixelCount = mTestParams.windowWidth * mTestParams.windowHeight; in saveScreenshot()
1853 glReadPixels(0, 0, mTestParams.windowWidth, mTestParams.windowHeight, GL_RGBA, GL_UNSIGNED_BYTE, in saveScreenshot()
1858 for (EGLint y = 0; y < mTestParams.windowHeight; ++y) in saveScreenshot()
1863 EGLint dstPixel = x + (mTestParams.windowHeight - y - 1) * mTestParams.windowWidth; in saveScreenshot()
1869 mTestParams.windowHeight, rgbData)) in saveScreenshot()
1886 out.windowHeight = traceInfo.drawSurfaceHeight; in CombineWithTraceInfo()
1899 out.windowHeight /= 4; in CombineWithSurfaceType()
DDrawCallPerfParams.cpp19 windowHeight = 64; in DrawCallPerfParams()
DDrawCallPerf.cpp430 unsigned int windowHeight) in ChangeScissorThenDraw() argument
485 unsigned int scissorHeight = windowHeight; in ChangeScissorThenDraw()
499 scissorHeight = windowHeight; in ChangeScissorThenDraw()
DPointSprites.cpp34 windowHeight = 720; in PointSpritesParams()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferGDI.cpp56 …int windowHeight = height + (windowRect.bottom - windowRect.top) - (clientRect.bottom - clientRect… in ~FrameBufferGDI() local
59 …esktopWidth / 2 - windowWidth / 2, desktopHeight / 2 - windowHeight / 2, windowWidth, windowHeight in ~FrameBufferGDI()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DClipDistanceTest.cpp974 const int windowHeight = getWindowHeight(); in TEST_P() local
975 auto checkLeftPlaneFunc = [windowWidth, windowHeight](int x, int y) -> float { in TEST_P()
976 return (3 * (x - (windowWidth / 2 - 1)) - (windowHeight / 4 + 1) + y); in TEST_P()
978 auto checkRightPlaneFunc = [windowWidth, windowHeight](int x, int y) -> float { in TEST_P()
979 return (-3 * (x - (windowWidth / 2)) - (windowHeight / 4 + 1) + y); in TEST_P()
1219 const int windowHeight = getWindowHeight(); in TEST_P() local
1220 auto checkLeftPlaneFunc = [windowWidth, windowHeight](int x, int y) -> float { in TEST_P()
1221 return (3 * (x - (windowWidth / 2 - 1)) - (windowHeight / 4 + 1) + y); in TEST_P()
1223 auto checkRightPlaneFunc = [windowWidth, windowHeight](int x, int y) -> float { in TEST_P()
1224 return (-3 * (x - (windowWidth / 2)) - (windowHeight / 4 + 1) + y); in TEST_P()
DPointSpritesTest.cpp31 const int windowHeight = 256; member in PointSpritesTest
35 setWindowHeight(windowHeight); in PointSpritesTest()
181 EXPECT_PIXEL_COLOR_EQ((windowWidth - 1) / 2, (windowHeight - 1) / 2, GLColor::blue); in TEST_P()
253 EXPECT_PIXEL_EQ((windowWidth - 1) / 2, (windowHeight - 1) / 2, 0, 255, 0, 255); in TEST_P()
/third_party/vk-gl-cts/modules/glshared/
DglsFragmentOpUtil.hpp96 IntegerQuad (int windowWidth, int windowHeight) in IntegerQuad()
98 , posB(windowWidth-1, windowHeight-1) in IntegerQuad()
/third_party/flutter/skia/third_party/externals/angle2/samples/post_sub_buffer/
DPostSubBuffer.cpp136 EGLint windowHeight = static_cast<EGLint>(getWindow()->getHeight()); in swap() local
139 mPostSubBufferNV(display, surface, 60, 60, windowWidth - 120, windowHeight - 120); in swap()
/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/
DPostSubBuffer.cpp129 EGLint windowHeight = static_cast<EGLint>(getWindow()->getHeight()); in swap() local
132 eglPostSubBufferNV(display, surface, 60, 60, windowWidth - 120, windowHeight - 120); in swap()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DPointSpritesTest.cpp32 const int windowHeight = 256; member in PointSpritesTest
36 setWindowHeight(windowHeight); in PointSpritesTest()
194 EXPECT_PIXEL_COLOR_EQ((windowWidth - 1) / 2, (windowHeight - 1) / 2, GLColor::blue); in TEST_P()
270 EXPECT_PIXEL_EQ((windowWidth - 1) / 2, (windowHeight - 1) / 2, 0, 255, 0, 255); in TEST_P()
DSimpleOperationTest.cpp57 int windowHeight);
808 int windowHeight) in testDrawElementsLineLoopUsingClientSideMemory() argument
816 windowHeight, &vertices); in testDrawElementsLineLoopUsingClientSideMemory()
838 int quarterHeight = windowHeight / 4; in testDrawElementsLineLoopUsingClientSideMemory()
/third_party/vk-gl-cts/modules/egl/
DteglCreateSurfaceTests.cpp195 EGLint windowHeight = 0; in executeForConfig() local
198 EGLU_CHECK_CALL(egl, querySurface(display, *surface, EGL_HEIGHT, &windowHeight)); in executeForConfig()
200 if (windowWidth <= 0 || windowHeight <= 0) in executeForConfig()
202 …::Message << " Fail, invalid surface size " << windowWidth << "x" << windowHeight << TestLog::End… in executeForConfig()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DDxgi.cpp91 int windowHeight = rect.bottom - rect.top; in _Present() local
163 StretchBlt(hDC, 0, 0, windowWidth, windowHeight, in _Present()

123