projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a790074
)
wgl: Remove unused cruft.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 27 Mar 2009 21:38:54 +0000
(21:38 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 27 Mar 2009 21:38:54 +0000
(21:38 +0000)
src/gallium/state_trackers/wgl/shared/stw_context.c
patch
|
blob
|
history
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
patch
|
blob
|
history
src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/shared/stw_context.c
b/src/gallium/state_trackers/wgl/shared/stw_context.c
index 89df8b0a2a0340ed44fba313d9899c9e0459cbe7..82aabe0a7ee025285771e1ee018b742d5fe74902 100644
(file)
--- a/
src/gallium/state_trackers/wgl/shared/stw_context.c
+++ b/
src/gallium/state_trackers/wgl/shared/stw_context.c
@@
-317,10
+317,6
@@
stw_make_current(
fb = framebuffer_create( hdc, visual, width, height );
if (fb == NULL)
return FALSE;
-
- fb->dib_hDC = CreateCompatibleDC( hdc );
- fb->hbmDIB = NULL;
- fb->pbPixels = NULL;
}
if (ctx && fb) {
diff --git
a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
index 024c9ad36af01044719b9762b26fbf028576f878..2f0d8cbc318c36112b233198be39c8e7432cd657 100644
(file)
--- a/
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
+++ b/
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
@@
-44,16
+44,6
@@
framebuffer_resize(
GLuint width,
GLuint height )
{
- if (fb->hbmDIB == NULL || fb->stfb->Base.Width != width || fb->stfb->Base.Height != height) {
- if (fb->hbmDIB)
- DeleteObject( fb->hbmDIB );
-
- fb->hbmDIB = CreateCompatibleBitmap(
- fb->hDC,
- width,
- height );
- }
-
st_resize_framebuffer( fb->stfb, width, height );
}
diff --git
a/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
index 2e16e421f2ca4c6d15aaa2f3671473f7d2379894..5abdf189970ae86d768dabcbfaa4d93c573fdab2 100644
(file)
--- a/
src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
+++ b/
src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
@@
-36,12
+36,7
@@
struct stw_framebuffer
{
struct st_framebuffer *stfb;
HDC hDC;
- int pixelformat;
BYTE cColorBits;
- HDC dib_hDC;
- HBITMAP hbmDIB;
- HBITMAP hOldBitmap;
- PBYTE pbPixels;
HWND hWnd;
WNDPROC WndProc;
struct stw_framebuffer *next;