ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

wmesa.c File Reference
#include "wmesadef.h"
#include "colors.h"
#include <GL/wmesa.h>
#include <winuser.h>
#include "context.h"
#include "extensions.h"
#include "framebuffer.h"
#include "renderbuffer.h"
#include "drivers/common/driverfuncs.h"
#include "vbo/vbo.h"
#include "swrast/swrast.h"
#include "swrast_setup/swrast_setup.h"
#include "tnl/tnl.h"
#include "tnl/t_context.h"
#include "tnl/t_pipeline.h"

Go to the source code of this file.

Defines

#define FLIP(Y)   (ctx->DrawBuffer->Height - (Y) - 1)
#define FLIP(Y)   (rb->Height - (Y) - 1)
#define WMSETPIXEL32(pwc, y, x, r, g, b)
#define WMSETPIXEL24(pwc, y, x, r, g, b)
#define WMSETPIXEL16(pwc, y, x, r, g, b)

Functions

WMesaFramebuffer wmesa_new_framebuffer (HDC hdc, GLvisual *visual)
void wmesa_free_framebuffer (HDC hdc)
WMesaFramebuffer wmesa_lookup_framebuffer (HDC hdc)
static WMesaFramebuffer wmesa_framebuffer (GLframebuffer *fb)
static WMesaContext wmesa_context (const GLcontext *ctx)
static const GLubytewmesa_get_string (GLcontext *ctx, GLenum name)
static void wmSetPixelFormat (WMesaFramebuffer pwfb, HDC hDC)
BOOL wmCreateBackingStore (WMesaFramebuffer pwfb, long lxSize, long lySize)
static wmDeleteBackingStore (WMesaFramebuffer pwfb)
static void get_window_size (HDC hdc, GLuint *width, GLuint *height)
static void wmesa_get_buffer_size (GLframebuffer *buffer, GLuint *width, GLuint *height)
static void wmesa_flush (GLcontext *ctx)
static void clear_index (GLcontext *ctx, GLuint index)
static void clear_color (GLcontext *ctx, const GLfloat color[4])
static void clear (GLcontext *ctx, GLbitfield mask)
static void write_rgba_span_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgba[][4], const GLubyte mask[])
static void write_rgb_span_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgb[][3], const GLubyte mask[])
static void write_mono_rgba_span_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLchan color[4], const GLubyte mask[])
static void write_rgba_pixels_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLubyte rgba[][4], const GLubyte mask[])
static void write_mono_rgba_pixels_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLchan color[4], const GLubyte mask[])
static void read_rgba_span_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, GLubyte rgba[][4])
static void read_rgba_pixels_front (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], GLubyte rgba[][4])
static void write_rgba_span_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgba[][4], const GLubyte mask[])
static void write_rgb_span_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgb[][3], const GLubyte mask[])
static void write_mono_rgba_span_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLchan color[4], const GLubyte mask[])
static void write_rgba_pixels_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLubyte rgba[][4], const GLubyte mask[])
static void write_mono_rgba_pixels_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLchan color[4], const GLubyte mask[])
static void read_rgba_span_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, GLubyte rgba[][4])
static void read_rgba_pixels_32 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], GLubyte rgba[][4])
static void write_rgba_span_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgba[][4], const GLubyte mask[])
static void write_rgb_span_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgb[][3], const GLubyte mask[])
static void write_mono_rgba_span_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLchan color[4], const GLubyte mask[])
static void write_rgba_pixels_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLubyte rgba[][4], const GLubyte mask[])
static void write_mono_rgba_pixels_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLchan color[4], const GLubyte mask[])
static void read_rgba_span_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, GLubyte rgba[][4])
static void read_rgba_pixels_24 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], GLubyte rgba[][4])
static void write_rgba_span_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgba[][4], const GLubyte mask[])
static void write_rgb_span_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLubyte rgb[][3], const GLubyte mask[])
static void write_mono_rgba_span_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, const GLchan color[4], const GLubyte mask[])
static void write_rgba_pixels_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLubyte rgba[][4], const GLubyte mask[])
static void write_mono_rgba_pixels_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], const GLchan color[4], const GLubyte mask[])
static void read_rgba_span_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, GLint x, GLint y, GLubyte rgba[][4])
static void read_rgba_pixels_16 (const GLcontext *ctx, struct gl_renderbuffer *rb, GLuint n, const GLint x[], const GLint y[], GLubyte rgba[][4])
static void wmesa_delete_renderbuffer (struct gl_renderbuffer *rb)
static GLboolean wmesa_renderbuffer_storage (GLcontext *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height)
void wmesa_set_renderbuffer_funcs (struct gl_renderbuffer *rb, int pixelformat, BYTE cColorBits, int double_buffer)
static void wmesa_resize_buffers (GLcontext *ctx, GLframebuffer *buffer, GLuint width, GLuint height)
static void wmesa_viewport (GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height)
static void wmesa_update_state (GLcontext *ctx, GLuint new_state)
WMesaContext WMesaCreateContext (HDC hDC, HPALETTE *Pal, GLboolean rgb_flag, GLboolean db_flag, GLboolean alpha_flag)
void WMesaDestroyContext (WMesaContext pwc)
struct gl_renderbufferwmesa_new_renderbuffer (void)
void WMesaMakeCurrent (WMesaContext c, HDC hdc)
void WMesaSwapBuffers (HDC hdc)
void WMesaShareLists (WMesaContext ctx_to_share, WMesaContext ctx)

Variables

static WMesaFramebuffer FirstFramebuffer = NULL

Generated on Sun May 27 2012 04:55:47 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.