/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_surface.c | 63 struct apple_glx_surface *s = &d->types.surface; 97 struct apple_glx_surface *s = &d->types.surface; 108 * Check if this surface destroy came from the surface being destroyed 110 * we don't want to try to destroy the surface on the server. 122 ("%s: destroyed a surface for drawable 0x%lx uid %u\n", __func__, 131 struct apple_glx_surface *s = &d->types.surface; 153 apple_glx_diagnostic("%s: created a surface for drawable 0x%lx" 158 return true; /* unable to create a surface. */ 191 * a surface drawabl [all...] |
/external/skia/gm/ |
H A D | srcmode.cpp | 124 sk_sp<SkSurface> surface = callNewSurface ? canvas->makeSurface(info) : nullptr; local 125 if (nullptr == surface) { 127 surface = SkSurface::MakeRaster(info); 129 return surface;
|
H A D | textblobrandomfont.cpp | 105 auto surface(canvas->makeSurface(info, &props)); 106 if (surface) { 110 SkCanvas* c = surface->getCanvas(); 122 surface->draw(canvas, 0, 0, nullptr); 133 const char* text = "This test requires a surface";
|
H A D | arithmode.cpp | 23 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(WW, HH)); 24 SkCanvas* canvas = surface->getCanvas(); 35 return surface->makeImageSnapshot(); 39 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(WW, HH)); 40 SkCanvas* canvas = surface->getCanvas(); 51 return surface->makeImageSnapshot();
|
H A D | imagescalealigned.cpp | 76 auto surface(SkSurface::MakeRasterN32Premul(kSegLen, kSegLen)); 77 surface->getCanvas()->clear(SK_ColorTRANSPARENT); 84 surface->getCanvas()->drawRect(border, paint); 87 surface->getCanvas()->drawLine(start.x(), start.y(), end.x(), end.y(), paint); 92 surface->getCanvas()->drawPoints(SkCanvas::kPoints_PointMode, 2, pts, paint); 94 return surface->makeImageSnapshot();
|
H A D | textblobmixedsizes.cpp | 101 sk_sp<SkSurface> surface; variable 112 surface = SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info, 0, &props); 113 canvas = surface.get() ? surface->getCanvas() : inputCanvas; 171 if (surface) { 175 inputCanvas->drawImage(surface->makeImageSnapshot().get(), 0, 0, nullptr);
|
/external/vulkan-validation-layers/layers/ |
H A D | core_validation.h | 225 VkSurfaceKHR surface = VK_NULL_HANDLE; member in struct:SURFACE_STATE 230 SURFACE_STATE(VkSurfaceKHR surface) argument 231 : surface(surface) {}
|
/external/deqp/framework/common/ |
H A D | tcuSurfaceAccess.hpp | 53 SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt); 54 SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt, int x, int y, int width, int height);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nv04_state_fb.c | 67 fb->_ColorDrawBuffers[0])->surface; 80 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface;
|
H A D | nouveau_fbo.c | 40 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 89 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 107 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 139 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 288 nouveau_surface_ref(&to_nouveau_teximage(ti)->surface, 289 &to_nouveau_renderbuffer(rb)->surface);
|
/external/skia/tests/ |
H A D | IndexedPngOverflowTest.cpp | 36 auto surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(20, 1))); 37 SkCanvas* canvas = surface->getCanvas();
|
/external/swiftshader/src/OpenGL/libEGL/ |
H A D | Display.h | 52 void destroySurface(Surface *surface); 59 bool isValidSurface(Surface *surface);
|
/external/deqp/framework/egl/ |
H A D | egluCallLogWrapper.cpp | 211 eglw::EGLSurface surface; member in class:eglu::EGLSurfaceFmt 212 EGLSurfaceFmt (eglw::EGLSurface surface_) : surface(surface_) {} 215 inline EGLSurfaceFmt getEGLSurfaceStr (eglw::EGLSurface surface) { return EGLSurfaceFmt(surface); } argument 219 if (fmt.surface == EGL_NO_SURFACE) 222 return str << toHex(fmt.surface);
|
/external/mesa3d/include/EGL/ |
H A D | eglmesaext.h | 61 EGLAPI EGLBoolean EGLAPIENTRY eglShowScreenSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); 64 EGLAPI EGLBoolean EGLAPIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); 74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSHOWSCREENSURFACEMESA) (EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode); 77 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSCREENSURFACEMESA) (EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); 139 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK(EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects); 142 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
H A D | va_private.h | 94 VASurfaceID surface, 110 VAStatus vlVaDeriveImage(VADriverContextP ctx,VASurfaceID surface,VAImage *image); 113 VAStatus vlVaGetImage(VADriverContextP ctx,VASurfaceID surface,int x,int y,unsigned int width,unsigned int height,VAImageID image); 115 VASurfaceID surface, 150 VASurfaceID surface, 160 VAStatus vlVaUnlockSurface(VADriverContextP ctx,VASurfaceID surface);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
H A D | xvmc_bench.c | 186 XvMCSurface surface; local 230 assert(XvMCCreateSurface(display, &context, &surface) == Success); 265 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &block_array) == Success); 266 assert(XvMCFlushSurface(display, &surface) == Success); 269 assert(XvMCPutSurface(display, &surface, window, 0, 0, config.input_width, config.input_height, 0, 0, config.output_width, config.output_height, XVMC_FRAME_PICTURE) == Success); 292 assert(XvMCDestroySurface(display, &surface) == Success);
|
/external/skia/tools/fiddle/ |
H A D | fiddle_main.cpp | 81 static SkData* encode_snapshot(const sk_sp<SkSurface>& surface) { argument 82 sk_sp<SkImage> img(surface->makeImageSnapshot()); 162 auto surface = SkSurface::MakeRenderTarget(grContext.get(), SkBudgeted::kNo, info); local 163 if (!surface) { 164 fputs("Unable to get render surface.\n", stderr); 168 draw(surface->getCanvas()); 169 gpuData.reset(encode_snapshot(surface));
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
H A D | EglBase14.java | 57 // time stamp on a surface is supported from 18 so we require 18. 82 public void createSurface(Surface surface) { argument 83 createSurfaceInternal(surface); 93 private void createSurfaceInternal(Object surface) { argument 94 if (!(surface instanceof Surface) && !(surface instanceof SurfaceTexture)) { 102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0); 104 throw new RuntimeException("Failed to create window surface"); 122 throw new RuntimeException("Failed to create pixel buffer surface");
|
/external/deqp/modules/egl/ |
H A D | teglColorClearCase.cpp | 168 void SingleThreadColorClearCase::executeForContexts (EGLDisplay display, EGLSurface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) argument 172 const tcu::IVec2 surfaceSize = eglu::getSurfaceSize(egl, display, surface); 197 egl.makeCurrent(display, surface, surface, context); 213 egl.makeCurrent(display, surface, surface, context); 233 egl.makeCurrent(display, surface, surface, context); 281 ColorClearThread (const Library& egl, EGLDisplay display, EGLSurface surface, EGLContext context, EGLint api, const ApiFunctions& funcs, const std::vector<ClearPacket>& packets) argument 284 , m_surface (surface) 330 executeForContexts(EGLDisplay display, EGLSurface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) argument [all...] |
H A D | teglMakeCurrentPerfTests.cpp | 265 EGLSurface surface = egl.createPbufferSurface(m_display, m_config, attribList); local 269 m_surfaces.push_back(surface); 281 EGLSurface surface = EGL_NO_SURFACE; local 286 surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config, DE_NULL); 290 if (surface != EGL_NO_SURFACE) 291 egl.destroySurface(m_display, surface); 298 m_surfaces.push_back(surface); 310 EGLSurface surface = EGL_NO_SURFACE; local 315 surface = eglu::createPixmapSurface(m_eglTestCtx.getNativeDisplay(), *pixmap, m_display, m_config, DE_NULL); 319 if (surface ! 521 EGLSurface surface = m_surfaces[m_rnd.getUint32() % m_surfaces.size()]; local [all...] |
H A D | teglQueryContextTests.cpp | 95 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) argument 101 DE_UNREF(surface); 137 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) argument 154 if (gotReadSurface == surface && gotDrawSurface == surface) 160 log << TestLog::Message << " Fail, read surface: " << tcu::toHex(gotReadSurface) 161 << ", draw surface: " << tcu::toHex(gotDrawSurface) 162 << ", expected: " << tcu::toHex(surface) << TestLog::EndMessage; 163 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid surface"); 179 void executeForContext (EGLDisplay display, EGLContext context, EGLSurface surface, cons argument 229 executeForContext(EGLDisplay display, EGLContext context, EGLSurface surface, const Config& config) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_blorp.cpp | 132 /* SURFACE_STATE for renderbuffer or texture surface (see 138 const brw_blorp_surface_info *surface, 145 uint32_t width = surface->width; 146 uint32_t height = surface->height; 152 struct intel_region *region = surface->mt->region; 160 if (surface->mt->align_h == 4) 162 if (surface->mt->align_w == 8) 165 surf->ss0.surface_format = surface->brw_surfaceformat; 167 surf->ss0.surface_array_spacing = surface->array_spacing_lod0 ? 171 surf->ss1.base_addr = surface 136 gen7_blorp_emit_surface_state(struct brw_context *brw, const brw_blorp_params *params, const brw_blorp_surface_info *surface, uint32_t read_domains, uint32_t write_domain, bool is_render_target) argument [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 365 /* Initialize the surface. */ 391 unsigned dst_tile_mode = dst->surface.level[info->dst.level].mode; 582 orig->npix0_x = rtex->surface.level[0].npix_x; 583 orig->npix0_y = rtex->surface.level[0].npix_y; 584 orig->npix_x = rtex->surface.level[level].npix_x; 585 orig->npix_y = rtex->surface.level[level].npix_y; 598 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); 599 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y); 600 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); 601 rtex->surface [all...] |
/external/swiftshader/src/Renderer/ |
H A D | Sampler.cpp | 110 void Sampler::setTextureLevel(int face, int level, Surface *surface, TextureType type) argument 112 if(surface) 116 mipmap.buffer[face] = surface->lockInternal(0, 0, 0, LOCK_UNLOCKED, PRIVATE); 120 externalTextureFormat = surface->getExternalFormat(); 121 internalTextureFormat = surface->getInternalFormat(); 123 int width = surface->getWidth(); 124 int height = surface->getHeight(); 125 int depth = surface->getDepth(); 126 int pitchP = surface->getInternalPitchP(); 127 int sliceP = surface [all...] |
/external/icu/icu4c/source/samples/layout/ |
H A D | clayout.c | 130 static rs_surface *surface = NULL; local 141 surface = rs_gdiRenderingSurfaceOpen(hdc); 143 fontMap = fm_gdiFontMapOpen(surface, "FontMap.GDI", 24, guiSupport, &fontStatus); 253 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 260 pf_draw(context->paragraph, surface, firstLine, lastLine); 303 rs_gdiRenderingSurfaceSetHDC(surface, hdc); 355 rs_gdiRenderingSurfaceClose(surface);
|