Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/samples/gles1/
H A DDrawTexture.cpp59 GLint windowWidth = getWindow()->getWidth(); variable
63 glDrawTexiOES(windowWidth - mX, mY, 0, mWidth, mHeight);
65 glDrawTexiOES(windowWidth - mX, windowHeight - mY, 0, mWidth, mHeight);
70 if (mX + mWidth >= windowWidth)
82 if (mWidth >= windowWidth)
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A 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/skia/third_party/externals/angle2/src/tests/perf_tests/
H A 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 / param in renderScene()
[all...]
H A 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 in CombineWithTraceInfo()
[all...]
H A DIndexConversionPerf.cpp192 params.windowWidth = 256; in IndexConversionPerfD3D11Params()
206 params.windowWidth = 256; in IndexRangeOffsetPerfD3D11Params()
H A DDrawCallPerfParams.cpp18 windowWidth = 64; in DrawCallPerfParams()
H A DDrawCallPerf.cpp429 unsigned int windowWidth, in ChangeScissorThenDraw()
482 unsigned int scissorX = windowWidth / 2 - 1; in ChangeScissorThenDraw()
496 scissorX = windowWidth / 2 - 1 - scissorPatternIteration * 2; in ChangeScissorThenDraw()
427 ChangeScissorThenDraw(unsigned int iterations, GLsizei numElements, unsigned int windowWidth, unsigned int windowHeight) ChangeScissorThenDraw() argument
H A DVertexArrayPerfTest.cpp34 windowWidth = 720; in VertexArrayParams()
H A DBlitFramebufferPerf.cpp102 windowWidth = 256; in BlitFramebufferParams()
H A DPointSprites.cpp33 windowWidth = 1280; in PointSpritesParams()
H A DInterleavedAttributeData.cpp29 windowWidth = 512; in InterleavedAttributeDataParams()
H A DLinkProgramPerfTest.cpp46 windowWidth = 256; in LinkProgramParams()
H A DVulkanBarriersPerf.cpp32 windowWidth = 256; in VulkanBarriersPerfParams()
H A DANGLEPerfTest.h142 EGLint windowWidth = 64; member
H A DBindingPerf.cpp44 windowWidth = 720; in BindingsParams()
H A DTextureSampling.cpp36 windowWidth = 720; in TextureSamplingParams()
H A DFramebufferAttachmentPerfTest.cpp34 windowWidth = kTextureSize; in FramebufferAttachmentParams()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A 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);
H A 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 / in TEST_P()
[all...]
H A DSimpleOperationTest.cpp51 int windowWidth,
932 int windowWidth, in testDrawElementsLineLoopUsingClientSideMemory()
940 CreatePixelCenterWindowCoords({{32, 96}, {32, 32}, {96, 32}, {96, 96}}, windowWidth, in testDrawElementsLineLoopUsingClientSideMemory()
962 int quarterWidth = windowWidth / 4; in testDrawElementsLineLoopUsingClientSideMemory()
931 testDrawElementsLineLoopUsingClientSideMemory(GLenum indexType, int windowWidth, int windowHeight) testDrawElementsLineLoopUsingClientSideMemory() argument
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferGDI.cpp55 int windowWidth = width + (windowRect.right - windowRect.left) - (clientRect.right - clientRect.left); in ~FrameBufferGDI() local
59 SetWindowPos(windowHandle, HWND_TOP, desktopWidth / 2 - windowWidth / 2, desktopHeight / 2 - windowHeight / 2, windowWidth, windowHeight, SWP_SHOWWINDOW); in ~FrameBufferGDI()
/third_party/vk-gl-cts/modules/glshared/
H A DglsFragmentOpUtil.hpp96 IntegerQuad (int windowWidth, int windowHeight) in IntegerQuad()
98 , posB(windowWidth-1, windowHeight-1) in IntegerQuad()
/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/
H A DPostSubBuffer.cpp128 EGLint windowWidth = static_cast<EGLint>(getWindow()->getWidth()); variable
132 eglPostSubBufferNV(display, surface, 60, 60, windowWidth - 120, windowHeight - 120);
/third_party/vk-gl-cts/modules/egl/
H A 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 << TestLog::EndMessage; in executeForConfig()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DDxgiFns.cpp90 int windowWidth = rect.right - rect.left; in _Present() local
163 StretchBlt(hDC, 0, 0, windowWidth, windowHeight, in _Present()

Completed in 17 milliseconds

12