HomeSort by relevance Sort by last modified time
    Searched refs:stw_dev (Results 1 - 11 of 11) sorted by null

  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_device.c 45 struct stw_device *stw_dev = NULL; variable in typeref:struct:stw_device
76 assert(!stw_dev);
80 stw_dev = &stw_dev_storage;
81 memset(stw_dev, 0, sizeof(*stw_dev));
84 stw_dev->memdbg_no = debug_memory_begin();
87 stw_dev->stw_winsys = stw_winsys;
89 stw_dev->stapi = stw_st_create_api();
90 stw_dev->smapi = CALLOC_STRUCT(st_manager);
91 if (!stw_dev->stapi || !stw_dev->smapi
    [all...]
stw_device.h 85 extern struct stw_device *stw_dev;
91 if (dhglrc == 0 || stw_dev == NULL)
93 return (struct stw_context *) handle_table_get(stw_dev->ctx_table, dhglrc);
98 stw_lock_contexts(struct stw_device *stw_dev)
100 EnterCriticalSection(&stw_dev->ctx_mutex);
105 stw_unlock_contexts(struct stw_device *stw_dev)
107 LeaveCriticalSection(&stw_dev->ctx_mutex);
112 stw_lock_framebuffers(struct stw_device *stw_dev)
114 EnterCriticalSection(&stw_dev->fb_mutex);
119 stw_unlock_framebuffers(struct stw_device *stw_dev)
    [all...]
stw_framebuffer.c 46 * stw_dev::fb_mutex global lock.
55 for (fb = stw_dev->fb_head; fb != NULL; fb = fb->next)
70 * Note: Both stw_dev::fb_mutex and stw_framebuffer::mutex must already be
80 assert(stw_own_mutex(&stw_dev->fb_mutex));
90 link = &stw_dev->fb_head;
98 stw_dev->stw_winsys->shared_surface_close(stw_dev->screen,
203 if (nCode < 0 || !stw_dev)
206 /* We check that the stw_dev object is initialized before we try to do
208 * chance of executing this code before the stw_dev object is full
    [all...]
stw_pixelformat.c 125 struct stw_device *stw_dev,
135 assert(stw_dev->pixelformat_extended_count < STW_MAX_PIXELFORMATS);
136 if(stw_dev->pixelformat_extended_count >= STW_MAX_PIXELFORMATS)
146 pfi = &stw_dev->pixelformats[stw_dev->pixelformat_extended_count];
214 ++stw_dev->pixelformat_extended_count;
217 ++stw_dev->pixelformat_count;
218 assert(stw_dev->pixelformat_count == stw_dev->pixelformat_extended_count);
231 struct pipe_screen *screen = stw_dev->screen
    [all...]
stw_context.c 57 st = (stw_dev) ? stw_dev->stapi->get_current(stw_dev->stapi) : NULL;
70 if (!stw_dev)
73 stw_lock_contexts(stw_dev);
86 stw_unlock_contexts(stw_dev);
99 if (!stw_dev)
102 stw_lock_contexts(stw_dev);
110 stw_unlock_contexts(stw_dev);
153 if (!stw_dev)
    [all...]
stw_ext_context.c 175 if (stw_dev && stw_dev->callbacks.wglCbGetDhglrc) {
176 dhglrc = stw_dev->callbacks.wglCbGetDhglrc(context);
178 share_dhglrc = stw_dev->callbacks.wglCbGetDhglrc(hShareContext);
stw_ext_pbuffer.c 146 if (iWidth > stw_dev->max_2d_length) {
148 iWidth = stw_dev->max_2d_length;
155 if (iHeight > stw_dev->max_2d_length) {
157 iHeight = stw_dev->max_2d_length;
stw_getprocaddress.c 92 if (!stw_dev)
stw_ext_pixelformat.c 262 *pvalue = stw_dev->max_2d_length;
266 *pvalue = stw_dev->max_2d_length * stw_dev->max_2d_length;
stw_st.c 133 stw_dev->screen->resource_create(stw_dev->screen, &templ);
  /external/mesa3d/src/gallium/targets/libgl-gdi/
libgl_gdi.c 201 // so set stw_dev to NULL to return immediately if that happens.
202 stw_dev = NULL;

Completed in 267 milliseconds