Flutter Engine
The Flutter Engine
|
#include "export.h"
#include "skwasm_support.h"
#include "surface.h"
#include "wrappers.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/gpu/GpuTypes.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"
#include "third_party/skia/include/gpu/ganesh/GrExternalTextureGenerator.h"
#include "third_party/skia/include/gpu/ganesh/SkImageGanesh.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/gl/GrGLInterface.h"
#include "third_party/skia/include/gpu/gl/GrGLTypes.h"
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <emscripten/html5_webgl.h>
Go to the source code of this file.
Classes | |
class | TextureSourceImageGenerator |
Functions | |
SKWASM_EXPORT SkImage * | image_createFromPicture (SkPicture *picture, int32_t width, int32_t height) |
SKWASM_EXPORT SkImage * | image_createFromPixels (SkData *data, int width, int height, PixelFormat pixelFormat, size_t rowByteCount) |
SKWASM_EXPORT SkImage * | image_createFromTextureSource (SkwasmObject textureSource, int width, int height, Skwasm::Surface *surface) |
SKWASM_EXPORT void | image_ref (SkImage *image) |
SKWASM_EXPORT void | image_dispose (SkImage *image) |
SKWASM_EXPORT int | image_getWidth (SkImage *image) |
SKWASM_EXPORT int | image_getHeight (SkImage *image) |
SKWASM_EXPORT SkImage * image_createFromPicture | ( | SkPicture * | picture, |
int32_t | width, | ||
int32_t | height | ||
) |
Definition at line 116 of file image.cpp.
SKWASM_EXPORT SkImage * image_createFromPixels | ( | SkData * | data, |
int | width, | ||
int | height, | ||
PixelFormat | pixelFormat, | ||
size_t | rowByteCount | ||
) |
Definition at line 125 of file image.cpp.
SKWASM_EXPORT SkImage * image_createFromTextureSource | ( | SkwasmObject | textureSource, |
int | width, | ||
int | height, | ||
Skwasm::Surface * | surface | ||
) |
Definition at line 139 of file image.cpp.
SKWASM_EXPORT void image_dispose | ( | SkImage * | image | ) |
SKWASM_EXPORT int image_getHeight | ( | SkImage * | image | ) |
SKWASM_EXPORT int image_getWidth | ( | SkImage * | image | ) |
SKWASM_EXPORT void image_ref | ( | SkImage * | image | ) |