Skip to content

Commit

Permalink
Initial tests for Skia
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Jan 11, 2024
1 parent 298c2e0 commit 095ca8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions kivy/graphics/fbo.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,6 @@ cdef class Fbo(RenderContext):
'''
return self._texture

@property
def buf_id(self):
return self.buffer_id

@property
def pixels(self):
'''Get the pixels texture, in RGBA format only, unsigned byte. The
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,13 +886,11 @@ def determine_sdl2():

skia_flags = {
'include_dirs': ["/Users/mirko/Documents/projects/skia"],
'libraries': ['bentleyottmann', 'compression_utils_portable', 'dng_sdk', 'expat', 'harfbuzz', 'icu', 'pathkit', 'skia', 'skottie', 'skparagraph', 'skresources', 'sksg', 'skshaper', 'sktext', 'skunicode', 'svg'],
'libraries': ['skia', 'skparagraph', 'skshaper', 'skunicode'],
'library_dirs': [os.path.join(KIVY_DEPS_ROOT, 'dist', 'lib', 'skia')],
# 'extra_link_args': ['-Wl,-rpath,' + os.path.join(KIVY_DEPS_ROOT, 'dist', 'lib')],
'extra_link_args': ['-framework', 'CoreText', '-Wl,-rpath,' + os.path.join(KIVY_DEPS_ROOT, 'dist', 'lib', 'skia')],
'language': 'c++',
# 'depends': ['core/text/text_skia_implem.cpp'],
'extra_compile_args': ['-std=c++17', '-stdlib=libc++'],
'extra_link_args': ['-framework', 'CoreText'],
}

sources = {
Expand Down

0 comments on commit 095ca8d

Please sign in to comment.