Fix Bookmaker docs for MakeFromCompressed
CQ_INCLUDE_TRYBOTS=skia.primary:Housekeeper-PerCommit-Bookmaker Change-Id: Ib73c6f9d0ca254540f16cf8638b89790a62330f9 Reviewed-on: https://skia-review.googlesource.com/c/185321 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
parent
d4a6a15e02
commit
5acf39b5a3
@ -253,6 +253,40 @@ for (int quality : { 100, 50, 10, 1} ) {
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
#Enum CompressionType
|
||||
#Line # option for MakeFromCompressed ##
|
||||
#Code
|
||||
#Populate
|
||||
##
|
||||
|
||||
Used to inform MakeFromCompressed which compression method was used on the
|
||||
input data.
|
||||
|
||||
#Const kETC1_CompressionType 0
|
||||
#Line # compressed data uses ETC1 compression ##
|
||||
##
|
||||
|
||||
#NoExample
|
||||
##
|
||||
|
||||
#SeeAlso MakeFromCompressed
|
||||
|
||||
#Enum ##
|
||||
|
||||
#Method static sk_sp<SkImage> MakeFromCompressed(GrContext* context, sk_sp<SkData> data, int width, int height, CompressionType type)
|
||||
#In Constructors
|
||||
#Line # creates a GPU-backed Image from compressed data ##
|
||||
#Populate
|
||||
|
||||
#NoExample
|
||||
##
|
||||
|
||||
#SeeAlso MakeFromTexture CompressionType
|
||||
|
||||
#Method ##
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
#Typedef void (*TextureReleaseProc)(ReleaseContext releaseContext)
|
||||
#Line # parameter type for MakeFromTexture ##
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user