Displaying 8 results from an estimated 8 matches for "render_node".
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
...t;
args="i">
<put
expr="i">
</
eval>
The syntax doesn''t quite feel alright. If anyone has suggestion, they
are
welcome.
Also in the implementation, I cannot evaluate the expressions in a
clean
binding because of the need to have a reference to the render_node
method.
It goes
like:
Kernel.eval(%Q[
#{node[''expr'']} do |
#{node[''args]}|
render_node(current_node, parent_node,
binding)
end
])
If somebody is interested and is willing to review my code, I would be
very
happy to hear their thought/
advice/...
The cod...
2018 Feb 10
0
[PATCH] dri3: don't check permissions on render node
...+++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index ac0ca09..a726e86 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1024,15 +1024,16 @@ nouveau_dri2_fini(ScreenPtr pScreen)
}
#ifdef DRI3
-static int is_render_node(int fd, struct stat *st)
+static int is_render_node(int fd)
{
- if (fstat(fd, st))
+ struct stat st;
+ if (fstat(fd, &st))
return 0;
- if (!S_ISCHR(st->st_mode))
+ if (!S_ISCHR(st.st_mode))
return 0;
- return st->st_rdev & 0x80;
+ return st.st_rdev & 0x80;
}
stati...
2015 Jun 30
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
.../src/nouveau_dri2.c b/src/nouveau_dri2.c
index f22e319..d818976 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
if (buf && stat(buf, &render) == 0 &&
master.st_mode == render.st_mode) {
pNv->render_node = buf;
- return dri3_screen_init(screen, &nouveau_dri3_screen_info);
+ if (dri3_screen_init(screen, &nouveau_dri3_screen_info)) {
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "DRI3 on EXA enabled\n");
+ return TRUE;
+ }
+ else {
+ xf86DrvMsg(pScrn->scrnIndex, X_W...
2008 Mar 16
8
include a page in another
Hi,
for my isbn plugin, I''m wishing to incldue generated isbn pages in
caller pages (the ones with <isbn value=""> tags).
But I want my isbn page to be processed before for its tags to be
transformed (like the relocatable or other ones). Besides, i do not
want its header to be included.
Is there an easy solution for that, or should I do the work myself ?
--
Nicolas
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...--- a/src/nouveau_dri2.c
>> +++ b/src/nouveau_dri2.c
>> @@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
>> if (buf && stat(buf, &render) == 0 &&
>> master.st_mode == render.st_mode) {
>> pNv->render_node = buf;
>> - return dri3_screen_init(screen, &nouveau_dri3_screen_info);
>> + if (dri3_screen_init(screen, &nouveau_dri3_screen_info)) {
>> + xf86DrvMsg(pScrn->scrnIndex, X_INFO,
>> +...
2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
Make it a Bool consistently, as declared in header.
Reported-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
---
src/nouveau_present.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nouveau_present.c b/src/nouveau_present.c
index 4de1e6e..699a58d 100644
--- a/src/nouveau_present.c
+++
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...t; +++ b/src/nouveau_dri2.c
>>>> @@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
>>>> if (buf && stat(buf, &render) == 0 &&
>>>> master.st_mode == render.st_mode) {
>>>> pNv->render_node = buf;
>>>> - return dri3_screen_init(screen, &nouveau_dri3_screen_info);
>>>> + if (dri3_screen_init(screen, &nouveau_dri3_screen_info)) {
>>>> + xf86DrvMsg(pScrn->scrnIndex, X_INFO,
>>>> +...
2015 Jul 14
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...;>>>> @@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
>>>>>> if (buf && stat(buf, &render) == 0 &&
>>>>>> master.st_mode == render.st_mode) {
>>>>>> pNv->render_node = buf;
>>>>>> - return dri3_screen_init(screen, &nouveau_dri3_screen_info);
>>>>>> + if (dri3_screen_init(screen, &nouveau_dri3_screen_info)) {
>>>>>> + xf86DrvMsg(pScrn->scrnIndex, X_...