123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292 |
- /**
- * This header is generated by class-dump-z 0.2-1.
- * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
- *
- * Source: /System/Library/Frameworks/QuartzCore.framework/QuartzCore
- */
- #import <CoreGraphics/CoreGraphics.h>
- #import <QuartzCore/QuartzCore.h>
- #import <IOSurface/IOSurface.h>
- #include <pthread.h>
- #include <sys/cdefs.h>
- typedef struct {
- int x;
- } XXStruct_RiyHGD;
- typedef struct Atomic {
- XXStruct_RiyHGD _v;
- } Atomic;
- typedef struct Object {
- /*function-pointer*/ void** _field1;
- Atomic _field2;
- } Object;
- typedef struct Timing Timing;
- typedef struct Vector Vector;
- typedef struct Animation {
- /*function-pointer*/ void** _field1;
- Atomic _field2;
- float _field3;
- Timing* _field4;
- Vector* _field5;
- void* _field6;
- unsigned _field7;
- unsigned _field8;
- } Animation;
- typedef struct _CAAttrList* CAAttrListRef;
- typedef struct Proxy {
- /*function-pointer*/ void** _field1;
- Atomic _field2;
- unsigned long long _field3;
- } Proxy;
- typedef struct Mutex {
- pthread_t _m;
- } Mutex;
- typedef struct Shmem Shmem;
- typedef struct Commit Commit;
- typedef struct CGColorSpace* CGColorSpaceRef;
- @class CAContext, CALayer;
- typedef struct Context {
- unsigned _field1;
- struct Context* _field2;
- Mutex _field3;
- CAContext* _field4;
- unsigned _field5;
- unsigned _field6;
- CALayer* _field7;
- struct Context* _field8;
- CGColorSpaceRef _field9;
- CFDictionaryRef _field10;
- unsigned _field11;
- unsigned _field12;
- CFMachPortRef _field13;
- CFRunLoopSourceRef _field14;
- Shmem* _field15;
- Shmem* _field16;
- float _field17;
- Commit* _field18;
- unsigned _field19 : 1;
- unsigned _field20 : 1;
- unsigned _field21 : 1;
- } Context;
- typedef struct LayerExt LayerExt;
- /*
- template<>
- struct TypedArray<CA::Render::Layer>;
- template<>
- struct TypedArray<CA::Render::Animation>;
- */
- typedef struct Layer {
- /*function-pointer*/ void** _field1;
- Atomic _field2;
- unsigned _field3;
- LayerExt* _field4;
- Handle* _field5;
- Object* _field6;
- CGPoint _field7;
- CGSize _field8;
- // TypedArray<CA::Render::Layer>* _field9
- void* _field9;
- // TypedArray<CA::Render::Animation>* _field10;
- void* _field10;
- } Layer;
- typedef struct Shared Shared;
- typedef struct SpinLock {
- XXStruct_RiyHGD _l;
- } SpinLock;
- typedef struct Level Level;
- typedef struct Command Command;
- typedef struct Deleted Deleted;
- typedef struct Transaction {
- Shared* _field1;
- unsigned _field2;
- // HashTable<CALayer*,uintptr_t*>* _field3;
- void* _field3;
- SpinLock* _field4;
- unsigned _field5;
- Level* _field6;
- Command* _field7;
- Deleted* _field8;
- // List<const void*>* _field9;
- void* _field9;
- Context* _field10;
- // HashTable<CALayer*,CALayer*>* _field11;
- void* _field11;
- CFRunLoopRef _field12;
- CFRunLoopObserverRef _field13;
- unsigned _field14 : 1;
- } Transaction;
- typedef struct _CALayerState* CALayerStateRef;
- typedef struct _CALayerAnimation* CALayerAnimationRef;
- @class CALayerArray;
- typedef struct _CALayerArrayIvars {
- CALayer** layers;
- unsigned count;
- unsigned capacity;
- unsigned long mutations;
- BOOL retained;
- } CALayerArrayIvars;
- typedef struct {
- unsigned long _field1;
- id* _field2;
- unsigned long* _field3;
- unsigned long _field4[5];
- } XXStruct_kFm5bA;
- typedef struct CAMediaTimingFunctionPrivate {
- float _field1[2];
- float _field2[2];
- } CAMediaTimingFunctionPrivate;
- typedef struct _EAGLNativeWindowObject {
- int version;
- /*function-pointer*/ void* attach;
- /*function-pointer*/ void* detach;
- /*function-pointer*/ void* begin;
- /*function-pointer*/ void* swap;
- /*function-pointer*/ void* collect;
- } EAGLNativeWindowObject;
- typedef struct EAGLNativeWindowCallbacksRec {
- void* callback_data;
- /*function-pointer*/ void* create_buffer;
- /*function-pointer*/ void* destroy_buffer;
- } EAGLNativeWindowCallbacksRec;
- typedef struct x_list_struct x_list_struct;
- typedef struct _CAImageQueue* CAImageQueueRef;
- @class CAEAGLLayer;
- typedef struct _CAEAGLNativeWindow {
- EAGLNativeWindowObject _field1;
- EAGLNativeWindowCallbacksRec _field2;
- x_list_struct* _field3;
- Atomic _field4;
- SpinLock _field5;
- CAImageQueueRef _field6;
- CAEAGLLayer* _field7;
- x_list_struct* _field8;
- unsigned _field9;
- IOSurfaceRef _field10;
- unsigned _field11 : 1;
- unsigned _field12 : 1;
- } CAEAGLNativeWindow;
- typedef struct Display {
- /*function-pointer*/ void** _field1;
- id _field2;
- CFStringRef _field3;
- CFStringRef _field4;
- } Display;
- typedef struct Condition {
- pthread_cond_t _field1;
- } Condition;
- typedef struct _opaque_pthread_t opaque_pthread_t;
- typedef struct DisplayLink {
- /*function-pointer*/ void** _field1;
- Display* _field2;
- void* _field3;
- SEL _field4;
- void* _field5;
- int _field6;
- Mutex _field7;
- Condition _field8;
- opaque_pthread_t* _field9;
- id _field10;
- CFRunLoopRef _field11;
- // List<const __CFString*>* _field12;
- void* _field12;
- unsigned long long _field13;
- unsigned long long _field14;
- unsigned _field15 : 1;
- } DisplayLink;
- typedef struct PendingOperation PendingOperation;
- typedef struct Shape Shape;
- typedef struct _CARenderOGLContext* CARenderOGLContextRef;
- typedef struct Server {
- /*function-pointer*/ void** _field1;
- SpinLock _field2;
- Display* _field3;
- CFStringRef _field4;
- Mutex _field5;
- Condition _field6;
- unsigned _field7;
- Context** _field8;
- unsigned _field9;
- unsigned _field10;
- SpinLock _field11;
- PendingOperation* _field12;
- Context* _field13;
- Context* _field14;
- unsigned _field15;
- Shape* _field16;
- unsigned _field17;
- CARenderOGLContextRef _field18;
- double _field19;
- unsigned _field20 : 1;
- unsigned _field21 : 1;
- unsigned _field22 : 1;
- unsigned _field23 : 1;
- } Server;
- typedef struct CAWindowServerImpl {
- CFArrayRef _field1;
- unsigned _field2;
- } CAWindowServerImpl;
- typedef struct {
- int _field1;
- int _field2;
- } XXStruct_K5nmsA;
- __BEGIN_DECLS
- NSString* CAAtomGetString(unsigned atomNum);
- unsigned CAInternAtom(NSString* atomStr);
- // log CA object to stdout.
- typedef void* CARenderObjectRef;
- void CARenderShow(CARenderObjectRef object);
- CARenderObjectRef CARenderRetain(CARenderObjectRef object);
- void CARenderRelease(CARenderObjectRef object);
- unsigned CAGetDebugFlags();
- void CASetDebugFlags(unsigned flags);
- __END_DECLS
|