Searched refs:surface (Results 101 - 125 of 446) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_winsys.h65 * Open a shared surface (optional).
74 * Close a shared surface (optional).
78 struct stw_shared_surface *surface);
81 * Compose into a shared surface (optional).
83 * Blit the color buffer into a shared surface.
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_fbo.h44 * pipe surface.
50 struct pipe_surface *surface; /* temporary view into texture */ member in struct:st_renderbuffer
/external/skia/gm/
H A Dcolor4f.cpp84 auto surface(SkSurface::MakeRaster(info));
85 surface->getCanvas()->drawPaint(bg);
86 draw_into_canvas(surface->getCanvas());
87 surface->draw(canvas, 0, 0, nullptr);
H A Dimage.cpp39 static void drawContents(SkSurface* surface, SkColor fillC) { argument
40 SkSize size = SkSize::Make(SkIntToScalar(surface->width()),
41 SkIntToScalar(surface->height()));
42 SkCanvas* canvas = surface->getCanvas();
124 return SkString("image-surface");
241 auto surface(SkSurface::MakeRaster(info));
242 draw(surface->getCanvas());
243 return surface->makeImageSnapshot();
262 auto surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info));
263 if (!surface) { retur
[all...]
H A Ddrawminibitmaprect.cpp19 auto surface(caller->makeSurface(info));
20 if (nullptr == surface) {
21 surface = SkSurface::MakeRaster(info);
23 SkCanvas* canvas = surface->getCanvas();
60 return surface->makeImageSnapshot();
H A Dimagealphathreshold.cpp133 sk_sp<SkSurface> surface(make_color_matching_surface(canvas, WIDTH, HEIGHT,
135 if (!surface) {
139 surface->getCanvas()->clear(SK_ColorTRANSPARENT);
140 draw_rects(surface->getCanvas());
144 canvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, &paint);
H A Dlcdblendmodes.cpp65 auto surface(canvas->makeSurface(info));
66 if (nullptr == surface) {
67 surface = SkSurface::MakeRaster(info);
70 SkCanvas* surfCanvas = surface->getCanvas();
81 surface->draw(canvas, 0, 0, &surfPaint);
/external/skia/samplecode/
H A DSampleFilterQuality.cpp23 auto surface = canvas->makeSurface(info); local
24 if (!surface) {
25 surface = SkSurface::MakeRaster(info);
27 return surface;
44 auto surface(SkSurface::MakeRaster(info));
45 SkCanvas* canvas = surface->getCanvas();
59 return surface->makeImageSnapshot();
69 auto surface(origSurf->makeSurface(info));
70 SkCanvas* canvas = surface->getCanvas();
89 return surface
220 sk_sp<SkSurface> surface; local
[all...]
/external/deqp/framework/egl/
H A DegluCallLogWrapperApi.inl7 eglw::EGLBoolean eglBindTexImage (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint buffer);
11 eglw::EGLBoolean eglCopyBuffers (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLNativePixmapType target);
28 eglw::EGLBoolean eglDestroySurface (eglw::EGLDisplay dpy, eglw::EGLSurface surface);
44 eglw::EGLBoolean eglLockSurfaceKHR (eglw::EGLDisplay dpy, eglw::EGLSurface surface, const eglw::EGLint *attrib_list);
49 eglw::EGLBoolean eglQuerySurface (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint attribute, eglw::EGLint *value);
50 eglw::EGLBoolean eglReleaseTexImage (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint buffer);
52 eglw::EGLBoolean eglSetDamageRegionKHR (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint *rects, eglw::EGLint n_rects);
54 eglw::EGLBoolean eglSurfaceAttrib (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint attribute, eglw::EGLint value);
55 eglw::EGLBoolean eglSwapBuffers (eglw::EGLDisplay dpy, eglw::EGLSurface surface);
56 eglw::EGLBoolean eglSwapBuffersWithDamageKHR (eglw::EGLDisplay dpy, eglw::EGLSurface surface, egl
[all...]
H A DegluUtil.cpp202 EGLint querySurfaceInt (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint attrib) argument
205 EGLU_CHECK_CALL(egl, querySurface(display, surface, attrib, &value));
209 tcu::IVec2 getSurfaceSize (const Library& egl, EGLDisplay display, EGLSurface surface) argument
211 const EGLint width = querySurfaceInt(egl, display, surface, EGL_WIDTH);
212 const EGLint height = querySurfaceInt(egl, display, surface, EGL_HEIGHT);
216 tcu::IVec2 getSurfaceResolution (const Library& egl, EGLDisplay display, EGLSurface surface) argument
218 const EGLint hRes = querySurfaceInt(egl, display, surface, EGL_HORIZONTAL_RESOLUTION);
219 const EGLint vRes = querySurfaceInt(egl, display, surface, EGL_VERTICAL_RESOLUTION);
279 //! Create EGL window surface using eglCreateWindowSurface() or eglCreatePlatformWindowSurfaceEXT()
286 EGLSurface surface local
327 EGLSurface surface = EGL_NO_SURFACE; local
[all...]
H A DegluUnique.cpp50 UniqueSurface::UniqueSurface (const Library& egl, EGLDisplay display, EGLSurface surface) argument
53 , m_surface (surface)
/external/deqp/framework/egl/wrapper/
H A DeglwFunctionTypes.inl7 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglBindTexImageFunc) (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
11 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglCopyBuffersFunc) (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
28 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglDestroySurfaceFunc) (EGLDisplay dpy, EGLSurface surface);
44 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglLockSurfaceKHRFunc) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
49 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglQuerySurfaceFunc) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
50 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglReleaseTexImageFunc) (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
52 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglSetDamageRegionKHRFunc) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
54 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglSurfaceAttribFunc) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
55 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglSwapBuffersFunc) (EGLDisplay dpy, EGLSurface surface);
56 typedef EGLW_APICALL EGLBoolean (EGLW_APIENTRY* eglSwapBuffersWithDamageKHRFunc) (EGLDisplay dpy, EGLSurface surface, EGLin
[all...]
H A DeglwLibrary.inl7 virtual EGLBoolean bindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer) const = 0;
11 virtual EGLBoolean copyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) const = 0;
28 virtual EGLBoolean destroySurface (EGLDisplay dpy, EGLSurface surface) const = 0;
44 virtual EGLBoolean lockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list) const = 0;
49 virtual EGLBoolean querySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) const = 0;
50 virtual EGLBoolean releaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer) const = 0;
52 virtual EGLBoolean setDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects) const = 0;
54 virtual EGLBoolean surfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) const = 0;
55 virtual EGLBoolean swapBuffers (EGLDisplay dpy, EGLSurface surface) const = 0;
56 virtual EGLBoolean swapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLin
[all...]
/external/deqp/modules/egl/
H A DteglRenderCase.cpp60 static void postSurface (const Library& egl, EGLDisplay display, EGLSurface surface, EGLint typeBit) argument
63 EGLU_CHECK_CALL(egl, swapBuffers(display, surface));
130 string("Config ID ") + de::toString(configId) + ", window surface");
139 eglu::UniqueSurface surface (egl, display, eglSurface);
141 executeForSurface(display, *surface, Config(config, EGL_WINDOW_BIT, 0));
155 string("Config ID ") + de::toString(configId) + ", pixmap surface");
163 eglu::UniqueSurface surface (egl, display, eglSurface);
165 executeForSurface(display, *surface, Config(config, EGL_PIXMAP_BIT, 0));
179 string("Config ID ") + de::toString(configId) + ", pbuffer surface");
189 eglu::UniqueSurface surface(eg
218 executeForSurface(EGLDisplay display, EGLSurface surface, const Config& config) argument
303 executeForSurface(EGLDisplay display, EGLSurface surface, const Config& config) argument
[all...]
H A DteglImageUtil.hpp53 ManagedSurface (de::MovePtr<eglu::UniqueSurface> surface) : m_surface(surface) {} argument
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dsurface.c46 VdpVideoSurface *surface)
98 *surface = vlAddDataHTAB(p_surf);
99 if (*surface == 0) {
122 vlVdpVideoSurfaceDestroy(VdpVideoSurface surface) argument
126 p_surf = (vlVdpSurface *)vlGetDataHTAB((vlHandle)surface);
143 vlVdpVideoSurfaceGetParameters(VdpVideoSurface surface, argument
150 vlVdpSurface *p_surf = vlGetDataHTAB(surface);
191 vlVdpVideoSurfaceGetBitsYCbCr(VdpVideoSurface surface, argument
202 vlsurface = vlGetDataHTAB(surface);
270 vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface, argument
44 vlVdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, uint32_t width, uint32_t height, VdpVideoSurface *surface) argument
[all...]
/external/skia/src/gpu/
H A DGrGpu.cpp369 bool GrGpu::readPixels(GrSurface* surface, argument
373 SkASSERT(surface);
376 if (GrPixelConfigIsSint(surface->config()) != GrPixelConfigIsSint(config)) {
386 if (!GrSurfacePriv::AdjustReadPixelParams(surface->width(), surface->height(), bpp,
395 return this->onReadPixels(surface,
401 bool GrGpu::writePixels(GrSurface* surface, argument
404 SkASSERT(surface);
412 if (GrPixelConfigIsSint(surface->config()) != GrPixelConfigIsSint(config)) {
417 if (this->onWritePixels(surface, lef
426 writePixels(GrSurface* surface, int left, int top, int width, int height, GrPixelConfig config, const void* buffer, size_t rowBytes) argument
439 transferPixels(GrSurface* surface, int left, int top, int width, int height, GrPixelConfig config, GrBuffer* transferBuffer, size_t offset, size_t rowBytes, GrFence* fence) argument
474 didWriteToSurface(GrSurface* surface, const SkIRect* bounds, uint32_t mipLevels) const argument
[all...]
H A DGrContext.cpp254 bool GrContext::writeSurfacePixels(GrSurface* surface, SkColorSpace* dstColorSpace, argument
262 ASSERT_OWNED_RESOURCE(surface);
263 SkASSERT(surface);
268 // Trim the params here so that if we wind up making a temporary surface it can be as small as
270 if (!GrSurfacePriv::AdjustWritePixelParams(surface->width(), surface->height(),
281 if (GrPixelConfigIsSint(surface->config()) != GrPixelConfigIsSint(srcConfig)) {
293 if (!fGpu->getWritePixelsInfo(surface, width, height, srcConfig, &drawPreference,
298 if (!(kDontFlush_PixelOpsFlag & pixelOpsFlags) && surface->surfacePriv().hasPendingIO()) {
367 GrRenderTarget* renderTarget = surface
543 prepareSurfaceForExternalIO(GrSurface* surface) argument
551 flushSurfaceWrites(GrSurface* surface) argument
559 flushSurfaceIO(GrSurface* surface) argument
615 makeWrappedSurfaceContext(sk_sp<GrSurface> surface) argument
[all...]
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_objects.c84 struct pipe_surface *surface)
88 if(!surface)
91 assert(surface->texture == rb_resource->resource);
97 memcpy(&rb_surface->base, surface, sizeof(struct pipe_surface));
102 rb_surface->surface = surface; /* we own the surface already */
108 pipe_surface_reference(&surface, NULL);
117 pipe_surface_reference(&rb_surface->surface, NULL);
82 rbug_surface_create(struct rbug_context *rb_context, struct rbug_resource *rb_resource, struct pipe_surface *surface) argument
/external/mesa3d/src/gallium/targets/graw-null/
H A Dgraw_util.c79 struct pipe_surface *surface,
91 debug_dump_surface_bmp(pipe, filename, surface);
78 graw_save_surface_to_file(struct pipe_context *pipe, struct pipe_surface *surface, const char *filename) argument
/external/mesa3d/src/gbm/backends/dri/
H A Dgbm_driint.h100 gbm_dri_surface(struct gbm_surface *surface) argument
102 return (struct gbm_dri_surface *) surface;
/external/swiftshader/src/OpenGL/libEGL/
H A Dmain.h54 void setCurrentDrawSurface(Surface *surface);
57 void setCurrentReadSurface(Surface *surface);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tile_cache.c118 * memory in programs that don't clear the surface before rendering.
153 * Specify the surface to cache.
162 if (ps == tc->surface)
174 tc->surface = ps;
194 return tc->surface;
350 /* write the scratch tile to the surface */
358 if (util_format_is_pure_uint(tc->surface->format)) {
363 } else if (util_format_is_pure_sint(tc->surface->format)) {
399 if (util_format_is_pure_uint(tc->surface->format)) {
404 tc->surface
[all...]
/external/vulkan-validation-layers/loader/
H A Dwsi.h66 terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface,
72 VkSurfaceKHR surface,
77 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface,
81 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface,
86 VkPhysicalDevice physicalDevice, VkSurfaceKHR surface,
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DVideoRendererGui.java56 // |instance|, |instance.surface|, |eglContext|, and |eglContextReady| are synchronized on
61 private GLSurfaceView surface; field in class:VideoRendererGui
76 private VideoRendererGui(GLSurfaceView surface) { argument
77 this.surface = surface;
79 surface.setPreserveEGLContextOnPause(true);
80 surface.setEGLContextClientVersion(2);
81 surface.setRenderer(this);
82 surface.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY);
93 // |surface| i
94 private GLSurfaceView surface; field in class:VideoRendererGui.YuvImageRenderer
157 YuvImageRenderer( GLSurfaceView surface, int id, int x, int y, int width, int height, RendererCommon.ScalingType scalingType, boolean mirror, RendererCommon.GlDrawer drawer) argument
414 setView(GLSurfaceView surface, Runnable eglContextReadyCallback) argument
[all...]

Completed in 554 milliseconds

1234567891011>>