#include "flutter/shell/platform/linux/fl_opengl_frame.h"#include <epoxy/gl.h>#include "flutter/shell/platform/linux/fl_compositor_opengl.h"#include "flutter/shell/platform/linux/fl_framebuffer.h"#include "flutter/shell/platform/linux/fl_opengl_manager.h"#include "flutter/shell/platform/linux/testing/linux_test.h"#include "flutter/shell/platform/linux/testing/mock_epoxy.h"#include "gtest/gtest.h"Go to the source code of this file.
Classes | |
| class | FlOpenGLFrameTest |
Functions | |
| TEST_F (FlOpenGLFrameTest, GetSizeInitiallyZero) | |
| TEST_F (FlOpenGLFrameTest, CompositeRGBA) | |
| TEST_F (FlOpenGLFrameTest, CompositeBGRA) | |
| TEST_F (FlOpenGLFrameTest, ZeroSizeClearsFrame) | |
| TEST_F (FlOpenGLFrameTest, NoLayersClearsFrame) | |
| TEST_F (FlOpenGLFrameTest, NoLayersWithoutFrame) | |
| TEST_F (FlOpenGLFrameTest, CompositeReadsBackPixels) | |
| TEST_F (FlOpenGLFrameTest, CompositeNotSynchronizedTwice) | |
| TEST_F (FlOpenGLFrameTest, DrawWithoutFrame) | |
| TEST_F (FlOpenGLFrameTest, DrawUploadsPixels) | |
| TEST_F | ( | FlOpenGLFrameTest | , |
| CompositeBGRA | |||
| ) |
Definition at line 72 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_get_size(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.
| TEST_F | ( | FlOpenGLFrameTest | , |
| CompositeNotSynchronizedTwice | |||
| ) |
Definition at line 219 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.
| TEST_F | ( | FlOpenGLFrameTest | , |
| CompositeReadsBackPixels | |||
| ) |
Definition at line 193 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.
| TEST_F | ( | FlOpenGLFrameTest | , |
| CompositeRGBA | |||
| ) |
Definition at line 42 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_get_size(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.
| TEST_F | ( | FlOpenGLFrameTest | , |
| DrawUploadsPixels | |||
| ) |
Definition at line 257 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_draw(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.
| TEST_F | ( | FlOpenGLFrameTest | , |
| DrawWithoutFrame | |||
| ) |
Definition at line 242 of file fl_opengl_frame_test.cc.
References fl_opengl_frame_draw(), fl_opengl_frame_new(), and g_autoptr().
| TEST_F | ( | FlOpenGLFrameTest | , |
| GetSizeInitiallyZero | |||
| ) |
Definition at line 33 of file fl_opengl_frame_test.cc.
References fl_opengl_frame_get_size(), fl_opengl_frame_new(), and g_autoptr().
| TEST_F | ( | FlOpenGLFrameTest | , |
| NoLayersClearsFrame | |||
| ) |
Definition at line 142 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_get_size(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.
| TEST_F | ( | FlOpenGLFrameTest | , |
| NoLayersWithoutFrame | |||
| ) |
Definition at line 177 of file fl_opengl_frame_test.cc.
References fl_opengl_frame_composite(), fl_opengl_frame_get_size(), fl_opengl_frame_new(), and g_autoptr().
| TEST_F | ( | FlOpenGLFrameTest | , |
| ZeroSizeClearsFrame | |||
| ) |
Definition at line 102 of file fl_opengl_frame_test.cc.
References fl_framebuffer_new(), fl_opengl_frame_composite(), fl_opengl_frame_get_size(), fl_opengl_frame_new(), g_autoptr(), height, layers, and width.