Skip to content

Commit

Permalink
Merge branch 'bitmap_allocator_pixelref' into id_change_listener
Browse files Browse the repository at this point in the history
# Conflicts:
#	include/xamarin/sk_managedpixelref.h
#	src/xamarin/sk_managedpixelref.cpp
  • Loading branch information
mgood7123 committed Jul 9, 2022
2 parents 7003f97 + 9a7aedc commit fd2eeb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/c/sk_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,15 @@ typedef struct sk_string_t sk_string_t;
A sk_bitmap_t is an abstraction that specifies a raster bitmap.
*/
typedef struct sk_bitmap_t sk_bitmap_t;
typedef struct sk_bitmapallocator_t sk_bitmapallocator_t;
typedef struct sk_pixmap_t sk_pixmap_t;
// placed here to help seperate in PR
typedef struct sk_png_chunk_reader_t sk_png_chunk_reader_t;
// placed here to help seperate in PR
typedef struct sk_pixelref_t sk_pixelref_t;
typedef struct sk_colorfilter_t sk_colorfilter_t;
// placed here to help seperate in PR
typedef struct sk_pixelref_t sk_pixelref_t;
typedef struct sk_imagefilter_t sk_imagefilter_t;
typedef struct sk_imagefilter_croprect_t sk_imagefilter_croprect_t;

Expand Down
7 changes: 7 additions & 0 deletions src/xamarin/SkiaKeeper.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@

// Xamarin
#include "include/xamarin/sk_managedstream.h"
// placed here to help seperate in PR
#include "include/xamarin/sk_managedallocator.h"
#include "include/xamarin/sk_managedpixelref.h"
#include "include/xamarin/sk_manageddrawable.h"
#include "include/xamarin/sk_managedpngchunkreader.h"
#include "include/xamarin/sk_managedallocator.h"
Expand Down Expand Up @@ -114,6 +117,10 @@ void** KeepSkiaCSymbols (void)
// Xamarin
(void*)sk_compatpaint_new,
(void*)sk_managedstream_new,
// placed here to help seperate in PR
(void*)sk_managedallocator_new,
(void*)sk_managedpixelref_new,
(void*)sk_managedpixelref_new_from_existing,
(void*)sk_manageddrawable_new,
(void*)sk_managedpngchunkreader_new,
(void*)sk_managedallocator_new,
Expand Down

0 comments on commit fd2eeb9

Please sign in to comment.