Flutter Engine
The Flutter Engine
|
#include "flutter/shell/gpu/gpu_surface_gl_skia.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/base32.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/size.h"
#include "flutter/fml/trace_event.h"
#include "flutter/shell/common/context_options.h"
#include "flutter/shell/gpu/gpu_surface_gl_delegate.h"
#include "third_party/skia/include/core/SkAlphaType.h"
#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkColorType.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/GrContextOptions.h"
#include "third_party/skia/include/gpu/ganesh/SkSurfaceGanesh.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h"
#include "third_party/skia/include/gpu/ganesh/gl/GrGLDirectContext.h"
#include "third_party/skia/include/gpu/gl/GrGLTypes.h"
Go to the source code of this file.
Namespaces | |
namespace | flutter |
Macros | |
#define | GPU_GL_RGBA8 0x8058 |
#define | GPU_GL_RGBA4 0x8056 |
#define | GPU_GL_RGB565 0x8D62 |
#define | RETURN_IF_RENDERABLE(x, y) |
Functions | |
static SkColorType | flutter::FirstSupportedColorType (GrDirectContext *context, GrGLenum *format) |
static sk_sp< SkSurface > | flutter::WrapOnscreenSurface (GrDirectContext *context, const SkISize &size, intptr_t fbo) |
Variables | |
static const size_t | flutter::kGrCacheMaxByteSize = 24 * (1 << 20) |
#define GPU_GL_RGB565 0x8D62 |
Definition at line 32 of file gpu_surface_gl_skia.cc.
#define GPU_GL_RGBA4 0x8056 |
Definition at line 31 of file gpu_surface_gl_skia.cc.
#define GPU_GL_RGBA8 0x8058 |
Definition at line 30 of file gpu_surface_gl_skia.cc.