Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp131 SkPixmap pixmap; in getColor() local
132 if (!surface->peekPixels(&pixmap)) { in getColor()
135 switch (pixmap.colorType()) { in getColor()
137 const uint8_t* addr = pixmap.addr8(x, y); in getColor()
141 const uint8_t* addr = pixmap.addr8(x, y); in getColor()
145 const uint16_t* addr = pixmap.addr16(x, y); in getColor()
149 const uint16_t* addr = pixmap.addr16(x, y); in getColor()
154 const uint32_t* addr = pixmap.addr32(x, y); in getColor()
159 const uint32_t* addr = pixmap.addr32(x, y); in getColor()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp452 SkPixmap pixmap{info, addr, rowBytes}; in computePalette() local
462 const int x_step = std::max(1, pixmap.width() / 10); in computePalette()
463 const int y_step = std::max(1, pixmap.height() / 10); in computePalette()
464 for (int x = 0; x < pixmap.width(); x += x_step) { in computePalette()
465 for (int y = 0; y < pixmap.height(); y += y_step) { in computePalette()
466 SkColor color = pixmap.getColor(x, y); in computePalette()
516 return SkJpegGainmapEncoder::EncodeHDRGM(stream, baseBitmap.pixmap(), options, in compress()
517 gainmapBitmap.pixmap(), options, gainmap()->info); in compress()
540 return SkJpegEncoder::Encode(stream, bitmap.pixmap(), options); in compress()
543 return SkPngEncoder::Encode(stream, bitmap.pixmap(), {}); in compress()
[all …]
/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.cpp267 SkImages::TextureFromAHardwareBufferWithData(mGrContext.get(), bitmap.pixmap(), in onUploadHardwareBitmap()
406 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.h973 …EGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
975 …NTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
1106 …TRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
1110 … 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.cpp738 …(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref,… in android_eglCreatePixmapSurface() argument