991b4e032a
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>
17 lines
385 B
C++
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;
|
|
}
|
|
}
|