blob: 64c85f7bf4ff790f06299c8d72a720543f61bbd5 [file] [log] [blame]
krajcevskif461a8f2014-06-19 14:14:06 -07001/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef GrDitherEffect_DEFINED
9#define GrDitherEffect_DEFINED
10
11#include "GrTypes.h"
12#include "GrTypesPriv.h"
13
joshualitteb2a6762014-12-04 11:35:33 -080014class GrFragmentProcessor;
krajcevskif461a8f2014-06-19 14:14:06 -070015
16namespace GrDitherEffect {
17 /**
18 * Creates an effect that dithers the resulting color to an RGBA8 framebuffer
19 */
joshualittb0a8a372014-09-23 09:50:21 -070020 GrFragmentProcessor* Create();
krajcevskif461a8f2014-06-19 14:14:06 -070021};
22
23#endif