/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/ |
H A D | PostSubBuffer.cpp | 87 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 D | DrawTexture.cpp | 48 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); 59 GLint windowWidth = getWindow()->getWidth(); 60 GLint windowHeight = getWindow()->getHeight();
|
H A D | HelloTriangle.cpp | 39 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
H A D | SimpleTexture2D.cpp | 57 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/skia/third_party/externals/angle2/samples/simple_vertex_shader/ |
H A D | SimpleVertexShader.cpp | 84 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 D | TorusLightingES1.cpp | 49 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); 51 float ratio = static_cast<float>(getWindow()->getWidth()) / 52 static_cast<float>(getWindow()->getHeight());
|
H A D | TorusLightingES2.cpp | 66 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); 78 float ratio = static_cast<float>(getWindow()->getWidth()) / 79 static_cast<float>(getWindow()->getHeight());
|
H A D | TorusBufferStorage.cpp | 98 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 D | Multiview.cpp | 79 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 D | MultipleDrawBuffers.cpp | 92 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 D | InterleavedAttributeData.cpp | 118 (static_cast<float>(rand() % getWindow()->getWidth()) / getWindow()->getWidth()) * in initializeBenchmark() 122 (static_cast<float>(rand() % getWindow()->getHeight()) / getWindow()->getHeight()) * in initializeBenchmark()
|
H A D | DrawElementsPerf.cpp | 149 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark() 153 CreateColorFBO(getWindow()->getWidth(), getWindow()->getHeight(), &mTexture, &mFBO); in initializeBenchmark()
|
H A D | InstancingPerf.cpp | 238 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 D | DrawCallPerf.cpp | 250 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 D | PreRotationPerf.cpp | 118 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
|
H A D | ClearPerf.cpp | 95 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
|
H A D | IndexConversionPerf.cpp | 117 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight()); in initializeBenchmark()
|
/third_party/skia/third_party/externals/angle2/samples/hello_triangle/ |
H A D | HelloTriangle.cpp | 61 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/skia/third_party/externals/angle2/samples/simple_texture_2d/ |
H A D | SimpleTexture2D.cpp | 88 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/ |
H A D | SimpleTextureCubemap.cpp | 83 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
H A D | vktWsiSurfaceTests.cpp | 231 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 D | SimpleInstancing.cpp | 134 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/skia/third_party/externals/angle2/samples/multi_texture/ |
H A D | MultiTexture.cpp | 116 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/skia/third_party/externals/angle2/samples/mip_map_2d/ |
H A D | MipMap2D.cpp | 95 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|
/third_party/skia/third_party/externals/angle2/samples/stencil_operations/ |
H A D | StencilOperations.cpp | 111 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
|