Displaying 16 results from an estimated 16 matches for "screen_width".
2007 May 22
0
tcl font size issue on centso 4.4 x86_64
...er just the background.
How do I get a bigger font than 40?
I run this script as "wish -f file.tcl"
What am I doing wrong to not get bigger fonts?
THanks,
Jerry
---------------------------------------------
set font_size 40
set show_window_title 0
set disable_window_decorations 1
set screen_width [winfo screenwidth . ]
set screen_height [winfo screenheight . ]
set window_x 0
set window_y 0
set my_message "This is my message..."
wm geometry . ${screen_width}x${font_size}+${window_x}+${window_y}
wm overrideredirect . $disable_window_decorations
font create ourFont -family helvetic...
2008 Nov 05
3
Help with TCL/TK on centos 5.2 unknown color black
Hi all,
I am using centos 5.2 x86_64 on a box. and getting this error:
wish -f pcalert.tcl
Error in startup script: unknown color name "black"
(processing "-background" option)
invoked from within
"canvas .c -height $canvas_height -width $screen_width -background black
-highlightthickness 0 "
invoked from within
"set c [canvas .c -height $canvas_height -width $screen_width
-background black -highlightthickness 0 ]"
(file "pcalert.tcl" line 138)
I take the same script on 3 other machines with centos 5.2 x86_64...
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...ayer), player->system->version));
+}
+
+static void
+swfdec_system_manufacturer (SwfdecPlayer *player, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_STRING (ret, swfdec_as_context_get_string (
+ SWFDEC_AS_CONTEXT (player), player->system->manufacturer));
+}
+
+static void
+swfdec_system_screen_width (SwfdecPlayer *player, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_INT (ret, player->system->screen_width);
+}
+
+static void
+swfdec_system_screen_height (SwfdecPlayer *player, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_INT (ret, player->system->screen_height);
+}
+
+static void
+...
2017 Jul 23
0
Re: Increasing video memory available to Windows
...ram='524288' vram='65536' vgamem='262144'
I have a windows 10 guest installed and I installed a Photoshop 12.0 and
it starts without any warning.
You don't need to set the vgamem that large, 32M should be good enough,
the formula to calculate the vgamem is:
"screen_width * screen_height * 4"
And I would set the "ram" to 512M, however I'm not sure how this
actually affects the video memory seen by guest. The documentation is
really poor.
Anyway, the same configuration works for me so I don't know what else
could help you especially while I&...
2017 Jul 22
2
Increasing video memory available to Windows
Hi,
I have a fedora25 system with a Windows10 host and would like to use
it for photoshop. However, it complains the video memory is too low.
I'm using the QXL driver and it appears to be limited to 256MB? I've
installed the Red Hat QXL driver in Windows.
I have 4GB of memory allocated overall, and could allocate more if necessary.
How do I increase the available video memory? Photoshop
2008 Jan 25
0
Wine release 0.9.54
...: Don't force the process affinity to 1, leave it up to the client.
winex11.drv: Don't fetch the atom for a null device type.
winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.
winex11.drv: Moved initialization of screen_width/height to xinerama_init to do it inside the x11 lock.
ntdll: Don't try to restore extended fpu context if not supported.
widl: Use the real argument names in the C method macros.
winex11.drv: Set the initial icon hints in set_initial_wm_hints().
libwine: Properly increme...
2017 May 18
5
[PATCH v3] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
...rotation & DRM_REFLECT_Y)
+ if (win->rotation & DRM_MODE_REFLECT_Y)
orient ^= MASK_Y_INVERT;
/* adjust x,y offset for flip/invert: */
@@ -205,9 +205,9 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
info->rotation_type = OMAP_DSS_ROT_TILER;
info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
} else {
- switch (win->rotation & DRM_ROTATE_MASK) {
+ switch (win->rotation & DRM_MODE_ROTATE_MASK) {
case 0:
- case DRM_ROTATE_0:
+ case DRM_MODE_ROTATE_0:
/* OK */
break;
diff --git a/drivers/gpu/drm/omapdrm/omap_p...
2017 May 19
4
[PATCH v4 1/2] drm/blend: Fix comment typ-o
Fix DRM_REFELCT_Y -> DRM_REFLECT_Y.
Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
drivers/gpu/drm/drm_blend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_blend.c b/drivers/gpu/drm/drm_blend.c
index a0d0d6843288..dee67ef6c670 100644
--- a/drivers/gpu/drm/drm_blend.c
+++ b/drivers/gpu/drm/drm_blend.c
@@ -129,7 +129,7 @@
*
2017 May 19
2
[PATCH v4 2/2] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
...rotation & DRM_REFLECT_Y)
+ if (win->rotation & DRM_MODE_REFLECT_Y)
orient ^= MASK_Y_INVERT;
/* adjust x,y offset for flip/invert: */
@@ -205,9 +205,9 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
info->rotation_type = OMAP_DSS_ROT_TILER;
info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
} else {
- switch (win->rotation & DRM_ROTATE_MASK) {
+ switch (win->rotation & DRM_MODE_ROTATE_MASK) {
case 0:
- case DRM_ROTATE_0:
+ case DRM_MODE_ROTATE_0:
/* OK */
break;
diff --git a/drivers/gpu/drm/omapdrm/omap_p...
2017 May 18
0
[PATCH v3] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
...+ if (win->rotation & DRM_MODE_REFLECT_Y)
> orient ^= MASK_Y_INVERT;
>
> /* adjust x,y offset for flip/invert: */
> @@ -205,9 +205,9 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
> info->rotation_type = OMAP_DSS_ROT_TILER;
> info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
> } else {
> - switch (win->rotation & DRM_ROTATE_MASK) {
> + switch (win->rotation & DRM_MODE_ROTATE_MASK) {
> case 0:
> - case DRM_ROTATE_0:
> + case DRM_MODE_ROTATE_0:
> /* OK */
> break;
>...
2017 May 22
0
[PATCH v4 2/2] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
...+ if (win->rotation & DRM_MODE_REFLECT_Y)
> orient ^= MASK_Y_INVERT;
>
> /* adjust x,y offset for flip/invert: */
> @@ -205,9 +205,9 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
> info->rotation_type = OMAP_DSS_ROT_TILER;
> info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
> } else {
> - switch (win->rotation & DRM_ROTATE_MASK) {
> + switch (win->rotation & DRM_MODE_ROTATE_MASK) {
> case 0:
> - case DRM_ROTATE_0:
> + case DRM_MODE_ROTATE_0:
> /* OK */
> break;
>...
2017 May 22
0
[PATCH v4 2/2] drm: Add DRM_MODE_ROTATE_ and DRM_MODE_REFLECT_ to UAPI
...+ if (win->rotation & DRM_MODE_REFLECT_Y)
> orient ^= MASK_Y_INVERT;
>
> /* adjust x,y offset for flip/invert: */
> @@ -205,9 +205,9 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
> info->rotation_type = OMAP_DSS_ROT_TILER;
> info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
> } else {
> - switch (win->rotation & DRM_ROTATE_MASK) {
> + switch (win->rotation & DRM_MODE_ROTATE_MASK) {
> case 0:
> - case DRM_ROTATE_0:
> + case DRM_MODE_ROTATE_0:
> /* OK */
> break;
>...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...facturer (SwfdecPlayer *player, SwfdecAsValue *ret)
{
SWFDEC_AS_VALUE_SET_STRING (ret, swfdec_as_context_get_string (
- SWFDEC_AS_CONTEXT (player), player->system->manufacturer));
+ SWFDEC_AS_CONTEXT (player), player->priv->system->manufacturer));
}
static void
swfdec_system_screen_width (SwfdecPlayer *player, SwfdecAsValue *ret)
{
- SWFDEC_AS_VALUE_SET_INT (ret, player->system->screen_width);
+ SWFDEC_AS_VALUE_SET_INT (ret, player->priv->system->screen_width);
}
static void
swfdec_system_screen_height (SwfdecPlayer *player, SwfdecAsValue *ret)
{
- SWFDEC_A...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...plane->bo, orient, x, y,
- &info->paddr);
+ omap_gem_rotated_dma_addr(bo, orient, x, y, &info->paddr);
info->rotation_type = OMAP_DSS_ROT_TILER;
info->rotation = state->rotation ?: DRM_MODE_ROTATE_0;
/* Note: stride in TILER units, not pixels */
- info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
+ info->screen_width = omap_gem_tiled_stride(bo, orient);
} else {
switch (state->rotation & DRM_MODE_ROTATE_MASK) {
case 0:
@@ -234,10 +218,10 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
if (fb->form...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...plane->bo, orient, x, y,
- &info->paddr);
+ omap_gem_rotated_dma_addr(bo, orient, x, y, &info->paddr);
info->rotation_type = OMAP_DSS_ROT_TILER;
info->rotation = state->rotation ?: DRM_MODE_ROTATE_0;
/* Note: stride in TILER units, not pixels */
- info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
+ info->screen_width = omap_gem_tiled_stride(bo, orient);
} else {
switch (state->rotation & DRM_MODE_ROTATE_MASK) {
case 0:
@@ -234,10 +218,10 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
if (fb->form...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...plane->bo, orient, x, y,
- &info->paddr);
+ omap_gem_rotated_dma_addr(bo, orient, x, y, &info->paddr);
info->rotation_type = OMAP_DSS_ROT_TILER;
info->rotation = state->rotation ?: DRM_MODE_ROTATE_0;
/* Note: stride in TILER units, not pixels */
- info->screen_width = omap_gem_tiled_stride(plane->bo, orient);
+ info->screen_width = omap_gem_tiled_stride(bo, orient);
} else {
switch (state->rotation & DRM_MODE_ROTATE_MASK) {
case 0:
@@ -234,10 +218,10 @@ void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
if (fb->form...