comparison dstep/quartzcore/CVOpenGLBufferPool.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Sep 24, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.quartzcore.CVOpenGLBufferPool;
8
9 import dstep.corefoundation.CFBase;
10 import dstep.corefoundation.CFDictionary;
11 import dstep.corevideo.CVOpenGLBuffer;
12 import dstep.corevideo.CVOpenGLBufferPool;
13 import dstep.objc.bridge.Bridge;
14 import dstep.objc.objc;
15
16 //import bindings = dstep.quartzcore.CVOpenGLBufferPool_bindings;
17
18 alias __CVOpenGLBufferPool* CVOpenGLBufferPoolRef;
19
20 extern (C)
21 {
22 extern
23 {
24 const CFStringRef kCVOpenGLBufferPoolMinimumBufferCountKey;
25 const CFStringRef kCVOpenGLBufferPoolMaximumBufferAgeKey;
26 }
27 }
28
29 extern (C)
30 {
31 uint CVOpenGLBufferPoolGetTypeID ();
32 CVOpenGLBufferPoolRef CVOpenGLBufferPoolRetain (CVOpenGLBufferPoolRef openGLBufferPool);
33 void CVOpenGLBufferPoolRelease (CVOpenGLBufferPoolRef openGLBufferPool);
34 int CVOpenGLBufferPoolCreate (CFAllocatorRef allocator, CFDictionaryRef poolAttributes, CFDictionaryRef openGLBufferAttributes, CVOpenGLBufferPoolRef* poolOut);
35 CFDictionaryRef CVOpenGLBufferPoolGetAttributes (CVOpenGLBufferPoolRef pool);
36 CFDictionaryRef CVOpenGLBufferPoolGetOpenGLBufferAttributes (CVOpenGLBufferPoolRef pool);
37 int CVOpenGLBufferPoolCreateOpenGLBuffer (CFAllocatorRef allocator, CVOpenGLBufferPoolRef openGLBufferPool, CVOpenGLBufferRef* openGLBufferOut);
38 }