24 class RSurfaceManager; |
24 class RSurfaceManager; |
25 #else |
25 #else |
26 typedef struct struct_TSurfaceId TSurfaceId; |
26 typedef struct struct_TSurfaceId TSurfaceId; |
27 #endif |
27 #endif |
28 #include <KHR/khrplatform.h> |
28 #include <KHR/khrplatform.h> |
29 #include <pixelformats.h> |
|
30 typedef khronos_int32_t khronos_bool; |
29 typedef khronos_int32_t khronos_bool; |
31 typedef khronos_int32_t TErrCode; |
30 typedef khronos_int32_t TErrCode; |
32 |
31 |
33 /*! |
32 /*! |
34 * \brief Image stream implementation |
33 * \brief Image stream implementation |
87 #define SYMBIAN_INVALID_HANDLE 0 |
86 #define SYMBIAN_INVALID_HANDLE 0 |
88 |
87 |
89 typedef khronos_int32_t MultipleSymbianStreamEventBits; |
88 typedef khronos_int32_t MultipleSymbianStreamEventBits; |
90 typedef khronos_int32_t SymNativeStreamEvent; |
89 typedef khronos_int32_t SymNativeStreamEvent; |
91 typedef khronos_int32_t SymbianStreamBuffer; |
90 typedef khronos_int32_t SymbianStreamBuffer; |
92 typedef TUidPixelFormat SymOwfPixelFormat; |
91 typedef khronos_int32_t SymOwfPixelFormat; |
93 typedef khronos_int32_t SymOwfBool; |
92 typedef khronos_int32_t SymOwfBool; |
94 |
93 |
95 typedef enum |
94 typedef enum |
96 { |
95 { |
97 SOWF_STREAM_ERROR_NONE = 0, |
96 SOWF_STREAM_ERROR_NONE = 0, |
386 - [Calls can be safely made from any thread, but the same default heap must be in place for all calls. The thread should have an activated clean-up stack.] |
385 - [Calls can be safely made from any thread, but the same default heap must be in place for all calls. The thread should have an activated clean-up stack.] |
387 - In the current implementation, this information is stored locally and can be efficiently accessed. |
386 - In the current implementation, this information is stored locally and can be efficiently accessed. |
388 @panic NativeStream 1000002 Null return value pointer |
387 @panic NativeStream 1000002 Null return value pointer |
389 @panic NativeStream 1000003 Null Native Stream |
388 @panic NativeStream 1000003 Null Native Stream |
390 **/ |
389 **/ |
391 IMPORT_C void SymbianStreamGetHeader( SymbianStreamType aStream, khronos_int32_t* aWidth, khronos_int32_t* aHeight, khronos_int32_t* aStride, TUidPixelFormat* aFormat, khronos_int32_t* aPixelSize); |
390 IMPORT_C void SymbianStreamGetHeader( SymbianStreamType aStream, khronos_int32_t* aWidth, khronos_int32_t* aHeight, khronos_int32_t* aStride, khronos_int32_t* aFormat, khronos_int32_t* aPixelSize); |
392 |
391 |
393 /** Returns extra details of the format of the image data stored in the Native Stream. |
392 /** Returns extra details of the format of the image data stored in the Native Stream. |
394 This method is intended to allow compositors to access the SurfaceManager hints associated with the |
393 This method is intended to allow compositors to access the SurfaceManager hints associated with the |
395 stream without using SurfaceManager-explicit code. |
394 stream without using SurfaceManager-explicit code. |
396 It is possible in future that some of the hint IDs could be resolved locally rather than calling surface manager. |
395 It is possible in future that some of the hint IDs could be resolved locally rather than calling surface manager. |