summaryrefslogtreecommitdiff
path: root/src/xrender/cdxrplus.c
blob: 589aa3c1ea1f0f65d74be41b3dc0503e4c0b7288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** \file
 * \brief X-Render Control
 *
 * See Copyright Notice in cd.h
 */
 
#include "cd.h"
#include "cd_private.h"
#include <stdlib.h>
#include <memory.h>

cdContext* cdContextNativeWindowPlus(void);
cdContext* cdContextImagePlus(void);
cdContext* cdContextDBufferPlus(void);

void cdInitContextPlus(void)
{
  cdContext* ctx_list[NUM_CONTEXTPLUS];
  memset(ctx_list, 0, sizeof(ctx_list));

  ctx_list[CD_CTXPLUS_NATIVEWINDOW] = cdContextNativeWindowPlus();
  ctx_list[CD_CTXPLUS_IMAGE] = cdContextImagePlus();
  ctx_list[CD_CTXPLUS_DBUFFER] = cdContextDBufferPlus();

  cdInitContextPlusList(ctx_list);
}