Searched refs:surface (Results 251 - 275 of 446) sorted by relevance

<<1112131415161718

/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
H A DViewerActivity.java37 private native void onSurfaceCreated(long handle, Surface surface); argument
38 private native void onSurfaceChanged(long handle, Surface surface); argument
/external/skia/src/core/
H A DSkSpecialSurface.cpp39 static SkSpecialSurface_Base* as_SB(SkSpecialSurface* surface) { argument
40 return static_cast<SkSpecialSurface_Base*>(surface);
/external/skia/tests/
H A DDashPathEffectTest.cpp107 sk_sp<SkSurface> surface(SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(256, 256)));
108 SkCanvas* canvas = surface->getCanvas();
H A DDrawTextTest.cpp120 auto surface = SkSurface::MakeRasterN32Premul(10,10); local
121 auto canvas = surface->getCanvas();
H A DImageIsOpaqueTest.cpp75 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, argument
77 sk_sp<SkImage> image(surface->makeImageSnapshot());
H A DGpuDrawPathTest.cpp83 auto surface(
86 if (!surface) {
89 test_func(reporter, surface->getCanvas());
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/EGL/
H A Deglext.h71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface);
74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
75 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface);
290 EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
292 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
298 EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
300 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
/external/deqp/framework/egl/
H A DegluUnique.hpp58 UniqueSurface (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLSurface surface);
H A DegluUtil.hpp74 eglw::EGLint querySurfaceInt (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLSurface surface, eglw::EGLint attrib);
75 tcu::IVec2 getSurfaceSize (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLSurface surface);
76 tcu::IVec2 getSurfaceResolution (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLSurface surface);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tile_cache.h84 struct pipe_surface *surface; /**< the surface we're caching */ member in struct:softpipe_tile_cache
93 boolean depth_stencil; /**< Is the surface a depth/stencil format? */
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dvdpau_private.h319 VdpOutputSurface surface; member in struct:__anon14937::__anon14938
380 struct pipe_surface *surface; member in struct:__anon14946
410 void vlVdpResolveDelayedRendering(vlVdpDevice *dev, struct pipe_surface *surface, struct u_rect *dirty_area);
411 void vlVdpSave4DelayedRendering(vlVdpDevice *dev, VdpOutputSurface surface, struct vl_compositor_state *cstate);
/external/skia/src/image/
H A DSkSurface_Gpu.cpp33 static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface, argument
41 surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode);
46 surface->getDevice()->flush();
47 GrRenderTargetContext* rtc = surface->getDevice()->accessRenderTargetContext();
151 // MDB TODO: this is unfortunate. The snapping of an Image_Gpu from a surface currently
/external/skia/tools/viewer/sk_app/android/
H A Dsurface_glue_android.cpp224 JNIEnv* env, jobject activity, jlong handle, jobject surface) {
227 message.fNativeWindow = ANativeWindow_fromSurface(env, surface);
232 JNIEnv* env, jobject activity, jlong handle, jobject surface) {
235 message.fNativeWindow = ANativeWindow_fromSurface(env, surface);
223 Java_org_skia_viewer_ViewerActivity_onSurfaceCreated( JNIEnv* env, jobject activity, jlong handle, jobject surface) argument
231 Java_org_skia_viewer_ViewerActivity_onSurfaceChanged( JNIEnv* env, jobject activity, jlong handle, jobject surface) argument
/external/swiftshader/src/OpenGL/libGL/
H A DDevice.hpp81 bool validRectangle(const sw::Rect *rect, Image *surface);
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DEglBase.java107 public abstract void createSurface(Surface surface); argument
112 // Create dummy 1x1 pixel buffer surface so the context can be made current.
/external/deqp/framework/platform/X11/
H A DtcuX11EglPlatform.cpp49 typedef EGLW_APICALL eglw::EGLBoolean (EGLW_APIENTRY* eglX11CopyBuffersFunc) (eglw::EGLDisplay dpy, eglw::EGLSurface surface, EGLNativePixmapType target);
78 eglw::EGLBoolean copyBuffers (eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLNativePixmapType target) const argument
80 return ((eglX11CopyBuffersFunc)m_egl.copyBuffers)(dpy, surface, reinterpret_cast<EGLNativePixmapType>(target));
/external/deqp/modules/egl/
H A DteglMultiContextTests.cpp126 const eglu::UniqueSurface surface (egl, *display, m_use != USE_NONE ? egl.createPbufferSurface(*display, config, pbufferAttribList) : EGL_NO_SURFACE);
175 const eglw::EGLBoolean result = egl.makeCurrent(*display, *surface, *surface, context);
H A DteglNativeCoordMappingTests.cpp21 * \brief Tests for mapping client coordinates to native surface coordinates
373 eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow, display, config, DE_NULL));
374 const tcu::IVec2 surfaceSize = eglu::getSurfaceSize(egl, display, *surface);
381 EGLU_CHECK_CALL(egl, makeCurrent(display, *surface, *surface, context));
393 EGLU_CHECK_CALL(egl, swapBuffers(display, *surface));
421 eglu::UniqueSurface surface (egl, display, eglu::createPixmapSurface(nativeDisplay, nativePixmap, display, config, DE_NULL));
428 EGLU_CHECK_CALL(egl, makeCurrent(display, *surface, *surface, context));
465 eglu::UniqueSurface surface (eg
[all...]
/external/skia/gm/
H A Dimagefilterscropexpand.cpp161 auto surface(SkSurface::MakeRasterN32Premul(width, height));
162 SkCanvas* canvas = surface->getCanvas();
172 return surface->makeImageSnapshot();
H A Dimagefiltersscaled.cpp32 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(width, height));
33 SkCanvas* canvas = surface->getCanvas();
43 return surface->makeImageSnapshot();
/external/skia/include/private/
H A DGrSurfaceProxy.h78 GrIORefProxy(sk_sp<GrSurface> surface) : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { argument
81 fTarget = surface.release();
238 * Helper that gets the width and height of the surface as a bounding rectangle.
246 * @return the texture proxy associated with the surface proxy, may be NULL.
252 * @return the render target proxy associated with the surface proxy, may be NULL.
321 GrSurfaceProxy(sk_sp<GrSurface> surface, SkBackingFit fit);
355 // The last opList that wrote to or is currently going to write to this surface
359 // the opList used to create the current contents of this surface
360 // and the opList of a destination surface to which this one is being drawn or copied.
/external/swiftshader/src/D3D9/
H A DDirect3DDevice9Ex.cpp117 long Direct3DDevice9Ex::ColorFill(IDirect3DSurface9 *surface, const RECT *rect, D3DCOLOR color) argument
119 TRACE("IDirect3DSurface9 *surface = 0x%0.8p, const RECT *rect = 0x%0.8p, D3DCOLOR color = 0x%0.8X", surface, rect, color);
121 return Direct3DDevice9::ColorFill(surface, rect, color);
138 long Direct3DDevice9Ex::CreateDepthStencilSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int discard, IDirect3DSurface9 **surface, void **sharedHandle) argument
140 TRACE("unsigned int width = %d, unsigned int height = %d, D3DFORMAT format = %d, D3DMULTISAMPLE_TYPE multiSample = %d, unsigned long multiSampleQuality = %d, int discard = %d, IDirect3DSurface9 **surface = 0x%0.8p, void **sharedHandle = 0x%0.8p", width, height, format, multiSample, multiSampleQuality, discard, surface, sharedHandle);
142 return Direct3DDevice9::CreateDepthStencilSurface(width, height, format, multiSample, multiSampleQuality, discard, surface, sharedHandle);
152 long Direct3DDevice9Ex::CreateOffscreenPlainSurface(unsigned int width, unsigned int height, D3DFORMAT format, D3DPOOL pool, IDirect3DSurface9 **surface, void **sharedHandle) argument
154 TRACE("unsigned int width = %d, unsigned int height = %d, D3DFORMAT format = %d, D3DPOOL pool = %d, IDirect3DSurface9 **surface
173 CreateRenderTarget(unsigned int width, unsigned int height, D3DFORMAT format, D3DMULTISAMPLE_TYPE multiSample, unsigned long multiSampleQuality, int lockable, IDirect3DSurface9 **surface, void **sharedHandle) argument
[all...]
/external/vulkan-validation-layers/demos/smoke/
H A DShellXcb.cpp198 VkSurfaceKHR surface; local
199 vk::assert_success(vk::CreateXcbSurfaceKHR(instance, &surface_info, nullptr, &surface));
201 return surface;
/external/deqp/modules/gles3/functional/
H A Des3fTextureSwizzleTests.cpp65 static void swizzle (tcu::Surface& surface, deUint32 swzR, deUint32 swzG, deUint32 swzB, deUint32 swzA) argument
67 for (int y = 0; y < surface.getHeight(); y++)
69 for (int x = 0; x < surface.getWidth(); x++)
71 tcu::RGBA p = surface.getPixel(x, y);
72 surface.setPixel(x, y, tcu::RGBA(swizzle(p, swzR), swizzle(p, swzG), swizzle(p, swzB), swizzle(p, swzA)));
/external/skia/src/gpu/
H A DGrGpu.h165 /** If the GrGpu is requesting that the caller do a draw to an intermediate surface then
166 this is descriptor for the temp surface. The draw should always be a rect with
175 /** The config that should be used to read from the temp surface after the draw. This may be
216 /** If the GrGpu is requesting that the caller upload to an intermediate surface and draw
217 that to the dst then this is the descriptor for the intermediate surface. The caller
219 the intermediate surface.*/
225 surface before the draw. This may be different than the original src data config in
231 * Used to negotiate whether and how an intermediate surface should be used to write pixels to
242 * @param surface The surface t
[all...]

Completed in 5030 milliseconds

<<1112131415161718