Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mesa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
virgl-es
mesa
Commits
f4d51d89
Commit
f4d51d89
authored
Nov 05, 2007
by
Brian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asst clean-ups
parent
e4bad270
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
18 deletions
+9
-18
src/mesa/drivers/dri/intel_winsys/intel_context.c
src/mesa/drivers/dri/intel_winsys/intel_context.c
+0
-1
src/mesa/drivers/dri/intel_winsys/intel_context.h
src/mesa/drivers/dri/intel_winsys/intel_context.h
+2
-2
src/mesa/drivers/dri/intel_winsys/intel_lock.c
src/mesa/drivers/dri/intel_winsys/intel_lock.c
+0
-8
src/mesa/drivers/dri/intel_winsys/intel_screen.c
src/mesa/drivers/dri/intel_winsys/intel_screen.c
+5
-5
src/mesa/drivers/dri/intel_winsys/intel_winsys.h
src/mesa/drivers/dri/intel_winsys/intel_winsys.h
+2
-2
No files found.
src/mesa/drivers/dri/intel_winsys/intel_context.c
View file @
f4d51d89
...
...
@@ -40,7 +40,6 @@
#include "pipe/p_context.h"
#include "utils.h"
#include "xmlpool.h"
/* for symbolic values of enum-type options */
#ifdef DEBUG
...
...
src/mesa/drivers/dri/intel_winsys/intel_context.h
View file @
f4d51d89
...
...
@@ -25,8 +25,8 @@
*
**************************************************************************/
#ifndef INTEL
CONTEXT_INC
#define INTEL
CONTEXT_INC
#ifndef INTEL
_CONTEXT_H
#define INTEL
_CONTEXT_H
#include "drm.h"
...
...
src/mesa/drivers/dri/intel_winsys/intel_lock.c
View file @
f4d51d89
...
...
@@ -27,12 +27,7 @@
#include "state_tracker/st_public.h"
#include "intel_screen.h"
#include "intel_context.h"
#include "intel_batchbuffer.h"
#include "intel_swapbuffers.h"
#include "i830_dri.h"
...
...
@@ -73,13 +68,10 @@ intelContendedLock(struct intel_context *intel, uint flags)
void
LOCK_HARDWARE
(
struct
intel_context
*
intel
)
{
char
__ret
=
0
;
int
curbuf
;
_glthread_LOCK_MUTEX
(
lockMutex
);
assert
(
!
intel
->
locked
);
curbuf
=
0
;
/* current draw buf: 0 = front, 1 = back */
DRM_CAS
(
intel
->
driHwLock
,
intel
->
hHWContext
,
(
DRM_LOCK_HELD
|
intel
->
hHWContext
),
__ret
);
...
...
src/mesa/drivers/dri/intel_winsys/intel_screen.c
View file @
f4d51d89
...
...
@@ -52,14 +52,14 @@ PUBLIC const char __driConfigOptions[] =
DRI_CONF_FORCE_S3TC_ENABLE
(
false
)
DRI_CONF_ALLOW_LARGE_TEXTURES
(
1
)
DRI_CONF_SECTION_END
DRI_CONF_END
;
const
GLuint
__driNConfigOptions
=
4
;
const
GLuint
__driNConfigOptions
=
4
;
#ifdef USE_NEW_INTERFACE
static
PFNGLXCREATECONTEXTMODES
create_context_modes
=
NULL
;
static
PFNGLXCREATECONTEXTMODES
create_context_modes
=
NULL
;
#endif
/*USE_NEW_INTERFACE */
extern
const
struct
dri_extension
card_extensions
[];
extern
const
struct
dri_extension
card_extensions
[];
...
...
@@ -255,7 +255,7 @@ intelDestroyScreen(__DRIscreenPrivate * sPriv)
{
struct
intel_screen
*
intelScreen
=
intel_screen
(
sPriv
);
// intelUnmapScreenRegions(intelScreen);
/* intelUnmapScreenRegions(intelScreen); */
if
(
intelScreen
->
havePools
)
{
driPoolTakeDown
(
intelScreen
->
regionPool
);
...
...
src/mesa/drivers/dri/intel_winsys/intel_winsys.h
View file @
f4d51d89
...
...
@@ -25,8 +25,8 @@
*
**************************************************************************/
#ifndef INTEL_
PIPE
_H
#define INTEL_
PIPE
_H
#ifndef INTEL_
WINSYS
_H
#define INTEL_
WINSYS
_H
struct
intel_context
;
struct
pipe_context
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment