gfx/skia/trunk/src/opts/SkBitmapProcState_opts_none.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/opts/SkBitmapProcState_opts_none.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +
     1.5 +/*
     1.6 + * Copyright 2011 Google Inc.
     1.7 + *
     1.8 + * Use of this source code is governed by a BSD-style license that can be
     1.9 + * found in the LICENSE file.
    1.10 + */
    1.11 +#include "SkBitmapProcState.h"
    1.12 +
    1.13 +/*  A platform may optionally overwrite any of these with accelerated
    1.14 +    versions. On input, these will already have valid function pointers,
    1.15 +    so a platform need only overwrite the ones it chooses, based on the
    1.16 +    current state (e.g. fBitmap, fInvMatrix, etc.)
    1.17 +
    1.18 +    fShaderProc32
    1.19 +    fShaderProc16
    1.20 +    fMatrixProc
    1.21 +    fSampleProc32
    1.22 +    fSampleProc32
    1.23 + */
    1.24 +
    1.25 +// empty implementation just uses default supplied function pointers
    1.26 +void SkBitmapProcState::platformProcs() {}
    1.27 +
    1.28 +// empty implementation just uses default supplied function pointers
    1.29 +void SkBitmapProcState::platformConvolutionProcs(SkConvolutionProcs*) {}

mercurial