Home
last modified time | relevance | path

Searched refs:getWindow (Results 1 - 25 of 70) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/
H A DPostSubBuffer.cpp87 60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(), 1.0f, 20.0f);
103 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
128 EGLint windowWidth = static_cast<EGLint>(getWindow()->getWidth());
129 EGLint windowHeight = static_cast<EGLint>(getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/gles1/
H A DDrawTexture.cpp48 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
59 GLint windowWidth = getWindow()->getWidth();
60 GLint windowHeight = getWindow()->getHeight();
H A DHelloTriangle.cpp39 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
H A DSimpleTexture2D.cpp57 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/simple_vertex_shader/
H A DSimpleVertexShader.cpp84 60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(), 1.0f, 20.0f);
100 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
H A DTorusLightingES1.cpp49 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
51 float ratio = static_cast<float>(getWindow()->getWidth()) /
52 static_cast<float>(getWindow()->getHeight());
H A DTorusLightingES2.cpp66 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
78 float ratio = static_cast<float>(getWindow()->getWidth()) /
79 static_cast<float>(getWindow()->getHeight());
H A DTorusBufferStorage.cpp98 float ratio = static_cast<float>(getWindow()->getWidth()) /
99 static_cast<float>(getWindow()->getHeight());
103 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/multiview/
H A DMultiview.cpp79 int viewWidth = getWindow()->getWidth() / 2;
80 int viewHeight = getWindow()->getHeight();
260 const int viewWidth = getWindow()->getWidth() / 2;
261 const int viewHeight = getWindow()->getHeight();
339 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/multiple_draw_buffers/
H A DMultipleDrawBuffers.cpp92 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindow()->getWidth(),
93 getWindow()->getHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr);
141 GLint width = static_cast<GLint>(getWindow()->getWidth());
142 GLint height = static_cast<GLint>(getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DInterleavedAttributeData.cpp118 (static_cast<float>(rand() % getWindow()->getWidth()) / getWindow()->getWidth()) * in initializeBenchmark()
122 (static_cast<float>(rand() % getWindow()->getHeight()) / getWindow()->getHeight()) * in initializeBenchmark()
H A DDrawElementsPerf.cpp149 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
153 CreateColorFBO(getWindow()->getWidth(), getWindow()->getHeight(), &mTexture, &mFBO); in initializeBenchmark()
H A DInstancingPerf.cpp238 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
250 static_cast<float>(getWindow()->getWidth()) / static_cast<float>(getWindow()->getHeight()); in initializeBenchmark()
254 getWindow()->setVisible(true); in initializeBenchmark()
H A DDrawCallPerf.cpp250 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
254 CreateColorFBO(getWindow()->getWidth(), getWindow()->getHeight(), &mFBOTexture, &mFBO); in initializeBenchmark()
574 ChangeScissorThenDraw(params.iterationsPerStep, numElements, getWindow()->getWidth(), in drawBenchmark()
575 getWindow()->getHeight()); in drawBenchmark()
H A DPreRotationPerf.cpp118 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
H A DClearPerf.cpp95 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
H A DIndexConversionPerf.cpp117 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
/third_party/skia/third_party/externals/angle2/samples/hello_triangle/
H A DHelloTriangle.cpp61 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/simple_texture_2d/
H A DSimpleTexture2D.cpp88 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/
H A DSimpleTextureCubemap.cpp83 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
H A DvktWsiSurfaceTests.cpp231 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in createSurfaceTest()
240 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in querySurfaceCounterTest()
276 native.getWindow(), in createSurfaceCustomAllocatorTest()
323 native.getWindow(), in createSurfaceSimulateOOMTest()
372 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in querySurfaceSupportTest()
411 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in queryPresentationSupportTest()
506 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in querySurfaceCapabilitiesTest()
534 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in querySurfaceCapabilities2Test()
595 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), context.getTestContext().getCommandLine())); in querySurfaceProtectedCapabilitiesTest()
688 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, instHelper.instance, wsiType, native.getDisplay(), native.getWindow(), contex in querySurfaceFormatsTest()
[all...]
/third_party/skia/third_party/externals/angle2/samples/simple_instancing/
H A DSimpleInstancing.cpp134 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/multi_texture/
H A DMultiTexture.cpp116 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/mip_map_2d/
H A DMipMap2D.cpp95 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/third_party/skia/third_party/externals/angle2/samples/stencil_operations/
H A DStencilOperations.cpp111 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());

Completed in 11 milliseconds

123