Home
last modified time | relevance | path

Searched refs:drawable (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_drawable.c51 struct dri_drawable *drawable = in dri_st_framebuffer_validate() local
53 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
59 drawable->stvis.samples > 1 ? drawable->msaa_textures in dri_st_framebuffer_validate()
60 : drawable->textures; in dri_st_framebuffer_validate()
67 new_mask = (statt_mask & ~drawable->texture_mask); in dri_st_framebuffer_validate()
75 lastStamp = drawable->dPriv->lastStamp; in dri_st_framebuffer_validate()
76 new_stamp = (drawable->texture_stamp != lastStamp); in dri_st_framebuffer_validate()
79 if (new_stamp && drawable->update_drawable_info) in dri_st_framebuffer_validate()
80 drawable->update_drawable_info(drawable); in dri_st_framebuffer_validate()
82 drawable->allocate_textures(ctx, drawable, statts, count); in dri_st_framebuffer_validate()
[all …]
Ddrisw.c149 drisw_update_drawable_info(struct dri_drawable *drawable) in drisw_update_drawable_info() argument
151 __DRIdrawable *dPriv = drawable->dPriv; in drisw_update_drawable_info()
158 drisw_get_image(struct dri_drawable *drawable, in drisw_get_image() argument
162 __DRIdrawable *dPriv = drawable->dPriv; in drisw_get_image()
170 drisw_put_image(struct dri_drawable *drawable, in drisw_put_image() argument
173 __DRIdrawable *dPriv = drawable->dPriv; in drisw_put_image()
179 drisw_put_image2(struct dri_drawable *drawable, in drisw_put_image2() argument
183 __DRIdrawable *dPriv = drawable->dPriv; in drisw_put_image2()
189 drisw_put_image_shm(struct dri_drawable *drawable, in drisw_put_image_shm() argument
195 __DRIdrawable *dPriv = drawable->dPriv; in drisw_put_image_shm()
[all …]
Ddri2.c80 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable() local
83 drawable->dPriv->lastStamp = drawable->dPriv->dri2.stamp; in dri2_invalidate_drawable()
84 drawable->texture_mask = 0; in dri2_invalidate_drawable()
86 p_atomic_inc(&drawable->base.stamp); in dri2_invalidate_drawable()
101 dri2_drawable_get_buffers(struct dri_drawable *drawable, in dri2_drawable_get_buffers() argument
105 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers()
106 const __DRIdri2LoaderExtension *loader = drawable->sPriv->dri2.loader; in dri2_drawable_get_buffers()
115 with_format = dri_with_format(drawable->sPriv); in dri2_drawable_get_buffers()
128 dri_drawable_get_format(drawable, atts[i], &format, &bind); in dri2_drawable_get_buffers()
212 dri_image_drawable_get_buffers(struct dri_drawable *drawable, in dri_image_drawable_get_buffers() argument
[all …]
/third_party/mesa3d/src/glx/apple/
Dapple_glx_context.c153 ac->drawable = NULL; in apple_glx_create_context()
260 if (ac->drawable) { in apple_glx_destroy_context()
261 ac->drawable->destroy(ac->drawable); in apple_glx_destroy_context()
285 GLXDrawable drawable) in apple_glx_make_current_context() argument
295 __func__, (void *) oldac, (void *) ac, drawable); in apple_glx_make_current_context()
304 if (ac && ac->drawable && ac->drawable->drawable == drawable) { in apple_glx_make_current_context()
322 if (oldac->drawable) { in apple_glx_make_current_context()
323 oldac->drawable->destroy(oldac->drawable); in apple_glx_make_current_context()
324 oldac->drawable = NULL; in apple_glx_make_current_context()
334 if (None == drawable) { in apple_glx_make_current_context()
[all …]
Dapple_glx_surface.c48 update_viewport_and_scissor(Display * dpy, GLXDrawable drawable) in update_viewport_and_scissor() argument
54 XGetGeometry(dpy, drawable, &root, &x, &y, &width, &height, &bd, &depth); in update_viewport_and_scissor()
84 update_viewport_and_scissor(ac->drawable->display, in surface_make_current()
85 ac->drawable->drawable); in surface_make_current()
89 apple_glx_diagnostic("%s: drawable 0x%lx\n", __func__, d->drawable); in surface_make_current()
119 d->drawable); in surface_destroy()
123 d->drawable, s->uid); in surface_destroy()
139 assert(None != d->drawable); in create_surface()
143 if (XAppleDRICreateSurface(dpy, screen, d->drawable, id, key, &s->uid)) { in create_surface()
154 " with uid %u\n", __func__, d->drawable, s->uid); in create_surface()
[all …]
Dglx_empty.c56 glXGetSyncValuesOML(Display * dpy, GLXDrawable drawable, in glXGetSyncValuesOML() argument
60 (void) drawable; in glXGetSyncValuesOML()
68 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable, in glXSwapBuffersMscOML() argument
72 (void) drawable; in glXSwapBuffersMscOML()
81 glXWaitForMscOML(Display * dpy, GLXDrawable drawable, in glXWaitForMscOML() argument
87 (void) drawable; in glXWaitForMscOML()
99 glXWaitForSbcOML(Display * dpy, GLXDrawable drawable, in glXWaitForSbcOML() argument
104 (void) drawable; in glXWaitForSbcOML()
138 glXCopySubBufferMESA(Display * dpy, GLXDrawable drawable, in glXCopySubBufferMESA() argument
142 (void) drawable; in glXCopySubBufferMESA()
[all …]
Dapple_glx_drawable.c73 apple_glx_find_drawable(Display * dpy, GLXDrawable drawable) in apple_glx_find_drawable() argument
80 if (i->drawable == drawable) { in apple_glx_find_drawable()
239 common_init(Display * dpy, GLXDrawable drawable, struct apple_glx_drawable *d) in common_init() argument
246 d->drawable = drawable; in common_init()
320 GLXDrawable drawable, in apple_glx_drawable_create() argument
333 common_init(dpy, drawable, d); in apple_glx_drawable_create()
404 XGetGeometry(dpy, d->drawable, &root, &x, &y, &width, &height, &bd, in apple_glx_garbage_collect_drawables()
442 apple_glx_drawable_find_by_type(GLXDrawable drawable, int type, int flags) in apple_glx_drawable_find_by_type() argument
449 if (d->type == type && d->drawable == drawable) { in apple_glx_drawable_find_by_type()
468 apple_glx_drawable_find(GLXDrawable drawable, int flags) in apple_glx_drawable_find() argument
[all …]
Dappledri.c245 XAppleDRICreateSurface(dpy, screen, drawable, client_id, key, uid) in XAppleDRICreateSurface() argument
248 Drawable drawable;
265 req->drawable = drawable;
284 XAppleDRIDestroySurface(dpy, screen, drawable) in XAppleDRIDestroySurface() argument
287 Drawable drawable;
300 req->drawable = drawable;
308 XAppleDRICreateSharedBuffer(Display * dpy, int screen, Drawable drawable, in XAppleDRICreateSharedBuffer() argument
323 req->drawable = drawable; in XAppleDRICreateSharedBuffer()
357 XAppleDRISwapBuffers(Display * dpy, int screen, Drawable drawable) in XAppleDRISwapBuffers() argument
369 req->drawable = drawable; in XAppleDRISwapBuffers()
[all …]
Dapple_glx_drawable.h103 GLXDrawable drawable; member
146 GLXDrawable drawable);
151 GLXDrawable drawable,
159 GLXDrawable drawable,
171 drawable, int type,
174 struct apple_glx_drawable *apple_glx_drawable_find(GLXDrawable drawable,
178 bool apple_glx_drawable_destroy_by_type(Display * dpy, GLXDrawable drawable,
186 bool apple_glx_surface_create(Display * dpy, int screen, GLXDrawable drawable,
/third_party/mesa3d/src/glx/
Dglx_pbuffer.c60 ChangeDrawableAttribute(Display * dpy, GLXDrawable drawable, in ChangeDrawableAttribute() argument
71 if ((priv == NULL) || (dpy == NULL) || (drawable == 0)) { in ChangeDrawableAttribute()
89 req->drawable = drawable; in ChangeDrawableAttribute()
102 output[0] = (CARD32) drawable; in ChangeDrawableAttribute()
113 pdraw = GetGLXDRIDrawable(dpy, drawable); in ChangeDrawableAttribute()
171 XID drawable, XID glxdrawable, in CreateDRIDrawable() argument
188 pdraw = psc->driScreen->createDrawable(psc, drawable, in CreateDRIDrawable()
208 DestroyDRIDrawable(Display *dpy, GLXDrawable drawable, int destroy_xdrawable) in DestroyDRIDrawable() argument
212 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in DestroyDRIDrawable()
218 __glxHashDelete(priv->drawHash, drawable); in DestroyDRIDrawable()
[all …]
Dg_glxglvnddispatchfuncs.c108 static void dispatch_BindTexImageEXT(Display *dpy, GLXDrawable drawable, in dispatch_BindTexImageEXT() argument
114 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_BindTexImageEXT()
122 pBindTexImageEXT(dpy, drawable, buffer, attrib_list); in dispatch_BindTexImageEXT()
407 static void dispatch_GetSelectedEventSGIX(Display *dpy, GLXDrawable drawable, in dispatch_GetSelectedEventSGIX() argument
413 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_GetSelectedEventSGIX()
421 pGetSelectedEventSGIX(dpy, drawable, mask); in dispatch_GetSelectedEventSGIX()
504 static void dispatch_ReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, in dispatch_ReleaseTexImageEXT() argument
510 dd = GetDispatchFromDrawable(dpy, drawable); in dispatch_ReleaseTexImageEXT()
518 pReleaseTexImageEXT(dpy, drawable, buffer); in dispatch_ReleaseTexImageEXT()
523 static void dispatch_SelectEventSGIX(Display *dpy, GLXDrawable drawable, in dispatch_SelectEventSGIX() argument
[all …]
Ddri2.c103 pdraw = dri2GetGlxDrawableFromXDrawableId(dpy, awire->drawable); in DRI2WireToEvent()
108 aevent->type = dri2GetSwapEventType(dpy, awire->drawable); in DRI2WireToEvent()
115 aevent->drawable = awire->drawable; in DRI2WireToEvent()
133 glxDraw = GetGLXDrawable(dpy, pdraw->drawable); in DRI2WireToEvent()
149 dri2InvalidateBuffers(dpy, awire->drawable); in DRI2WireToEvent()
366 DRI2CreateDrawable(Display * dpy, XID drawable) in DRI2CreateDrawable() argument
377 req->drawable = drawable; in DRI2CreateDrawable()
383 DRI2DestroyDrawable(Display * dpy, XID drawable) in DRI2DestroyDrawable() argument
396 req->drawable = drawable; in DRI2DestroyDrawable()
402 DRI2GetBuffers(Display * dpy, XID drawable, in DRI2GetBuffers() argument
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.c129 intel_update_image_buffers(struct intel_context *intel, __DRIdrawable *drawable);
139 __DRIdrawable *drawable,
145 __DRIdrawable *drawable,
151 intel_update_dri2_buffers(struct intel_context *intel, __DRIdrawable *drawable) in intel_update_dri2_buffers() argument
157 struct gl_framebuffer *fb = drawable->driverPrivate; in intel_update_dri2_buffers()
159 intel_query_dri2_buffers(intel, drawable, &buffers, &count); in intel_update_dri2_buffers()
193 intel_process_dri2_buffer(intel, drawable, &buffers[i], rb, region_name); in intel_update_dri2_buffers()
198 intel_update_renderbuffers(__DRIcontext *context, __DRIdrawable *drawable) in intel_update_renderbuffers() argument
206 drawable->lastStamp = drawable->dri2.stamp; in intel_update_renderbuffers()
209 fprintf(stderr, "enter %s, drawable %p\n", __func__, drawable); in intel_update_renderbuffers()
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DDrawableSplashScreen.java9 import android.graphics.drawable.Drawable;
22 private final Drawable drawable; field in DrawableSplashScreen
31 public DrawableSplashScreen(@NonNull Drawable drawable) { in DrawableSplashScreen() argument
32 this(drawable, ImageView.ScaleType.FIT_XY, 500); in DrawableSplashScreen()
43 …public DrawableSplashScreen(@NonNull Drawable drawable, @NonNull ImageView.ScaleType scaleType, lo… in DrawableSplashScreen() argument
44 this.drawable = drawable; in DrawableSplashScreen()
53 splashView.setSplashDrawable(drawable, scaleType); in createSplashView()
101 public void setSplashDrawable(@Nullable Drawable drawable) { in setSplashDrawable() argument
102 setSplashDrawable(drawable, ImageView.ScaleType.FIT_XY); in setSplashDrawable()
105 …public void setSplashDrawable(@Nullable Drawable drawable, @NonNull ImageView.ScaleType scaleType)… in setSplashDrawable() argument
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.c327 __DRIdrawable *drawable; in radeon_prepare_render() local
334 drawable = driContext->driDrawablePriv; in radeon_prepare_render()
335 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
336 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
337 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
342 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
345 drawable = driContext->driReadablePriv; in radeon_prepare_render()
346 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
347 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
348 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.c327 __DRIdrawable *drawable; in radeon_prepare_render() local
334 drawable = driContext->driDrawablePriv; in radeon_prepare_render()
335 if (drawable->dri2.stamp != driContext->dri2.draw_stamp) { in radeon_prepare_render()
336 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
337 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
342 driContext->dri2.draw_stamp = drawable->dri2.stamp; in radeon_prepare_render()
345 drawable = driContext->driReadablePriv; in radeon_prepare_render()
346 if (drawable->dri2.stamp != driContext->dri2.read_stamp) { in radeon_prepare_render()
347 if (drawable->lastStamp != drawable->dri2.stamp) in radeon_prepare_render()
348 radeon_update_renderbuffers(driContext, drawable, GL_FALSE); in radeon_prepare_render()
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_swap_control.txt49 for a particular drawable. It also allows an application to query
51 interval of a drawable.
72 drawables. BadWindow should be returned if the <drawable> argument
74 the swap interval of a non-window drawable should be undefined.
79 RESOVLED: These are both properties of a GLX drawable, so they are
85 GLXDrawable drawable,
123 periods per buffer swap for a particular GLX drawable (e.g. a value
126 is first called on the drawable subsequent to the glXSwapIntervalEXT
140 interval for a particular drawable can be obtained by calling
143 glXQueryDrawable is undefined if the drawable is not a GLXWindow
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_swap_control.txt49 for a particular drawable. It also allows an application to query
51 interval of a drawable.
72 drawables. BadWindow should be returned if the <drawable> argument
74 the swap interval of a non-window drawable should be undefined.
79 RESOVLED: These are both properties of a GLX drawable, so they are
85 GLXDrawable drawable,
123 periods per buffer swap for a particular GLX drawable (e.g. a value
126 is first called on the drawable subsequent to the glXSwapIntervalEXT
140 interval for a particular drawable can be obtained by calling
143 glXQueryDrawable is undefined if the drawable is not a GLXWindow
[all …]
/third_party/skia/tests/
DSkGlyphBufferTest.cpp161 SkDrawableGlyphBuffer drawable; in DEF_TEST() local
162 drawable.ensureSize(100); in DEF_TEST()
163 drawable.startSource(source); in DEF_TEST()
164 for (auto [i, packedID, pos] : SkMakeEnumerate(drawable.input())) { in DEF_TEST()
171 SkDrawableGlyphBuffer drawable; in DEF_TEST() local
172 drawable.ensureSize(100); in DEF_TEST()
175 drawable.startBitmapDevice(source, {100, 100}, matrix, rounding); in DEF_TEST()
176 for (auto [i, packedID, pos] : SkMakeEnumerate(drawable.input())) { in DEF_TEST()
185 SkDrawableGlyphBuffer drawable; in DEF_TEST() local
186 drawable.ensureSize(100); in DEF_TEST()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c1426 __DRIdrawable *drawable) in brw_resolve_for_dri2_flush() argument
1437 struct gl_framebuffer *fb = drawable->driverPrivate; in brw_resolve_for_dri2_flush()
1485 __DRIdrawable *drawable,
1491 __DRIdrawable *drawable,
1497 brw_update_image_buffers(struct brw_context *brw, __DRIdrawable *drawable);
1500 brw_update_dri2_buffers(struct brw_context *brw, __DRIdrawable *drawable) in brw_update_dri2_buffers() argument
1502 struct gl_framebuffer *fb = drawable->driverPrivate; in brw_update_dri2_buffers()
1511 drawable->lastStamp = drawable->dri2.stamp; in brw_update_dri2_buffers()
1514 fprintf(stderr, "enter %s, drawable %p\n", __func__, drawable); in brw_update_dri2_buffers()
1516 brw_query_dri2_buffers(brw, drawable, &buffers, &count); in brw_update_dri2_buffers()
[all …]
/third_party/mesa3d/src/glx/windows/
Dwindows_drawable.c163 windows_destroy_drawable(windowsDrawable *drawable) in windows_destroy_drawable() argument
165 switch (drawable->callbacks->type) in windows_destroy_drawable()
173 SelectObject(drawable->dibDC, drawable->hOldDIB); in windows_destroy_drawable()
176 DeleteDC(drawable->dibDC); in windows_destroy_drawable()
179 DeleteObject(drawable->hDIB); in windows_destroy_drawable()
182 CloseHandle(drawable->hSection); in windows_destroy_drawable()
191 free(drawable); in windows_destroy_drawable()
/third_party/skia/gm/
Ddrawable.cpp39 DEF_SIMPLE_GM(drawable, canvas, 180, 275) {
40 sk_sp<SkDrawable> drawable(new MyDrawable);
43 canvas->drawDrawable(drawable.get());
44 canvas->drawDrawable(drawable.get(), 0, 150);
48 canvas->drawDrawable(drawable.get(), &m);
51 canvas->drawDrawable(drawable.get(), &m);
/third_party/flutter/skia/gm/
Ddrawable.cpp39 DEF_SIMPLE_GM(drawable, canvas, 180, 275) {
40 sk_sp<SkDrawable> drawable(new MyDrawable);
43 canvas->drawDrawable(drawable.get());
44 canvas->drawDrawable(drawable.get(), 0, 150);
48 canvas->drawDrawable(drawable.get(), &m);
51 canvas->drawDrawable(drawable.get(), &m);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/
DFunctionsGLX.h42 Bool makeCurrent(glx::Drawable drawable, glx::Context context) const;
43 void swapBuffers(glx::Drawable drawable) const;
64 void queryDrawable(glx::Drawable drawable, int attribute, unsigned int *value) const;
75 void swapIntervalEXT(glx::Drawable drawable, int interval) const;
84 bool getSyncValuesOML(glx::Drawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc) const;
85 bool getMscRateOML(glx::Drawable drawable, int32_t *numerator, int32_t *denominator) const;
88 void bindTexImageEXT(glx::Drawable drawable, int buffer, const int *attribList) const;
89 void releaseTexImageEXT(glx::Drawable drawable, int buffer) const;
DFunctionsGLX.cpp310 Bool FunctionsGLX::makeCurrent(glx::Drawable drawable, glx::Context context) const in makeCurrent() argument
313 return mFnPtrs->makeCurrentPtr(mXDisplay, drawable, ctx); in makeCurrent()
315 void FunctionsGLX::swapBuffers(glx::Drawable drawable) const in swapBuffers()
317 mFnPtrs->swapBuffersPtr(mXDisplay, drawable); in swapBuffers()
334 GLXDrawable drawable = mFnPtrs->getCurrentDrawablePtr(); in getCurrentDrawable() local
335 return reinterpret_cast<glx::Drawable>(drawable); in getCurrentDrawable()
398 void FunctionsGLX::queryDrawable(glx::Drawable drawable, int attribute, unsigned int *value) const in queryDrawable() argument
400 mFnPtrs->queryDrawablePtr(mXDisplay, drawable, attribute, value); in queryDrawable()
428 void FunctionsGLX::swapIntervalEXT(glx::Drawable drawable, int intervals) const in swapIntervalEXT() argument
430 mFnPtrs->swapIntervalEXTPtr(mXDisplay, drawable, intervals); in swapIntervalEXT()
[all …]

12345678910>>...15