Summary: | [GTK] GL_PACK_ROW_LENGTH is not available in GLES2 | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | memeka <mihailescu2m> | ||||
Component: | WebKitGTK | Assignee: | Gustavo Noronha (kov) <gustavo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bugs-noreply, emanuele.aina, gustavo | ||||
Priority: | P2 | ||||||
Version: | WebKit Local Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
memeka
2016-09-01 04:28:04 PDT
for my GPU (mali 768) i found GL_PACK_ROW_LENGTH is a GLES3 function in GLES3/gl3.h: #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 typedef unsigned short GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 #define GL_PACK_ROW_LENGTH 0x0D02 ... but maybe it should be replaced by a GLES2 function for better compatibility. Created attachment 287790 [details]
Patch
Committed r205452: <http://trac.webkit.org/changeset/205452> |