1 #ifndef D_WINDOW_BUFFER_H
2 #define D_WINDOW_BUFFER_H
5 #include "RenderingBuffer.h"
7 #include <Accelerant.h>
8 #include <DirectWindow.h>
11 class DWindowBuffer
: public RenderingBuffer
{
14 virtual ~DWindowBuffer();
16 virtual status_t
InitCheck() const;
18 virtual color_space
ColorSpace() const;
19 virtual void* Bits() const;
20 virtual uint32
BytesPerRow() const;
21 virtual uint32
Width() const;
22 virtual uint32
Height() const;
24 void SetTo(direct_buffer_info
* info
);
26 void SetTo(frame_buffer_config
* config
,
28 uint32 width
, uint32 height
,
31 BRegion
& WindowClipping()
32 { return fWindowClipping
; }
40 BRegion fWindowClipping
;
43 #endif // D_WINDOW_BUFFER_H