Searched refs:surface (Results 126 - 150 of 446) sorted by relevance

1234567891011>>

/external/swiftshader/src/OpenGL/libEGL/
H A DlibEGL.cpp81 static bool validateSurface(egl::Display *display, egl::Surface *surface) argument
88 if(!display->isValidSurface(surface))
346 EGLBoolean DestroySurface(EGLDisplay dpy, EGLSurface surface) argument
348 TRACE("(EGLDisplay dpy = %p, EGLSurface surface = %p)", dpy, surface);
351 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
358 if(surface == EGL_NO_SURFACE)
363 display->destroySurface((egl::Surface*)surface);
368 EGLBoolean QuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) argument
370 TRACE("(EGLDisplay dpy = %p, EGLSurface surface
504 SurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) argument
540 BindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
582 ReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
897 SwapBuffers(EGLDisplay dpy, EGLSurface surface) argument
919 CopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) argument
[all...]
H A Dmain.cpp245 void setCurrentDrawSurface(egl::Surface *surface) argument
249 if(surface)
251 surface->addRef();
259 current->drawSurface = surface;
269 void setCurrentReadSurface(egl::Surface *surface) argument
273 if(surface)
275 surface->addRef();
283 current->readSurface = surface;
307 case EGL_BAD_CURRENT_SURFACE: TRACE("\t! Error generated: bad current surface\n"); break;
313 case EGL_BAD_SURFACE: TRACE("\t! Error generated: bad surface\
425 eglDestroySurface(EGLDisplay dpy, EGLSurface surface) argument
430 eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) argument
460 eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) argument
465 eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
470 eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
525 eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) argument
530 eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) argument
[all...]
H A DlibEGL.hpp39 EGLBoolean (*eglDestroySurface)(EGLDisplay dpy, EGLSurface surface);
40 EGLBoolean (*eglQuerySurface)(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
46 EGLBoolean (*eglSurfaceAttrib)(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
47 EGLBoolean (*eglBindTexImage)(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
48 EGLBoolean (*eglReleaseTexImage)(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
59 EGLBoolean (*eglSwapBuffers)(EGLDisplay dpy, EGLSurface surface);
60 EGLBoolean (*eglCopyBuffers)(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
/external/deqp/framework/egl/wrapper/
H A DeglwApi.inl64 EGLBoolean eglwBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
68 EGLBoolean eglwCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
85 EGLBoolean eglwDestroySurface (EGLDisplay dpy, EGLSurface surface);
101 EGLBoolean eglwLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
106 EGLBoolean eglwQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
107 EGLBoolean eglwReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
110 EGLBoolean eglwSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
111 EGLBoolean eglwSwapBuffers (EGLDisplay dpy, EGLSurface surface);
114 EGLBoolean eglwUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
/external/skia/tests/
H A DGradientTest.cpp273 auto surface(SkSurface::MakeRasterN32Premul(200, 200));
281 surface->getCanvas()->drawPaint(paint);
285 auto surface(SkSurface::MakeRasterN32Premul(200, 200));
293 surface->getCanvas()->drawPaint(paint);
301 auto surface(SkSurface::MakeRasterN32Premul(1300, 630));
311 surface->getCanvas()->drawRect(r, paint);
317 auto surface(SkSurface::MakeRasterN32Premul(5, 5));
318 surface->getCanvas()->clear(SK_ColorRED);
326 surface->getCanvas()->drawPaint(p);
331 surface
452 sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(100, 100); local
[all...]
H A DRecorderTest.cpp77 auto surface(SkSurface::MakeRasterN32Premul(100, 100));
78 surface->getCanvas()->clear(SK_ColorGREEN);
79 image = surface->makeImageSnapshot();
H A DWritePixelsTest.cpp298 auto surface(SkSurface::MakeRaster(info));
299 uint32_t genID1 = surface->generationID();
300 call_writepixels(surface->getCanvas());
301 uint32_t genID2 = surface->generationID();
305 static void test_write_pixels(skiatest::Reporter* reporter, SkSurface* surface) { argument
353 SkCanvas& canvas = *surface->getCanvas();
375 uint32_t idBefore = surface->generationID();
380 uint32_t idAfter = surface->generationID();
404 auto surface(SkSurface::MakeRasterDirectReleaseProc(info, pixels, rowBytes,
406 test_write_pixels(reporter, surface
[all...]
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
H A Dtest_rendering.c144 XvMCSurface surface; local
184 assert(XvMCCreateSurface(display, &context, &surface) == Success);
264 assert(XvMCRenderSurface(display, NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == XvMCBadContext);
265 /* Test NULL surface */
268 assert(XvMCRenderSurface(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == BadValue);
270 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == Success);
272 /* Test NULL surface */
276 /*assert(XvMCPutSurface(display, &surface, 0, 0, 0, width, height, 0, 0, width, height, XVMC_FRAME_PICTURE) == BadDrawable);*/
299 display, &surface, window,
319 assert(XvMCDestroySurface(display, &surface)
[all...]
/external/skia/gm/
H A Dlattice.cpp14 auto surface = root->makeSurface(info); local
15 if (!surface) {
16 surface = SkSurface::MakeRaster(info);
19 return surface;
28 auto surface(make_surface(root, kSize, padLeft, padTop, padRight, padBottom));
29 SkCanvas* canvas = surface->getCanvas();
71 return surface->makeImageSnapshot();
H A Dbigtileimagefilter.cpp14 auto surface(SkSurface::MakeRasterN32Premul(size, size));
15 SkCanvas* canvas = surface->getCanvas();
25 return surface->makeImageSnapshot();
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DEglBase10.java74 public void createSurface(Surface surface) { argument
81 private final Surface surface;
83 FakeSurfaceHolder(Surface surface) {
84 this.surface = surface;
134 return surface;
138 createSurfaceInternal(new FakeSurfaceHolder(surface));
159 throw new RuntimeException("Failed to create window surface");
163 // Create dummy 1x1 pixel buffer surface so the context can be made current.
178 throw new RuntimeException("Failed to create pixel buffer surface");
[all...]
/external/mesa3d/src/egl/main/
H A Deglapi.h60 /* surface funcs */
64 typedef EGLBoolean (*DestroySurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface);
65 typedef EGLBoolean (*QuerySurface_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface, EGLint attribute, EGLint *value);
66 typedef EGLBoolean (*SurfaceAttrib_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface, EGLint attribute, EGLint value);
67 typedef EGLBoolean (*BindTexImage_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface, EGLint buffer);
68 typedef EGLBoolean (*ReleaseTexImage_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface, EGLint buffer);
71 typedef EGLBoolean (*CopyBuffers_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface, EGLNativePixmapType target);
90 typedef EGLBoolean (*ShowScreenSurfaceMESA_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *screen, _EGLSurface *surface, _EGLMode *mode);
93 typedef EGLBoolean (*QueryScreenSurfaceMESA_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLScreen *screen, _EGLSurface **surface);
129 typedef EGLBoolean (*PostSubBufferNV_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surface, EGLin
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dpresentation.c194 * Enter a surface into the presentation queue.
198 VdpOutputSurface surface,
220 surf = vlGetDataHTAB(surface);
249 if (pq->device->delayed_rendering.surface == surface &&
292 VDPAU_MSG(VDPAU_ERR, "[VDPAU] Dumping surface %d failed.\n", surface);
305 * Wait for a surface to finish being displayed.
309 VdpOutputSurface surface,
323 surf = vlGetDataHTAB(surface);
197 vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, uint32_t clip_width, uint32_t clip_height, VdpTime earliest_presentation_time) argument
308 vlVdpPresentationQueueBlockUntilSurfaceIdle(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpTime *first_presentation_time) argument
341 vlVdpPresentationQueueQuerySurfaceStatus(VdpPresentationQueue presentation_queue, VdpOutputSurface surface, VdpPresentationQueueStatus *status, VdpTime *first_presentation_time) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_blit.c240 /* Copy a block of pixels from one surface to another using HW. */
280 orig->npix0_x = rtex->surface.level[0].npix_x;
281 orig->npix0_y = rtex->surface.level[0].npix_y;
282 orig->npix_x = rtex->surface.level[level].npix_x;
283 orig->npix_y = rtex->surface.level[level].npix_y;
296 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x);
297 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y);
298 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x);
299 rtex->surface.level[level].npix_y = util_format_get_nblocksy(orig->format, orig->npix_y);
312 rtex->surface
[all...]
H A Dr600_resource.h54 struct radeon_surface surface; member in struct:r600_resource_texture
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_objects.h83 struct pipe_surface *surface; member in struct:rbug_surface
161 return rbug_surface(_surface)->surface;
194 struct pipe_surface *surface);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_winsys.h67 /** Opaque surface handle */
84 * Emit a relocation for a host surface.
94 struct svga_winsys_surface *surface,
151 * Surfaces are not per-context. The same surface can be shared
152 * between multiple contexts, and surface operations can occur
160 * This creates a "surface" object in the SVGA3D device,
161 * and returns the surface ID (sid). Surfaces are generic
182 * which the surface may be used. For example, a depth surface
184 * be used as a vertex buffer. Some surface usage
[all...]
/external/skia/tools/
H A Dskhello.cpp33 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(w, h, &props));
34 doDraw(surface->getCanvas(), paint, text);
36 sk_sp<SkImage> image(surface->makeImageSnapshot());
/external/deqp/framework/egl/
H A DegluCallLogWrapper.inl17 eglw::EGLBoolean CallLogWrapper::eglBindTexImage (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint buffer)
20 m_log << TestLog::Message << "eglBindTexImage(" << dpy << ", " << toHex(surface) << ", " << buffer << ");" << TestLog::EndMessage;
21 eglw::EGLBoolean returnValue = m_egl.bindTexImage(dpy, surface, buffer);
62 eglw::EGLBoolean CallLogWrapper::eglCopyBuffers (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLNativePixmapType target)
65 m_log << TestLog::Message << "eglCopyBuffers(" << dpy << ", " << toHex(surface) << ", " << toHex(target) << ");" << TestLog::EndMessage;
66 eglw::EGLBoolean returnValue = m_egl.copyBuffers(dpy, surface, target);
232 eglw::EGLBoolean CallLogWrapper::eglDestroySurface (eglw::EGLDisplay dpy, eglw::EGLSurface surface)
235 m_log << TestLog::Message << "eglDestroySurface(" << dpy << ", " << toHex(surface) << ");" << TestLog::EndMessage;
236 eglw::EGLBoolean returnValue = m_egl.destroySurface(dpy, surface);
396 eglw::EGLBoolean CallLogWrapper::eglLockSurfaceKHR (eglw::EGLDisplay dpy, eglw::EGLSurface surface, cons
[all...]
/external/deqp/framework/common/
H A DtcuRasterizationVerifier.cpp654 bool verifyTriangleGroupInterpolationWithInterpolator (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, const Interpolator& interpolator)
658 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight());
663 tcu::Surface errorMask (surface.getWidth(), surface.getHeight());
689 for (int y = 0; y < surface.getHeight(); ++y)
690 for (int x = 0; x < surface.getWidth(); ++x)
692 const tcu::RGBA color = surface.getPixel(x, y);
848 << tcu::TestLog::Image("Result", "Result", surface)
858 << tcu::TestLog::Image("Result", "Result", surface)
[all...]
/external/autotest/client/deps/glbench/src/
H A Degl_stuff.h43 const EGLSurface surface() const { function in class:EGLInterface
H A Dwaffle_stuff.h40 const struct waffle_window* surface() const { function in class:WaffleInterface
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.h55 struct pipe_surface *surface);
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
H A Dnative_shm.c78 struct wayland_surface *surface,
90 resource = resource_surface_get_single_resource(surface->rsurf, attachment);
91 resource_surface_get_size(surface->rsurf, &width, &height);
97 switch (surface->color_format) {
77 wayland_create_shm_buffer(struct wayland_display *display, struct wayland_surface *surface, enum native_attachment attachment) argument
/external/mesa3d/src/gbm/main/
H A Dgbm.h277 gbm_surface_lock_front_buffer(struct gbm_surface *surface);
280 gbm_surface_release_buffer(struct gbm_surface *surface, struct gbm_bo *bo);
283 gbm_surface_has_free_buffers(struct gbm_surface *surface);
286 gbm_surface_destroy(struct gbm_surface *surface);

Completed in 579 milliseconds

1234567891011>>