#include "flutter/shell/platform/linux/fl_texture_gl_private.h"
#include "flutter/shell/platform/linux/fl_texture_private.h"
#include "flutter/shell/platform/linux/fl_texture_registrar_private.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_texture.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_texture_registrar.h"
#include "flutter/shell/platform/linux/testing/fl_test.h"
#include "gtest/gtest.h"
#include <epoxy/gl.h>
Go to the source code of this file.
Functions | |
G_DECLARE_FINAL_TYPE (FlTestTexture, fl_test_texture, FL, TEST_TEXTURE, FlTextureGL) struct _FlTestTexture | |
A simple texture. More... | |
static gboolean | fl_test_texture_populate (FlTextureGL *texture, uint32_t *target, uint32_t *name, uint32_t *width, uint32_t *height, GError **error) |
static void | fl_test_texture_class_init (FlTestTextureClass *klass) |
static void | fl_test_texture_init (FlTestTexture *self) |
static FlTestTexture * | fl_test_texture_new () |
TEST (FlTextureGLTest, TextureID) | |
TEST (FlTextureGLTest, PopulateTexture) | |
Variables | |
static constexpr uint32_t | kBufferWidth = 4u |
static constexpr uint32_t | kBufferHeight = 4u |
static constexpr uint32_t | kRealBufferWidth = 2u |
static constexpr uint32_t | kRealBufferHeight = 2u |
|
static |
Definition at line 51 of file fl_texture_gl_test.cc.
References fl_test_texture_populate().
|
static |
Definition at line 55 of file fl_texture_gl_test.cc.
|
static |
Definition at line 57 of file fl_texture_gl_test.cc.
Referenced by TEST().
|
static |
Definition at line 33 of file fl_texture_gl_test.cc.
References height, kBufferHeight, kBufferWidth, kRealBufferHeight, kRealBufferWidth, target, TRUE, and width.
Referenced by fl_test_texture_class_init().
G_DECLARE_FINAL_TYPE | ( | FlTestTexture | , |
fl_test_texture | , | ||
FL | , | ||
TEST_TEXTURE | , | ||
FlTextureGL | |||
) |
A simple texture.
Definition at line 20 of file fl_texture_gl_test.cc.
TEST | ( | FlTextureGLTest | , |
PopulateTexture | |||
) |
Definition at line 69 of file fl_texture_gl_test.cc.
References error, fl_test_texture_new(), fl_texture_gl_populate(), kBufferHeight, kBufferWidth, kRealBufferHeight, and kRealBufferWidth.
TEST | ( | FlTextureGLTest | , |
TextureID | |||
) |
Definition at line 62 of file fl_texture_gl_test.cc.
References fl_test_texture_new(), fl_texture_get_id(), and fl_texture_set_id().
|
staticconstexpr |
Definition at line 16 of file fl_texture_gl_test.cc.
Referenced by fl_test_texture_populate(), and TEST().
|
staticconstexpr |
Definition at line 15 of file fl_texture_gl_test.cc.
Referenced by fl_test_texture_populate(), and TEST().
|
staticconstexpr |
Definition at line 18 of file fl_texture_gl_test.cc.
Referenced by fl_test_texture_populate(), and TEST().
|
staticconstexpr |
Definition at line 17 of file fl_texture_gl_test.cc.
Referenced by fl_test_texture_populate(), and TEST().