The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Поддержка shared pixmap!!!, !*! Kuper83, 22-Сен-09, 11:17  [смотреть все]
Подскажите куда делась в ubuntu 9.04 поддержка XShm Pixmap.
Видеокарта intel.
Что использовать вместо этой функции в Иксах, если нужен прямой доступ к видео буферу и функции отрисовки примитивов?
  • Поддержка shared pixmap!!!, !*! gpl77, 16:11 , 22-Сен-09 (1)
    >Подскажите куда делась в ubuntu 9.04 поддержка XShm Pixmap.
    >Видеокарта intel.
    >Что использовать вместо этой функции в Иксах, если нужен прямой доступ к
    >видео буферу и функции отрисовки примитивов?

    http://lists.freedesktop.org/archives/xorg-commit/2009-July/...

    • Поддержка shared pixmap!!!, !*! Kuper83, 17:59 , 22-Сен-09 (2)
      Там изменения с иксах.
      А поддержка пиксмапа исключена прямо из драйвера.
      Что вместо него юзают!!!


      • Поддержка shared pixmap!!!, !*! gpl77, 18:05 , 22-Сен-09 (3)
        >Там изменения с иксах.
        >А поддержка пиксмапа исключена прямо из драйвера.
        >Что вместо него юзают!!!

              XShm: remove XShm.h library header, split into shm.h, shmproto.h

        • Поддержка shared pixmap!!!, !*! Kuper83, 12:42 , 23-Сен-09 (4)
          Shared memory поддерживаается. И даже в хидере есть функция XShmCreatePixmap. Но функция

          Bool XShmQueryVersion( Display* /* dpy */, int* /* majorVersion */, int* /* minorVersion */, Bool* /* sharedPixmaps */ );

          в sharedPixmaps возвращает 0. и при использовании пиксмапа валетает ошибка.
          Error of failed request: BadImplementation (server does not implement operation)
          Major opcode of failed request: 140 (MIT-SHM)
          Minor opcode of failed request: 5 (X_ShmCreatePixmap)
          Serial number of failed request: 13 Current serial number in output stream:
          1419 X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
          Major opcode of failed request: 55 (X_CreateGC) Resource id in failed request: 0x4a00003 Serial number of failed request: 14 Current serial number in output stream: 1419


          • Поддержка shared pixmap!!!, !*! gpl77, 15:06 , 23-Сен-09 (5)
            >Shared memory поддерживаается. И даже в хидере есть функция XShmCreatePixmap. Но функция

            в каком?
            видишь, там попилено
            >
            >
            >Bool XShmQueryVersion( Display* /* dpy */, int* /* majorVersion */, int* /*
            >minorVersion */, Bool* /* sharedPixmaps */ );
            >
            >в sharedPixmaps возвращает 0. и при использовании пиксмапа валетает ошибка.
            >Error of failed request: BadImplementation (server does not implement operation)
            >Major opcode of failed request: 140 (MIT-SHM)

            ну дык.
            xdpyinfo
            может Shm не скомпилен. может хидеры от другой версии, и вообще сервер то какой :-)

            • Поддержка shared pixmap!!!, !*! Kuper83, 10:51 , 24-Сен-09 (6)
              xdpyinfo:::::::::::::::::::::::::::::::::::

              name of display:    :0.0
              version number:    11.0
              vendor string:    The X.Org Foundation
              vendor release number:    10600000
              X.Org version: 1.6.0
              maximum request size:  16777212 bytes
              motion buffer size:  256
              bitmap unit, bit order, padding:    32, LSBFirst, 32
              image byte order:    LSBFirst
              number of supported pixmap formats:    7
              supported pixmap formats:
                  depth 1, bits_per_pixel 1, scanline_pad 32
                  depth 4, bits_per_pixel 8, scanline_pad 32
                  depth 8, bits_per_pixel 8, scanline_pad 32
                  depth 15, bits_per_pixel 16, scanline_pad 32
                  depth 16, bits_per_pixel 16, scanline_pad 32
                  depth 24, bits_per_pixel 32, scanline_pad 32
                  depth 32, bits_per_pixel 32, scanline_pad 32
              keycode range:    minimum 8, maximum 255
              focus:  window 0x3c0017b, revert to Parent
              number of extensions:    28
                  BIG-REQUESTS
                  Composite
                  DAMAGE
                  DOUBLE-BUFFER
                  DPMS
                  DRI2
                  GLX
                  Generic Event Extension
                  MIT-SCREEN-SAVER
                  MIT-SHM
                  RANDR
                  RECORD
                  RENDER
                  SECURITY
                  SGI-GLX
                  SHAPE
                  SYNC
                  X-Resource
                  XC-MISC
                  XFIXES
                  XFree86-DGA
                  XFree86-DRI
                  XFree86-VidModeExtension
                  XINERAMA
                  XInputExtension
                  XKEYBOARD
                  XTEST
                  XVideo
              default screen number:    0
              number of screens:    1

              Система::::::::::::ubuntu 9.04

              Video:::Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
              driver::i965




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру