Home
last modified time | relevance | path

Searched refs:pixmap (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp123 SkPixmap pixmap; in getColor() local
124 if (!surface->peekPixels(&pixmap)) { in getColor()
127 switch (pixmap.colorType()) { in getColor()
129 const uint8_t* addr = pixmap.addr8(x, y); in getColor()
133 const uint8_t* addr = pixmap.addr8(x, y); in getColor()
137 const uint16_t* addr = pixmap.addr16(x, y); in getColor()
141 const uint16_t* addr = pixmap.addr16(x, y); in getColor()
146 const uint32_t* addr = pixmap.addr32(x, y); in getColor()
151 const uint32_t* addr = pixmap.addr32(x, y); in getColor()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp401 SkPixmap pixmap{info, addr, rowBytes}; in computePalette() local
411 const int x_step = std::max(1, pixmap.width() / 10); in computePalette()
412 const int y_step = std::max(1, pixmap.height() / 10); in computePalette()
413 for (int x = 0; x < pixmap.width(); x += x_step) { in computePalette()
414 for (int y = 0; y < pixmap.height(); y += y_step) { in computePalette()
415 SkColor color = pixmap.getColor(x, y); in computePalette()
485 return SkWebpEncoder::Encode(stream, bitmap.pixmap(), options); in compress()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreatePixmapSurface.java7 int pixmap, in eglCreatePixmapSurface() argument
DeglCreatePixmapSurface.cpp4 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref,… in android_eglCreatePixmapSurface() argument
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, c…
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp260 SkImage::MakeFromAHardwareBufferWithData(mGrContext.get(), bitmap.pixmap(), ahb); in onUploadHardwareBitmap()
391 bitmap.writePixels(source.pixmap()); in makeHwCompatible()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h207 …lCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *att…
/frameworks/base/opengl/java/android/opengl/
DEGL14.java294 int pixmap, in eglCreatePixmapSurface() argument
/frameworks/native/opengl/include/EGL/
Deglext.h968 …EGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
970 …NTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
1101 …TRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
1105 … EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
Degl.h125 …eatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *att…
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt91 or copied to a native pixmap then the presentation time of the surface at
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp122 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, in eglCreatePixmapSurface() argument
127 return cnx->platform.eglCreatePixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp737 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref,… in android_eglCreatePixmapSurface() argument