office-gobmx/external/skia/source/skia_opts_ssse3.cxx
Luboš Luňák 991b4e032a better name for a helper Skia function
What it really does is converting RGBA to R, so name it after
what it does. That the result happens to be kind-of-grey of the RGBA
is just a result of VCL providing the data that way.

Change-Id: Ic017e34d91879679e0a7dad4d6ab35650fc3a89b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107408
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-12-09 11:50:33 +01:00

17 lines
385 B
C++

/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <skia_opts.hxx>
#define SK_OPTS_NS ssse3
#include "skia_opts_internal.hxx"
namespace SkLoOpts {
void Init_ssse3() {
RGB1_to_RGB = ssse3::RGB1_to_RGB;
RGB1_to_R = ssse3::RGB1_to_R;
}
}