4
* A Low Level GPU Graphics and Utilities API
6
* Copyright (C) 2012 Intel Corporation.
8
* Permission is hereby granted, free of charge, to any person
9
* obtaining a copy of this software and associated documentation
10
* files (the "Software"), to deal in the Software without
11
* restriction, including without limitation the rights to use, copy,
12
* modify, merge, publish, distribute, sublicense, and/or sell copies
13
* of the Software, and to permit persons to whom the Software is
14
* furnished to do so, subject to the following conditions:
16
* The above copyright notice and this permission notice shall be
17
* included in all copies or substantial portions of the Software.
19
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
23
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
* Robert Bragg <robert@linux.intel.com>
34
#ifndef _COGL_TEXTURE_2D_NOP_PRIVATE_H_
35
#define _COGL_TEXTURE_2D_NOP_PRIVATE_H_
37
#include "cogl-types.h"
38
#include "cogl-context-private.h"
39
#include "cogl-texture.h"
42
_cogl_texture_2d_nop_free (CoglTexture2D *tex_2d);
45
_cogl_texture_2d_nop_can_create (CoglContext *ctx,
48
CoglPixelFormat internal_format);
51
_cogl_texture_2d_nop_init (CoglTexture2D *tex_2d);
54
_cogl_texture_2d_nop_allocate (CoglTexture *tex,
58
_cogl_texture_2d_nop_flush_legacy_texobj_filters (CoglTexture *tex,
63
_cogl_texture_2d_nop_flush_legacy_texobj_wrap_modes (CoglTexture *tex,
69
_cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d,
74
CoglFramebuffer *src_fb,
80
_cogl_texture_2d_nop_get_gl_handle (CoglTexture2D *tex_2d);
83
_cogl_texture_2d_nop_generate_mipmap (CoglTexture2D *tex_2d);
86
_cogl_texture_2d_nop_copy_from_bitmap (CoglTexture2D *tex_2d,
98
_cogl_texture_2d_nop_get_data (CoglTexture2D *tex_2d,
99
CoglPixelFormat format,
103
#endif /* _COGL_TEXTURE_2D_NOP_PRIVATE_H_ */