aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2018-06-20 09:11:24 -0400
committerGravatar Mike Klein <mtklein@google.com>2018-06-20 13:24:24 +0000
commit14538ddf874e1a146487dad02709929c4b63baf5 (patch)
tree83a716aa3757aa713afb0ac1d9c68fe3655c813d
parent86684380537a6e6385633ad5b18d5f97d5e2fef1 (diff)
Fix license file in compute/skc/main.c
NoTry: true Bug: skia:8084 Change-Id: I19a6347b200c19ab333d7a97a8c55d41ccd17927 Reviewed-on: https://skia-review.googlesource.com/136061 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
-rw-r--r--src/compute/skc/main.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/compute/skc/main.c b/src/compute/skc/main.c
index ad18b29375..8833b0bb1c 100644
--- a/src/compute/skc/main.c
+++ b/src/compute/skc/main.c
@@ -1,7 +1,7 @@
/*
* Copyright 2017 Google Inc.
*
- * Use of this source code is governed by a BSVG_DOC-style license that can
+ * Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
*
*/
@@ -49,7 +49,7 @@ skc_runtime_cl_12_debug(struct skc_context * const context);
//
//
-static
+static
void
is_render_complete(skc_surface_t surface,
skc_styling_t styling,
@@ -67,9 +67,9 @@ int
main(int argc, char** argv)
{
//
- //
//
- if (argc <= 1)
+ //
+ if (argc <= 1)
{
fprintf(stderr,"-- missing filename\n");
return EXIT_FAILURE; // no filename
@@ -110,7 +110,7 @@ main(int argc, char** argv)
CL_WGL_HDC_KHR, (cl_context_properties)hDC,
0
};
-
+
//
// create context
//
@@ -136,14 +136,14 @@ main(int argc, char** argv)
skc_raster_builder_t raster_builder;
err = skc_raster_builder_create(context,&raster_builder);
-
+
//
// create a composition
//
skc_composition_t composition;
err = skc_composition_create(context,&composition);
-
+
//
// create a styling instance
//
@@ -154,7 +154,7 @@ main(int argc, char** argv)
svg_doc_layer_count(svg_doc),
1000,
2 * 1024 * 1024);
-
+
//
// create a surface
//
@@ -191,7 +191,7 @@ main(int argc, char** argv)
skc_transform_stack_restore(ts,ts_save);
// decode layers -- places rasters
- svg_doc_layers_decode(svg_doc,rasters,composition,styling,true/*is_srgb*/);
+ svg_doc_layers_decode(svg_doc,rasters,composition,styling,true/*is_srgb*/);
// seal the composition
skc_composition_seal(composition);
@@ -244,7 +244,7 @@ main(int argc, char** argv)
// unseal the composition
skc_composition_unseal(composition,true);
}
-
+
//
// dispose of mundane resources
//