Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 – 25 of 63) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/samples/gles1/
DDrawTexture.cpp59 GLint windowWidth = getWindow()->getWidth(); in draw() local
63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
70 if (mX + mWidth >= windowWidth) in draw()
82 if (mWidth >= windowWidth) in draw()
/third_party/skia/third_party/externals/angle2/samples/gles1/
DDrawTexture.cpp59 GLint windowWidth = getWindow()->getWidth(); in draw() local
63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight); in draw()
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight); in draw()
70 if (mX + mWidth >= windowWidth) in draw()
82 if (mWidth >= windowWidth) in draw()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DSurface.cpp336 int windowWidth = client.right - client.left; in checkForResize() local
339 int windowWidth = ANativeWindow_getWidth(window); in checkForResize()
350 int windowWidth = windowAttributes.width; in checkForResize()
354 int windowWidth = 100; in checkForResize()
357 int windowWidth; in checkForResize()
359 sw::OSX::GetNativeWindowSize(window, windowWidth, windowHeight); in checkForResize()
362 int windowWidth = 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.cu28 const int windowWidth, in MaxPoolWithArgmax() argument
50 const int wend = min(wstart + windowWidth, w); in MaxPoolWithArgmax()
78 const int windowWidth, in CalMaxPoolWithArgmax() argument
101 windowWidth, in CalMaxPoolWithArgmax()
121 const int windowWidth,
138 const int windowWidth,
Dmaxpool_with_argmax_impl.cuh21 … const int windowWidth, const int strideHeight, const int strideWidth, const int padTop,
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp86 windowWidth = workloadIn.first; in MultiviewPerfParams()
234 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, params->windowWidth, params->windowHeight, 0, in initializeBenchmark()
238 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT32F, params->windowWidth, in initializeBenchmark()
252 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, params->windowWidth, in initializeBenchmark()
256 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_DEPTH_COMPONENT32F, params->windowWidth, in initializeBenchmark()
280 const int viewWidth = params->windowWidth / params->numViews; in drawBenchmark()
342 const float viewWidth = static_cast<float>(params->windowWidth / params->numViews); in initializeBenchmark()
377 const int viewWidth = params->windowWidth / params->numViews; in renderScene()
453 const int viewWidth = params->windowWidth / params->numViews; in initializeBenchmark()
525 const int viewWidth = params->windowWidth / params->numViews; in renderScene()
DIndexConversionPerf.cpp192 params.windowWidth = 256; in IndexConversionPerfD3D11Params()
206 params.windowWidth = 256; in IndexRangeOffsetPerfD3D11Params()
DDrawCallPerfParams.cpp18 windowWidth = 64; in DrawCallPerfParams()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp86 windowWidth = workloadIn.first; in MultiviewPerfParams()
234 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, params->windowWidth, params->windowHeight, 0, in initializeBenchmark()
238 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT32F, params->windowWidth, in initializeBenchmark()
252 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, params->windowWidth, in initializeBenchmark()
256 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_DEPTH_COMPONENT32F, params->windowWidth, in initializeBenchmark()
280 const int viewWidth = params->windowWidth / params->numViews; in drawBenchmark()
342 const float viewWidth = static_cast<float>(params->windowWidth / params->numViews); in initializeBenchmark()
377 const int viewWidth = params->windowWidth / params->numViews; in renderScene()
453 const int viewWidth = params->windowWidth / params->numViews; in initializeBenchmark()
525 const int viewWidth = params->windowWidth / params->numViews; in renderScene()
DTracePerfTest.cpp1219 mWindowWidth = mTestParams.windowWidth; in initializeBenchmark()
1227 getWindow()->setOrientation(mTestParams.windowWidth, mTestParams.windowHeight); in initializeBenchmark()
1332 static_cast<uint32_t>(static_cast<double>(mTestParams.windowWidth) / 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()
1860 for (EGLint x = 0; x < mTestParams.windowWidth; ++x) in saveScreenshot()
1862 EGLint srcPixel = x + y * mTestParams.windowWidth; in saveScreenshot()
1863 EGLint dstPixel = x + (mTestParams.windowHeight - y - 1) * mTestParams.windowWidth; in saveScreenshot()
1868 if (!angle::SavePNGRGB(screenshotName.c_str(), "ANGLE Screenshot", mTestParams.windowWidth, in saveScreenshot()
1885 out.windowWidth = traceInfo.drawSurfaceWidth; in CombineWithTraceInfo()
[all …]
DIndexConversionPerf.cpp192 params.windowWidth = 256; in IndexConversionPerfD3D11Params()
206 params.windowWidth = 256; in IndexRangeOffsetPerfD3D11Params()
DDrawCallPerfParams.cpp18 windowWidth = 64; in DrawCallPerfParams()
DDrawCallPerf.cpp429 unsigned int windowWidth, in ChangeScissorThenDraw() argument
482 unsigned int scissorX = windowWidth / 2 - 1; in ChangeScissorThenDraw()
496 scissorX = windowWidth / 2 - 1 - scissorPatternIteration * 2; in ChangeScissorThenDraw()
DPointSprites.cpp33 windowWidth = 1280; in PointSpritesParams()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DPointSpritesTest.cpp31 const int windowWidth = 256; member in PointSpritesTest
35 setWindowWidth(windowWidth); in PointSpritesTest()
43 float s2p(float s) { return (s + 1.0f) * 0.5f * (GLfloat)windowWidth; } in s2p()
59 GLfloat pointWidth = maxPointSize / windowWidth; in testPointCoordAndPointSizeCompliance()
69 GLfloat pixelOffset = ((int)maxPointSize % 2) ? (1.0f / (GLfloat)windowWidth) : 0; in testPointCoordAndPointSizeCompliance()
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.cpp56 int windowWidth,
807 int windowWidth, in testDrawElementsLineLoopUsingClientSideMemory() argument
815 CreatePixelCenterWindowCoords({{32, 96}, {32, 32}, {96, 32}, {96, 96}}, windowWidth, in testDrawElementsLineLoopUsingClientSideMemory()
837 int quarterWidth = windowWidth / 4; in testDrawElementsLineLoopUsingClientSideMemory()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DPointSpritesTest.cpp30 const int windowWidth = 256; member in PointSpritesTest
34 setWindowWidth(windowWidth); in PointSpritesTest()
42 float s2p(float s) { return (s + 1.0f) * 0.5f * (GLfloat)windowWidth; } in s2p()
58 GLfloat pointWidth = maxPointSize / windowWidth; in testPointCoordAndPointSizeCompliance()
68 GLfloat pixelOffset = ((int)maxPointSize % 2) ? (1.0f / (GLfloat)windowWidth) : 0; in testPointCoordAndPointSizeCompliance()
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()
DClipDistanceTest.cpp973 const int windowWidth = getWindowWidth(); 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()
1218 const int windowWidth = getWindowWidth(); 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()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferGDI.cpp55 …int windowWidth = width + (windowRect.right - windowRect.left) - (clientRect.right - clientRect.le… in ~FrameBufferGDI() local
59 …windowHandle, HWND_TOP, desktopWidth / 2 - windowWidth / 2, desktopHeight / 2 - windowHeight / 2, in ~FrameBufferGDI()
/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.cpp135 EGLint windowWidth = static_cast<EGLint>(getWindow()->getWidth()); 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.cpp128 EGLint windowWidth = static_cast<EGLint>(getWindow()->getWidth()); in swap() local
132 eglPostSubBufferNV(display, surface, 60, 60, windowWidth - 120, windowHeight - 120); in swap()
/third_party/boost/libs/locale/doc/html/
Dresize.js39 var windowWidth = $(window).width() + "px";
47 var windowWidth = $(window).width() + "px";
/third_party/vk-gl-cts/modules/egl/
DteglCreateSurfaceTests.cpp194 EGLint windowWidth = 0; in executeForConfig() local
197 EGLU_CHECK_CALL(egl, querySurface(display, *surface, EGL_WIDTH, &windowWidth)); in executeForConfig()
200 if (windowWidth <= 0 || windowHeight <= 0) in executeForConfig()
202 …log << TestLog::Message << " Fail, invalid surface size " << windowWidth << "x" << windowHeight <… in executeForConfig()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DDxgi.cpp90 int windowWidth = rect.right - rect.left; in _Present() local
163 StretchBlt(hDC, 0, 0, windowWidth, windowHeight, in _Present()

123