/external/chromium_org/content/common/gpu/ |
image_transport_surface_android.cc | 39 gfx::GLSurface* surface, 63 gfx::GLSurface* surface); 78 gfx::GLSurface* surface, 80 : PassThroughImageTransportSurface(manager, stub, surface), 86 if (!surface()) 151 gfx::GLSurface* surface) 152 : PassThroughImageTransportSurface(manager, stub, surface) {} 181 scoped_refptr<gfx::GLSurface> surface = local 183 bool initialize_success = surface->Initialize(); 190 new DirectSurfaceAndroid(manager, stub, surface.get())) [all...] |
/external/chromium_org/gpu/config/ |
gpu_info_collector.cc | 24 scoped_refptr<gfx::GLSurface> surface( 26 if (!surface.get()) { 31 return surface; 34 scoped_refptr<gfx::GLContext> InitializeGLContext(gfx::GLSurface* surface) { 38 surface, 45 if (!context->MakeCurrent(surface)) { 87 scoped_refptr<gfx::GLSurface> surface(InitializeGLSurface()); 88 if (!surface.get()) { 89 LOG(ERROR) << "Could not create surface for info collection."; 93 scoped_refptr<gfx::GLContext> context(InitializeGLContext(surface.get())) [all...] |
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewSnapshotTestActivity.java | 61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 62 mProducerThread = new GLProducerThread(surface, new GLRendererImpl(), 68 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 72 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 78 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/external/chromium_org/ui/gl/android/ |
scoped_java_surface.cc | 30 const base::android::JavaRef<jobject>& surface) 35 DCHECK(env->IsInstanceOf(surface.obj(), Surface_clazz(env))); 36 j_surface_.Reset(surface); 79 ScopedJavaSurface ScopedJavaSurface::AcquireExternalSurface(jobject surface) { 82 surface_ref.Reset(env, surface);
|
/external/chromium_org/ui/gl/ |
gl_context_android.cc | 21 // Used to render into an already current context+surface, 32 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE; 33 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE {} 34 virtual bool IsCurrent(GLSurface* surface) OVERRIDE { return true; } 57 bool GLNonOwnedContext::MakeCurrent(GLSurface* surface) { 58 SetCurrent(surface);
|
gl_context.cc | 158 void GLContext::SetCurrent(GLSurface* surface) { 159 current_context_.Pointer()->Set(surface ? this : NULL); 160 GLSurface::SetCurrent(surface); 164 if (!surface && GetGLImplementation() != kGLImplementationMockGL) { 200 GLContext* virtual_context, GLSurface* surface) { 202 return virtual_gl_api_->MakeCurrent(virtual_context, surface); 225 void GLContextReal::SetCurrent(GLSurface* surface) { 226 GLContext::SetCurrent(surface); 227 current_real_context_.Pointer()->Set(surface ? this : NULL);
|
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.hpp | 112 * Verifies pixels in the surface are rasterized within the bounds given 119 bool verifyTriangleGroupRasterization (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, VerificationMode mode = VERIFICATIONMODE_STRICT); 123 * Verifies pixels in the surface are rasterized within the bounds given 130 bool verifyLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 134 * Verifies points in the surface are rasterized within the bounds given 141 bool verifyPointGroupRasterization (const tcu::Surface& surface, const PointSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 152 bool verifyTriangleGroupInterpolation (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log) [all...] |
/external/deqp/modules/egl/ |
teglQuerySurfaceTests.cpp | 21 * \brief Surface query tests. 60 static void logSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface, const EGLint* attributes, int num) 66 logSurfaceAttribute(log, attrib, surface.getAttribute(attrib)); 70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface) 87 logSurfaceAttributes(log, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); 90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface) 100 logSurfaceAttributes(log, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)) [all...] |
teglColorClearCase.hpp | 43 virtual void executeForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts); 52 virtual void executeForContexts (tcu::egl::Display& display, tcu::egl::Surface& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts);
|
/external/deqp/framework/egl/ |
egluApiPrototypes.inl | 16 EGLBoolean eglDestroySurface (EGLDisplay dpy, EGLSurface surface); 17 EGLBoolean eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value); 23 EGLBoolean eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); 24 EGLBoolean eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 25 EGLBoolean eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 36 EGLBoolean eglSwapBuffers (EGLDisplay dpy, EGLSurface surface); 37 EGLBoolean eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
|
egluUnique.cpp | 31 UniqueSurface::UniqueSurface (EGLDisplay display, EGLSurface surface) 33 , m_surface (surface)
|
/external/chromium_org/cc/test/ |
fake_output_surface.h | 79 scoped_ptr<FakeOutputSurface> surface(Create3d()); 80 surface->capabilities_.draw_and_swap_full_viewport_every_frame = true; 81 return surface.Pass(); 86 scoped_ptr<FakeOutputSurface> surface(new FakeOutputSurface( 88 surface->capabilities_.uses_default_gl_framebuffer = false; 89 return surface.Pass();
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Canvas2DLayerManagerTest.cpp | 67 FakeCanvas2DLayerBridge(WebGraphicsContext3D* context, PassOwnPtr<SkDeferredCanvas> canvas, PassRefPtr<SkSurface> surface) 68 : Canvas2DLayerBridge(adoptPtr(new MockWebGraphicsContext3DProvider(context)), canvas, surface, 0, NonOpaque) 170 RefPtr<SkSurface> surface = adoptRef(SkSurface::NewRasterPMColor(1, 1)); local 171 OwnPtr<SkDeferredCanvas> canvas = adoptPtr(SkDeferredCanvas::Create(surface.get())); 172 FakeCanvas2DLayerBridgePtr layer(adoptRef(new FakeCanvas2DLayerBridge(webContext.get(), canvas.release(), surface.release()))); 188 RefPtr<SkSurface> surface = adoptRef(SkSurface::NewRasterPMColor(1, 1)); local 189 OwnPtr<SkDeferredCanvas> canvas = adoptPtr(SkDeferredCanvas::Create(surface.get())); 190 FakeCanvas2DLayerBridgePtr layer(adoptRef(new FakeCanvas2DLayerBridge(webContext.get(), canvas.release(), surface.release()))); 208 RefPtr<SkSurface> surface = adoptRef(SkSurface::NewRasterPMColor(1, 1)); local 209 OwnPtr<SkDeferredCanvas> canvas = adoptPtr(SkDeferredCanvas::Create(surface.get())) 223 RefPtr<SkSurface> surface = adoptRef(SkSurface::NewRasterPMColor(1, 1)); local 274 RefPtr<SkSurface> surface = adoptRef(SkSurface::NewRasterPMColor(1, 1)); local [all...] |
/development/ndk/platforms/android-9/samples/native-activity/jni/ |
main.c | 53 EGLSurface surface; member in struct:engine 81 EGLSurface surface; local 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { 109 eglQuerySurface(display, surface, EGL_WIDTH, &w); 110 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 114 engine->surface = surface; 142 eglSwapBuffers(engine->display, engine->surface); [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/android/apmtest/jni/ |
main.c | 53 EGLSurface surface; member in struct:engine 81 EGLSurface surface; local 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); 104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { 109 eglQuerySurface(display, surface, EGL_WIDTH, &w); 110 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 114 engine->surface = surface; 142 eglSwapBuffers(engine->display, engine->surface); [all...] |
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
egl.cpp | 361 EGLSurface surface = getDispatch()->eglCreateWindowSurface(dpy, config, win, attrib_list); local 362 if (surface != EGL_NO_SURFACE) { 365 server->utEnc()->createSurface(server->utEnc(), getpid(), (uint32_t)surface); 368 return surface; 373 EGLSurface surface = getDispatch()->eglCreatePbufferSurface(dpy, config, attrib_list); local 374 if (surface != EGL_NO_SURFACE) { 377 server->utEnc()->createSurface(server->utEnc(), getpid(), (uint32_t)surface); 380 return surface; 385 EGLSurface surface = getDispatch()->eglCreatePixmapSurface(dpy, config, pixmap, attrib_list); local 386 if (surface != EGL_NO_SURFACE) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
IProjectionService.aidl | 20 import android.view.Surface; 25 void startRendering(in Surface surface, int width, int height, int density, int viewType);
|
/external/chromium_org/content/browser/compositor/ |
onscreen_display_client.h | 34 void set_surface_output_surface(SurfaceDisplayOutputSurface* surface) { 35 surface_display_output_surface_ = surface;
|
/external/chromium_org/skia/ext/ |
bitmap_platform_device_cairo.h | 48 // This is the Linux bitmap backing for Skia. We create a Cairo image surface 53 // accessor for getting the surface. 92 virtual void DrawToNativeContext(PlatformSurface surface, int x, int y, 101 cairo_surface_t* surface); 111 // Graphics context used to draw into the surface.
|
/external/chromium_org/third_party/angle/src/libEGL/ |
main.h | 35 void setCurrentDrawSurface(EGLSurface surface); 38 void setCurrentReadSurface(EGLSurface surface);
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
gnomeglue.cpp | 45 void rs_gnomeRenderingSurfaceClose(rs_surface *surface) 47 GnomeSurface *rs = (GnomeSurface *) surface;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/galahad/ |
glhd_objects.c | 76 struct pipe_surface *surface) 80 if(!surface) 83 assert(surface->texture == glhd_resource->resource); 89 memcpy(&glhd_surface->base, surface, sizeof(struct pipe_surface)); 94 glhd_surface->surface = surface; 99 pipe_surface_reference(&surface, NULL); 108 pipe_surface_reference(&glhd_surface->surface, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/identity/ |
id_objects.c | 76 struct pipe_surface *surface) 80 if(!surface) 83 assert(surface->texture == id_resource->resource); 89 memcpy(&id_surface->base, surface, sizeof(struct pipe_surface)); 94 id_surface->surface = surface; 99 pipe_surface_reference(&surface, NULL); 109 id_surface->surface);
|
/external/chromium_org/third_party/skia/bench/ |
DeferredSurfaceCopyBench.cpp | 40 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info)); 41 SkAutoTUnref<SkDeferredCanvas> drawingCanvas(SkDeferredCanvas::Create(surface));
|
/external/icu/icu4c/source/samples/layout/ |
gnomeglue.cpp | 45 void rs_gnomeRenderingSurfaceClose(rs_surface *surface) 47 GnomeSurface *rs = (GnomeSurface *) surface;
|