Changeset 89


Ignore:
Timestamp:
Jan 3, 2011, 11:21:20 PM (14 years ago)
Author:
Apollo Demetrious Sharpe
Message:

Added support for querying pipeline functions from the driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified pipeline/include/gldevice.h

    r87 r89  
    2929#include <GL\pgl.h>
    3030#include <ddk\GL\glapis.h>
     31#include "gltypes.h"
    3132
     33
     34typedef struct devicepipeline
     35{
     36    unsigned int nCount;
     37    StageFn **apfnFuncs;
     38} DEVICEPIPELINE, *PDEVICEPIPELINE;
    3239
    3340typedef struct deviceops
     
    3744    void (*DeviceCloseHW)(void);
    3845
    39     /* device_buffers.c */
     46    /* device_context.c */
    4047    void (*DeviceCreateContext)(PGLContext *Ctx);
    4148    void (*DeviceDestroyContext)(PGLContext *Ctx);
     
    4350    /* device_query.c */
    4451    PVISUALCONFIG* (*DeviceQueryConfigs)(void);
     52    PDEVICEPIPELINE (*DeviceQueryPipeline(void);
     53    LONG (*DeviceQueryCapability)(void);
     54    void (*DeviceQueryVersion)(int *major, int *minor);
     55
     56    /* device_palette.c */
    4557    int (*DeviceSelectColorIndexPalette)(HPAL hpal, PGLContext *Ctx);
    46     LONG (*DeviceIsIndirect)(PGLContext *Ctx);
     58
     59    /* device_buffer.c */
    4760    void (*DeviceSwapBuffers)(PGLContext *Ctx);
    4861    void (*DeviceResizeBuffers)(PGLContext *Ctx, GLuint delta_x, GLuint delta_y, void *pBuffer);
    49     LONG (*DeviceQueryCapability)(void);
    50     void (*DeviceQueryVersion)(int *major, int *minor);
    5162} DEVICEOPS, *PDEVICEOPS;
    5263
Note: See TracChangeset for help on using the changeset viewer.