#include <thread>#include "flutter/shell/platform/linux/testing/linux_test.h"#include "gtest/gtest.h"#include "flutter/common/constants.h"#include "flutter/fml/logging.h"#include "flutter/shell/platform/linux/fl_compositor_opengl.h"#include "flutter/shell/platform/linux/fl_engine_private.h"#include "flutter/shell/platform/linux/fl_framebuffer.h"#include "flutter/shell/platform/linux/fl_opengl_manager.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h"#include "flutter/shell/platform/linux/testing/mock_epoxy.h"#include "flutter/shell/platform/linux/testing/mock_gtk.h"#include "flutter/shell/platform/linux/testing/mock_renderable.h"#include <epoxy/egl.h>Go to the source code of this file.
Classes | |
| class | FlCompositorOpenGLTest |
Functions | |
| TEST_F (FlCompositorOpenGLTest, CompositeNoLayers) | |
| TEST_F (FlCompositorOpenGLTest, Composite) | |
| TEST_F (FlCompositorOpenGLTest, RestoresGLState) | |
| TEST_F (FlCompositorOpenGLTest, BlitFramebuffer) | |
| TEST_F (FlCompositorOpenGLTest, BlitFramebufferExtension) | |
| TEST_F (FlCompositorOpenGLTest, NoBlitFramebuffer) | |
| TEST_F (FlCompositorOpenGLTest, BlitFramebufferNvidia) | |
| TEST_F (FlCompositorOpenGLTest, FrameFormatMatchesBackingStore) | |
| TEST_F (FlCompositorOpenGLTest, FrameFormatDefaultsToRGBA) | |
| TEST_F (FlCompositorOpenGLTest, FrameFormatSkipsPlatformViews) | |
| TEST_F (FlCompositorOpenGLTest, FrameFormatIgnoresTextureFormatExtension) | |
| TEST_F | ( | FlCompositorOpenGLTest | , |
| BlitFramebuffer | |||
| ) |
Definition at line 120 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), fl_compositor_opengl_new(), fl_framebuffer_get_id(), fl_framebuffer_new(), g_autoptr(), height, layers, target, and width.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| BlitFramebufferExtension | |||
| ) |
Definition at line 154 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), fl_compositor_opengl_new(), fl_framebuffer_get_id(), fl_framebuffer_new(), g_autoptr(), height, layers, target, and width.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| BlitFramebufferNvidia | |||
| ) |
Definition at line 227 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), fl_compositor_opengl_new(), fl_framebuffer_get_id(), fl_framebuffer_new(), g_autoptr(), height, layers, target, and width.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| Composite | |||
| ) |
Definition at line 52 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), fl_compositor_opengl_new(), fl_framebuffer_get_id(), fl_framebuffer_new(), g_autoptr(), height, layers, target, and width.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| CompositeNoLayers | |||
| ) |
Definition at line 44 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), and fl_compositor_opengl_new().
| TEST_F | ( | FlCompositorOpenGLTest | , |
| FrameFormatDefaultsToRGBA | |||
| ) |
Definition at line 286 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_get_frame_format().
| TEST_F | ( | FlCompositorOpenGLTest | , |
| FrameFormatIgnoresTextureFormatExtension | |||
| ) |
Definition at line 339 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_get_frame_format(), and layers.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| FrameFormatMatchesBackingStore | |||
| ) |
Definition at line 265 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_get_frame_format().
| TEST_F | ( | FlCompositorOpenGLTest | , |
| FrameFormatSkipsPlatformViews | |||
| ) |
Definition at line 317 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_get_frame_format(), and layers.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| NoBlitFramebuffer | |||
| ) |
Definition at line 193 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), fl_compositor_opengl_new(), fl_framebuffer_get_id(), fl_framebuffer_new(), g_autoptr(), height, layers, target, and width.
| TEST_F | ( | FlCompositorOpenGLTest | , |
| RestoresGLState | |||
| ) |
Definition at line 75 of file fl_compositor_opengl_test.cc.
References fl_compositor_opengl_composite_layers(), fl_compositor_opengl_new(), fl_framebuffer_get_id(), fl_framebuffer_new(), g_autoptr(), height, layers, target, and width.